Class AbstractControlChart<Component,Color,Font,Row,Column>
java.lang.Object
com.macrofocus.high_d.controlchart.AbstractControlChart<Component,Color,Font,Row,Column>
- All Implemented Interfaces:
ControlChart<Component,Color, Font, Row, Column>
public abstract class AbstractControlChart<Component,Color,Font,Row,Column>
extends Object
implements ControlChart<Component,Color,Font,Row,Column>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ScatterPlotControllerCreates a controller that can be used by the parallel coordinates componentprotected abstract ControlChartScatterPlotModel<Color, Row, Column> createModel(com.macrofocus.molap.dataframe.DataFrame dataFrame) Creates a model that can be used by the parallel coordinates componentCreates a view that can be used by the parallel coordinates componentReturns the controller used by the parallel coordinates component.getModel()Returns the model used by the scatter plot component.getView()Returns the view used by the parallel coordinates component.protected voidload(com.macrofocus.molap.dataframe.DataFrame dataFrame) Loads the specified data frame.voidsetController(ScatterPlotController controller) Sets the controller to be used by the parallel coordinates component and register the view currently in use.static voidsetLicenseKey(String username, String key) Register the license key that legally entitle the use of ScatterPlot.voidSets the model to be used for the scatter plot component and register it to the view.voidSets the view to be used by the parallel coordinates component and register the model currently in use.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.macrofocus.high_d.controlchart.ControlChart
getNativeComponent
-
Field Details
-
view
-
controller
-
licenseModel
-
-
Constructor Details
-
AbstractControlChart
public AbstractControlChart()
-
-
Method Details
-
setLicenseKey
Register the license key that legally entitle the use of ScatterPlot. This should be called prior to the first instantiation of this component.- Parameters:
username- the user namekey- the license key
-
load
protected void load(com.macrofocus.molap.dataframe.DataFrame dataFrame) Loads the specified data frame.- Parameters:
dataFrame- a data frame
-
getModel
Description copied from interface:ControlChartReturns the model used by the scatter plot component. -
setModel
Description copied from interface:ControlChartSets the model to be used for the scatter plot component and register it to the view. -
getView
Description copied from interface:ControlChartReturns the view used by the parallel coordinates component. -
setView
Description copied from interface:ControlChartSets the view to be used by the parallel coordinates component and register the model currently in use. It will also register itself to the controller. -
getController
Description copied from interface:ControlChartReturns the controller used by the parallel coordinates component.- Specified by:
getControllerin interfaceControlChart<Component,Color, Font, Row, Column> - Returns:
- the controller in use
-
setController
Description copied from interface:ControlChartSets the controller to be used by the parallel coordinates component and register the view currently in use.- Specified by:
setControllerin interfaceControlChart<Component,Color, Font, Row, Column> - Parameters:
controller- the controller in use
-
createModel
protected abstract ControlChartScatterPlotModel<Color,Row, createModelColumn> (com.macrofocus.molap.dataframe.DataFrame dataFrame) Creates a model that can be used by the parallel coordinates component- Parameters:
dataFrame- a Swing TableModel- Returns:
- a ScatterPlotModel instance
-
createView
Creates a view that can be used by the parallel coordinates component- Returns:
- a ScatterPlotView instance
-
createController
Creates a controller that can be used by the parallel coordinates component- Parameters:
view- the view that should be controlled- Returns:
- a ScatterPlotController instance
-