Class EmptyState
- java.lang.Object
-
- org.patternfly.component.BaseComponent<HTMLElement,EmptyState>
-
- org.patternfly.component.emptystate.EmptyState
-
- All Implemented Interfaces:
Container<HTMLElement,EmptyState>,Finder<HTMLElement>,HasElement<HTMLElement,EmptyState>,HasHTMLElement<HTMLElement,EmptyState>,IsElement<HTMLElement>,TypedBuilder<HTMLElement,EmptyState>,Component,ElementDelegate<HTMLElement,EmptyState>,Modifiers.FullHeight<HTMLElement,EmptyState>
public class EmptyState extends BaseComponent<HTMLElement,EmptyState> implements ElementDelegate<HTMLElement,EmptyState>, Modifiers.FullHeight<HTMLElement,EmptyState>
An empty state is a screen that is not yet populated with data or information. Empty states typically contain a short message and next steps for the user.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EmptyStateadd(EmptyStateBody body)EmptyStateadd(EmptyStateFooter footer)EmptyStateadd(EmptyStateHeader header)EmptyStateaddBody(EmptyStateBody body)EmptyStateaddFooter(EmptyStateFooter footer)EmptyStateaddHeader(EmptyStateHeader header)HTMLElementdelegate()static EmptyStateemptyState()EmptyStatesize(Size size)Modifies empty state max-width and sizes of icon, title and body.EmptyStatethat()-
Methods inherited from class org.patternfly.component.BaseComponent
componentType, element
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.elemento.Container
add, add, addAll, addAll, addAll, addAll, addAll, addAll
-
Methods inherited from interface org.patternfly.core.ElementDelegate
add, add, innerHtml, textContent, textNode
-
Methods inherited from interface org.jboss.elemento.HasElement
apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, id, on, run, toggle, toggle, toggle, uniqueId
-
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, title
-
Methods inherited from interface org.patternfly.style.Modifiers.FullHeight
fullHeight, fullHeight
-
-
-
-
Method Detail
-
emptyState
public static EmptyState emptyState()
-
delegate
public HTMLElement delegate()
- Specified by:
delegatein interfaceElementDelegate<HTMLElement,EmptyState>
-
addHeader
public EmptyState addHeader(EmptyStateHeader header)
-
add
public EmptyState add(EmptyStateHeader header)
-
addBody
public EmptyState addBody(EmptyStateBody body)
-
add
public EmptyState add(EmptyStateBody body)
-
addFooter
public EmptyState addFooter(EmptyStateFooter footer)
-
add
public EmptyState add(EmptyStateFooter footer)
-
size
public EmptyState size(Size size)
Modifies empty state max-width and sizes of icon, title and body.
-
that
public EmptyState that()
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,EmptyState>
-
-