public class FieldsTreeTableModel extends AbstractTreeTableModel
listenerList, root
Constructor and Description |
---|
FieldsTreeTableModel() |
FieldsTreeTableModel(java.lang.Object root) |
FieldsTreeTableModel(java.lang.Object root,
boolean show_Geometry) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getChild(java.lang.Object node,
int i) |
int |
getChildCount(java.lang.Object node) |
java.lang.Class |
getColumnClass(int column)
Returns the type for column number
column . |
int |
getColumnCount()
Returns the number ofs availible column.
|
java.lang.String |
getColumnName(int column)
Returns the name for column number
column . |
java.util.Vector<java.lang.Object> |
getLeafsFromNodeBranch(java.lang.Object node)
Returns leafs from a node branch
|
boolean |
getShowGeometry() |
java.lang.Object |
getValueAt(java.lang.Object node,
int column)
Returns the value to be displayed for node
node ,
at column number column . |
boolean |
isLeaf(java.lang.Object node) |
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, getRoot, isCellEditable, removeTreeModelListener, setNodes, setValueAt, valueForPathChanged
public FieldsTreeTableModel(java.lang.Object root)
public FieldsTreeTableModel(java.lang.Object root, boolean show_Geometry)
public FieldsTreeTableModel()
public boolean getShowGeometry()
public int getChildCount(java.lang.Object node)
public java.lang.Object getChild(java.lang.Object node, int i)
public boolean isLeaf(java.lang.Object node)
isLeaf
in interface javax.swing.tree.TreeModel
isLeaf
in class AbstractTreeTableModel
public int getColumnCount()
TreeTableModel
public java.lang.String getColumnName(int column)
TreeTableModel
column
.public java.lang.Class getColumnClass(int column)
TreeTableModel
column
.getColumnClass
in interface TreeTableModel
getColumnClass
in class AbstractTreeTableModel
public java.lang.Object getValueAt(java.lang.Object node, int column)
TreeTableModel
node
,
at column number column
.public java.util.Vector<java.lang.Object> getLeafsFromNodeBranch(java.lang.Object node)
node
- A node in this tree model