public class TimelineObjectSelectionEvent extends EventObject
ITimelineObjectSelectionModel
.ITimelineObjectSelectionModel.addTimelineObjectSelectionModelListener(ITimelineObjectSelectionListener)
,
LayerContainer.getSelectionModel(com.dlsc.flexgantt.model.gantt.ILayer)
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
TimelineObjectSelectionEvent.ID
An event identifier used for distinguishing between different types of
events (added objects, removed objects).
|
source
Constructor and Description |
---|
TimelineObjectSelectionEvent(ITimelineObjectSelectionModel model,
TimelineObjectSelectionEvent.ID id,
List<TimelineObjectPath> paths)
Constructs a new selection event.
|
Modifier and Type | Method and Description |
---|---|
TimelineObjectSelectionEvent.ID |
getId()
Returns the type of event that took place.
|
List<TimelineObjectPath> |
getTimelineObjectPaths()
Returns the added / removed timeline objects.
|
String |
toString() |
getSource
public TimelineObjectSelectionEvent(ITimelineObjectSelectionModel model, TimelineObjectSelectionEvent.ID id, List<TimelineObjectPath> paths)
model
- the source of the changeid
- the type of eventpaths
- the added / removed timeline objectspublic List<TimelineObjectPath> getTimelineObjectPaths()
public TimelineObjectSelectionEvent.ID getId()
public String toString()
toString
in class EventObject
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.