Package org.patternfly.components
Class Pagination
- java.lang.Object
-
- org.patternfly.components.BaseComponent<elemental2.dom.HTMLDivElement,Pagination>
-
- org.patternfly.components.Pagination
-
- All Implemented Interfaces:
Container<elemental2.dom.HTMLDivElement,Pagination>,Finder<elemental2.dom.HTMLDivElement>,HasElement<elemental2.dom.HTMLDivElement,Pagination>,HasHTMLElement<elemental2.dom.HTMLDivElement,Pagination>,IsElement<elemental2.dom.HTMLDivElement>,TypedBuilder<elemental2.dom.HTMLDivElement,Pagination>,Component,Modifiers.Disabled<elemental2.dom.HTMLDivElement,Pagination>
public class Pagination extends BaseComponent<elemental2.dom.HTMLDivElement,Pagination> implements Modifiers.Disabled<elemental2.dom.HTMLDivElement,Pagination>
PatternFly pagination component.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Paginationcompact()Paginationdisabled(boolean disabled)Adds/removes modifier(disabled)PaginationonFirstPage(Callback firstPageHandler)PaginationonGotoPage(Consumer<Integer> gotoPageHandler)Consumer is called with 0-based page index.PaginationonLastPage(Callback lastPageHandler)PaginationonNextPage(Callback nextPageHandler)PaginationonPageSize(Consumer<Integer> pageSizeHandler)PaginationonPreviousPage(Callback previousPageHandler)static Paginationpagination()Paginationthat()-
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
-
Methods inherited from interface org.patternfly.core.Modifiers.Disabled
disabled
-
-
-
-
Method Detail
-
pagination
public static Pagination pagination()
-
that
public Pagination that()
- Specified by:
thatin interfaceTypedBuilder<elemental2.dom.HTMLDivElement,Pagination>
-
disabled
public Pagination disabled(boolean disabled)
Description copied from interface:Modifiers.DisabledAdds/removes modifier(disabled)- Specified by:
disabledin interfaceModifiers.Disabled<elemental2.dom.HTMLDivElement,Pagination>
-
compact
public Pagination compact()
-
onPageSize
public Pagination onPageSize(Consumer<Integer> pageSizeHandler)
-
onGotoPage
public Pagination onGotoPage(Consumer<Integer> gotoPageHandler)
Consumer is called with 0-based page index.
-
onFirstPage
public Pagination onFirstPage(Callback firstPageHandler)
-
onPreviousPage
public Pagination onPreviousPage(Callback previousPageHandler)
-
onNextPage
public Pagination onNextPage(Callback nextPageHandler)
-
onLastPage
public Pagination onLastPage(Callback lastPageHandler)
-
-