Class 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
    • Constructor Detail

      • UIPageableData

        public UIPageableData()
    • Method Detail

      • 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)
      • setPaginatorTemplate

        public void setPaginatorTemplate​(String paginatorTemplate)
      • setRowsPerPageTemplate

        public void setRowsPerPageTemplate​(String rowsPerPageTemplate)
      • setRowsPerPageLabel

        public void setRowsPerPageLabel​(String rowsPerPageLabel)
      • setCurrentPageReportTemplate

        public void setCurrentPageReportTemplate​(String currentPageReportTemplate)
      • setPageLinks

        public void setPageLinks​(int pageLinks)
      • setPaginatorPosition

        public void setPaginatorPosition​(String paginatorPosition)
      • 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 void calculateFirst()
      • getPage

        public int getPage()
        Specified by:
        getPage 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)