Class AbstractParallelCoordinates<Component,Color,R,C>
java.lang.Object
com.macrofocus.high_d.parallelcoordinates.AbstractParallelCoordinates<Component,Color,R,C>
- All Implemented Interfaces:
com.macrofocus.crossplatform.CPComponent<Component>,ParallelCoordinates<Component,Color, R, C>
- Direct Known Subclasses:
SwingParallelCoordinates
public abstract class AbstractParallelCoordinates<Component,Color,R,C>
extends Object
implements ParallelCoordinates<Component,Color,R,C>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ParallelCoordinatesControllerprotected static LicenseModelprotected ParallelCoordinatesView<Component, Color, R, C> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ParallelCoordinatesControllerCreates a controller that can be used by the parallel coordinates componentprotected abstract ParallelCoordinatesModel<Color, R, C> createModel(com.macrofocus.molap.dataframe.DataFrame dataFrame) Creates a model that can be used by the parallel coordinates componentprotected abstract ParallelCoordinatesView<Component, Color, R, C> Creates 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 parallel coordinates 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(ParallelCoordinatesController 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 ParallelCoordinates.voidsetModel(ParallelCoordinatesModel<Color, R, C> model) Sets the model to be used for the parallel coordinates 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.crossplatform.CPComponent
setStyleClassMethods inherited from interface com.macrofocus.high_d.parallelcoordinates.ParallelCoordinates
getNativeComponent
-
Field Details
-
licenseModel
-
view
-
controller
-
-
Constructor Details
-
AbstractParallelCoordinates
public AbstractParallelCoordinates()
-
-
Method Details
-
setLicenseKey
Register the license key that legally entitle the use of ParallelCoordinates. 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:ParallelCoordinatesReturns the model used by the parallel coordinates component. -
setModel
Description copied from interface:ParallelCoordinatesSets the model to be used for the parallel coordinates component and register it to the view. -
getView
Description copied from interface:ParallelCoordinatesReturns the view used by the parallel coordinates component. -
setView
Description copied from interface:ParallelCoordinatesSets 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:ParallelCoordinatesReturns the controller used by the parallel coordinates component.- Specified by:
getControllerin interfaceParallelCoordinates<Component,Color, R, C> - Returns:
- the controller in use
-
setController
Description copied from interface:ParallelCoordinatesSets the controller to be used by the parallel coordinates component and register the view currently in use.- Specified by:
setControllerin interfaceParallelCoordinates<Component,Color, R, C> - Parameters:
controller- the controller in use
-
createModel
protected abstract ParallelCoordinatesModel<Color,R, createModelC> (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 ParallelCoordinatesModel instance
-
createView
Creates a view that can be used by the parallel coordinates component- Returns:
- a ParallelCoordinatesView instance
-
createController
Creates a controller that can be used by the parallel coordinates component- Parameters:
view- the view that should be controlled- Returns:
- a ParallelCoordinatesController instance
-