T
- public interface ListBoxSelectionMode<T>
ListBoxSelectionMode
interface.Modifier and Type | Method and Description |
---|---|
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.
|
void clear()
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()
Copyright © 2013. All Rights Reserved.