Package com.treemap.treeplot
Class AbstractTreePlot<C,N,Row,Column,Color,Font>
java.lang.Object
com.treemap.treeplot.AbstractTreePlot<C,N,Row,Column,Color,Font>
- All Implemented Interfaces:
com.macrofocus.crossplatform.CPComponent<C>
,TreePlot<C,
N, Row, Column, Color, Font>
- Direct Known Subclasses:
JavaFXTreePlot
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the controller used for the treemap.getModel()
Returns the model used for the treemap.getView()
Returns the view used for the treemap.void
setController
(TreePlotController<C, N, Row, Column, Color, Font> controller) Sets the controller to be used for the treemap and register the view currently in use.static void
setLicenseKey
(String username, String key) Register the license key that legally entitle the use of CartoPlot.void
Sets the model to be used for the treemap and register it to the view.void
Sets the view to be used for the treemap 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.crossplatform.CPComponent
getNativeComponent, setStyleClass
-
Field Details
-
view
-
controller
-
licenseModel
-
-
Constructor Details
-
AbstractTreePlot
public AbstractTreePlot()
-
-
Method Details
-
setLicenseKey
Register the license key that legally entitle the use of CartoPlot. This should be called prior to the first instantiation of this component.- Parameters:
username
- the user namekey
- the license key
-
getModel
Returns the model used for the treemap. -
setModel
Sets the model to be used for the treemap and register it to the view. -
getView
Returns the view used for the treemap. -
setView
Sets the view to be used for the treemap and register the model currently in use. It will also register itself to the controller. -
getController
Returns the controller used for the treemap. -
setController
Sets the controller to be used for the treemap and register the view currently in use.
-