dsto.dfc.swing.table
Class CmdDeleteRows
java.lang.Object
dsto.dfc.swing.commands.AbstractCommand
dsto.dfc.swing.commands.AbstractMutableCommand
dsto.dfc.swing.commands.AbstractSelectionBasedCommand
dsto.dfc.swing.commands.BasicDeleteCommand
dsto.dfc.swing.table.CmdDeleteRows
- All Implemented Interfaces:
- Command, SelectionListener, Iconic, Copyable, Disposable, PropertyEventSource, ActionListener, Cloneable, EventListener
- Direct Known Subclasses:
- MapTableView.CmdDeleteProperty
public class CmdDeleteRows
- extends BasicDeleteCommand
Delete selected rows.
- Version:
- $Revision$
table
protected DfcTable table
CmdDeleteRows
public CmdDeleteRows(DfcTable table)
execute
public void execute()
- Description copied from interface:
Command
- Execute the command.
- Specified by:
execute in interface Command- Overrides:
execute in class BasicDeleteCommand
getName
public String getName()
- Description copied from interface:
Command
- The formal identifying name for this command (eg edit.Copy, file.Open).
This must not change during the lifetime of a command
instance.
- Specified by:
getName in interface Command- Specified by:
getName in interface Iconic- Overrides:
getName in class BasicDeleteCommand
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 BasicDeleteCommand
updateEnabled
protected void updateEnabled()
selectionChanged
public void selectionChanged(SelectionEvent e)
- Description copied from class:
AbstractSelectionBasedCommand
- SelectionListener interface implementation: does nothing.
- Specified by:
selectionChanged in interface SelectionListener- Overrides:
selectionChanged in class AbstractSelectionBasedCommand
Copyright © 2008 Commonwealth of Australia