public class EmptyState extends BaseDominoElement<elemental2.dom.HTMLDivElement,EmptyState>
EmptyState.create(Icons.ALL.cloud_question_mdi())
.setTitle("Could not find records")
.setIconColor(Color.GREY)
.setTitleColor(Color.GREY)
BaseDominoElement.ElementHandler<T>, BaseDominoElement.ResizeHandler<T>, BaseDominoElement.StyleEditor<E extends elemental2.dom.HTMLElement,T extends org.jboss.elemento.IsElement<E>>, BaseDominoElement.WavesStyler| Constructor and Description |
|---|
EmptyState(BaseIcon<?> icon) |
| Modifier and Type | Method and Description |
|---|---|
static EmptyState |
create(BaseIcon<?> icon) |
elemental2.dom.HTMLDivElement |
element() |
DominoElement<elemental2.dom.HTMLParagraphElement> |
getDescriptionContainer() |
DominoElement<elemental2.dom.HTMLDivElement> |
getIconContainer() |
DominoElement<elemental2.dom.HTMLHeadingElement> |
getTitleContainer() |
EmptyState |
setDescription(String description) |
EmptyState |
setDescriptionColor(Color descriptionColor) |
EmptyState |
setIconColor(Color iconColor) |
EmptyState |
setTitle(String title) |
EmptyState |
setTitleColor(Color titleColor) |
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 static EmptyState create(BaseIcon<?> icon)
icon - BaseIcon to indicate empty datapublic EmptyState setTitle(String title)
title - String to be shown under the iconpublic EmptyState setDescription(String description)
description - String to be show under the title with smaller fontpublic EmptyState setIconColor(Color iconColor)
iconColor - Colorpublic EmptyState setTitleColor(Color titleColor)
titleColor - Colorpublic EmptyState setDescriptionColor(Color descriptionColor)
descriptionColor - Colorpublic DominoElement<elemental2.dom.HTMLDivElement> getIconContainer()
HTMLDivElement that contains the icon wrapped as a DominoElementpublic DominoElement<elemental2.dom.HTMLHeadingElement> getTitleContainer()
HTMLHeadingElement that contains the title wrapped as a DominoElementpublic DominoElement<elemental2.dom.HTMLParagraphElement> getDescriptionContainer()
HTMLParagraphElement that contains the description wrapped as a DominoElementpublic elemental2.dom.HTMLDivElement element()
element in interface org.jboss.elemento.IsElement<elemental2.dom.HTMLDivElement>element in class BaseDominoElement<elemental2.dom.HTMLDivElement,EmptyState>Copyright © 2019–2022 Dominokit. All rights reserved.