Package org.patternfly.components
Class EmptyState
- java.lang.Object
-
- org.patternfly.components.BaseComponent<elemental2.dom.HTMLDivElement,EmptyState>
-
- org.patternfly.components.EmptyState
-
- All Implemented Interfaces:
Container<elemental2.dom.HTMLDivElement,EmptyState>,Finder<elemental2.dom.HTMLDivElement>,HasElement<elemental2.dom.HTMLDivElement,EmptyState>,HasHTMLElement<elemental2.dom.HTMLDivElement,EmptyState>,IsElement<elemental2.dom.HTMLDivElement>,TypedBuilder<elemental2.dom.HTMLDivElement,EmptyState>,Component
public class EmptyState extends BaseComponent<elemental2.dom.HTMLDivElement,EmptyState>
PatternFly empty state component.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEmptyState.Body
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmptyState.Bodybody()EmptyStatebody(String body)EmptyStatebody(EmptyState.Body body)static EmptyStateemptyState(Icon icon, String title)EmptyStatelarge()static EmptyStatenoResults(String title, Callback callback)static EmptyStatenoResults(Callback callback)EmptyStateprimary(elemental2.dom.HTMLElement element)EmptyStateprimary(String text, Callback callback)EmptyStateprimary(Button button)EmptyStatesecondary(elemental2.dom.HTMLElement element)EmptyStatesecondary(String text, Callback callback)EmptyStatesecondary(Button button)EmptyStatesmall()static EmptyStatespinner()static EmptyStatespinner(String title)EmptyStatethat()-
Methods inherited from class org.patternfly.components.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
-
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, css, id, id, innerHtml, on, textContent, toggle, toggle, toggle
-
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, title
-
-
-
-
Method Detail
-
emptyState
public static EmptyState emptyState(Icon icon, String title)
-
spinner
public static EmptyState spinner()
-
spinner
public static EmptyState spinner(String title)
-
noResults
public static EmptyState noResults(Callback callback)
-
noResults
public static EmptyState noResults(String title, Callback callback)
-
body
public static EmptyState.Body body()
-
that
public EmptyState that()
-
body
public EmptyState body(String body)
-
body
public EmptyState body(EmptyState.Body body)
-
primary
public EmptyState primary(String text, Callback callback)
-
primary
public EmptyState primary(Button button)
-
primary
public EmptyState primary(elemental2.dom.HTMLElement element)
-
secondary
public EmptyState secondary(String text, Callback callback)
-
secondary
public EmptyState secondary(Button button)
-
secondary
public EmptyState secondary(elemental2.dom.HTMLElement element)
-
small
public EmptyState small()
-
large
public EmptyState large()
-
-