info.bioinfweb.treegraph.gui.actions.edit
Class SetColumnTypeAction
java.lang.Object
javax.swing.AbstractAction
info.bioinfweb.treegraph.gui.actions.TreeGraphAction
info.bioinfweb.treegraph.gui.actions.DocumentAction
info.bioinfweb.treegraph.gui.actions.edit.SetColumnTypeAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
- Direct Known Subclasses:
- SetColumnToDecimalAction, SetColumnToTextAction
public abstract class SetColumnTypeAction
- extends DocumentAction
Implements basic functionality to set the data type for all lines of a node/branch data column.
- Since:
- 2.0.24
- Author:
- Ben Stöver
- See Also:
- Serialized Form
|
Field Summary |
private boolean |
decimal
|
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
decimal
private boolean decimal
SetColumnTypeAction
public SetColumnTypeAction(MainFrame mainFrame,
boolean decimal)
onActionPerformed
protected void onActionPerformed(java.awt.event.ActionEvent e,
TreeInternalFrame frame)
- Description copied from class:
DocumentAction
- Subclasses should implement this method instead of overriding
DocumentAction.actionPerformed(ActionEvent).
- Specified by:
onActionPerformed in class DocumentAction
frame - - the internal frame which was active while the user performed this action
setEnabled
public void setEnabled(Document document,
TreeSelection selection,
NodeBranchDataAdapter tableAdapter)
- Specified by:
setEnabled in class DocumentAction