Class AbstractStyleTableModel<T extends StyleDataBackend>

    • Constructor Detail

      • AbstractStyleTableModel

        public AbstractStyleTableModel()
    • Method Detail

      • isSynchronous

        public boolean isSynchronous()
      • setSynchronous

        public void setSynchronous​(boolean synchronous)
      • getDataBackend

        protected T getDataBackend()
      • setDataBackend

        protected void setDataBackend​(T dataBackend)
      • getMetaData

        protected org.pentaho.reporting.engine.classic.core.metadata.StyleMetaData getMetaData​(int row)
      • reconcileState

        protected GroupingHeader[] reconcileState​(GroupingHeader[] groupings,
                                                  GroupingHeader[] oldGroupings)
        Uses the name of the old groupings to set the collapse status of the new groupings so that when a user makes a selection not all of the groups return to the expanded state. In essence makes group collapses "sticky" where the group heading hasn't changed.
        Parameters:
        groupings -
        oldGroupings -
      • computeInheritValue

        protected abstract Object computeInheritValue​(org.pentaho.reporting.engine.classic.core.metadata.StyleMetaData metaData,
                                                      int rowIndex)
      • defineFullValue

        protected abstract boolean defineFullValue​(org.pentaho.reporting.engine.classic.core.metadata.StyleMetaData metaData,
                                                   Object value)
      • computeFullValue

        protected Object computeFullValue​(org.pentaho.reporting.engine.classic.core.metadata.StyleMetaData metaData,
                                          int row)
      • getClassForCell

        public Class getClassForCell​(int rowIndex,
                                     int columnIndex)
        Specified by:
        getClassForCell in interface org.pentaho.reporting.libraries.designtime.swing.table.PropertyTableModel
      • getEditorForCell

        public PropertyEditor getEditorForCell​(int rowIndex,
                                               int columnIndex)
        Specified by:
        getEditorForCell in interface org.pentaho.reporting.libraries.designtime.swing.table.PropertyTableModel
      • computeEditor

        protected PropertyEditor computeEditor​(org.pentaho.reporting.engine.classic.core.metadata.StyleMetaData metaData,
                                               int row)