Package com.macrofocus.high_d.mds
Class AbstractMDS<Component,Color,Font,Row,Column>
java.lang.Object
com.macrofocus.high_d.scatterplot.AbstractScatterPlot<Component,Color,Font,Row,Column>
com.macrofocus.high_d.mds.AbstractMDS<Component,Color,Font,Row,Column>
- All Implemented Interfaces:
com.macrofocus.crossplatform.CPComponent<Component>,MDS<Component,,Color, Font, Row, Column> ScatterPlot<Component,Color, Font, Row, Column>
- Direct Known Subclasses:
JavaFXMDS
public abstract class AbstractMDS<Component,Color,Font,Row,Column>
extends AbstractScatterPlot<Component,Color,Font,Row,Column>
implements MDS<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 MDSScatterPlotModel<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 thescatter plot 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 scatter plot 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.voidsetModel(MDSScatterPlotModel<Color, Row, Column> model) Sets the model to be used for the scatter plot component and register it to the view.voidSets the view to be used by the scatter plot component and register the model currently in use.voidstart()voidstop()Methods inherited from class com.macrofocus.high_d.scatterplot.AbstractScatterPlot
setModelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.macrofocus.crossplatform.CPComponent
getNativeComponent, setStyleClassMethods inherited from interface com.macrofocus.high_d.mds.MDS
getNativeComponent
-
Field Details
-
view
-
controller
-
licenseModel
-
-
Constructor Details
-
AbstractMDS
public AbstractMDS()
-
-
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. -
getModel
Description copied from interface:ScatterPlotReturns the model used by the scatter plot component. -
setModel
Description copied from interface:MDSSets the model to be used for the scatter plot component and register it to the view. -
getView
Description copied from interface:ScatterPlotReturns the view used by the parallel coordinates component. -
setView
Description copied from interface:ScatterPlotSets the view to be used by the scatter plot component and register the model currently in use. It will also register itself to the controller. -
getController
Description copied from interface:ScatterPlotReturns the controller used by thescatter plot component.- Specified by:
getControllerin interfaceMDS<Component,Color, Font, Row, Column> - Specified by:
getControllerin interfaceScatterPlot<Component,Color, Font, Row, Column> - Overrides:
getControllerin classAbstractScatterPlot<Component,Color, Font, Row, Column> - Returns:
- the controller in use
-
setController
Description copied from interface:ScatterPlotSets the controller to be used by the scatter plot component and register the view currently in use.- Specified by:
setControllerin interfaceMDS<Component,Color, Font, Row, Column> - Specified by:
setControllerin interfaceScatterPlot<Component,Color, Font, Row, Column> - Overrides:
setControllerin classAbstractScatterPlot<Component,Color, Font, Row, Column> - Parameters:
controller- the controller in use
-
createModel
protected abstract MDSScatterPlotModel<Color,Row, createModelColumn> (com.macrofocus.molap.dataframe.DataFrame dataFrame) Creates a model that can be used by the parallel coordinates component- Specified by:
createModelin classAbstractScatterPlot<Component,Color, Font, Row, Column> - Parameters:
dataFrame- a Swing TableModel- Returns:
- a ScatterPlotModel instance
-
createView
Creates a view that can be used by the parallel coordinates component- Specified by:
createViewin classAbstractScatterPlot<Component,Color, Font, Row, Column> - Returns:
- a ScatterPlotView instance
-
createController
Creates a controller that can be used by the parallel coordinates component- Specified by:
createControllerin classAbstractScatterPlot<Component,Color, Font, Row, Column> - Parameters:
view- the view that should be controlled- Returns:
- a ScatterPlotController instance
-
start
public void start() -
stop
public void stop()
-