com.dlsc.flexgantt.swing
Class MultiGanttChartContainerEvent
java.lang.Object
java.util.EventObject
com.dlsc.flexgantt.swing.MultiGanttChartContainerEvent
- All Implemented Interfaces:
- java.io.Serializable
public class MultiGanttChartContainerEvent
- extends java.util.EventObject
An event used to inform listeners about changes in a multi Gantt chart
container.
- Since:
- 1.0
- Author:
- Dirk Lemmermann
- See Also:
IMultiGanttChartContainer.addMultiGanttChartContainerListener(IMultiGanttChartContainerListener)
,
Serialized Form
Nested Class Summary |
static class |
MultiGanttChartContainerEvent.ID
An identifier used to distinguish between different types of multi Gantt
chart container events. |
Fields inherited from class java.util.EventObject |
source |
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 |
MultiGanttChartContainerEvent
public MultiGanttChartContainerEvent(IMultiGanttChartContainer container,
MultiGanttChartContainerEvent.ID id,
AbstractGanttChart gc)
- Constructs a new container event.
- Parameters:
container
- the container where the event occuredid
- the event type IDgc
- the Gantt chart that was selected, added, inserted or removed- Since:
- 1.0
getContainer
public IMultiGanttChartContainer getContainer()
- The container where the event occured.
- Returns:
- the container where the event occured
- Since:
- 1.0
getId
public MultiGanttChartContainerEvent.ID getId()
- The event type ID.
- Returns:
- the ID of the event
- Since:
- 1.0
getGanttChart
public AbstractGanttChart getGanttChart()
- Returns the Gantt chart that was selected, added, inserted, or removed.
- Returns:
- the Gantt chart that was selected, added, inserted, or removed
- Since:
- 1.0