|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.groiss.gui.AbstractComponent com.groiss.gui.component.SelectList com.groiss.gui.component.DropdownList
public class DropdownList
A HTML select element with size=1
Field Summary |
---|
Fields inherited from class com.groiss.gui.component.SelectList |
---|
MULTIPLE, OPTION, SELECT, SELECTED, SELECTLIST, SIZE, VALUE |
Fields inherited from class com.groiss.gui.AbstractComponent |
---|
actions, 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, outputter, parent, parentElem, READONLY, root, viewMode |
Constructor Summary | |
---|---|
DropdownList()
Constructs a new empty dropdown list component. |
|
DropdownList(java.lang.String name)
Constructor with name. |
|
DropdownList(java.lang.String name,
java.util.Collection list)
Constructor with name and content list. |
|
DropdownList(java.lang.String name,
java.util.Collection list,
boolean showNull)
Constructor with name and content list. |
|
DropdownList(java.lang.String name,
java.util.Collection list,
boolean showNull,
java.lang.String selected)
Constructor with name and content list. |
|
DropdownList(java.lang.String name,
java.util.Collection list,
boolean showNull,
java.lang.String selected,
java.lang.String styleClass)
Constructor with name and content list. |
|
DropdownList(java.lang.String name,
java.lang.Object[] arr)
Constructor with name and content list. |
Method Summary |
---|
Methods inherited from class com.groiss.gui.component.SelectList |
---|
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 |
Methods inherited from class com.groiss.gui.AbstractComponent |
---|
clone, create, getActionListener, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getRootName, getStyle, getViewMode, init, init, init, removeAttribute, setActionListener, setAttribute, setBrowserMode, setEncoding, setExpandEmptyElements, setId, setIndenting, setLabel, setName, setNewLines, setParent, setParentElement, setRootName, setStyle, setViewMode, show, show, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DropdownList()
public DropdownList(java.lang.String name)
name
- the name of the form elementpublic DropdownList(java.lang.String name, java.util.Collection list)
name
- the name of the form elementlist
- the content listpublic DropdownList(java.lang.String name, java.lang.Object[] arr)
name
- the name of the form elementarr
- the content arraypublic DropdownList(java.lang.String name, java.util.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(java.lang.String name, java.util.Collection list, boolean showNull, java.lang.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(java.lang.String name, java.util.Collection list, boolean showNull, java.lang.String selected, java.lang.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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |