Class FisheryTreeSelectionModel
java.lang.Object
javax.swing.tree.DefaultTreeSelectionModel
fr.ifremer.isisfish.ui.input.tree.FisheryTreeSelectionModel
- All Implemented Interfaces:
Serializable
,Cloneable
,TreeSelectionModel
Surcharge du model de selection de l'arbre de pecherie pour
intersepter les changements de noeud dans le cas où l'utilisateur
n'aurais pas sauvé une UI et eviter de boucler dans le cas d'une
annulation.
- See Also:
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSelectionPath
(TreePath path) void
addSelectionPaths
(TreePath[] paths) void
void
removeSelectionPath
(TreePath path) void
removeSelectionPaths
(TreePath[] paths) void
setSelectionPath
(TreePath path) void
setSelectionPaths
(TreePath[] pPaths) protected boolean
Methods inherited from class javax.swing.tree.DefaultTreeSelectionModel
addPropertyChangeListener, addTreeSelectionListener, arePathsContiguous, canPathsBeAdded, canPathsBeRemoved, clone, fireValueChanged, getLeadSelectionPath, getLeadSelectionRow, getListeners, getMaxSelectionRow, getMinSelectionRow, getPropertyChangeListeners, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, getTreeSelectionListeners, insureRowContinuity, insureUniqueness, isPathSelected, isRowSelected, isSelectionEmpty, notifyPathChange, removePropertyChangeListener, removeTreeSelectionListener, resetRowSelection, setRowMapper, setSelectionMode, toString, updateLeadIndex
-
Field Details
-
ui
-
-
Constructor Details
-
FisheryTreeSelectionModel
-
-
Method Details
-
setSelectionPath
- Specified by:
setSelectionPath
in interfaceTreeSelectionModel
- Overrides:
setSelectionPath
in classDefaultTreeSelectionModel
-
setSelectionPaths
- Specified by:
setSelectionPaths
in interfaceTreeSelectionModel
- Overrides:
setSelectionPaths
in classDefaultTreeSelectionModel
-
addSelectionPath
- Specified by:
addSelectionPath
in interfaceTreeSelectionModel
- Overrides:
addSelectionPath
in classDefaultTreeSelectionModel
-
addSelectionPaths
- Specified by:
addSelectionPaths
in interfaceTreeSelectionModel
- Overrides:
addSelectionPaths
in classDefaultTreeSelectionModel
-
removeSelectionPath
- Specified by:
removeSelectionPath
in interfaceTreeSelectionModel
- Overrides:
removeSelectionPath
in classDefaultTreeSelectionModel
-
removeSelectionPaths
- Specified by:
removeSelectionPaths
in interfaceTreeSelectionModel
- Overrides:
removeSelectionPaths
in classDefaultTreeSelectionModel
-
clearSelection
public void clearSelection()- Specified by:
clearSelection
in interfaceTreeSelectionModel
- Overrides:
clearSelection
in classDefaultTreeSelectionModel
-
willContinueSelection
protected boolean willContinueSelection()
-