Echo
ListBox
Class Hierarchy:

ListBox component: a selection component which displays selection items in a list. May be configured to allow the selection of one item at a time, or to allow the selection of multiple items at one time. Does not support child components.

Class Field Summary
Public SINGLE_SELECTION
Constant for selectionMode property indicating single selection.
Public MULTIPLE_SELECTION
Constant for selectionMode property indicating multiple selection.

Methods inherited from class Echo.AbstractListComponent
doAction

Methods inherited from class Echo.Component
getFocusComponent, add, addListener, fireEvent, get, getComponent, getComponentCount, getIndex, getLayoutDirection, getLocale, getLocalStyleData, getRenderLayoutDirection, getRenderLocale, getStyle, getStyleName, indexOf, isActive, isAncestorOf, isEnabled, isRenderEnabled, register, render, renderIndex, remove, removeAll, removeListener, set, setEnabled, setIndex, setLayoutDirection, setLocale, setStyle, setStyleName, toString

Style Properties
selectionMode Number a value indicating the selection mode, one of the following values:
  • Echo.ListBox.SINGLE_SELECTION (the default)
  • Echo.ListBox.MULTIPLE_SELECTION