Class BaseTableRenderer.TableMetaInfo

    • Field Detail

      • KEY

        public static final String KEY
      • rowClasses

        public final String[] rowClasses
      • columnClasses

        public final String[] columnClasses
      • hasHeaderFacets

        public final boolean hasHeaderFacets
      • hasFooterFacets

        public final boolean hasFooterFacets
      • columnCount

        public final int columnCount
      • columnStyleCounter

        public int columnStyleCounter
      • rowStyleCounter

        public int rowStyleCounter
    • Constructor Detail

      • TableMetaInfo

        public TableMetaInfo​(UIComponent table)
    • Method Detail

      • newRow

        public void newRow()
        Reset the counter used to apply column styles.
      • getCurrentColumnClass

        public String getCurrentColumnClass()
        Obtain the column class based on the current counter. Calling this method automatically moves the pointer to the next style. If the counter is larger than the number of total classes, the counter will be reset.
        Returns:
        the current style
      • getCurrentRowClass

        public String getCurrentRowClass()
        Obtain the row class based on the current counter. Calling this method automatically moves the pointer to the next style. If the counter is larger than the number of total classes, the counter will be reset.
        Returns:
        the current style