java.lang.Object
com.iamsoft.util.ui.swing.AbstractTreeTableModel
- All Implemented Interfaces:
TreeTableModel,TreeModel
- Direct Known Subclasses:
RequestTreeTableModel,TreeTableSorter
- Version:
- 1.2 10/27/98 An abstract implementation of the TreeTableModel interface, handling the list of listeners.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidfireTreeNodesChanged(Object source, Object[] path, int[] childIndices, Object[] children) protected voidfireTreeNodesInserted(Object source, Object[] path, int[] childIndices, Object[] children) protected voidfireTreeNodesRemoved(Object source, Object[] path, int[] childIndices, Object[] children) protected voidfireTreeStructureChanged(Object source, Object[] path, int[] childIndices, Object[] children) getColumnClass(int pCol) Returns the type for column numbercolumn.intgetIndexOfChild(Object parent, Object child) getRoot()booleanisCellEditable(Object node, int column) By default, make the column with the Tree in it the only editable one.booleanvoidvoidsetValueAt(Object aValue, Object node, int column) Sets the value for nodenode, at column numbercolumn.voidvalueForPathChanged(TreePath path, Object newValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.tree.TreeModel
getChild, getChildCountMethods inherited from interface com.iamsoft.util.ui.swing.TreeTableModel
getColumnCount, getColumnName, getValueAt
-
Field Details
-
root
-
listenerList
-
-
Constructor Details
-
AbstractTreeTableModel
-
-
Method Details
-
getRoot
-
isLeaf
-
valueForPathChanged
- Specified by:
valueForPathChangedin interfaceTreeModel
-
getIndexOfChild
- Specified by:
getIndexOfChildin interfaceTreeModel
-
addTreeModelListener
- Specified by:
addTreeModelListenerin interfaceTreeModel
-
removeTreeModelListener
- Specified by:
removeTreeModelListenerin interfaceTreeModel
-
fireTreeNodesChanged
-
fireTreeNodesInserted
-
fireTreeNodesRemoved
-
fireTreeStructureChanged
-
getColumnClass
Description copied from interface:TreeTableModelReturns the type for column numbercolumn.- Specified by:
getColumnClassin interfaceTreeTableModel
-
isCellEditable
By default, make the column with the Tree in it the only editable one. Making this column editable causes the JTable to forward mouse and keyboard events in the Tree column to the underlying JTree.- Specified by:
isCellEditablein interfaceTreeTableModel
-
setValueAt
Description copied from interface:TreeTableModelSets the value for nodenode, at column numbercolumn.- Specified by:
setValueAtin interfaceTreeTableModel
-