public interface IlpObjectSelectionModel
IlpObject
s.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
IlpObject s. |
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
IlpObject s. |
IlpObject getSelectedObject()
IlpObject
from the collection of selected objects.
Returns null
if there is no selected object.Collection getSelectedObjects()
IlpObject
s.
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.IlpObject
s.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)
IlpObject
s.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, 2018. All Rights Reserved.