uk.ac.ic.doc.y2002.tool.editor
Class PropertiesFrame.AttribUpdater
java.lang.Object
|
+--uk.ac.ic.doc.y2002.tool.editor.PropertiesFrame.AttribUpdater
- All Implemented Interfaces:
- java.util.EventListener, java.awt.event.FocusListener
- Enclosing class:
- PropertiesFrame
- public class PropertiesFrame.AttribUpdater
- extends java.lang.Object
- implements java.awt.event.FocusListener
Listener class which is attached to an input text field
and updates the JDOM Element with any changes.
Uses setAttribute: this works whether the attribute
already exists or not.
Method Summary |
void |
focusGained(java.awt.event.FocusEvent e)
|
void |
focusLost(java.awt.event.FocusEvent e)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesFrame.AttribUpdater
public PropertiesFrame.AttribUpdater(org.jdom.Element e,
java.lang.String att)
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