Package com.macrofocus.high_d.som
Class AbstractSOM<Component,Color,Row,Column>
java.lang.Object
com.macrofocus.high_d.som.AbstractSOM<Component,Color,Row,Column>
- All Implemented Interfaces:
SOM<Component,
Color, Row, Column>
- Direct Known Subclasses:
SwingSOM
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract SOMController
createController
(SOMView view) Creates a controller that can be used by the parallel coordinates componentcreateModel
(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 void
load
(com.macrofocus.molap.dataframe.DataFrame dataFrame) Loads the specified data frame.void
setController
(SOMController controller) Sets the controller to be used by the parallel coordinates component and register the view currently in use.static void
setLicenseKey
(String username, String key) Register the license key that legally entitle the use of SOM.void
Sets the model to be used for the scatter plot component and register it to the view.void
Sets 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, wait
Methods inherited from interface com.macrofocus.high_d.som.SOM
getNativeComponent
-
Field Details
-
view
-
controller
-
licenseModel
-
-
Constructor Details
-
AbstractSOM
-
-
Method Details
-
setLicenseKey
Register the license key that legally entitle the use of SOM. 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:SOM
Returns the model used by the scatter plot component. -
setModel
Description copied from interface:SOM
Sets the model to be used for the scatter plot component and register it to the view. -
getView
Description copied from interface:SOM
Returns the view used by the parallel coordinates component. -
setView
Description copied from interface:SOM
Sets 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:SOM
Returns the controller used by the parallel coordinates component. -
setController
Description copied from interface:SOM
Sets the controller to be used by the parallel coordinates component and register the view currently in use. -
createModel
protected abstract SOMModel<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 SOMModel instance
-
createView
Creates a view that can be used by the parallel coordinates component- Returns:
- a SOMView instance
-
createController
Creates a controller that can be used by the parallel coordinates component- Parameters:
view
- the view that should be controlled- Returns:
- a SOMController instance
-