fedora.utilities.policyEditor
Class FedoraSystemModel
java.lang.Object
fedora.utilities.policyEditor.AbstractTreeTableModel
fedora.utilities.policyEditor.FedoraSystemModel
- All Implemented Interfaces:
- TreeTableModel, javax.swing.tree.TreeModel
public class FedoraSystemModel
- extends AbstractTreeTableModel
- implements TreeTableModel
- Author:
- diglib
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
|
Field Summary |
protected static java.lang.String[] |
cNames
|
protected static java.lang.Class[] |
cTypes
|
static java.lang.Integer |
ZERO
|
|
Method Summary |
java.lang.Object |
getChild(java.lang.Object node,
int i)
|
int |
getChildCount(java.lang.Object node)
|
protected java.lang.Object[] |
getChildren(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.lang.Object |
getValueAt(java.lang.Object node,
int column)
Returns the value to be displayed for node node,
at column number column. |
void |
setValueAt(java.lang.Object aValue,
java.lang.Object node,
int column)
Sets the value for node node,
at column number column. |
| Methods inherited from class fedora.utilities.policyEditor.AbstractTreeTableModel |
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, getRoot, isCellEditable, isLeaf, removeTreeModelListener, 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, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, valueForPathChanged |
cNames
protected static java.lang.String[] cNames
cTypes
protected static java.lang.Class[] cTypes
ZERO
public static final java.lang.Integer ZERO
FedoraSystemModel
public FedoraSystemModel(java.lang.Object root)
- Parameters:
root -
getChildren
protected java.lang.Object[] getChildren(java.lang.Object node)
getChildCount
public int getChildCount(java.lang.Object node)
- Specified by:
getChildCount in interface javax.swing.tree.TreeModel
getChild
public java.lang.Object getChild(java.lang.Object node,
int i)
- Specified by:
getChild in interface javax.swing.tree.TreeModel
getColumnCount
public int getColumnCount()
- Description copied from interface:
TreeTableModel
- Returns the number ofs availible column.
- Specified by:
getColumnCount in interface TreeTableModel
getColumnName
public java.lang.String getColumnName(int column)
- Description copied from interface:
TreeTableModel
- Returns the name for column number
column.
- Specified by:
getColumnName in interface TreeTableModel
getColumnClass
public java.lang.Class getColumnClass(int column)
- Description copied from interface:
TreeTableModel
- Returns the type for column number
column.
- Specified by:
getColumnClass in interface TreeTableModel- Overrides:
getColumnClass in class AbstractTreeTableModel
getValueAt
public java.lang.Object getValueAt(java.lang.Object node,
int column)
- Description copied from interface:
TreeTableModel
- Returns the value to be displayed for node
node,
at column number column.
- Specified by:
getValueAt in interface TreeTableModel
setValueAt
public void setValueAt(java.lang.Object aValue,
java.lang.Object node,
int column)
- Description copied from interface:
TreeTableModel
- Sets the value for node
node,
at column number column.
- Specified by:
setValueAt in interface TreeTableModel- Overrides:
setValueAt in class AbstractTreeTableModel