public class StyleTableModel extends AbstractStyleTableModel<StyleTableModel.DefaultStyleDataBackend>
Modifier and Type | Class and Description |
---|---|
protected static class |
StyleTableModel.DefaultStyleDataBackend |
AbstractStyleTableModel.NotifyChangeTask, AbstractStyleTableModel.SameElementsUpdateDataTask
listenerList
Constructor and Description |
---|
StyleTableModel() |
StyleTableModel(Executor pool) |
Modifier and Type | Method and Description |
---|---|
protected Object |
computeInheritValue(org.pentaho.reporting.engine.classic.core.metadata.StyleMetaData metaData,
int rowIndex) |
protected boolean |
defineFullValue(org.pentaho.reporting.engine.classic.core.metadata.StyleMetaData metaData,
Object value) |
Class |
getClassForCell(int rowIndex,
int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int column) |
org.pentaho.reporting.engine.classic.core.Element[] |
getData() |
PropertyEditor |
getEditorForCell(int rowIndex,
int columnIndex) |
ReportDocumentContext |
getReportRenderContext() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
protected static org.pentaho.reporting.engine.classic.core.metadata.StyleMetaData[] |
selectCommonAttributes(org.pentaho.reporting.engine.classic.core.Element[] elements) |
void |
setData(org.pentaho.reporting.engine.classic.core.Element[] elements) |
void |
setDataBackend(StyleTableModel.DefaultStyleDataBackend dataBackend) |
void |
setReportRenderContext(ReportDocumentContext reportRenderContext) |
void |
setTableStyle(TableStyle tableStyle) |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex) |
protected StyleTableModel.DefaultStyleDataBackend |
updateData(org.pentaho.reporting.engine.classic.core.Element[] elements) |
computeEditor, computeFullValue, getDataBackend, getDefaultEditor, getExtraFields, getGroupHeader, getGroupings, getMetaData, getRowCount, getTableStyle, getValueRole, isHeaderRow, isSynchronous, reconcileState, setSynchronous
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTableModelListener, getColumnClass, removeTableModelListener
public StyleTableModel()
public StyleTableModel(Executor pool)
public void setTableStyle(TableStyle tableStyle)
setTableStyle
in interface SortableTableModel
setTableStyle
in class AbstractStyleTableModel<StyleTableModel.DefaultStyleDataBackend>
public void setDataBackend(StyleTableModel.DefaultStyleDataBackend dataBackend)
setDataBackend
in class AbstractStyleTableModel<StyleTableModel.DefaultStyleDataBackend>
protected StyleTableModel.DefaultStyleDataBackend updateData(org.pentaho.reporting.engine.classic.core.Element[] elements)
protected static org.pentaho.reporting.engine.classic.core.metadata.StyleMetaData[] selectCommonAttributes(org.pentaho.reporting.engine.classic.core.Element[] elements)
public void setData(org.pentaho.reporting.engine.classic.core.Element[] elements)
public org.pentaho.reporting.engine.classic.core.Element[] getData()
public int getColumnCount()
getColumnCount
in interface TableModel
getColumnCount
in class AbstractStyleTableModel<StyleTableModel.DefaultStyleDataBackend>
public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractStyleTableModel<StyleTableModel.DefaultStyleDataBackend>
public Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface TableModel
getValueAt
in class AbstractStyleTableModel<StyleTableModel.DefaultStyleDataBackend>
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractStyleTableModel<StyleTableModel.DefaultStyleDataBackend>
public void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface TableModel
setValueAt
in class AbstractStyleTableModel<StyleTableModel.DefaultStyleDataBackend>
protected boolean defineFullValue(org.pentaho.reporting.engine.classic.core.metadata.StyleMetaData metaData, Object value)
defineFullValue
in class AbstractStyleTableModel<StyleTableModel.DefaultStyleDataBackend>
protected Object computeInheritValue(org.pentaho.reporting.engine.classic.core.metadata.StyleMetaData metaData, int rowIndex)
computeInheritValue
in class AbstractStyleTableModel<StyleTableModel.DefaultStyleDataBackend>
public Class getClassForCell(int rowIndex, int columnIndex)
getClassForCell
in interface org.pentaho.reporting.libraries.designtime.swing.table.PropertyTableModel
getClassForCell
in class AbstractStyleTableModel<StyleTableModel.DefaultStyleDataBackend>
public PropertyEditor getEditorForCell(int rowIndex, int columnIndex)
getEditorForCell
in interface org.pentaho.reporting.libraries.designtime.swing.table.PropertyTableModel
getEditorForCell
in class AbstractStyleTableModel<StyleTableModel.DefaultStyleDataBackend>
public ReportDocumentContext getReportRenderContext()
public void setReportRenderContext(ReportDocumentContext reportRenderContext)
Copyright © 2017 Hitachi Vantara. All rights reserved.