|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.Control visad.java3d.AVControlJ3D visad.java3d.ValueControlJ3D
public class ValueControlJ3D
ValueControlJ3D is the VisAD class for controlling SelectValue display scalars under Java3D.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class visad.java3d.AVControlJ3D |
---|
AVControlJ3D.SwitchSet |
Constructor Summary | |
---|---|
ValueControlJ3D(DisplayImplJ3D d)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
Indicates whether or not this instance equals an Object |
String |
getSaveString()
get a String that can be used to reconstruct this ValueControl later |
double |
getValue()
return the selected value |
void |
init()
|
void |
setSaveString(String save)
reconstruct this ValueControl using the specified save string |
void |
setValue(double value)
set the selected value |
void |
syncControl(Control rmt)
copy the state of a remote control to this control |
Methods inherited from class visad.java3d.AVControlJ3D |
---|
addPair, clearSwitches, getSwitches, nullControl, selectSwitches, setInterval |
Methods inherited from class visad.Control |
---|
addControlListener, animation_string, changeControl, checkTicks, clone, getDisplay, getDisplayRenderer, getInstanceNumber, incTick, peekTicks, removeControlListener, resetTicks, setTicks, subCheckTicks, subPeekTicks, subResetTicks, subSetTicks, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface visad.AVControl |
---|
addControlListener, clearSwitches, removeControlListener |
Constructor Detail |
---|
public ValueControlJ3D(DisplayImplJ3D d)
Method Detail |
---|
public void setValue(double value) throws VisADException, RemoteException
ValueControl
setValue
in interface ValueControl
VisADException
RemoteException
public void init() throws VisADException
init
in interface ValueControl
init
in class AVControlJ3D
VisADException
public double getValue()
ValueControl
getValue
in interface ValueControl
public String getSaveString()
getSaveString
in interface AVControl
getSaveString
in class Control
public void setSaveString(String save) throws VisADException, RemoteException
setSaveString
in interface AVControl
setSaveString
in class Control
save
- - String representation for reconstruction
VisADException
- if a VisAD error occurs
RemoteException
- if an RMI error occurspublic void syncControl(Control rmt) throws VisADException
syncControl
in class Control
rmt
- remote Control whose state is copied
VisADException
- if a VisAD error occurspublic boolean equals(Object o)
Control
equals
in class AVControlJ3D
o
- an Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |