Class ChartScopeTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- com.inductiveautomation.ignition.client.util.gui.table.DatasetTableModel
-
- com.inductiveautomation.sfc.designer.workspace.ChartScopeTableModel
-
- All Implemented Interfaces:
com.jidesoft.grid.CategorizedTableModel
,com.jidesoft.grid.SpanModel
,java.io.Serializable
,javax.swing.table.TableModel
public class ChartScopeTableModel extends DatasetTableModel implements com.jidesoft.grid.CategorizedTableModel, com.jidesoft.grid.SpanModel
Accepts a flat Chart Scope dataset and creates a view of datasets with category headers.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CHART_SCOPE_CATEGORY
-
Constructor Summary
Constructors Constructor Description ChartScopeTableModel(Dataset dataset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.jidesoft.grid.CellSpan
getCellSpanAt(int row, int col)
java.lang.String
getStepId(int row)
boolean
isCategoryRow(int row)
boolean
isCellSpanOn()
boolean
isChartScopeRow(int row)
boolean
isStepScopeRow(int row)
void
setDataset(Dataset d)
-
Methods inherited from class com.inductiveautomation.ignition.client.util.gui.table.DatasetTableModel
getColumnClass, getColumnCount, getColumnName, getDataset, getRowCount, getValueAt
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
-
-
-
Field Detail
-
CHART_SCOPE_CATEGORY
public static final java.lang.String CHART_SCOPE_CATEGORY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChartScopeTableModel
public ChartScopeTableModel(Dataset dataset)
-
-
Method Detail
-
setDataset
public void setDataset(Dataset d)
- Overrides:
setDataset
in classDatasetTableModel
-
isCategoryRow
public boolean isCategoryRow(int row)
- Specified by:
isCategoryRow
in interfacecom.jidesoft.grid.CategorizedTableModel
-
isChartScopeRow
public boolean isChartScopeRow(int row)
-
isStepScopeRow
public boolean isStepScopeRow(int row)
-
getStepId
public java.lang.String getStepId(int row)
-
getCellSpanAt
public com.jidesoft.grid.CellSpan getCellSpanAt(int row, int col)
- Specified by:
getCellSpanAt
in interfacecom.jidesoft.grid.SpanModel
-
isCellSpanOn
public boolean isCellSpanOn()
- Specified by:
isCellSpanOn
in interfacecom.jidesoft.grid.SpanModel
-
-