public class VarModel extends AbstractTreeTableModel implements TreeTableModel
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String[] |
cNames |
protected static java.lang.Class<?>[] |
cTypes |
root| Constructor and Description |
|---|
VarModel() |
| 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 available columns.
|
java.lang.String |
getColumnName(int column)
Returns the name for column number
column. |
VarNode |
getRoot() |
java.lang.Object |
getValueAt(java.lang.Object node,
int column)
Returns the value to be displayed for node
node, at column number column. |
addTreeModelListener, getIndexOfChild, isCellEditable, isLeaf, removeTreeModelListener, setValueAt, valueForPathChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCellEditable, setValueAtprotected static java.lang.String[] cNames
protected static java.lang.Class<?>[] cTypes
public VarNode getRoot()
getRoot in interface javax.swing.tree.TreeModelgetRoot in class AbstractTreeTableModelpublic int getChildCount(java.lang.Object node)
getChildCount in interface javax.swing.tree.TreeModelpublic java.lang.Object getChild(java.lang.Object node,
int i)
getChild in interface javax.swing.tree.TreeModelpublic int getColumnCount()
TreeTableModelgetColumnCount in interface TreeTableModelpublic java.lang.String getColumnName(int column)
TreeTableModelcolumn.getColumnName in interface TreeTableModelcolumn - the column numberpublic java.lang.Class<?> getColumnClass(int column)
TreeTableModelcolumn.getColumnClass in interface TreeTableModelgetColumnClass in class AbstractTreeTableModelcolumn - the column numberpublic java.lang.Object getValueAt(java.lang.Object node,
int column)
TreeTableModelnode, at column number column.getValueAt in interface TreeTableModelnode - the nodecolumn - the column numberCopyright © 2019-2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence