|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lessvoid.nifty.controls.listbox.ListBoxSelectionModeDisabled<T>
T
- public class ListBoxSelectionModeDisabled<T>
A disabled selection mode for a Nifty ListBox. You can't select anything.
Constructor Summary | |
---|---|
ListBoxSelectionModeDisabled()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListBoxSelectionModeDisabled()
Method Detail |
---|
public void clear()
ListBoxSelectionMode
clear
in interface ListBoxSelectionMode<T>
public List<T> getSelection()
ListBoxSelectionMode
getSelection
in interface ListBoxSelectionMode<T>
public void remove(T item)
ListBoxSelectionMode
remove
in interface ListBoxSelectionMode<T>
public void removeForced(T item)
ListBoxSelectionMode
removeForced
in interface ListBoxSelectionMode<T>
public void add(T item)
ListBoxSelectionMode
add
in interface ListBoxSelectionMode<T>
public void enableRequiresSelection(boolean enable)
ListBoxSelectionMode
enableRequiresSelection
in interface ListBoxSelectionMode<T>
enable
- true when the requires selection mode should be enabledpublic boolean requiresAutoSelection()
ListBoxSelectionMode
requiresAutoSelection
in interface ListBoxSelectionMode<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |