| java.lang.Object com.xoetrope.swing.treetable.AbstractTreeTableModel com.xoetrope.swing.treetable.XTreeTableModelNode
XTreeTableModelNode | public class XTreeTableModelNode extends AbstractTreeTableModel (Code) | | A tree node wrapper for an XModel node
Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
$Revision: 1.8 $
|
Inner Class :public class XNode | |
EMPTY_CHILDREN | protected static XNode[] EMPTY_CHILDREN(Code) | | |
XTreeTableModelNode | public XTreeTableModelNode()(Code) | | Creates a XTreeTableModelNode rooted at File.separator, which is usually
the root of the file system. This does not load it, you should invoke
reloadChildren with the root to start loading.
|
XTreeTableModelNode | public XTreeTableModelNode(XModel rootModel)(Code) | | Creates a XTreeTableModelNode with the root being rootPath .
This does not load it, you should invoke
reloadChildren with the root to start loading.
|
XTreeTableModelNode | public XTreeTableModelNode(XModel rootModel, TableModel aTableModel)(Code) | | |
getChild | public Object getChild(Object node, int i)(Code) | | Returns the child of node at index i .
|
getChildCount | public int getChildCount(Object node)(Code) | | Returns the number of children of node .
|
getColumnClass | public Class getColumnClass(int column)(Code) | | Returns the class for the particular column.
|
getColumnCount | public int getColumnCount()(Code) | | Return the number of columns.
|
getColumnName | public String getColumnName(int columnIndex)(Code) | | Returns the name for a particular column.
|
getValueAt | public Object getValueAt(Object node, int columnIndex)(Code) | | Returns the value of the particular column.
|
isCellEditable | public boolean isCellEditable(Object node, int columnIndex)(Code) | | |
isLeaf | public boolean isLeaf(Object node)(Code) | | Returns true if the passed in object represents a leaf, false
otherwise.
|
loadChildren | protected void loadChildren(XNode node)(Code) | | |
nodeLoader | public void nodeLoader(XNode node)(Code) | | |
reloadChildren | public void reloadChildren(Object node)(Code) | | Reloads the children of the specified node.
Parameters: level - the depth of the tree |
Methods inherited from com.xoetrope.swing.treetable.AbstractTreeTableModel | public void addTreeModelListener(TreeModelListener l)(Code)(Java Doc) protected void fireTreeNodesChanged(Object source, Object[] path, int[] childIndices, Object[] children)(Code)(Java Doc) protected void fireTreeNodesInserted(Object source, Object[] path, int[] childIndices, Object[] children)(Code)(Java Doc) protected void fireTreeNodesRemoved(Object source, Object[] path, int[] childIndices, Object[] children)(Code)(Java Doc) protected void fireTreeStructureChanged(Object source, Object[] path, int[] childIndices, Object[] children)(Code)(Java Doc) public Class getColumnClass(int column)(Code)(Java Doc) public int getIndexOfChild(Object parent, Object child)(Code)(Java Doc) public Object getRoot()(Code)(Java Doc) public boolean isCellEditable(Object node, int column)(Code)(Java Doc) public boolean isLeaf(Object node)(Code)(Java Doc) abstract public void reloadChildren(Object node)(Code)(Java Doc) public void removeTreeModelListener(TreeModelListener l)(Code)(Java Doc) public void setValueAt(Object aValue, Object node, int column)(Code)(Java Doc) public void valueForPathChanged(TreePath path, Object newValue)(Code)(Java Doc)
|
|
|