|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.Control
visad.ToggleControl
public class ToggleControl
ToggleControl is the VisAD class for toggling other Control-s on and off.
Constructor Summary | |
---|---|
ToggleControl(DisplayImpl d,
Control p)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
boolean |
getOn()
|
Control |
getParent()
|
java.lang.String |
getSaveString()
get a string that can be used to reconstruct this control later |
void |
setOn(boolean o)
|
void |
setSaveString(java.lang.String save)
reconstruct this control using the specified save string |
void |
syncControl(Control rmt)
copy the state of a remote control to this control |
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, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ToggleControl(DisplayImpl d, Control p)
Method Detail |
---|
public Control getParent()
public boolean getOn()
public void setOn(boolean o) throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
public java.lang.String getSaveString()
getSaveString
in class Control
public void setSaveString(java.lang.String save) throws VisADException, java.rmi.RemoteException
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 Control
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |