org.xdat.customEvents
public class DataTableModelEvent extends javax.swing.event.TableModelEvent
DataSheet
to the GUI. DataTable
will call
the appropriate functions to update the GUI when receiving the
DataTableModelEvent.DataTable
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
CUSTOM_TABLE_MODEL_TYPE
Used to identify table model events that require application specific
code to run.
|
Constructor and Description |
---|
DataTableModelEvent(javax.swing.table.TableModel source,
int firstRow,
int lastRow,
int column,
boolean chartRebuildRequired,
boolean chartRepaintRequired,
boolean dataPanelUpdateRequired,
boolean[] axisAutofitRequired,
boolean[] axisResetFilterRequired,
boolean[] axisApplyFiltersRequired)
Instantiates a new data table model event.
|
Modifier and Type | Method and Description |
---|---|
boolean[] |
getAxisApplyFiltersRequired()
Gets the axis apply filters required.
|
boolean[] |
getAxisAutofitRequired()
Gets the axis autofit required.
|
boolean[] |
getAxisResetFilterRequired()
Gets the axis reset filter required.
|
boolean |
isChartRebuildRequired()
Checks if chart rebuild required is true.
|
boolean |
isChartRepaintRequired()
Checks if chart repaint required is true.
|
boolean |
isDataPanelUpdateRequired()
Checks if data Panel update required is true.
|
public static final int CUSTOM_TABLE_MODEL_TYPE
public DataTableModelEvent(javax.swing.table.TableModel source, int firstRow, int lastRow, int column, boolean chartRebuildRequired, boolean chartRepaintRequired, boolean dataPanelUpdateRequired, boolean[] axisAutofitRequired, boolean[] axisResetFilterRequired, boolean[] axisApplyFiltersRequired)
source
- the sourcefirstRow
- the first rowlastRow
- the last rowcolumn
- the columnchartRebuildRequired
- specifies whether the event requires rebuilding all chartschartRepaintRequired
- specifies whether the event requires repainting all chartsdataPanelUpdateRequired
- specified whether the event requires updating the data panelaxisAutofitRequired
- specifies which axes should be autofitted as a result of the
eventaxisResetFilterRequired
- specifies for which axes the filters should be reset as a
result of the eventaxisApplyFiltersRequired
- specifies for which axes the filters should be applied as a
result of the eventpublic boolean isChartRebuildRequired()
public boolean isChartRepaintRequired()
public boolean isDataPanelUpdateRequired()
public boolean[] getAxisAutofitRequired()
public boolean[] getAxisResetFilterRequired()
public boolean[] getAxisApplyFiltersRequired()