jaxx.runtime.swing.nav.treetable
Class NavTreeTableModel
java.lang.Object
jaxx.runtime.swing.nav.treetable.NavTreeTableModel
- All Implemented Interfaces:
- TreeModel, org.jdesktop.swingx.treetable.TreeTableModel
public class NavTreeTableModel
- extends Object
- implements org.jdesktop.swingx.treetable.TreeTableModel
Model of the tree table used for a jaxx tree table api.
- Since:
- 2.2
- Author:
- sletellier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegate
protected NavTreeTableModel.MyDefaultTreeTableModel delegate
- the delegate model
NavTreeTableModel
public NavTreeTableModel(NavTreeTableModel.MyDefaultTreeTableModel delegate)
getPathToRoot
public org.jdesktop.swingx.treetable.TreeTableNode[] getPathToRoot(org.jdesktop.swingx.treetable.TreeTableNode aNode)
nodeStructureChanged
public void nodeStructureChanged(NavTreeTableNode<?> node)
nodeChanged
public void nodeChanged(NavTreeTableNode<?> node)
getDelegate
public NavTreeTableModel.MyDefaultTreeTableModel getDelegate()
getModelSupport
public org.jdesktop.swingx.tree.TreeModelSupport getModelSupport()
getColomnsNames
public String[] getColomnsNames()
setRoot
public void setRoot(org.jdesktop.swingx.treetable.TreeTableNode root)
getRoot
public org.jdesktop.swingx.treetable.TreeTableNode getRoot()
- Specified by:
getRoot in interface TreeModel
getChild
public Object getChild(Object parent,
int index)
- Specified by:
getChild in interface TreeModel
getChildCount
public int getChildCount(Object parent)
- Specified by:
getChildCount in interface TreeModel
isLeaf
public boolean isLeaf(Object node)
- Specified by:
isLeaf in interface TreeModel
valueForPathChanged
public void valueForPathChanged(TreePath path,
Object newValue)
- Specified by:
valueForPathChanged in interface TreeModel
getIndexOfChild
public int getIndexOfChild(Object parent,
Object child)
- Specified by:
getIndexOfChild in interface TreeModel
addTreeModelListener
public void addTreeModelListener(TreeModelListener l)
- Specified by:
addTreeModelListener in interface TreeModel
removeTreeModelListener
public void removeTreeModelListener(TreeModelListener l)
- Specified by:
removeTreeModelListener in interface TreeModel
getColumnClass
public Class<?> getColumnClass(int i)
- Specified by:
getColumnClass in interface org.jdesktop.swingx.treetable.TreeTableModel
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount in interface org.jdesktop.swingx.treetable.TreeTableModel
getColumnName
public String getColumnName(int column)
- Specified by:
getColumnName in interface org.jdesktop.swingx.treetable.TreeTableModel
getHierarchicalColumn
public int getHierarchicalColumn()
- Specified by:
getHierarchicalColumn in interface org.jdesktop.swingx.treetable.TreeTableModel
getValueAt
public Object getValueAt(Object o,
int i)
- Specified by:
getValueAt in interface org.jdesktop.swingx.treetable.TreeTableModel
isCellEditable
public boolean isCellEditable(Object o,
int i)
- Specified by:
isCellEditable in interface org.jdesktop.swingx.treetable.TreeTableModel
setValueAt
public void setValueAt(Object o,
Object o1,
int i)
- Specified by:
setValueAt in interface org.jdesktop.swingx.treetable.TreeTableModel
Copyright © 2008-2010 CodeLutin. All Rights Reserved.