public class ToggleControl extends Control
Constructor and Description |
---|
ToggleControl(DisplayImpl d,
Control p) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Indicates whether or not this instance equals an Object
|
boolean |
getOn() |
Control |
getParent() |
String |
getSaveString()
get a string that can be used to reconstruct this control later
|
void |
setOn(boolean o) |
void |
setSaveString(String save)
reconstruct this control using the specified save string
|
void |
syncControl(Control rmt)
copy the state of a remote control to this control
|
addControlListener, animation_string, changeControl, checkTicks, clone, getDisplay, getDisplayRenderer, getInstanceNumber, incTick, nullControl, peekTicks, removeControlListener, resetTicks, setTicks, subCheckTicks, subPeekTicks, subResetTicks, subSetTicks, toString
public ToggleControl(DisplayImpl d, Control p)
public Control getParent()
public boolean getOn()
public void setOn(boolean o) throws VisADException, RemoteException
VisADException
RemoteException
public String getSaveString()
getSaveString
in class Control
public void setSaveString(String save) throws VisADException, RemoteException
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 occursCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.