public class DropdownList extends SelectList
MULTIPLE, OPTION, SELECT, SELECTED, SELECTLIST, SIZE, VALUE
ACTIVE, browserMode, DEFAULT, ID, IE, INVISIBLE, isSensitive, label, NS, ON_BLUR, ON_CHANGE, ON_CLICK, ON_DBLCLICK, ON_FOCUS, ON_KEY_DOWN, ON_KEY_PRESS, ON_KEY_UP, ON_LOAD, ON_MOUSE_DOWN, ON_MOUSE_MOVE, ON_MOUSE_OUT, ON_MOUSE_UP, ON_RESET, ON_SELECT, ON_SUBMIT, ON_UNLOAD, parent, parentElem, READONLY, root, viewMode
LABELLEDBY
Constructor and Description |
---|
DropdownList()
Constructs a new empty dropdown list component.
|
DropdownList(String name)
Constructor with name.
|
DropdownList(String name,
Collection<?> list)
Constructor with name and content list.
|
DropdownList(String name,
Collection<?> list,
boolean showNull)
Constructor with name and content list.
|
DropdownList(String name,
Collection<?> list,
boolean showNull,
String selected)
Constructor with name and content list.
|
DropdownList(String name,
Collection<?> list,
boolean showNull,
String selected,
String styleClass)
Constructor with name and content list.
|
DropdownList(String name,
Object[] arr)
Constructor with name and content list.
|
addOption, addOption, addOption, addOption, addOption, addOption, addOptions, clear, deleteOption, deleteOption, deleteOption, getContent, getOption, getOptionIndex, getOptionText, getOptionTexts, getOptionValue, getOptionValues, getSelectedOption, getSelections, getSize, isSelected, removeSelection, removeSelections, setContent, setContent, setContent, setDisplayedSize, setMultiple, setSelectedOption, setSelectedOption, setSelectedOptions, showOptions
addClass, clone, create, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getRootName, getStyle, getViewMode, init, init, init, removeAttribute, removeClass, setActionListener, setAttribute, setBrowserMode, setClass, setEncoding, setExpandEmptyElements, setId, setIndenting, setLabel, setName, setNewLines, setParent, setParentElement, setRootName, setStyle, setViewMode, show, show, toggleClass, toString
public DropdownList()
public DropdownList(String name)
name
- the name of the form elementpublic DropdownList(String name, Collection<?> list)
name
- the name of the form elementlist
- the content listpublic DropdownList(String name, Object[] arr)
name
- the name of the form elementarr
- the content arraypublic DropdownList(String name, Collection<?> list, boolean showNull)
name
- the name of the form elementlist
- the content listshowNull
- if true, add the option with value and display string empty to the begin of the listpublic DropdownList(String name, Collection<?> list, boolean showNull, String selected)
name
- the name of the form elementlist
- the content listshowNull
- if true, add the option with value and display string empty
to the begin of the listselected
- the option where the value equals this argument is selectedpublic DropdownList(String name, Collection<?> list, boolean showNull, String selected, String styleClass)
name
- the name of the form elementlist
- the content listshowNull
- if true, add the option with value and display string empty
to the begin of the listselected
- the option where the value equals this argument is selectedstyleClass
- the name of a CSS class@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.