|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.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(java.lang.Object o)
|
java.lang.String |
getSaveString()
get a String that can be used to reconstruct this ValueControl later |
double |
getValue()
return the selected value |
void |
init()
|
void |
setSaveString(java.lang.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 |
java.lang.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, java.rmi.RemoteException
ValueControl
setValue
in interface ValueControl
VisADException
java.rmi.RemoteException
public void init() throws VisADException
init
in interface ValueControl
VisADException
public double getValue()
ValueControl
getValue
in interface ValueControl
public java.lang.String getSaveString()
getSaveString
in interface AVControl
getSaveString
in class Control
public void setSaveString(java.lang.String save) throws VisADException, java.rmi.RemoteException
setSaveString
in interface AVControl
setSaveString
in class Control
VisADException
java.rmi.RemoteException
public void syncControl(Control rmt) throws VisADException
syncControl
in class Control
VisADException
public boolean equals(java.lang.Object o)
equals
in class AVControlJ2D
public java.lang.String toString()
toString
in class Control
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |