Class JavaFXScatterPlot<R,C>
- java.lang.Object
-
- com.macrofocus.high_d.scatterplot.AbstractScatterPlot<javafx.scene.Node,javafx.scene.paint.Color,javafx.scene.text.Font,R,C>
-
- com.macrofocus.high_d.scatterplot.javafx.JavaFXScatterPlot<R,C>
-
- All Implemented Interfaces:
com.macrofocus.crossplatform.CPComponent<javafx.scene.Node>
,ScatterPlot<javafx.scene.Node,javafx.scene.paint.Color,javafx.scene.text.Font,R,C>
public class JavaFXScatterPlot<R,C> extends AbstractScatterPlot<javafx.scene.Node,javafx.scene.paint.Color,javafx.scene.text.Font,R,C>
-
-
Field Summary
-
Fields inherited from class com.macrofocus.high_d.scatterplot.AbstractScatterPlot
controller, licenseModel, view
-
-
Constructor Summary
Constructors Constructor Description JavaFXScatterPlot()
JavaFXScatterPlot(ScatterPlotModel model)
JavaFXScatterPlot(com.macrofocus.molap.dataframe.DataFrame dataFrame)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ScatterPlotController
createController(ScatterPlotView view)
Creates a controller that can be used by the parallel coordinates componentprotected ScatterPlotModel<javafx.scene.paint.Color,R,C>
createModel(com.macrofocus.molap.dataframe.DataFrame dataFrame)
Creates a model that can be used by the parallel coordinates componentprotected ScatterPlotView<javafx.scene.Node,javafx.scene.paint.Color,javafx.scene.text.Font,R,C>
createView()
Creates a view that can be used by the parallel coordinates componentjavafx.scene.Node
getNativeComponent()
void
setStyleClass(java.lang.String... styleClasses)
void
setView(ScatterPlotView<javafx.scene.Node,javafx.scene.paint.Color,javafx.scene.text.Font,R,C> view)
Sets the view to be used by the scatter plot component and register the model currently in use.-
Methods inherited from class com.macrofocus.high_d.scatterplot.AbstractScatterPlot
getController, getModel, getView, load, setController, setLicenseKey, setModel
-
-
-
-
Constructor Detail
-
JavaFXScatterPlot
public JavaFXScatterPlot()
-
JavaFXScatterPlot
public JavaFXScatterPlot(ScatterPlotModel model)
-
JavaFXScatterPlot
public JavaFXScatterPlot(com.macrofocus.molap.dataframe.DataFrame dataFrame)
-
-
Method Detail
-
setView
public void setView(ScatterPlotView<javafx.scene.Node,javafx.scene.paint.Color,javafx.scene.text.Font,R,C> view)
Description copied from interface:ScatterPlot
Sets 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.- Specified by:
setView
in interfaceScatterPlot<javafx.scene.Node,javafx.scene.paint.Color,javafx.scene.text.Font,R,C>
- Overrides:
setView
in classAbstractScatterPlot<javafx.scene.Node,javafx.scene.paint.Color,javafx.scene.text.Font,R,C>
- Parameters:
view
- the view to be used
-
createModel
protected ScatterPlotModel<javafx.scene.paint.Color,R,C> createModel(com.macrofocus.molap.dataframe.DataFrame dataFrame)
Description copied from class:AbstractScatterPlot
Creates a model that can be used by the parallel coordinates component- Specified by:
createModel
in classAbstractScatterPlot<javafx.scene.Node,javafx.scene.paint.Color,javafx.scene.text.Font,R,C>
- Parameters:
dataFrame
- a Swing TableModel- Returns:
- a ScatterPlotModel instance
-
createView
protected ScatterPlotView<javafx.scene.Node,javafx.scene.paint.Color,javafx.scene.text.Font,R,C> createView()
Description copied from class:AbstractScatterPlot
Creates a view that can be used by the parallel coordinates component- Specified by:
createView
in classAbstractScatterPlot<javafx.scene.Node,javafx.scene.paint.Color,javafx.scene.text.Font,R,C>
- Returns:
- a ScatterPlotView instance
-
createController
protected ScatterPlotController createController(ScatterPlotView view)
Description copied from class:AbstractScatterPlot
Creates a controller that can be used by the parallel coordinates component- Specified by:
createController
in classAbstractScatterPlot<javafx.scene.Node,javafx.scene.paint.Color,javafx.scene.text.Font,R,C>
- Parameters:
view
- the view that should be controlled- Returns:
- a ScatterPlotController instance
-
setStyleClass
public void setStyleClass(java.lang.String... styleClasses)
-
getNativeComponent
public javafx.scene.Node getNativeComponent()
-
-