com.sas.console.plugins
Class AbstractTableModel
java.lang.Object
|
+--javax.swing.table.AbstractTableModel
|
+--com.sas.console.plugins.AbstractTableModel
- All Implemented Interfaces:
- PluginChangeListener, TableModelInterface
- Direct Known Subclasses:
- DirectoryTableModel,
- public abstract class AbstractTableModel
- extends AbstractTableModel
- implements TableModelInterface
Abstact implementation of TableModelInterface. The pluginChange() method is implemented so all
extending classes will work the same.
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTableModel
public AbstractTableModel()
getToolBarActions
public abstract List getToolBarActions(ListSelectionModel selectionModel)
- Returns a list of tool bar actions for this node and it's list information.
- Specified by:
getToolBarActions in interface TableModelInterface
- Parameters:
selectionModel - the list of items selected by the user.- Returns:
- The list of tool bar actions.
getContextMenuActions
public abstract List getContextMenuActions(ListSelectionModel selectionModel)
- Returns a list of context menu actions.
- Specified by:
getContextMenuActions in interface TableModelInterface
- Parameters:
selectionModel - the list of items selected by the user.- Returns:
- The list of context menu actions.
getNode
public abstract NodeInterface getNode()
- Returns the tree node displaying this table model.
- Specified by:
getNode in interface TableModelInterface
- Returns:
- The node displaying this table model.
getSelectedObjects
public abstract ElementInterface[] getSelectedObjects(ListSelectionModel selectionModel)
- Returns the objects associated with this selection.
- Specified by:
getSelectedObjects in interface TableModelInterface
- Parameters:
selectionModel - the list of items selected by the user.- Returns:
- Element objects for the selection.
pluginChange
public void pluginChange(PluginChangeEvent evt)
- Catches events from actions. This method is called whenever the the listener gets a PluginChangeEvent.
It updates the table view according to the type of event.
- Specified by:
pluginChange in interface PluginChangeListener
- Parameters:
evt - the PluginChangeEvent
Copyright © 2001-2003 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 15:59:52