Class VisualAttributeTableModel

    • Field Detail

      • EMPTY_VALUES

        protected static final Object[] EMPTY_VALUES
      • NULL_INDICATOR

        protected static final Object NULL_INDICATOR
      • EMPTY_ELEMENTS

        protected static final org.pentaho.reporting.engine.classic.core.Element[] EMPTY_ELEMENTS
      • EMPTY_ELEMENT_TYPES

        protected static final org.pentaho.reporting.engine.classic.core.metadata.ElementType[] EMPTY_ELEMENT_TYPES
    • Constructor Detail

      • VisualAttributeTableModel

        public VisualAttributeTableModel()
    • Method Detail

      • setData

        public void setData​(org.pentaho.reporting.engine.classic.core.Element[] elements)
      • createDataBackend

        protected AbstractAttributeTableModel.DataBackend createDataBackend​(GroupingHeader[] headers,
                                                                            org.pentaho.reporting.engine.classic.core.metadata.AttributeMetaData[] metaData,
                                                                            org.pentaho.reporting.engine.classic.core.ReportElement[] elements,
                                                                            org.pentaho.reporting.engine.classic.core.metadata.ElementType[] elementTypes)
        Overrides:
        createDataBackend in class AbstractAttributeTableModel
        Returns:
        null - Concrete implementations MUST override this method and call super.createDataBackend(headers, metaData, elements) BEFORE any other code is executed. Then they must return a implementation of Databackend
      • getAttributeDataBackend

        protected org.pentaho.reporting.designer.core.editor.attributes.VisualAttributeTableModel.AttributeDataBackend getAttributeDataBackend()
      • getData

        public org.pentaho.reporting.engine.classic.core.Element[] getData()
      • getElementTypes

        public org.pentaho.reporting.engine.classic.core.metadata.ElementType[] getElementTypes()
      • 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