|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.dlsc.flexgantt.model.gantt.GanttChartModelEvent
public class GanttChartModelEvent
An event object class used for informing IGanttChartModelListener
instances about changes in the model that they are observing.
Nested Class Summary | |
---|---|
static class |
GanttChartModelEvent.ID
An event identifier used to indicate what kind of event has taken place. |
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
GanttChartModelEvent(IGanttChartModel model,
GanttChartModelEvent.ID id)
Constructs a new model event. |
|
GanttChartModelEvent(IGanttChartModel model,
GanttChartModelEvent.ID id,
ILayer layer)
Constructs a new model event. |
|
GanttChartModelEvent(IGanttChartModel model,
GanttChartModelEvent.ID id,
ITimeSpan timeSpan)
Constructs a new model event. |
|
GanttChartModelEvent(IGanttChartModel model,
GanttChartModelEvent.ID id,
java.lang.Object node,
ILayer layer,
TimelineObjectPath[] timelineObjects)
Constructs a new model event. |
|
GanttChartModelEvent(IGanttChartModel model,
GanttChartModelEvent.ID id,
java.lang.Object timelineObject,
ITimeSpan timeSpan)
Constructs a new model event. |
|
GanttChartModelEvent(IGanttChartModel model,
GanttChartModelEvent.ID id,
TimelineObjectPath path)
Constructs a new model event. |
Method Summary | |
---|---|
GanttChartModelEvent.ID |
getId()
Returns the event's identifier that can be used by model observers to find out what has changed in the model. |
ILayer |
getLayer()
Returns the layer where the event occured. |
IGanttChartModel |
getModel()
Returns the source model of the event. |
java.lang.Object |
getNode()
Returns the tree table node that was affected by the change. |
java.lang.Object |
getTimelineObject()
Returns the timeline object that was affected by a change in the model. |
TimelineObjectPath[] |
getTimelineObjectPaths()
Returns the timeline objects that were affected by the change. |
ITimeSpan |
getTimeSpan()
Returns the time span that was affected by the change. |
java.lang.String |
toString()
|
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GanttChartModelEvent(IGanttChartModel model, GanttChartModelEvent.ID id, ILayer layer)
model
- the source of the eventid
- the identifier used to distinguish between different types of
eventslayer
- the layer that was affected by some kind of change in the
modelpublic GanttChartModelEvent(IGanttChartModel model, GanttChartModelEvent.ID id, ITimeSpan timeSpan)
model
- the source of the eventid
- the identifier used to distinguish between different types of
eventstimeSpan
- the time span that was affected by some kind of change in the
modelpublic GanttChartModelEvent(IGanttChartModel model, GanttChartModelEvent.ID id, java.lang.Object timelineObject, ITimeSpan timeSpan)
model
- the source of the eventid
- the identifier used to distinguish between different types of
eventstimelineObject
- the modified timeline objecttimeSpan
- the time span that was affected by some kind of change in the
modelpublic GanttChartModelEvent(IGanttChartModel model, GanttChartModelEvent.ID id, TimelineObjectPath path)
model
- the source of the eventid
- the identifier used to distinguish between different types of
eventspath
- the timeline object path that was affected by some kind of
change in the modelpublic GanttChartModelEvent(IGanttChartModel model, GanttChartModelEvent.ID id, java.lang.Object node, ILayer layer, TimelineObjectPath[] timelineObjects)
model
- the source of the eventid
- the identifier used to distinguish between different types of
eventsnode
- the node that was affected by some kind of change in the modellayer
- the layer that was affected by some kind of change in the
modeltimelineObjects
- the timeline objects affected by some kind of change in the
modelpublic GanttChartModelEvent(IGanttChartModel model, GanttChartModelEvent.ID id)
model
- the source of the eventid
- the identifier used to distinguish between different types of
eventsMethod Detail |
---|
public ILayer getLayer()
public ITimeSpan getTimeSpan()
public IGanttChartModel getModel()
public GanttChartModelEvent.ID getId()
public java.lang.Object getNode()
public java.lang.Object getTimelineObject()
public TimelineObjectPath[] getTimelineObjectPaths()
public java.lang.String toString()
toString
in class java.util.EventObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |