public class ConfigurationChangeListener
extends java.lang.Object
implements java.awt.event.ActionListener
Modifier and Type | Class and Description |
---|---|
static interface |
ConfigurationChangeListener.EditorProxy
An editor component (from ConfigurationHandler.getEditor(...)) must
implement EditorProxy in order to allow retrieval of a new value when
editing is complete.
|
Constructor and Description |
---|
ConfigurationChangeListener(javax.swing.JTree tree,
javax.swing.tree.TreePath path) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
cancelChanges() |
void |
commitChanges()
Event for when changes are committed
|
boolean |
isChangeCancelled() |
boolean |
isChangeCommited() |
void |
setProxy(ConfigurationChangeListener.EditorProxy proxy)
Called by a ConfigurationHandler's editor.
|
public ConfigurationChangeListener(javax.swing.JTree tree, javax.swing.tree.TreePath path)
tree
- Parent tree objectpath
- Current pathpublic boolean isChangeCommited()
public boolean isChangeCancelled()
public void setProxy(ConfigurationChangeListener.EditorProxy proxy)
proxy
- Provides access to an updated property value after it is
changed by the userpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
ActionListener.actionPerformed(java.awt.event.ActionEvent)
public void commitChanges()
public void cancelChanges()