|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITimelineObjectLayerSelectionModel
A selection model definition used by instances of TimelineObjectLayer
.
Method Summary | |
---|---|
void |
addSelection(java.util.Collection<TimelineObjectPath> paths)
Adds several timeline objects to the selection at the same time. |
void |
addSelection(TimelineObjectPath path)
Adds a selection / a selected timeline object to the model. |
void |
addTimelineLayerSelectionModelListener(ITimelineObjectLayerSelectionListener l)
Adds a listener to the model. |
void |
clearSelection()
Clears the current selection. |
void |
clearSelection(javax.swing.tree.TreePath path)
Clears the current selection for the given path (clears the selection within a specific row). |
java.util.Iterator<TimelineObjectPath> |
getSelection()
Returns all timeline objects that are currently selected. |
java.util.Iterator<TimelineObjectPath> |
getSelection(javax.swing.tree.TreePath path)
Returns all timeline objects for the given node that are currently selected. |
java.util.Iterator<TimelineObjectPath> |
getSelection(javax.swing.tree.TreePath path,
ITimeSpan span)
Returns all timeline objects for the given node and time span that are currently selected. |
java.util.Iterator<javax.swing.tree.TreePath> |
getSelectionPaths()
Returns all tree paths that reference hierarchy objects on which a selection exists / on which timeline objects are selected. |
boolean |
isSelected(TimelineObjectPath path)
Determines if the timeline object referenced by the given timeline object path is currently selected. |
void |
removeSelection(java.util.Collection<TimelineObjectPath> paths)
Removes several timeline objects from the selection at the same time. |
void |
removeSelection(TimelineObjectPath path)
Removes a selection / a selected timeline object from the model. |
void |
removeTimelineLayerSelectionModelListener(ITimelineObjectLayerSelectionListener l)
Removes a listener from the model. |
Method Detail |
---|
void clearSelection()
void clearSelection(javax.swing.tree.TreePath path)
path
- the path to the hierarchy node for which the selection will be
clearedvoid addSelection(TimelineObjectPath path)
path
- the path to the timeline objectvoid addSelection(java.util.Collection<TimelineObjectPath> paths)
paths
- a collection of timeline object pathsvoid removeSelection(TimelineObjectPath path)
path
- the path to the timeline objectvoid removeSelection(java.util.Collection<TimelineObjectPath> paths)
paths
- a collection of timeline object pathsjava.util.Iterator<TimelineObjectPath> getSelection(javax.swing.tree.TreePath path, ITimeSpan span)
Iterator
in order to
hide the actual data structure used to store the objects.
path
- the path to the hierarchy node for which to return the
selected timeline objectsspan
- the time span for which to return the selected timeline
objects
getSelection()
,
getSelection(TreePath)
java.util.Iterator<TimelineObjectPath> getSelection(javax.swing.tree.TreePath path)
Iterator
in order to hide the
actual data structure used to store the objects.
path
- the path to the hierarchy node for which to return the
selected timeline objects
getSelection(TreePath, ITimeSpan)
,
getSelection()
java.util.Iterator<TimelineObjectPath> getSelection()
Iterator
in order to hide the actual data structure
used to store the objects.
getSelection(TreePath)
,
getSelection(TreePath, ITimeSpan)
java.util.Iterator<javax.swing.tree.TreePath> getSelectionPaths()
boolean isSelected(TimelineObjectPath path)
path
- the path to the checked timeline object
void addTimelineLayerSelectionModelListener(ITimelineObjectLayerSelectionListener l)
l
- the listener to addvoid removeTimelineLayerSelectionModelListener(ITimelineObjectLayerSelectionListener l)
l
- the listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |