Class UIPageableData

java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIData
org.primefaces.component.api.UIData
org.primefaces.component.api.UIPageableData
All Implemented Interfaces:
EventListener, javax.faces.component.NamingContainer, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.component.UniqueIdVendor, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, Pageable, TouchAware
Direct Known Subclasses:
DataGridBase, DataListBase, DataTableBase, DataViewBase

public class UIPageableData extends UIData implements Pageable, TouchAware
UIData for pageable components
  • Field Details

  • Constructor Details

    • UIPageableData

      public UIPageableData()
  • Method Details

    • getEmptyMessage

      public String getEmptyMessage()
    • setEmptyMessage

      public void setEmptyMessage(String emptyMessage)
    • isTouchable

      public Boolean isTouchable()
      Description copied from interface: TouchAware
      Is this component touch enabled?
      Specified by:
      isTouchable in interface TouchAware
      Returns:
      false to disable
    • setTouchable

      public void setTouchable(Boolean touchable)
      Description copied from interface: TouchAware
      Enable/disable touch support for this component.
      Specified by:
      setTouchable in interface TouchAware
      Parameters:
      touchable - true for touch support
    • isPaginator

      public boolean isPaginator()
    • setPaginator

      public void setPaginator(boolean paginator)
    • getPaginatorTemplate

      public String getPaginatorTemplate()
      Specified by:
      getPaginatorTemplate in interface Pageable
    • setPaginatorTemplate

      public void setPaginatorTemplate(String paginatorTemplate)
    • getRowsPerPageTemplate

      public String getRowsPerPageTemplate()
      Specified by:
      getRowsPerPageTemplate in interface Pageable
    • setRowsPerPageTemplate

      public void setRowsPerPageTemplate(String rowsPerPageTemplate)
    • getCurrentPageReportTemplate

      public String getCurrentPageReportTemplate()
      Specified by:
      getCurrentPageReportTemplate in interface Pageable
    • setCurrentPageReportTemplate

      public void setCurrentPageReportTemplate(String currentPageReportTemplate)
    • getPageLinks

      public int getPageLinks()
      Specified by:
      getPageLinks in interface Pageable
    • setPageLinks

      public void setPageLinks(int pageLinks)
    • getPaginatorPosition

      public String getPaginatorPosition()
      Specified by:
      getPaginatorPosition in interface Pageable
    • setPaginatorPosition

      public void setPaginatorPosition(String paginatorPosition)
    • isPaginatorAlwaysVisible

      public boolean isPaginatorAlwaysVisible()
      Specified by:
      isPaginatorAlwaysVisible in interface Pageable
    • setPaginatorAlwaysVisible

      public void setPaginatorAlwaysVisible(boolean paginatorAlwaysVisible)
    • getRows

      public int getRows()
      Specified by:
      getRows in interface Pageable
      Overrides:
      getRows in class javax.faces.component.UIData
    • setRows

      public void setRows(int rows)
      Overrides:
      setRows in class javax.faces.component.UIData
    • setFirst

      public void setFirst(int first)
      Overrides:
      setFirst in class javax.faces.component.UIData
    • resetRows

      public void resetRows()
    • calculateRows

      public void calculateRows()
    • calculateFirst

      public boolean calculateFirst()
    • getPage

      public int getPage()
      Specified by:
      getPage in interface Pageable
    • getPageCount

      public int getPageCount()
      Specified by:
      getPageCount in interface Pageable
    • getRowsToRender

      public int getRowsToRender()
      Specified by:
      getRowsToRender in interface Pageable
    • isPaginationRequest

      public boolean isPaginationRequest(javax.faces.context.FacesContext context)
    • updatePaginationData

      public void updatePaginationData(javax.faces.context.FacesContext context)
    • getRowsPerPage

      public String getRowsPerPage()
    • setRowsPerPage

      public void setRowsPerPage(String rowsPerPage)