jaxx.runtime.swing.navigation.treetable
Class NavigationTreeTableModel

java.lang.Object
  extended by jaxx.runtime.swing.navigation.AbstractNavigationModel<NavigationTreeTableNode>
      extended by jaxx.runtime.swing.navigation.treetable.NavigationTreeTableModel
All Implemented Interfaces:
TreeModel, NavigationModel<NavigationTreeTableNode>, org.jdesktop.swingx.treetable.TreeTableModel

Deprecated. since 2.1, prefer use the simplify api jaxx.runtime.swing.tree.

@Deprecated
public class NavigationTreeTableModel
extends AbstractNavigationModel<NavigationTreeTableNode>
implements org.jdesktop.swingx.treetable.TreeTableModel

Model of the tree table used for a navigation tree table.

Il est composé de NavigationTreeNode

FIXME : Essayer d'enlever les copier coller NavigationTreeModel

Since:
2.0.0
Author:
sletellier

Nested Class Summary
static class NavigationTreeTableModel.MyDefaultTreeTableModel
          Deprecated.  
 
Field Summary
protected  List<String> columnsName
          Deprecated.  
 
Fields inherited from class jaxx.runtime.swing.navigation.AbstractNavigationModel
adjustingValue, delegate, pathSeparator
 
Constructor Summary
NavigationTreeTableModel(NavigationTreeTableModel.MyDefaultTreeTableModel delegate, String pathSeparator, JAXXContext context, List<String> columnsName)
          Deprecated.  
NavigationTreeTableModel(String pathSeparator, JAXXContext context, List<String> columnsName)
          Deprecated.  
 
Method Summary
 Class<?> getColumnClass(int i)
          Deprecated.  
 int getColumnCount()
          Deprecated.  
 String getColumnName(int column)
          Deprecated.  
 NavigationTreeTableModel.MyDefaultTreeTableModel getDelegate()
          Deprecated.  
 int getHierarchicalColumn()
          Deprecated.  
protected  org.jdesktop.swingx.tree.TreeModelSupport getModelSupport()
          Deprecated. Accessor to tree model support.
 NavigationTreeTableNode[] getPathToRoot(NavigationTreeTableNode aNode)
          Deprecated.  
 Object getValueAt(Object o, int i)
          Deprecated.  
 boolean isCellEditable(Object o, int i)
          Deprecated.  
 void nodeChanged(NavigationTreeTableNode node, boolean deep)
          Deprecated.  
 void nodeStructureChanged(NavigationTreeTableNode node)
          Deprecated.  
 void removeNodeFromParent(NavigationTreeTableNode node)
          Deprecated. Message this to remove node from its parent.
 void setRoot(NavigationTreeTableNode root)
          Deprecated.  
 void setValueAt(Object o, Object o1, int i)
          Deprecated.  
 
Methods inherited from class jaxx.runtime.swing.navigation.AbstractNavigationModel
addTreeModelListener, findNode, findNode, findNode, findNode, findNode, findNode, getBean, getBean, getChild, getChildCount, getContext, getIndexOfChild, getPathSeparator, getRoot, isAdjustingValue, isLeaf, nodeChanged, reload, reload, removeTreeModelListener, setAdjustingValue, valueForPathChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.tree.TreeModel
addTreeModelListener, getChild, getChildCount, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, valueForPathChanged
 

Field Detail

columnsName

protected List<String> columnsName
Deprecated. 
Constructor Detail

NavigationTreeTableModel

public NavigationTreeTableModel(NavigationTreeTableModel.MyDefaultTreeTableModel delegate,
                                String pathSeparator,
                                JAXXContext context,
                                List<String> columnsName)
Deprecated. 

NavigationTreeTableModel

public NavigationTreeTableModel(String pathSeparator,
                                JAXXContext context,
                                List<String> columnsName)
Deprecated. 
Method Detail

getDelegate

public NavigationTreeTableModel.MyDefaultTreeTableModel getDelegate()
Deprecated. 
Overrides:
getDelegate in class AbstractNavigationModel<NavigationTreeTableNode>

getPathToRoot

public NavigationTreeTableNode[] getPathToRoot(NavigationTreeTableNode aNode)
Deprecated. 
Specified by:
getPathToRoot in interface NavigationModel<NavigationTreeTableNode>

setRoot

public void setRoot(NavigationTreeTableNode root)
Deprecated. 
Specified by:
setRoot in interface NavigationModel<NavigationTreeTableNode>

removeNodeFromParent

public void removeNodeFromParent(NavigationTreeTableNode node)
Deprecated. 
Message this to remove node from its parent. This will message nodesWereRemoved to create the appropriate event. This is the preferred way to remove a node as it handles the event creation for you.

Specified by:
removeNodeFromParent in interface NavigationModel<NavigationTreeTableNode>

getModelSupport

protected org.jdesktop.swingx.tree.TreeModelSupport getModelSupport()
Deprecated. 
Accessor to tree model support.

Returns:
tree model support

nodeStructureChanged

public void nodeStructureChanged(NavigationTreeTableNode node)
Deprecated. 
Specified by:
nodeStructureChanged in interface NavigationModel<NavigationTreeTableNode>

nodeChanged

public void nodeChanged(NavigationTreeTableNode node,
                        boolean deep)
Deprecated. 
Specified by:
nodeChanged in interface NavigationModel<NavigationTreeTableNode>

getColumnClass

public Class<?> getColumnClass(int i)
Deprecated. 
Specified by:
getColumnClass in interface org.jdesktop.swingx.treetable.TreeTableModel

getColumnCount

public int getColumnCount()
Deprecated. 
Specified by:
getColumnCount in interface org.jdesktop.swingx.treetable.TreeTableModel

getColumnName

public String getColumnName(int column)
Deprecated. 
Specified by:
getColumnName in interface org.jdesktop.swingx.treetable.TreeTableModel

getHierarchicalColumn

public int getHierarchicalColumn()
Deprecated. 
Specified by:
getHierarchicalColumn in interface org.jdesktop.swingx.treetable.TreeTableModel

getValueAt

public Object getValueAt(Object o,
                         int i)
Deprecated. 
Specified by:
getValueAt in interface org.jdesktop.swingx.treetable.TreeTableModel

isCellEditable

public boolean isCellEditable(Object o,
                              int i)
Deprecated. 
Specified by:
isCellEditable in interface org.jdesktop.swingx.treetable.TreeTableModel

setValueAt

public void setValueAt(Object o,
                       Object o1,
                       int i)
Deprecated. 
Specified by:
setValueAt in interface org.jdesktop.swingx.treetable.TreeTableModel


Copyright © 2008-2010 CodeLutin. All Rights Reserved.