|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xulux.gui.XuluxListener org.xulux.guilayer.swing.listeners.WidgetFocusListener
public class WidgetFocusListener
This adds a focuslistener for widgets that do not have a focus event by default or widgets that just need to release the eventqueue when focus is gained. (eg buttons have this behaviour)
Field Summary |
---|
Fields inherited from class org.xulux.gui.XuluxListener |
---|
processing, widget |
Constructor Summary | |
---|---|
WidgetFocusListener(org.xulux.api.gui.IWidget widget)
|
Method Summary | |
---|---|
void |
focusGained(java.awt.event.FocusEvent e)
|
void |
focusLost(java.awt.event.FocusEvent e)
Free the event queue when the focus of a component is lost, so processing of the field will take place. |
Methods inherited from class org.xulux.gui.XuluxListener |
---|
accepted, completed, completed, completedPart, getWidget, isProcessing, processEvent, setWidget, started |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WidgetFocusListener(org.xulux.api.gui.IWidget widget)
Method Detail |
---|
public void focusGained(java.awt.event.FocusEvent e)
focusGained
in interface java.awt.event.FocusListener
FocusListener.focusGained(java.awt.event.FocusEvent)
public void focusLost(java.awt.event.FocusEvent e)
focusLost
in interface java.awt.event.FocusListener
FocusListener.focusLost(java.awt.event.FocusEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |