@Type(tagName="optgroup", isClose=false, isInnerHTML=false) public class OptionGroup extends Element
Constructor and Description |
---|
OptionGroup()
Default constructor.
|
OptionGroup(java.lang.String label)
Creates element with property "label".
|
Modifier and Type | Method and Description |
---|---|
void |
drawAttributes() |
java.lang.String |
getLabel()
Specifies a description for a group of options
|
boolean |
isDisabled()
Specifies that an option group should be disabled
|
OptionGroup |
setDisabled(boolean disabled)
Set "disabled" property and if element was draw call script at browser.
|
OptionGroup |
setLabel(java.lang.String label)
Set "value" property and if element was draw call script at browser.
|
add, addAllDropTargets, addDropTarget, addListener, addStyleClass, alert, assignText, callBack, callBack, callScript, clearDropTargets, clearElements, clearElements, confirm, confirm, drawAttribute, findElement, findParent, findViewElements, fireEvent, fireEvent, fireEventOnView, fireEventOnView, firePropertyChange, focus, getApplication, getBundle, getBundleObject, getCustomDragMove, getDir, getDragDropEventsOptions, getDropTargets, getElements, getElements, getEventListeners, getId, getLang, getParent, getStyle, getStyleClass, getTabIndex, getText, getTitle, insert, isChildrenSetChanged, isContenteditable, isDraggable, isDrawn, isEscapeText, isListening, isListening, isListening, print, prompt, prompt, remove, remove, removeAttribute, removeDropTarget, removeListener, removeListener, removeParent, removeStyleClass, replace, replaceStyleClass, retrieveListeners, retrieveListeners, setChangeChildrenSet, setContenteditable, setCustomDragMove, setDir, setDragDropEventsOptions, setDraggable, setDrawn, setEscapeText, setLang, setParent, setStyle, setStyleClass, setTabIndex, setText, setTitle, transformTagName
public OptionGroup()
public OptionGroup(java.lang.String label)
label
- text string@InitializeAttributes public void drawAttributes()
public java.lang.String getLabel()
public OptionGroup setLabel(java.lang.String label)
label
- the label to set. If is null call set empty property value of
element at browser. If not null call set "value" property of
element at browser.public boolean isDisabled()
public OptionGroup setDisabled(boolean disabled)
disabled
- the disabled to set