public interface ILayerContainerSelectionModel
LayerContainer.setSelectionModel(ILayerContainerSelectionModel)
,
LayerContainer.getSelectionModel()
,
ILayerContainerSelectionModelListener
Modifier and Type | Method and Description |
---|---|
void |
addLayerContainerSelectionModelListener(ILayerContainerSelectionModelListener l)
Adds a listener to the selection model.
|
void |
addSelectedTimeSpan(Object node,
ITimeSpan span)
Adds a time span to the list of selected time spans of the given tree
table node object.
|
void |
clearSelectedTimeSpans()
Removes all selected time spans from the selection model.
|
void |
clearSelectedTimeSpans(Object node)
Removes all of those selected time spans that belong to the given tree
node object.
|
Iterator<ITimeSpan> |
getSelectedTimeSpans(Object node,
ITimeSpan span)
Returns an iterator for iterating over the list of selected time spans of
the given node within the given time span.
|
boolean |
isEmpty()
Checks whether the selection model contains any selections at all.
|
boolean |
isEmpty(Object node)
Checks whether the selection model contains any selections for the given
tree node object.
|
boolean |
isSelected(Object node,
ITimeSpan span)
Returns TRUE if the given time span is currently selected on the given
tree table node.
|
void |
removeLayerContainerSelectionModelListener(ILayerContainerSelectionModelListener l)
Removes a listener from the selection model.
|
void |
removeSelectedTimeSpan(Object node,
ITimeSpan span)
Removes a time span from the list of selected time spans of the given
tree table node object.
|
boolean isEmpty()
boolean isEmpty(Object node)
node
- the node to check for selectionsvoid clearSelectedTimeSpans()
clearSelectedTimeSpans(Object)
,
removeSelectedTimeSpan(Object, ITimeSpan)
void clearSelectedTimeSpans(Object node)
node
- the tree table node objectclearSelectedTimeSpans()
,
removeSelectedTimeSpan(Object, ITimeSpan)
void addSelectedTimeSpan(Object node, ITimeSpan span)
node
- the tree table node objectspan
- the time span to addremoveSelectedTimeSpan(Object, ITimeSpan)
void removeSelectedTimeSpan(Object node, ITimeSpan span)
node
- the tree table node objectspan
- the time span to removeaddSelectedTimeSpan(Object, ITimeSpan)
Iterator<ITimeSpan> getSelectedTimeSpans(Object node, ITimeSpan span)
node
- the tree table node objectspan
- the time span for which an iterator gets createdboolean isSelected(Object node, ITimeSpan span)
node
- the tree table node objectspan
- the time span to checkITimeSpan.contains(ITimeSpan)
void addLayerContainerSelectionModelListener(ILayerContainerSelectionModelListener l)
l
- the listener to addremoveLayerContainerSelectionModelListener(ILayerContainerSelectionModelListener)
void removeLayerContainerSelectionModelListener(ILayerContainerSelectionModelListener l)
l
- the listener to removeaddLayerContainerSelectionModelListener(ILayerContainerSelectionModelListener)
Copyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.