|
||||||||||
| 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(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 ValueControlVisADException
RemoteException
public void init()
throws VisADException
init in interface ValueControlVisADExceptionpublic double getValue()
ValueControl
getValue in interface ValueControlpublic String getSaveString()
getSaveString in interface AVControlgetSaveString in class Control
public void setSaveString(String save)
throws VisADException,
RemoteException
setSaveString in interface AVControlsetSaveString in class Controlsave - - String representation for reconstruction
VisADException - if a VisAD error occurs
RemoteException - if an RMI error occurs
public void syncControl(Control rmt)
throws VisADException
syncControl in class Controlrmt - remote Control whose state is copied
VisADException - if a VisAD error occurspublic boolean equals(Object o)
Control
equals in class AVControlJ2Do - 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 | |||||||||