dsto.dfc.swing.tree
Class CmdCustomize
java.lang.Object
dsto.dfc.swing.commands.AbstractCommand
dsto.dfc.swing.commands.AbstractMutableCommand
dsto.dfc.swing.commands.BasicPropertiesCommand
dsto.dfc.swing.forms.AbstractShowCustomizerCommand
dsto.dfc.swing.tree.CmdCustomize
- All Implemented Interfaces:
- Command, SelectionListener, Iconic, Copyable, PropertyEventSource, ActionListener, Cloneable, EventListener
public class CmdCustomize
- extends AbstractShowCustomizerCommand
- implements SelectionListener
Base implementation of the properties command that attempts to show
the selected tree entry's FormEditor-compliant customizer.
- Version:
- $Revision$
- Author:
- Matthew
CmdCustomize
public CmdCustomize(DfcTree tree)
isDirectEdit
public boolean isDirectEdit()
- Description copied from class:
AbstractShowCustomizerCommand
- Return true if the value returned by getCustomizerValue () should
be directly loaded into its form (the form will be set to deferred
commit mode).
- Specified by:
isDirectEdit
in class AbstractShowCustomizerCommand
getDescription
public String getDescription()
- Description copied from interface:
Command
- A short description of the command, suitable for a tooltip or use
in a status panel.
- Specified by:
getDescription
in interface Command
- Overrides:
getDescription
in class BasicPropertiesCommand
getCustomizerValue
public Object getCustomizerValue()
- Description copied from class:
AbstractShowCustomizerCommand
- The value to be loaded into the customizer.
- Specified by:
getCustomizerValue
in class AbstractShowCustomizerCommand
setCustomizerValue
public void setCustomizerValue(Object newValue)
- Description copied from class:
AbstractShowCustomizerCommand
- Save a new value edited by the customizer. Only needed when
isDirectEdit () is false.
- Specified by:
setCustomizerValue
in class AbstractShowCustomizerCommand
selectionChanged
public void selectionChanged(SelectionEvent e)
- Description copied from interface:
SelectionListener
- Indicates the selection has changed in some way.
- Specified by:
selectionChanged
in interface SelectionListener
Copyright © 2008 Commonwealth of Australia