|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultTreeSelectionModel
cdx.scorebot.util.swing.tree.CheckTreeSelectionModel
public class CheckTreeSelectionModel
Determines the state of a checkbox at any given node.
| Field Summary |
|---|
| Fields inherited from class javax.swing.tree.DefaultTreeSelectionModel |
|---|
changeSupport, leadIndex, leadPath, leadRow, listenerList, listSelectionModel, rowMapper, selection, SELECTION_MODE_PROPERTY, selectionMode |
| Fields inherited from interface javax.swing.tree.TreeSelectionModel |
|---|
CONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION |
| Constructor Summary | |
|---|---|
CheckTreeSelectionModel(javax.swing.tree.TreeModel model)
|
|
| Method Summary | |
|---|---|
void |
addSelectionPaths(javax.swing.tree.TreePath[] paths)
|
boolean |
isPartiallySelected(javax.swing.tree.TreePath path)
|
boolean |
isPathSelected(javax.swing.tree.TreePath path,
boolean dig)
|
void |
removeSelectionPaths(javax.swing.tree.TreePath[] paths)
|
void |
setSelectionPaths(javax.swing.tree.TreePath[] pPaths)
|
| Methods inherited from class javax.swing.tree.DefaultTreeSelectionModel |
|---|
addPropertyChangeListener, addSelectionPath, addTreeSelectionListener, arePathsContiguous, canPathsBeAdded, canPathsBeRemoved, clearSelection, clone, fireValueChanged, getLeadSelectionPath, getLeadSelectionRow, getListeners, getMaxSelectionRow, getMinSelectionRow, getPropertyChangeListeners, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, getTreeSelectionListeners, insureRowContinuity, insureUniqueness, isPathSelected, isRowSelected, isSelectionEmpty, notifyPathChange, removePropertyChangeListener, removeSelectionPath, removeTreeSelectionListener, resetRowSelection, setRowMapper, setSelectionMode, setSelectionPath, toString, updateLeadIndex |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CheckTreeSelectionModel(javax.swing.tree.TreeModel model)
| Method Detail |
|---|
public boolean isPartiallySelected(javax.swing.tree.TreePath path)
public boolean isPathSelected(javax.swing.tree.TreePath path,
boolean dig)
public void setSelectionPaths(javax.swing.tree.TreePath[] pPaths)
setSelectionPaths in interface javax.swing.tree.TreeSelectionModelsetSelectionPaths in class javax.swing.tree.DefaultTreeSelectionModelpublic void addSelectionPaths(javax.swing.tree.TreePath[] paths)
addSelectionPaths in interface javax.swing.tree.TreeSelectionModeladdSelectionPaths in class javax.swing.tree.DefaultTreeSelectionModelpublic void removeSelectionPaths(javax.swing.tree.TreePath[] paths)
removeSelectionPaths in interface javax.swing.tree.TreeSelectionModelremoveSelectionPaths in class javax.swing.tree.DefaultTreeSelectionModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||