public interface IEventlineSelectionModel
Eventline
to manage its current selection state.Eventline.setSelectionModel(IEventlineSelectionModel)
Modifier and Type | Interface and Description |
---|---|
static class |
IEventlineSelectionModel.Mode
An enumeration of supported selection modes.
|
Modifier and Type | Method and Description |
---|---|
void |
addEventlineSelectionListener(IEventlineSelectionListener l)
Adds a selection listener to the model.
|
void |
addSelection(Object eventlineObject)
Adds an object to the selection.
|
void |
clearSelection()
Clear the current selection.
|
Object[] |
getSelection()
Returns all currently selected eventline objects.
|
IEventlineSelectionModel.Mode |
getSelectionMode()
Returns the selection mode.
|
boolean |
isSelected(Object eventlineObject)
Checks whether the given eventline object is currently selected.
|
void |
removeEventlineSelectionListener(IEventlineSelectionListener l)
Removes a selection listener from the model.
|
void |
removeSelection(Object eventlineObject)
Removes an object from the selection.
|
void |
setSelectionMode(IEventlineSelectionModel.Mode mode)
Sets the selection mode.
|
IEventlineSelectionModel.Mode getSelectionMode()
void setSelectionMode(IEventlineSelectionModel.Mode mode)
mode
- the selection modevoid addSelection(Object eventlineObject)
eventlineObject
- the eventline object that gets added to the current selectionvoid removeSelection(Object eventlineObject)
eventlineObject
- the eventline object that gets removed from the current
selectionvoid clearSelection()
boolean isSelected(Object eventlineObject)
eventlineObject
- the eventline object to checkObject[] getSelection()
void addEventlineSelectionListener(IEventlineSelectionListener l)
l
- the listener to addremoveEventlineSelectionListener(IEventlineSelectionListener)
void removeEventlineSelectionListener(IEventlineSelectionListener l)
l
- the listener to removeaddEventlineSelectionListener(IEventlineSelectionListener)
Copyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.