T - public class ListBoxSelectionModeDisabled<T> extends Object implements ListBoxSelectionMode<T>
| Constructor and Description |
|---|
ListBoxSelectionModeDisabled() |
| 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.
|
public void clear()
ListBoxSelectionModeclear in interface ListBoxSelectionMode<T>public List<T> getSelection()
ListBoxSelectionModegetSelection in interface ListBoxSelectionMode<T>public void remove(T item)
ListBoxSelectionModeremove in interface ListBoxSelectionMode<T>public void removeForced(T item)
ListBoxSelectionModeremoveForced in interface ListBoxSelectionMode<T>public void add(T item)
ListBoxSelectionModeadd in interface ListBoxSelectionMode<T>public void enableRequiresSelection(boolean enable)
ListBoxSelectionModeenableRequiresSelection in interface ListBoxSelectionMode<T>enable - true when the requires selection mode should be enabledpublic boolean requiresAutoSelection()
ListBoxSelectionModerequiresAutoSelection in interface ListBoxSelectionMode<T>Copyright © 2013. All Rights Reserved.