additv.controls
Class AToggle
java.lang.Object
additv.controls.AControllable
additv.controls.AControllableBoolean
additv.controls.AToggle
- All Implemented Interfaces:
- AControllableI, ASpreadI
public class AToggle
- extends AControllableBoolean
|
Constructor Summary |
AToggle(java.lang.String name,
boolean v)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
public int type
value
public boolean value
AToggle
public AToggle(java.lang.String name,
boolean v)
get
public boolean get()
- Specified by:
get in class AControllableBoolean
set
public void set(boolean v)
- Specified by:
set in class AControllableBoolean
setFloatValue
public void setFloatValue(float val)
getFloatValue
public float getFloatValue()
toggle
public void toggle()
type
public int type()
sendData
public void sendData()
getSpreadCount
public int getSpreadCount()
get
public boolean get(int index)
- Specified by:
get in class AControllableBoolean
get
public boolean get(boolean update)
- Specified by:
get in class AControllableBoolean