|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultTreeSelectionModel
jgnash.ui.account.AbstractAccountEnabledTreeCellRenderer.SelectionModel
private class AbstractAccountEnabledTreeCellRenderer.SelectionModel
Selection model based on the returned value of isAccountEnabled. Depending on the result, the path may be disabled from selection
| Field Summary | |
|---|---|
private static long |
serialVersionUID
|
| 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 | |
|---|---|
AbstractAccountEnabledTreeCellRenderer.SelectionModel()
|
|
| Method Summary | |
|---|---|
void |
setSelectionPath(javax.swing.tree.TreePath path)
Overrides the super to prevent selection of place holder accounts |
| 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, removeSelectionPath, removeSelectionPaths, removeTreeSelectionListener, resetRowSelection, setRowMapper, setSelectionMode, setSelectionPaths, toString, updateLeadIndex |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
| Constructor Detail |
|---|
public AbstractAccountEnabledTreeCellRenderer.SelectionModel()
| Method Detail |
|---|
public void setSelectionPath(javax.swing.tree.TreePath path)
setSelectionPath in interface javax.swing.tree.TreeSelectionModelsetSelectionPath in class javax.swing.tree.DefaultTreeSelectionModelpath - new path to select
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||