| java.lang.Object br.com.gfpshare.beans.table.AbstractTreeTableModel
All known Subclasses: br.com.gfpshare.beans.table.DBTreeTableModel,
AbstractTreeTableModel | abstract public class AbstractTreeTableModel implements TreeTableModel(Code) | | version: 1.2 10/27/98 An abstract implementation of the TreeTableModel interface, handling the list of version: listeners. author: Philip Milne |
Method Summary | |
public void | addTreeModelListener(TreeModelListener l) | protected void | fireTreeNodesChanged(Object source, Object[] path, int[] childIndices, Object[] children) Notifies all listeners that have registered interest for notification on this event type. | protected void | fireTreeNodesInserted(Object source, Object[] path, int[] childIndices, Object[] children) Notifies all listeners that have registered interest for notification on this event type. | protected void | fireTreeNodesRemoved(Object source, Object[] path, int[] childIndices, Object[] children) Notifies all listeners that have registered interest for notification on this event type. | protected void | fireTreeStructureChanged(Object source, Object[] path, int[] childIndices, Object[] children) Notifies all listeners that have registered interest for notification on this event type. | public Class | getColumnClass(int column) | public int | getIndexOfChild(Object parent, Object child) | public Object | getRoot() | public boolean | isCellEditable(Object node, int column) By default, make the column with the Tree in it the only editable one. | public boolean | isLeaf(Object node) | public void | removeTreeModelListener(TreeModelListener l) | protected void | setRoot(Object root) | public void | setValueAt(Object aValue, Object node, int column) | public void | valueForPathChanged(TreePath path, Object newValue) |
AbstractTreeTableModel | public AbstractTreeTableModel(Object root)(Code) | | Construtor
Parameters: root - Dado Root |
AbstractTreeTableModel | public AbstractTreeTableModel()(Code) | | Construtor
|
fireTreeNodesChanged | protected void fireTreeNodesChanged(Object source, Object[] path, int[] childIndices, Object[] children)(Code) | | Notifies all listeners that have registered interest for notification on this event type. The event
instance is lazily created using the parameters passed into the fire method.
Parameters: source - Parameters: path - Parameters: childIndices - Parameters: children - See Also: EventListenerList |
fireTreeNodesInserted | protected void fireTreeNodesInserted(Object source, Object[] path, int[] childIndices, Object[] children)(Code) | | Notifies all listeners that have registered interest for notification on this event type. The event
instance is lazily created using the parameters passed into the fire method.
Parameters: source - Parameters: path - Parameters: childIndices - Parameters: children - See Also: EventListenerList |
fireTreeNodesRemoved | protected void fireTreeNodesRemoved(Object source, Object[] path, int[] childIndices, Object[] children)(Code) | | Notifies all listeners that have registered interest for notification on this event type. The event
instance is lazily created using the parameters passed into the fire method.
Parameters: source - Parameters: path - Parameters: childIndices - Parameters: children - See Also: EventListenerList |
fireTreeStructureChanged | protected void fireTreeStructureChanged(Object source, Object[] path, int[] childIndices, Object[] children)(Code) | | Notifies all listeners that have registered interest for notification on this event type. The event
instance is lazily created using the parameters passed into the fire method.
Parameters: source - Parameters: path - Parameters: childIndices - Parameters: children - See Also: EventListenerList |
isCellEditable | public boolean isCellEditable(Object node, int column)(Code) | | 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.
Parameters: node - Parameters: column - True se for editavel |
|
|