|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sape.carbon.services.swing.treetable.AbstractTreeTableModel | +--org.sape.carbon.services.console.ObjectTreeModel
This is the template for Classes.
Nested Class Summary | |
static class |
ObjectTreeModel.ArrayNode
|
static class |
ObjectTreeModel.ArrayNodeConfigurationValue
|
static class |
ObjectTreeModel.ArrayNodeDataValue
|
static class |
ObjectTreeModel.ConfigNode
|
static class |
ObjectTreeModel.DataNode
|
static interface |
ObjectTreeModel.TreeNode
|
Field Summary | |
private static String[] |
COLUMN_NAMES
|
private Configuration |
config
|
private ObjectTreeModel.TreeNode |
rootNode
|
Fields inherited from class org.sape.carbon.services.swing.treetable.AbstractTreeTableModel |
listenerList, root |
Constructor Summary | |
ObjectTreeModel(Configuration config)
|
Method Summary | |
static String |
capitalize(String string)
|
Object |
getChild(Object obj,
int param)
|
int |
getChildCount(Object obj)
|
Object[] |
getChildren(Object obj)
|
Class |
getColumnClass(int column)
Returns the type for column number column . |
int |
getColumnCount()
Returns the number ofs availible column. |
String |
getColumnName(int column)
Returns the name for column number column . |
Object |
getValueAt(Object node,
int column)
Returns the value to be displayed for node node ,
at column number column . |
boolean |
isCellEditable(Object node,
int column)
By default, make the column with the Tree in it the only editable one. |
void |
setValueAt(Object aValue,
Object node,
int column)
Sets the value for node node ,
at column number column . |
Methods inherited from class org.sape.carbon.services.swing.treetable.AbstractTreeTableModel |
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, valueForPathChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static String[] COLUMN_NAMES
private Configuration config
private ObjectTreeModel.TreeNode rootNode
Constructor Detail |
public ObjectTreeModel(Configuration config)
Method Detail |
public Object getChild(Object obj, int param)
public int getChildCount(Object obj)
public Object[] getChildren(Object obj)
public int getColumnCount()
public String getColumnName(int column)
column
.
public Object getValueAt(Object node, int column)
node
,
at column number column
.
public boolean isCellEditable(Object node, int column)
AbstractTreeTableModel
isCellEditable
in interface TreeTableModel
isCellEditable
in class AbstractTreeTableModel
public Class getColumnClass(int column)
TreeTableModel
column
.
getColumnClass
in interface TreeTableModel
getColumnClass
in class AbstractTreeTableModel
public void setValueAt(Object aValue, Object node, int column)
TreeTableModel
node
,
at column number column
.
setValueAt
in interface TreeTableModel
setValueAt
in class AbstractTreeTableModel
public static String capitalize(String string)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |