|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.KeyAdapter
org.stellarium.ui.STUI.Component
org.stellarium.ui.STUI.CallbackComponent
static class STUI.CallbackComponent
Base class. Note that the method boolean isEditable() has to be overrided by returning true for all the non passives components. Store a Callback on a function taking no parameters
Field Summary | |
---|---|
protected STUI.Callback |
onChangeCallback
|
Fields inherited from class org.stellarium.ui.STUI.Component |
---|
active |
Constructor Summary | |
---|---|
STUI.CallbackComponent()
|
Method Summary | |
---|---|
void |
keyReleased(java.awt.event.KeyEvent e)
|
void |
keyTyped(java.awt.event.KeyEvent e)
|
(package private) void |
setOnChangeCallback(STUI.Callback c)
|
Methods inherited from class org.stellarium.ui.STUI.Component |
---|
getActive, getCleanString, getString, isEditable, keyPressed, setActive |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected STUI.Callback onChangeCallback
Constructor Detail |
---|
STUI.CallbackComponent()
Method Detail |
---|
void setOnChangeCallback(STUI.Callback c)
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
keyTyped
in class java.awt.event.KeyAdapter
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
keyReleased
in class java.awt.event.KeyAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |