|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Selectable
Indicate a selectable collection or component. Generally used with ListModel
and Listbox
.
ListModel
,
Listbox
Method Summary | |
---|---|
void |
addSelection(java.lang.Object obj)
Add the specified object into selection. |
void |
clearSelection()
Clear all selection. |
java.util.Set |
getSelection()
Returns current selection. |
void |
removeSelection(java.lang.Object obj)
Remove the specified object from selection. |
Method Detail |
---|
java.util.Set getSelection()
void addSelection(java.lang.Object obj)
obj
- the object to be as selection.void removeSelection(java.lang.Object obj)
obj
- the object to be remove from selection.void clearSelection()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |