org.wings.tree
Class SDefaultTreeSelectionModel
java.lang.Object
javax.swing.tree.DefaultTreeSelectionModel
org.wings.tree.SDefaultTreeSelectionModel
- All Implemented Interfaces:
- Serializable, Cloneable, TreeSelectionModel, SDelayedEventModel, STreeSelectionModel
public class SDefaultTreeSelectionModel
- extends DefaultTreeSelectionModel
- implements STreeSelectionModel
- Author:
- Armin Haaf
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.tree.DefaultTreeSelectionModel |
addPropertyChangeListener, addSelectionPath, addSelectionPaths, addTreeSelectionListener, arePathsContiguous, canPathsBeAdded, canPathsBeRemoved, clearSelection, clone, 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, setSelectionPath, setSelectionPaths, toString, updateLeadIndex |
| Methods inherited from interface javax.swing.tree.TreeSelectionModel |
addPropertyChangeListener, addSelectionPath, addSelectionPaths, addTreeSelectionListener, clearSelection, getLeadSelectionPath, getLeadSelectionRow, getMaxSelectionRow, getMinSelectionRow, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, isPathSelected, isRowSelected, isSelectionEmpty, removePropertyChangeListener, removeSelectionPath, removeSelectionPaths, removeTreeSelectionListener, resetRowSelection, setRowMapper, setSelectionMode, setSelectionPath, setSelectionPaths |
delayedEvents
protected final ArrayList delayedEvents
- got a delayed Event?
NO_SELECTION_MODEL
public static final SDefaultTreeSelectionModel NO_SELECTION_MODEL
- Unique shared instance. No selection possible.
SDefaultTreeSelectionModel
public SDefaultTreeSelectionModel()
getDelayEvents
public boolean getDelayEvents()
- Specified by:
getDelayEvents in interface SDelayedEventModel
setDelayEvents
public void setDelayEvents(boolean b)
- Description copied from interface:
SDelayedEventModel
- if this is set to true, events are not fired immediately. They are
collected and fired after setting this to false...
- Specified by:
setDelayEvents in interface SDelayedEventModel
fireDelayedIntermediateEvents
public void fireDelayedIntermediateEvents()
- fire event with isValueIsAdjusting true
- Specified by:
fireDelayedIntermediateEvents in interface SDelayedEventModel
fireDelayedFinalEvents
public void fireDelayedFinalEvents()
- Description copied from interface:
SDelayedEventModel
- fire remaining delayed events. In this level all events, which
are important to an application should be fired. All listeners, which are
notified in this level can assume that the components are in a consistent
(considering user interaction) state.
- Specified by:
fireDelayedFinalEvents in interface SDelayedEventModel
fireValueChanged
protected void fireValueChanged(TreeSelectionEvent e)
- Overrides:
fireValueChanged in class DefaultTreeSelectionModel
wingS Swings ;-)