Class PmdMetaTableModel
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.extensions.datasources.pmd.PmdMetaTableModel
-
- All Implemented Interfaces:
TableModel
,org.pentaho.reporting.engine.classic.core.MetaTableModel
,org.pentaho.reporting.engine.classic.core.util.CloseableTableModel
public class PmdMetaTableModel extends Object implements org.pentaho.reporting.engine.classic.core.MetaTableModel, org.pentaho.reporting.engine.classic.core.util.CloseableTableModel
-
-
Constructor Summary
Constructors Constructor Description PmdMetaTableModel(org.pentaho.reporting.engine.classic.core.MetaTableModel parentTableModel, List<org.pentaho.metadata.query.model.Selection> selections)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTableModelListener(TableModelListener l)
void
close()
If this model has disposeable resources assigned, close them or dispose them.org.pentaho.reporting.engine.classic.core.wizard.DataAttributes
getCellDataAttributes(int row, int column)
org.pentaho.reporting.engine.classic.core.wizard.DataAttributes
getColumnAttributes(int column)
Class
getColumnClass(int columnIndex)
int
getColumnCount()
String
getColumnName(int columnIndex)
int
getRowCount()
org.pentaho.reporting.engine.classic.core.wizard.DataAttributes
getTableAttributes()
Object
getValueAt(int rowIndex, int columnIndex)
boolean
isCellDataAttributesSupported()
boolean
isCellEditable(int rowIndex, int columnIndex)
void
removeTableModelListener(TableModelListener l)
void
setValueAt(Object aValue, int rowIndex, int columnIndex)
-
-
-
Constructor Detail
-
PmdMetaTableModel
public PmdMetaTableModel(org.pentaho.reporting.engine.classic.core.MetaTableModel parentTableModel, List<org.pentaho.metadata.query.model.Selection> selections)
-
-
Method Detail
-
getCellDataAttributes
public org.pentaho.reporting.engine.classic.core.wizard.DataAttributes getCellDataAttributes(int row, int column)
- Specified by:
getCellDataAttributes
in interfaceorg.pentaho.reporting.engine.classic.core.MetaTableModel
-
isCellDataAttributesSupported
public boolean isCellDataAttributesSupported()
- Specified by:
isCellDataAttributesSupported
in interfaceorg.pentaho.reporting.engine.classic.core.MetaTableModel
-
getColumnAttributes
public org.pentaho.reporting.engine.classic.core.wizard.DataAttributes getColumnAttributes(int column)
- Specified by:
getColumnAttributes
in interfaceorg.pentaho.reporting.engine.classic.core.MetaTableModel
-
getTableAttributes
public org.pentaho.reporting.engine.classic.core.wizard.DataAttributes getTableAttributes()
- Specified by:
getTableAttributes
in interfaceorg.pentaho.reporting.engine.classic.core.MetaTableModel
-
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interfaceTableModel
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interfaceTableModel
-
getColumnName
public String getColumnName(int columnIndex)
- Specified by:
getColumnName
in interfaceTableModel
-
getColumnClass
public Class getColumnClass(int columnIndex)
- Specified by:
getColumnClass
in interfaceTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex)
- Specified by:
isCellEditable
in interfaceTableModel
-
getValueAt
public Object getValueAt(int rowIndex, int columnIndex)
- Specified by:
getValueAt
in interfaceTableModel
-
setValueAt
public void setValueAt(Object aValue, int rowIndex, int columnIndex)
- Specified by:
setValueAt
in interfaceTableModel
-
addTableModelListener
public void addTableModelListener(TableModelListener l)
- Specified by:
addTableModelListener
in interfaceTableModel
-
removeTableModelListener
public void removeTableModelListener(TableModelListener l)
- Specified by:
removeTableModelListener
in interfaceTableModel
-
close
public void close()
If this model has disposeable resources assigned, close them or dispose them.- Specified by:
close
in interfaceorg.pentaho.reporting.engine.classic.core.util.CloseableTableModel
-
-