|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.event.FocusAdapter
com.cosylab.gui.components.NumberField.NumberFocusAdapter
protected class NumberField.NumberFocusAdapter
Listens for focus events sets the appropriate display mode.
| Constructor Summary | |
|---|---|
protected |
NumberField.NumberFocusAdapter()
|
| Method Summary | |
|---|---|
void |
focusGained(java.awt.event.FocusEvent e)
Switches to editing mode of the Numberfield when focus is gained. |
void |
focusLost(java.awt.event.FocusEvent e)
Updates the Numberfield when focus is lost. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected NumberField.NumberFocusAdapter()
| Method Detail |
|---|
public void focusGained(java.awt.event.FocusEvent e)
focusGained in interface java.awt.event.FocusListenerfocusGained in class java.awt.event.FocusAdaptere - FocusEventFocusListener.focusGained(FocusEvent)public void focusLost(java.awt.event.FocusEvent e)
focusLost in interface java.awt.event.FocusListenerfocusLost in class java.awt.event.FocusAdaptere - FocusEventFocusListener.focusLost(FocusEvent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||