public class EventlineSelectionModelEvent extends EventObject
IEventlineSelectionModel
to
inform listeners about changes to the current selection.IEventlineSelectionModel
,
IEventlineSelectionListener
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
EventlineSelectionModelEvent.ID
An enumeration of possible events that can occure inside the selection
model.
|
source
Constructor and Description |
---|
EventlineSelectionModelEvent(IEventlineSelectionModel model,
EventlineSelectionModelEvent.ID id,
Object eventlineObject)
Constructs a new model event.
|
EventlineSelectionModelEvent(IEventlineSelectionModel model,
EventlineSelectionModelEvent.ID id,
Object[] eventlineObjects)
Constructs a new model event.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
getEventlineObjects()
Returns the eventline objects that were added to or removed from the
selection model.
|
EventlineSelectionModelEvent.ID |
getId()
Returns the event ID that can be used to distinguish between different
types of selection model events.
|
IEventlineSelectionModel |
getModel()
Returns the selection model that was the source of the event.
|
getSource, toString
public EventlineSelectionModelEvent(IEventlineSelectionModel model, EventlineSelectionModelEvent.ID id, Object[] eventlineObjects)
model
- the selection model that is the source of the eventid
- an ID identifiying the various event typeseventlineObjects
- the eventline objects that were added or removedpublic EventlineSelectionModelEvent(IEventlineSelectionModel model, EventlineSelectionModelEvent.ID id, Object eventlineObject)
model
- the selection model that is the source of the eventid
- an ID identifiying the various event typeseventlineObject
- the eventline object that was added or removedpublic EventlineSelectionModelEvent.ID getId()
public IEventlineSelectionModel getModel()
public Object[] getEventlineObjects()
IEventlineSelectionModel.clearSelection()
.Copyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.