|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILayerContainerSelectionModel
A selection model used by the layer container to manage the selection of time spans.
LayerContainer.setSelectionModel(ILayerContainerSelectionModel)
,
LayerContainer.getSelectionModel()
,
ILayerContainerSelectionModelListener
Method Summary | |
---|---|
void |
addLayerContainerSelectionModelListener(ILayerContainerSelectionModelListener l)
Adds a listener to the selection model. |
void |
addSelectedTimeSpan(java.lang.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(java.lang.Object node)
Removes all of those selected time spans that belong to the given tree node object. |
java.util.Iterator<ITimeSpan> |
getSelectedTimeSpans(java.lang.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(java.lang.Object node)
Checks whether the selection model contains any selections for the given tree node object. |
boolean |
isSelected(java.lang.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(java.lang.Object node,
ITimeSpan span)
Removes a time span from the list of selected time spans of the given tree table node object. |
Method Detail |
---|
boolean isEmpty()
boolean isEmpty(java.lang.Object node)
node
- the node to check for selections
void clearSelectedTimeSpans()
clearSelectedTimeSpans(Object)
,
removeSelectedTimeSpan(Object, ITimeSpan)
void clearSelectedTimeSpans(java.lang.Object node)
node
- the tree table node objectclearSelectedTimeSpans()
,
removeSelectedTimeSpan(Object, ITimeSpan)
void addSelectedTimeSpan(java.lang.Object node, ITimeSpan span)
node
- the tree table node objectspan
- the time span to addremoveSelectedTimeSpan(Object, ITimeSpan)
void removeSelectedTimeSpan(java.lang.Object node, ITimeSpan span)
node
- the tree table node objectspan
- the time span to removeaddSelectedTimeSpan(Object, ITimeSpan)
java.util.Iterator<ITimeSpan> getSelectedTimeSpans(java.lang.Object node, ITimeSpan span)
node
- the tree table node objectspan
- the time span for which an iterator gets created
boolean isSelected(java.lang.Object node, ITimeSpan span)
node
- the tree table node objectspan
- the time span to check
ITimeSpan.contains(ITimeSpan)
void addLayerContainerSelectionModelListener(ILayerContainerSelectionModelListener l)
l
- the listener to addremoveLayerContainerSelectionModelListener(ILayerContainerSelectionModelListener)
void removeLayerContainerSelectionModelListener(ILayerContainerSelectionModelListener l)
l
- the listener to removeaddLayerContainerSelectionModelListener(ILayerContainerSelectionModelListener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |