public class EventlineModelEvent extends EventObject
IEventlineModel
to notify
listeners of changes to it.IEventlineModelListener
,
IEventlineModel.addEventlineModelListener(IEventlineModelListener)
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
EventlineModelEvent.ID
An enumeration of IDs for events issued by an
IEventlineModel . |
source
Constructor and Description |
---|
EventlineModelEvent(IEventlineModel model,
EventlineModelEvent.ID id)
Constructs a new event object.
|
EventlineModelEvent(IEventlineModel model,
EventlineModelEvent.ID id,
Object eventlineObject)
Constructs a new event object.
|
EventlineModelEvent(IEventlineModel model,
EventlineModelEvent.ID id,
Object[] eventlineObjects)
Constructs a new event object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getSource, toString
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, 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, 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 modifiedpublic Object[] getEventlineObjects()
public IEventlineModel getModel()
public EventlineModelEvent.ID getId()
Copyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.