com.dlsc.flexgantt.swing.layer
Class TimeSpanSelectionEvent
java.lang.Object
java.util.EventObject
com.dlsc.flexgantt.swing.layer.TimeSpanSelectionEvent
- All Implemented Interfaces:
- java.io.Serializable
public class TimeSpanSelectionEvent
- extends java.util.EventObject
An event object thrown by the ILayerContainerSelectionModel
whenever
time spans have been added to or removed from the model.
- Since:
- 1.0
- Author:
- Dirk Lemmermann
- See Also:
ILayerContainerSelectionModelListener
,
Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
java.lang.Object |
getNode()
Returns the tree table node that was the target of changed time span
selection. |
java.util.List<ITimeSpan> |
getTimeSpans()
Returns the added / removed time spans. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TimeSpanSelectionEvent
public TimeSpanSelectionEvent(ILayerContainerSelectionModel model,
java.lang.Object node,
java.util.List<ITimeSpan> timeSpans)
- Constructs a new event.
- Parameters:
model
- the selection model that was modifiednode
- the tree table node on which time spans were added (removed)timeSpans
- the added / removed time spans- Since:
- 1.0
getNode
public java.lang.Object getNode()
- Returns the tree table node that was the target of changed time span
selection.
- Returns:
- the tree table node object
- Since:
- 1.0
getTimeSpans
public java.util.List<ITimeSpan> getTimeSpans()
- Returns the added / removed time spans.
- Returns:
- the added / removed time spans
- Since:
- 1.0