Class SwingTableLens<Row,Column>
java.lang.Object
com.macrofocus.high_d.tablelens.AbstractTableLens<JComponent,Color,Row,Column>
com.macrofocus.high_d.tablelens.swing.SwingTableLens<Row,Column>
- All Implemented Interfaces:
TableLens<JComponent,Color, Row, Column>
-
Field Summary
Fields inherited from class com.macrofocus.high_d.tablelens.AbstractTableLens
controller, licenseModel, view -
Constructor Summary
ConstructorsConstructorDescriptionCreates a TableLens component with default settings and configuration.SwingTableLens(TableLensModel<Color, Row, Column> model) Creates a TableLens component with the its native data model.SwingTableLens(com.macrofocus.molap.dataframe.DataFrame<Row, Column, ?> dataFrame) Creates a TableLens component with the specified Swing TableModel. -
Method Summary
Modifier and TypeMethodDescriptionprotected TableLensControllerCreates a controller that can be used by the parallel coordinates componentprotected TableLensModelcreateModel(com.macrofocus.molap.dataframe.DataFrame dataFrame) Creates a model that can be used by the parallel coordinates componentprotected TableLensViewCreates a view that can be used by the parallel coordinates componentstatic voidSort of a Hello World! application to demonstrate the most basic use of the ParallelCoordinates APIstatic voidsetLicenseKey(String username, String key) Register the license key that legally entitle the use of TableLens.Methods inherited from class com.macrofocus.high_d.tablelens.AbstractTableLens
getController, getModel, getView, load, setController, setModel, setView
-
Constructor Details
-
SwingTableLens
public SwingTableLens()Creates a TableLens component with default settings and configuration. -
SwingTableLens
Creates a TableLens component with the its native data model.- Parameters:
model- a TableLensModel
-
SwingTableLens
Creates a TableLens component with the specified Swing TableModel.- Parameters:
dataFrame- a Swing TableModel
-
-
Method Details
-
setLicenseKey
Register the license key that legally entitle the use of TableLens. This should be called prior to the first instantiation of this component.- Parameters:
username- the user namekey- the license key
-
createModel
Creates a model that can be used by the parallel coordinates component- Specified by:
createModelin classAbstractTableLens<JComponent,Color, Row, Column> - Parameters:
dataFrame- a Swing TableModel- Returns:
- a ParallelCoordinatesModel instance
-
createView
Creates a view that can be used by the parallel coordinates component- Specified by:
createViewin classAbstractTableLens<JComponent,Color, Row, Column> - Returns:
- a ParallelCoordinatesView instance
-
createController
Creates a controller that can be used by the parallel coordinates component- Specified by:
createControllerin classAbstractTableLens<JComponent,Color, Row, Column> - Parameters:
view- the view that should be controlled- Returns:
-
getNativeComponent
-
main
Sort of a Hello World! application to demonstrate the most basic use of the ParallelCoordinates API
-