T - The type of the SelectOption valuepublic class SelectOptionGroup<T> extends BaseDominoElement<elemental2.dom.HTMLLIElement,SelectOptionGroup<T>>
SelectOptionBaseDominoElement.ElementHandler<T>, BaseDominoElement.ResizeHandler<T>, BaseDominoElement.StyleEditor<E extends elemental2.dom.HTMLElement,T extends org.jboss.elemento.IsElement<E>>, BaseDominoElement.WavesStyler| Constructor and Description |
|---|
SelectOptionGroup(elemental2.dom.Node titleElement)
Creates a group with title
|
| Modifier and Type | Method and Description |
|---|---|
SelectOptionGroup<T> |
appendChild(SelectOption<T> option)
Adds a SelectOption to this group
|
static <T> SelectOptionGroup<T> |
create(elemental2.dom.HTMLElement titleElement)
Creates a group with title
|
static <T> SelectOptionGroup<T> |
create(org.jboss.elemento.IsElement<?> titleElement)
Creates a group with title
|
static <T> SelectOptionGroup<T> |
create(elemental2.dom.Node titleElement)
Creates a group with title
|
static <T> SelectOptionGroup<T> |
create(String title)
Creates a group with title
|
elemental2.dom.HTMLLIElement |
element() |
List<SelectOption<T>> |
getOptions() |
elemental2.dom.Node |
getTitleElement() |
void |
setAddOptionConsumer(Consumer<SelectOption<T>> addOptionConsumer)
Sets a consumer to be called when ever a SelectOption is added to this group
|
add, add, addClickListener, addCss, addCss, addEventListener, addEventListener, addEventsListener, addHideListener, addShowListener, alignCenter, alignRight, appendChild, appendChild, apply, attr, blur, childNodes, clearElement, contains, contains, contains, containsCss, css, css, cssClassByIndex, cssClassesCount, cssText, disable, elevate, elevate, enable, firstChild, getAttachObserver, getAttribute, getBoundingClientRect, getChildElementCount, getClickableElement, getCollapsible, getCollapsibleElement, getDetachObserver, getDominoId, getElementsCount, getElevation, getFirstChild, getId, getTextContent, getTooltip, getWavesElement, hasAttribute, hasChildNodes, hasDirectChild, hide, hideOn, id, init, insertAfter, insertAfter, insertAfter, insertAfter, insertBefore, insertBefore, insertBefore, insertBefore, insertFirst, insertFirst, insertFirst, isAttached, isCollapsed, isDisabled, isEmptyElement, isEqualNode, isForceHidden, isHidden, isReadOnly, item, lastChild, length, onAttached, onDetached, onResize, pullLeft, pullRight, querySelector, querySelectorAll, remove, removeAttachObserver, removeAttribute, removeChild, removeChild, removeCss, removeCss, removeCssProperty, removeDetachObserver, removeEventListener, removeEventListener, removeHideListener, removeHideOn, removeShowListener, removeShowOn, removeTooltip, removeWaves, replaceCss, setAlignItems, setAttribute, setAttribute, setAttribute, setBackgroundColor, setBackgroundColor, setBorder, setBorderColor, setBottom, setBottom, setBoxShadow, setCollapseStrategy, setColor, setColor, setContent, setContent, setCssProperty, setCssProperty, setCursor, setCursor, setDisabled, setDisplay, setDisplay, setDropMenu, setFlex, setFloat, setFloat, setFontSize, setFontSize, setForceHidden, setHeight, setHeight, setId, setInnerHtml, setLeft, setLeft, setLineHeight, setLineHeight, setMargin, setMargin, setMarginBottom, setMarginBottom, setMarginLeft, setMarginLeft, setMarginRight, setMarginRight, setMarginTop, setMarginTop, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setOpacity, setOpacity, setOverFlow, setOverFlow, setOverFlowY, setPadding, setPadding, setPaddingBottom, setPaddingBottom, setPaddingLeft, setPaddingLeft, setPaddingRight, setPaddingRight, setPaddingTop, setPaddingTop, setPointerEvents, setPosition, setPosition, setReadOnly, setRight, setRight, setTabIndex, setTextAlign, setTextAlign, setTextContent, setTooltip, setTooltip, setTooltip, setTooltip, setTop, setTop, setTransitionDuration, setWidth, setWidth, setZIndex, show, showOn, style, style, styler, textContent, toggleDisplay, toggleDisplay, withWaves, withWavesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisExpandedadd, add, remove, remove, removeProperty, replace, setProperty, setPropertypublic SelectOptionGroup(elemental2.dom.Node titleElement)
titleElement - Node to be used as the titlepublic static <T> SelectOptionGroup<T> create(String title)
title - String to be used as the titlepublic static <T> SelectOptionGroup<T> create(elemental2.dom.Node titleElement)
titleElement - Node to be used as the titlepublic static <T> SelectOptionGroup<T> create(elemental2.dom.HTMLElement titleElement)
titleElement - HTMLElement to be used as the titlepublic static <T> SelectOptionGroup<T> create(org.jboss.elemento.IsElement<?> titleElement)
titleElement - IsElement to be used as the titlepublic SelectOptionGroup<T> appendChild(SelectOption<T> option)
option - SelectOptionpublic void setAddOptionConsumer(Consumer<SelectOption<T>> addOptionConsumer)
addOptionConsumer - Consumer of SelectOptionpublic List<SelectOption<T>> getOptions()
SelectOption in this grouppublic elemental2.dom.HTMLLIElement element()
element in interface org.jboss.elemento.IsElement<elemental2.dom.HTMLLIElement>element in class BaseDominoElement<elemental2.dom.HTMLLIElement,SelectOptionGroup<T>>public elemental2.dom.Node getTitleElement()
Node used as title for this groupCopyright © 2019–2022 Dominokit. All rights reserved.