public class ValueControlJ3D extends AVControlJ3D implements ValueControl
AVControlJ3D.SwitchSet
Constructor and Description |
---|
ValueControlJ3D(DisplayImplJ3D 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
|
addPair, addPair, clearSwitches, getSwitches, nullControl, selectSwitches, setInterval
addControlListener, animation_string, changeControl, checkTicks, clone, getDisplay, getDisplayRenderer, getInstanceNumber, incTick, peekTicks, removeControlListener, resetTicks, setTicks, subCheckTicks, subPeekTicks, subResetTicks, subSetTicks, toString
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addControlListener, clearSwitches, removeControlListener
public ValueControlJ3D(DisplayImplJ3D d)
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 reconstructionVisADException
- if a VisAD error occursRemoteException
- if an RMI error occurspublic void syncControl(Control rmt) throws VisADException
syncControl
in class Control
rmt
- remote Control whose state is copiedVisADException
- if a VisAD error occurspublic boolean equals(Object o)
Control
equals
in class AVControlJ3D
o
- an ObjectCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.