biz.chitec.quarterback.swing
Class PropertiesEditorXML.HelpTextPresenter
java.lang.Object
biz.chitec.quarterback.swing.PropertiesEditorXML.HelpTextPresenter
- All Implemented Interfaces:
- java.util.EventListener, java.awt.event.FocusListener
- Enclosing class:
- PropertiesEditorXML
- private class PropertiesEditorXML.HelpTextPresenter
- extends java.lang.Object
- implements java.awt.event.FocusListener
Clever focus listener for elements to show appropriate help.
Using this class prevents us from instantiating a huge number of listener instances. The class is instanciated only once.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elementstore
private java.util.Map elementstore
titlestore
private java.util.Map titlestore
lastkey
private java.lang.String lastkey
PropertiesEditorXML.HelpTextPresenter
public PropertiesEditorXML.HelpTextPresenter()
registerTo
public void registerTo(java.awt.Component c,
java.lang.String rbkey)
setElementTitle
public void setElementTitle(java.lang.String title)
focusGained
public void focusGained(java.awt.event.FocusEvent e)
- Specified by:
focusGained
in interface java.awt.event.FocusListener
focusLost
public void focusLost(java.awt.event.FocusEvent e)
- Specified by:
focusLost
in interface java.awt.event.FocusListener