public interface IlpObjectSelectionModel
IlpObjects.| Modifier and Type | Method and Description |
|---|---|
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)
|
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. |
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)
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()
© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.