Package ca.spatial.table
Class PivotTable
java.lang.Object
ca.spatial.table.PivotTable
- All Implemented Interfaces:
com.jidesoft.pivot.PivotValueProviderListener
,ActionListener
,EventListener
,TableModelListener
public class PivotTable
extends Object
implements ActionListener, com.jidesoft.pivot.PivotValueProviderListener, TableModelListener
Create a pivot table based on the input table.
Note that if the input table contains active simulation data
then the scheduler will become inactive until the pivot table
window is closed.
-
Constructor Summary
ConstructorsConstructorDescriptionPivotTable(PivotStore.SPSCalculatedPivotDataModel pivotDataModel)
Create the pivot table -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
Disconnect listeners but leave the input data model intactvoid
closeAll()
Disconnect listeners and close the input data modelcom.jidesoft.pivot.CalculatedPivotDataModel
com.jidesoft.pivot.PivotTablePane
void
pivotValueProviderEventHandler(com.jidesoft.pivot.PivotValueProviderEvent event)
void
printTable(JTable dataTable)
static void
showPivot(AttributeStore as)
void
void
-
Constructor Details
-
PivotTable
Create the pivot table- Parameters:
pivotDataModel
- the data model used for the source of data
-
-
Method Details
-
printTable
-
showPivot
-
getPivotTablePane
public com.jidesoft.pivot.PivotTablePane getPivotTablePane() -
getPivotDataModel
public com.jidesoft.pivot.CalculatedPivotDataModel getPivotDataModel() -
getJMenuBar
-
showTable
public void showTable() -
closeAll
public void closeAll()Disconnect listeners and close the input data model -
close
public void close()Disconnect listeners but leave the input data model intact -
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
pivotValueProviderEventHandler
public void pivotValueProviderEventHandler(com.jidesoft.pivot.PivotValueProviderEvent event)- Specified by:
pivotValueProviderEventHandler
in interfacecom.jidesoft.pivot.PivotValueProviderListener
-
tableChanged
- Specified by:
tableChanged
in interfaceTableModelListener
-