|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultTreeSelectionModel org.fife.ui.RTreeSelectionModel
public class RTreeSelectionModel
A wrapper class; this selection model allows only a single selection, and does not allow the user to deselect. This model is useful when the user should be required to have exactly one selection.
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 | |
---|---|
RTreeSelectionModel()
|
Method Summary | |
---|---|
void |
removeSelectionPath(javax.swing.tree.TreePath path)
Overrides DefaultTreeSelectionModel 's
removeSelectionPath to do nothing, so the user can't
"deselect." |
Methods inherited from class javax.swing.tree.DefaultTreeSelectionModel |
---|
addPropertyChangeListener, addSelectionPath, addSelectionPaths, 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, removeSelectionPaths, removeTreeSelectionListener, resetRowSelection, setRowMapper, setSelectionMode, setSelectionPath, setSelectionPaths, toString, updateLeadIndex |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RTreeSelectionModel()
Method Detail |
---|
public void removeSelectionPath(javax.swing.tree.TreePath path)
DefaultTreeSelectionModel
's
removeSelectionPath
to do nothing, so the user can't
"deselect."
removeSelectionPath
in interface javax.swing.tree.TreeSelectionModel
removeSelectionPath
in class javax.swing.tree.DefaultTreeSelectionModel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |