|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jhid.impl.generic.AbstractSlot net.jhid.impl.generic.Button
IMplementation of IButton
Constructor Summary | |
Button(AbstractDevice aDevice,
ButtonId aId)
|
Method Summary | |
void |
addListener(IButtonListener aListener)
|
ButtonId |
getId()
|
boolean |
isPressed()
Returns the state of this button. |
void |
removeListener(IButtonListener aListener)
|
void |
setPressed(boolean aPressed)
|
Methods inherited from class net.jhid.impl.generic.AbstractSlot |
addListener, getAbstractDevice, getDevice, getListenersIterator, removeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.jhid.core.devices.IButton |
getDevice |
Constructor Detail |
public Button(AbstractDevice aDevice, ButtonId aId)
Method Detail |
public boolean isPressed()
IButton
isPressed
in interface IButton
public void setPressed(boolean aPressed)
public ButtonId getId()
getId
in interface IButton
public void addListener(IButtonListener aListener)
addListener
in interface IButton
public void removeListener(IButtonListener aListener)
removeListener
in interface IButton
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |