|
||||||||||
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.eventline.EventlineModelEvent
public class EventlineModelEvent
An event object that can be used by the IEventlineModel
to notify
listeners of changes to it.
IEventlineModelListener
,
IEventlineModel.addEventlineModelListener(IEventlineModelListener)
,
Serialized FormNested Class Summary | |
---|---|
static class |
EventlineModelEvent.ID
An enumeration of IDs for events issued by an IEventlineModel . |
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
EventlineModelEvent(IEventlineModel model,
EventlineModelEvent.ID id)
Constructs a new event object. |
|
EventlineModelEvent(IEventlineModel model,
EventlineModelEvent.ID id,
java.lang.Object eventlineObject)
Constructs a new event object. |
|
EventlineModelEvent(IEventlineModel model,
EventlineModelEvent.ID id,
java.lang.Object[] eventlineObjects)
Constructs a new event object. |
Method Summary | |
---|---|
java.lang.Object[] |
getEventlineObjects()
Returns the eventline objects that have been modified. |
EventlineModelEvent.ID |
getId()
An identifier used to distinguish between different types of eventline model events (objects were added or removed). |
IEventlineModel |
getModel()
Returns the eventline model from which the event originated. |
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 |
Constructor Detail |
---|
public EventlineModelEvent(IEventlineModel model, EventlineModelEvent.ID id)
model
- the model from which the event originated (the source)id
- an identifier that is used to distinguish different event
typespublic EventlineModelEvent(IEventlineModel model, EventlineModelEvent.ID id, java.lang.Object[] eventlineObjects)
model
- the model from which the event originated (the source)id
- an identifier that is used to distinguish different event
typeseventlineObjects
- the eventline objects that have been modifiedpublic EventlineModelEvent(IEventlineModel model, EventlineModelEvent.ID id, java.lang.Object eventlineObject)
model
- the model from which the event originated (the source)id
- an identifier that is used to distinguish different event
typeseventlineObject
- the eventline object that have been modifiedMethod Detail |
---|
public java.lang.Object[] getEventlineObjects()
public IEventlineModel getModel()
public EventlineModelEvent.ID getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |