|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jmex.bui.BComponent
com.jmex.bui.BContainer
com.jmex.bui.BScrollingList<V,BToggleButton>
com.jmex.bui.BMultiSelectBox<V>
public abstract class BMultiSelectBox<V>
| Nested Class Summary | |
|---|---|
static class |
BMultiSelectBox.SelectionMode
The selection mode the list uses. |
| Nested classes/interfaces inherited from class com.jmex.bui.BScrollingList |
|---|
BScrollingList.BViewport, BScrollingList.Entry<V,C extends BComponent> |
| Nested classes/interfaces inherited from class com.jmex.bui.BContainer |
|---|
BContainer.ChildOp |
| Field Summary |
|---|
| Fields inherited from class com.jmex.bui.BScrollingList |
|---|
_lastBottom, _model, _values, _vbar, _vport, _wheelListener, EXTENT |
| Fields inherited from class com.jmex.bui.BContainer |
|---|
_children, _layout |
| Fields inherited from class com.jmex.bui.BComponent |
|---|
_alpha, _backgrounds, _bbuf, _borders, _colors, _cursor, _enabled, _height, _hover, _insets, _listeners, _parent, _preferredSize, _properties, _styleClass, _tipmouse, _tipStyle, _tiptext, _valid, _visible, _width, _x, _y, DEFAULT, DISABLED, HOVER, STATE_COUNT, STATE_PCLASSES |
| Constructor Summary | |
|---|---|
BMultiSelectBox()
|
|
BMultiSelectBox(java.util.Collection<V> values)
|
|
| Method Summary | |
|---|---|
void |
clearSelection()
|
protected BToggleButton |
createComponent(V value)
Must be implemented by subclasses to instantiate the correct BComponent subclass for a given list value. |
protected abstract BToggleButton |
createListEntry(V value)
|
V |
getFirstSelection()
|
java.util.ArrayList<V> |
getSelected()
|
BMultiSelectBox.SelectionMode |
getSelectionMode()
|
boolean |
isEmpty()
|
void |
removeValue(V value)
|
void |
setSelectionMode(BMultiSelectBox.SelectionMode _selectionMode)
|
| Methods inherited from class com.jmex.bui.BScrollingList |
|---|
addValue, addValue, addValue, removeValues, removeValuesFromTop |
| Methods inherited from class com.jmex.bui.BContainer |
|---|
add, add, add, add, applyOperation, computePreferredSize, getComponent, getComponentCount, getComponentIndex, getDefaultStyleClass, getHitComponent, getLayoutManager, getNextFocus, getPreviousFocus, layout, remove, remove, removeAll, renderComponent, replace, setAlpha, setEnabled, setLayoutManager, setVisible, validate, wasAdded, wasRemoved |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BMultiSelectBox()
public BMultiSelectBox(java.util.Collection<V> values)
| Method Detail |
|---|
public BMultiSelectBox.SelectionMode getSelectionMode()
public void setSelectionMode(BMultiSelectBox.SelectionMode _selectionMode)
public void removeValue(V value)
public java.util.ArrayList<V> getSelected()
public V getFirstSelection()
public boolean isEmpty()
public void clearSelection()
protected final BToggleButton createComponent(V value)
BScrollingList
createComponent in class BScrollingList<V,BToggleButton>protected abstract BToggleButton createListEntry(V value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||