|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.Control visad.java2d.AVControlJ2D visad.java2d.ValueControlJ2D
public class ValueControlJ2D
ValueControlJ2D is the VisAD class for controlling SelectValue display scalars under Java2D.
Constructor Summary | |
---|---|
ValueControlJ2D(DisplayImplJ2D 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 |
String |
toString()
|
Methods inherited from class visad.java2d.AVControlJ2D |
---|
clearSwitches, selectSwitches |
Methods inherited from class visad.Control |
---|
addControlListener, animation_string, changeControl, checkTicks, clone, getDisplay, getDisplayRenderer, getInstanceNumber, incTick, nullControl, peekTicks, removeControlListener, resetTicks, setTicks, subCheckTicks, subPeekTicks, subResetTicks, subSetTicks |
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 ValueControlJ2D(DisplayImplJ2D 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
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 AVControlJ2D
o
- an Object
public String toString()
toString
in class Control
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |