|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object simbad.sim.BaseObject simbad.sim.Device simbad.sim.ActuatorDevice simbad.sim.LampActuator
A lamp which can be turn on or off or blink.
Nested Class Summary | |
class |
LampActuator.LampActuatorJPanel
|
Constructor Summary | |
LampActuator(float size)
Constructs a LampActuator of the given size. |
Method Summary | |
javax.swing.JPanel |
createInspectorPanel()
Creates the panel associated to the device. |
boolean |
getBlink()
Returns the lamp blink state . |
boolean |
getOn()
Returns the lamp state . |
void |
setBlink(boolean blink)
Sets the lamp blink state on or off. |
void |
setOn(boolean on)
Sets the lamp state on or off. |
Methods inherited from class simbad.sim.Device |
attach, detach, getCanBeTraversed, getName, getRotationTransform, getTranslationTransform, getUpdatePerSecond, rotateY, setCanBeTraversed, setColor, setUpdateOnEachFrame, setUpdatePerSecond, translateTo |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LampActuator(float size)
size
- in meterMethod Detail |
public void setOn(boolean on)
on
- true is on.public boolean getOn()
public void setBlink(boolean blink)
public boolean getBlink()
public javax.swing.JPanel createInspectorPanel()
Device
createInspectorPanel
in class Device
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |