Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.jdevimpl.audit.swing
Interface CheckBoxTreeModel

All Superinterfaces:
javax.swing.tree.TreeModel
All Known Implementing Classes:
ProfileTreeModel

public interface CheckBoxTreeModel
extends javax.swing.tree.TreeModel

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

getState

java.lang.Boolean getState(java.lang.Object object)
Gets the selection state for an object in this tree.

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).


stateForPathChanged

void stateForPathChanged(javax.swing.tree.TreePath path,
                         java.lang.Boolean newState)
Sets the selection state for an object in this tree. If newState differs from the old state, the model shoould fire a treeNodesChanged event.
Parameters:
path - path to the object whose state was changed by the user.
newState - the new state from the CheckBoxTreeCellEditor.

convertValueToText

java.lang.String convertValueToText(java.lang.Object value)
Converts an object in this tree to text.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.