Class ReportPreProcessorPropertiesTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- org.pentaho.reporting.designer.core.util.table.expressions.ReportPreProcessorPropertiesTableModel
-
- All Implemented Interfaces:
Serializable
,TableModel
,ElementMetaDataTableModel
,GroupingModel
,SortableTableModel
,org.pentaho.reporting.libraries.designtime.swing.table.PropertyTableModel
public class ReportPreProcessorPropertiesTableModel extends AbstractTableModel implements ElementMetaDataTableModel, GroupingModel
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description ReportPreProcessorPropertiesTableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class
getClassForCell(int rowIndex, int columnIndex)
int
getColumnCount()
String
getColumnName(int column)
org.pentaho.reporting.engine.classic.core.ReportPreProcessor
getData()
PropertyEditor
getEditorForCell(int aRowIndex, int aColumnIndex)
String[]
getExtraFields(int row, int column)
GroupingHeader
getGroupHeader(int index)
protected GroupingHeader
getGroupings(int row)
protected org.pentaho.reporting.engine.classic.core.metadata.ReportPreProcessorPropertyMetaData
getMetaData(int row)
int
getRowCount()
TableStyle
getTableStyle()
Object
getValueAt(int rowIndex, int columnIndex)
String
getValueRole(int row, int column)
boolean
isCellEditable(int rowIndex, int columnIndex)
boolean
isHeaderRow(int index)
void
setData(org.pentaho.reporting.engine.classic.core.ReportPreProcessor elements)
void
setTableStyle(TableStyle tableStyle)
void
setValueAt(Object aValue, int rowIndex, int columnIndex)
protected void
updateData(org.pentaho.reporting.engine.classic.core.ReportPreProcessor elements)
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, removeTableModelListener
-
-
-
-
Method Detail
-
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interfaceTableModel
-
getMetaData
protected org.pentaho.reporting.engine.classic.core.metadata.ReportPreProcessorPropertyMetaData getMetaData(int row)
-
getGroupings
protected GroupingHeader getGroupings(int row)
-
getTableStyle
public TableStyle getTableStyle()
- Specified by:
getTableStyle
in interfaceSortableTableModel
-
setTableStyle
public void setTableStyle(TableStyle tableStyle)
- Specified by:
setTableStyle
in interfaceSortableTableModel
-
updateData
protected void updateData(org.pentaho.reporting.engine.classic.core.ReportPreProcessor elements) throws IntrospectionException
- Throws:
IntrospectionException
-
setData
public void setData(org.pentaho.reporting.engine.classic.core.ReportPreProcessor elements)
-
getData
public org.pentaho.reporting.engine.classic.core.ReportPreProcessor getData()
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interfaceTableModel
-
getColumnName
public String getColumnName(int column)
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getValueAt
public Object getValueAt(int rowIndex, int columnIndex)
- Specified by:
getValueAt
in interfaceTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex)
- Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-
setValueAt
public void setValueAt(Object aValue, int rowIndex, int columnIndex)
- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in classAbstractTableModel
-
getClassForCell
public Class getClassForCell(int rowIndex, int columnIndex)
- Specified by:
getClassForCell
in interfaceorg.pentaho.reporting.libraries.designtime.swing.table.PropertyTableModel
-
getEditorForCell
public PropertyEditor getEditorForCell(int aRowIndex, int aColumnIndex)
- Specified by:
getEditorForCell
in interfaceorg.pentaho.reporting.libraries.designtime.swing.table.PropertyTableModel
-
getValueRole
public String getValueRole(int row, int column)
- Specified by:
getValueRole
in interfaceElementMetaDataTableModel
-
getExtraFields
public String[] getExtraFields(int row, int column)
- Specified by:
getExtraFields
in interfaceElementMetaDataTableModel
-
getGroupHeader
public GroupingHeader getGroupHeader(int index)
- Specified by:
getGroupHeader
in interfaceGroupingModel
-
isHeaderRow
public boolean isHeaderRow(int index)
- Specified by:
isHeaderRow
in interfaceGroupingModel
-
-