| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CheckBoxTreeModel
A tree model with a checkbox state for each object.N
| Method Summary | |
|---|---|
 java.lang.String | 
convertValueToText(java.lang.Object value)Converts an object in this tree to text.  | 
 java.lang.Boolean | 
getState(java.lang.Object object)Gets the selection state for an object in this tree.  | 
 void | 
stateForPathChanged(javax.swing.tree.TreePath path, java.lang.Boolean newState)Sets the selection state for an object in this tree.  | 
| Methods inherited from interface javax.swing.tree.TreeModel | 
|---|
addTreeModelListener, getChild, getChildCount, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, valueForPathChanged | 
| Method Detail | 
|---|
java.lang.Boolean getState(java.lang.Object object)
Gets Boolean.TRUE or Boolean.FALSE if the object is selected or unselected, respectively, and null if it is neither (e.g., if it is a nonleaf node and some but not all of its children are selected).
void stateForPathChanged(javax.swing.tree.TreePath path,
                         java.lang.Boolean newState)
newState differs from the old state, the model shoould fire a treeNodesChanged event.path - path to the object whose state was changed by the user.newState - the new state from the CheckBoxTreeCellEditor.java.lang.String convertValueToText(java.lang.Object value)
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||