|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlpObjectSelectionModel
This interface allows the selection of IlpObjects.
| Method Summary | |
|---|---|
void |
addSelectionObject(IlpObject object)
Adds the given IlpObject to the selection. |
void |
clearSelection()
Clears the selection. |
IlpObject |
getSelectedObject()
Returns the first selected IlpObject
from the collection of selected objects. |
Collection |
getSelectedObjects()
Returns the set of selected IlpObjects. |
boolean |
isObjectSelected(IlpObject object)
Returns true if the given IlpObject
is selected, false otherwise. |
void |
removeSelectionObject(IlpObject object)
Removes the given IlpObject from the selection. |
void |
setSelectedObject(IlpObject object)
Sets the selected IlpObject. |
void |
setSelectedObjects(Collection objects)
Sets the set of selected IlpObjects. |
| Method Detail |
|---|
IlpObject getSelectedObject()
IlpObject
from the collection of selected objects.
Returns null if there is no selected object.
Collection getSelectedObjects()
IlpObjects.
The set should be ordered if the component implementing this interface
supports an ordered selection.
Returns an empty set if there is no selected object.
IlpObjects.void setSelectedObject(IlpObject object)
IlpObject.
This has no effect if the given object is already selected.
object - The object that will become the selection.void setSelectedObjects(Collection objects)
IlpObjects.
objects - The collection of objects that will become the
selection.boolean isObjectSelected(IlpObject object)
true if the given IlpObject
is selected, false otherwise.
object - The object that may be selected.void addSelectionObject(IlpObject object)
IlpObject to the selection.
This has no effect if the given object is null or if
it is already selected.
object - The object that will be added to the selection.void removeSelectionObject(IlpObject object)
IlpObject from the selection.
This has no effect if the given object is null or if it
is currently unselected.
object - The object that will be removed from the selection.void clearSelection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||