public class ValueControlJ2D extends AVControlJ2D implements ValueControl
| Constructor and Description |
|---|
ValueControlJ2D(DisplayImplJ2D d) |
| Modifier and Type | Method and Description |
|---|---|
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() |
clearSwitches, selectSwitchesaddControlListener, animation_string, changeControl, checkTicks, clone, getDisplay, getDisplayRenderer, getInstanceNumber, incTick, nullControl, peekTicks, removeControlListener, resetTicks, setTicks, subCheckTicks, subPeekTicks, subResetTicks, subSetTicksfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddControlListener, clearSwitches, removeControlListenerpublic ValueControlJ2D(DisplayImplJ2D d)
public void setValue(double value)
throws VisADException,
RemoteException
ValueControlsetValue in interface ValueControlVisADExceptionRemoteExceptionpublic void init()
throws VisADException
init in interface ValueControlVisADExceptionpublic double getValue()
ValueControlgetValue in interface ValueControlpublic String getSaveString()
getSaveString in interface AVControlgetSaveString in class Controlpublic void setSaveString(String save) throws VisADException, RemoteException
setSaveString in interface AVControlsetSaveString in class Controlsave - - String representation for reconstructionVisADException - if a VisAD error occursRemoteException - if an RMI error occurspublic void syncControl(Control rmt) throws VisADException
syncControl in class Controlrmt - remote Control whose state is copiedVisADException - if a VisAD error occurspublic boolean equals(Object o)
Controlequals in class AVControlJ2Do - an ObjectCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.