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.StringCHART_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.CellSpangetCellSpanAt(int row, int col)java.lang.StringgetStepId(int row)booleanisCategoryRow(int row)booleanisCellSpanOn()booleanisChartScopeRow(int row)booleanisStepScopeRow(int row)voidsetDataset(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:
setDatasetin classDatasetTableModel
-
isCategoryRow
public boolean isCategoryRow(int row)
- Specified by:
isCategoryRowin 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:
getCellSpanAtin interfacecom.jidesoft.grid.SpanModel
-
isCellSpanOn
public boolean isCellSpanOn()
- Specified by:
isCellSpanOnin interfacecom.jidesoft.grid.SpanModel
-
-