|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - public interface ListBoxSelectionMode<T>
ListBoxSelectionMode is a selection mode for Nifty ListBox controls. Different
selection policies exist which will implement the ListBoxSelectionMode interface.
| Method Summary | |
|---|---|
void |
add(T item)
Add a new element to the selection. |
void |
clear()
Clear the selection. |
void |
enableRequiresSelection(boolean enable)
When this is set to true the selection can't be completely de selected. |
List<T> |
getSelection()
Get the selection. |
void |
remove(T item)
Remove the given element from the selection. |
void |
removeForced(T item)
Remove the given element from the selection. |
boolean |
requiresAutoSelection()
Returns if this Selection Mode requires a selection. |
| Method Detail |
|---|
void clear()
List<T> getSelection()
void add(T item)
item - void remove(T item)
item - void removeForced(T item)
item - void enableRequiresSelection(boolean enable)
enable - true when the requires selection mode should be enabledboolean requiresAutoSelection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||