|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.util.gui.UpdateHandler
public class UpdateHandler
Class UpdateListener defines an update listener.
Constructor Summary | |
---|---|
UpdateHandler(java.awt.Component component,
UpdateListener updateListener)
Creates an update listener. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Invoked when an action occurs. |
void |
changedUpdate(javax.swing.event.DocumentEvent e)
Gives notification that an attribute or set of attributes changed. |
void |
focusGained(java.awt.event.FocusEvent e)
Invoked when a component gains the keyboard focus. |
void |
focusLost(java.awt.event.FocusEvent e)
Invoked when a component loses the keyboard focus. |
void |
insertUpdate(javax.swing.event.DocumentEvent e)
Gives notification that there was an insert into the document. |
void |
processUpdate(java.awt.Component component,
java.lang.Object e)
Process an update. |
void |
removeUpdate(javax.swing.event.DocumentEvent e)
Gives notification that a portion of the document has been removed. |
void |
stateChanged(javax.swing.event.ChangeEvent e)
Invoked when the target of the listener has changed its state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpdateHandler(java.awt.Component component, UpdateListener updateListener)
component
- the component.updateListener
- the update listener.Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- the action event.public void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged
in interface javax.swing.event.ChangeListener
e
- the change event.public void insertUpdate(javax.swing.event.DocumentEvent e)
insertUpdate
in interface javax.swing.event.DocumentListener
e
- the document event.public void focusGained(java.awt.event.FocusEvent e)
focusGained
in interface java.awt.event.FocusListener
e
- the focus event.public void focusLost(java.awt.event.FocusEvent e)
focusLost
in interface java.awt.event.FocusListener
e
- the focus event.public void removeUpdate(javax.swing.event.DocumentEvent e)
removeUpdate
in interface javax.swing.event.DocumentListener
e
- the document eventpublic void changedUpdate(javax.swing.event.DocumentEvent e)
changedUpdate
in interface javax.swing.event.DocumentListener
e
- the document eventpublic void processUpdate(java.awt.Component component, java.lang.Object e)
processUpdate
in interface UpdateListener
component
- the component.e
- the event or null if none.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |