|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--GP.Reactors.KeyInteractor | +--GP.Reactors.PushButtonKeyInteractor
This is a key interactor that takes a Push Button and calls Activate() on it when the key it's constructed with is pressed.
Constructor Summary | |
PushButtonKeyInteractor(GP.Components.Buttons.Push b,
Graphic g,
java.lang.String key)
|
Method Summary | |
void |
KeyPress()
This method does nothing, it's here so that its abstract version from the superclass is overridden. |
void |
KeyRelease()
Calls activate on the button this interactor references. |
Methods inherited from class GP.Reactors.KeyInteractor |
TurnOff, TurnOn |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PushButtonKeyInteractor(GP.Components.Buttons.Push b, Graphic g, java.lang.String key)
Method Detail |
public void KeyPress()
KeyPress
in class KeyInteractor
public void KeyRelease()
KeyRelease
in class KeyInteractor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |