|
JAPI 0.9.0 Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.japi.swing.treetable.AbstractTreeTableModel<KeyStrokeRootNode,AbstractSimpleNode<AbstractSimpleNode>> net.sf.japi.swing.prefs.keys.KeyStrokeTreeTableModel
public class KeyStrokeTreeTableModel
TODO
Constructor Summary | |
---|---|
KeyStrokeTreeTableModel(List<ActionFactory> factories)
Create a KeyStrokeTreeTableModel. |
Method Summary | |
---|---|
AbstractSimpleNode<AbstractSimpleNode> |
getChild(AbstractSimpleNode<AbstractSimpleNode> parent,
int index)
Returns a child with a certain index. |
int |
getChildCount(AbstractSimpleNode<AbstractSimpleNode> node)
Returns the number of available children. |
Class<?> |
getColumnClass(int column)
Returns the type for column number column . |
int |
getColumnCount()
Returns the number of availible columns. |
String |
getColumnName(int column)
Returns the name for column number column . |
Object |
getValueAt(AbstractSimpleNode<AbstractSimpleNode> node,
int column)
Returns the value to be displayed for node node at column number column . |
Methods inherited from class net.sf.japi.swing.treetable.AbstractTreeTableModel |
---|
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, getRoot, isCellEditable, isLeaf, removeTreeModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyStrokeTreeTableModel(List<ActionFactory> factories)
Method Detail |
---|
public AbstractSimpleNode<AbstractSimpleNode> getChild(AbstractSimpleNode<AbstractSimpleNode> parent, int index)
parent
- Node to return child forindex
- Index of child
null
if no child was foundTreeModel.getChild(Object, int)
public int getChildCount(AbstractSimpleNode<AbstractSimpleNode> node)
TreeModel.getChildCount(Object)
public int getColumnCount()
TableModel.getColumnCount()
public String getColumnName(int column)
column
.
column
- Column to get name for
TableModel.getColumnName(int)
public Object getValueAt(AbstractSimpleNode<AbstractSimpleNode> node, int column)
node
at column number column
.
node
- Node to get value ofcolumn
- Column to get value of
TableModel.getValueAt(int, int)
public Class<?> getColumnClass(int column)
column
.
getColumnClass
in interface TreeTableModel<KeyStrokeRootNode,AbstractSimpleNode<AbstractSimpleNode>>
getColumnClass
in class AbstractTreeTableModel<KeyStrokeRootNode,AbstractSimpleNode<AbstractSimpleNode>>
column
- Column to get type for
TableModel.getColumnClass(int)
|
JAPI Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |