Class AttributeTableModel

    • Constructor Detail

      • AttributeTableModel

        public AttributeTableModel()
    • Method Detail

      • getAttributeDataBackend

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

        public org.pentaho.reporting.engine.classic.core.ReportElement[] getData()
      • setData

        public void setData​(org.pentaho.reporting.engine.classic.core.ReportElement[] 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
      • getColumnCount

        public int getColumnCount()
      • getValueAt

        public Object getValueAt​(int rowIndex,
                                 int columnIndex)
      • getValueRole

        public String getValueRole​(int row,
                                   int column)
      • getExtraFields

        public String[] getExtraFields​(int row,
                                       int column)
      • getClassForCell

        public Class getClassForCell​(int rowIndex,
                                     int columnIndex)
      • getEditorForCell

        public PropertyEditor getEditorForCell​(int rowIndex,
                                               int columnIndex)