|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEventlineSelectionModel
A definition for a selection model that can be used by the Eventline
to manage its current selection state.
Eventline.setSelectionModel(IEventlineSelectionModel)
Nested Class Summary | |
---|---|
static class |
IEventlineSelectionModel.Mode
An enumeration of supported selection modes. |
Method Summary | |
---|---|
void |
addEventlineSelectionListener(IEventlineSelectionListener l)
Adds a selection listener to the model. |
void |
addSelection(java.lang.Object eventlineObject)
Adds an object to the selection. |
void |
clearSelection()
Clear the current selection. |
java.lang.Object[] |
getSelection()
Returns all currently selected eventline objects. |
IEventlineSelectionModel.Mode |
getSelectionMode()
Returns the selection mode. |
boolean |
isSelected(java.lang.Object eventlineObject)
Checks whether the given eventline object is currently selected. |
void |
removeEventlineSelectionListener(IEventlineSelectionListener l)
Removes a selection listener from the model. |
void |
removeSelection(java.lang.Object eventlineObject)
Removes an object from the selection. |
void |
setSelectionMode(IEventlineSelectionModel.Mode mode)
Sets the selection mode. |
Method Detail |
---|
IEventlineSelectionModel.Mode getSelectionMode()
void setSelectionMode(IEventlineSelectionModel.Mode mode)
mode
- the selection modevoid addSelection(java.lang.Object eventlineObject)
eventlineObject
- the eventline object that gets added to the current selectionvoid removeSelection(java.lang.Object eventlineObject)
eventlineObject
- the eventline object that gets removed from the current
selectionvoid clearSelection()
boolean isSelected(java.lang.Object eventlineObject)
eventlineObject
- the eventline object to check
java.lang.Object[] getSelection()
void addEventlineSelectionListener(IEventlineSelectionListener l)
l
- the listener to addremoveEventlineSelectionListener(IEventlineSelectionListener)
void removeEventlineSelectionListener(IEventlineSelectionListener l)
l
- the listener to removeaddEventlineSelectionListener(IEventlineSelectionListener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |