|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--arlut.csd.ganymede.client.AbstractTreeTableModel
|
+--arlut.csd.ganymede.client.PermEditorModel
Custom TreeTableModel model for use with the Ganymede client's
perm_editor permissions
editor dialog.
| Field Summary | |
protected static java.lang.String[] |
cNames
Names of the columns. |
(package private) static int |
CREATABLE
|
protected static java.lang.Class[] |
cTypes
Types of the columns. |
(package private) static int |
DELETABLE
|
(package private) static int |
EDITABLE
|
(package private) static int |
NAME
|
(package private) boolean |
viewOnly
|
(package private) static int |
VISIBLE
|
| Fields inherited from class arlut.csd.ganymede.client.AbstractTreeTableModel |
listenerList, root |
| Constructor Summary | |
PermEditorModel(javax.swing.tree.DefaultMutableTreeNode root,
boolean viewOnly)
|
|
| Method Summary | |
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.lang.Object |
getValueAt(java.lang.Object node,
int column)
Returns the value to be displayed for node node,
at column number column. |
boolean |
isCellEditable(java.lang.Object node,
int col)
Indicates whether the the value for node node,
at column number column is editable. |
boolean |
isLeaf(java.lang.Object node)
|
void |
setBaseChildren(java.lang.Object node,
int col,
java.lang.Object value)
|
void |
setValueAt(java.lang.Object value,
java.lang.Object node,
int col)
Sets the value for node node,
at column number column. |
| Methods inherited from class arlut.csd.ganymede.client.AbstractTreeTableModel |
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, getRoot, 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, removeTreeModelListener, valueForPathChanged |
| Field Detail |
static final int NAME
static final int VISIBLE
static final int CREATABLE
static final int EDITABLE
static final int DELETABLE
boolean viewOnly
protected static java.lang.String[] cNames
protected static java.lang.Class[] cTypes
| Constructor Detail |
public PermEditorModel(javax.swing.tree.DefaultMutableTreeNode root,
boolean viewOnly)
| Method Detail |
public int getChildCount(java.lang.Object node)
getChildCount in interface javax.swing.tree.TreeModel
public java.lang.Object getChild(java.lang.Object node,
int i)
getChild in interface javax.swing.tree.TreeModelpublic boolean isLeaf(java.lang.Object node)
isLeaf in interface javax.swing.tree.TreeModelisLeaf in class AbstractTreeTableModelpublic int getColumnCount()
TreeTableModel
getColumnCount in interface TreeTableModelpublic java.lang.String getColumnName(int column)
TreeTableModelcolumn.
getColumnName in interface TreeTableModelpublic java.lang.Class getColumnClass(int column)
TreeTableModelcolumn.
getColumnClass in interface TreeTableModelgetColumnClass in class AbstractTreeTableModel
public java.lang.Object getValueAt(java.lang.Object node,
int column)
TreeTableModelnode,
at column number column.
getValueAt in interface TreeTableModel
public boolean isCellEditable(java.lang.Object node,
int col)
TreeTableModelnode,
at column number column is editable.
isCellEditable in interface TreeTableModelisCellEditable in class AbstractTreeTableModel
public void setValueAt(java.lang.Object value,
java.lang.Object node,
int col)
TreeTableModelnode,
at column number column.
setValueAt in interface TreeTableModelsetValueAt in class AbstractTreeTableModel
public void setBaseChildren(java.lang.Object node,
int col,
java.lang.Object value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||