Package com.treemap
Class AbstractTreeMap<C,N,Row,Column,Color,Font>
java.lang.Object
com.treemap.AbstractTreeMap<C,N,Row,Column,Color,Font>
- All Implemented Interfaces:
TreeMap<C,
N, Row, Column, Color, Font>
- Direct Known Subclasses:
JavaFXTreeMap
@JsType
public abstract class AbstractTreeMap<C,N,Row,Column,Color,Font>
extends Object
implements TreeMap<C,N,Row,Column,Color,Font>
Created by luc on 03/02/16.
-
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
setAggregation
(Aggregation aggregation) Defines the aggregation scheme to use to aggregate values of the treemap.void
setAlgorithm
(Algorithm algorithm) Defines the algorithm to use to lay out the treemap.void
setBackground
(int column) Defines the field to use for background labeling.void
setBackgroundByName
(String columnName) Defines the field to use for background labeling.void
setColor
(int column) Defines the field to use for coloring.void
setColorByName
(String columnName) Defines the field to use for coloring.void
setController
(TreeMapController<C, N, Row, Column, Color, Font> controller) Sets the controller to be used for the treemap and register the view currently in use.void
Defines the depth to use to lay out the treemap.void
setGroupBy
(int... columns) Defines the fields to be use for grouping.void
setGroupByByNames
(String... columnNames) Defines the fields to be use for grouping.void
setHeaderBackgroundColor
(com.macrofocus.igraphics.CPColor<Color> color) Sets the background color to use for drawing the headers.void
setHeaderFont
(com.macrofocus.igraphics.CPFont<Font> font) Sets the font used for labeling the headings.void
setHeaderForegroundColor
(com.macrofocus.igraphics.CPColor<Color> color) Sets the foreground color to use for drawing the headers.void
setHeight
(int column) Defines the field to use for mapping the height.void
setHeightByName
(String columnName) Defines the field to use for mapping the height.void
setLabeling
(Labeling labeling) Defines the labeling scheme to use to draw the treemap.void
setLabelingBackgroundColor
(com.macrofocus.igraphics.CPColor<Color> color) Sets the background color to use for drawing the labels.void
setLabelingFont
(com.macrofocus.igraphics.CPFont<Font> font) Sets the font used for labeling.void
setLabelingForegroundColor
(com.macrofocus.igraphics.CPColor<Color> color) Sets the foreground color to use for drawing the labels.void
setLabels
(int... columns) Defines the fields to be use for labeling.void
setLabelsByNames
(String... columnNames) Defines the fields to be use for labeling.static void
setLicenseKey
(String username, String key) Register the license key that legally entitle the use of CartoPlot.void
setLightSourceAmbient
(double value) Sets the light source ambient intensity used for drawing the cushions.void
setLightSourceHeight
(double value) Sets the light source height used for drawing the cushions.void
setLightSourceX
(double value) Sets the light source X position used for drawing the cushions.void
setLightSourceY
(double value) Sets the light source Y position used for drawing the cushions.void
setLightSourceZ
(double value) Sets the light source Z position used for drawing the cushions.void
Sets the model to be used for the treemap and register it to the view.void
setNesting
(Nesting nesting) Defines the nesting to use to lay out the treemap.void
setOrdering
(Ordering ordering) Defines the ordering to use to lay out the treemap.void
setRendering
(Rendering rendering) Defines the rendering scheme to use to draw the treemap.void
Defines the scaling scheme to use to project values the treemap.void
setSize
(int column) Defines the field to use to represent the size.void
setSizeByName
(String columnName) Defines the field to use to represent the size.void
setToolTip
(int... columns) Defines the fields to be use for grouping.void
setToolTipByNames
(String... columnNames) Defines the fields to be use for grouping.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.treemap.TreeMap
getNativeComponent
-
Field Details
-
view
-
controller
-
licenseModel
-
-
Constructor Details
-
AbstractTreeMap
public AbstractTreeMap()
-
-
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. -
setGroupBy
public void setGroupBy(int... columns) Defines the fields to be use for grouping. -
setGroupByByNames
Defines the fields to be use for grouping. -
setLabels
public void setLabels(int... columns) Defines the fields to be use for labeling. -
setLabelsByNames
Defines the fields to be use for labeling. -
setBackground
public void setBackground(int column) Defines the field to use for background labeling. -
setBackgroundByName
Defines the field to use for background labeling. -
setSize
public void setSize(int column) Defines the field to use to represent the size. -
setSizeByName
Defines the field to use to represent the size. -
setColor
public void setColor(int column) Defines the field to use for coloring. -
setColorByName
Defines the field to use for coloring. -
setHeight
public void setHeight(int column) Defines the field to use for mapping the height. -
setHeightByName
Defines the field to use for mapping the height. -
setToolTip
public void setToolTip(int... columns) Defines the fields to be use for grouping. -
setToolTipByNames
Defines the fields to be use for grouping. -
setAlgorithm
Defines the algorithm to use to lay out the treemap. -
setAggregation
Defines the aggregation scheme to use to aggregate values of the treemap. -
setScale
Defines the scaling scheme to use to project values the treemap. -
setNesting
Defines the nesting to use to lay out the treemap. -
setOrdering
Defines the ordering to use to lay out the treemap. -
setDepth
Defines the depth to use to lay out the treemap. -
setLabeling
Defines the labeling scheme to use to draw the treemap. -
setRendering
Defines the rendering scheme to use to draw the treemap. -
setLightSourceHeight
public void setLightSourceHeight(double value) Sets the light source height used for drawing the cushions. -
setLightSourceAmbient
public void setLightSourceAmbient(double value) Sets the light source ambient intensity used for drawing the cushions. -
setLightSourceX
public void setLightSourceX(double value) Sets the light source X position used for drawing the cushions. -
setLightSourceY
public void setLightSourceY(double value) Sets the light source Y position used for drawing the cushions. -
setLightSourceZ
public void setLightSourceZ(double value) Sets the light source Z position used for drawing the cushions. -
setLabelingFont
Sets the font used for labeling. -
setLabelingForegroundColor
Sets the foreground color to use for drawing the labels. -
setLabelingBackgroundColor
Sets the background color to use for drawing the labels. -
setHeaderFont
Sets the font used for labeling the headings. -
setHeaderForegroundColor
Sets the foreground color to use for drawing the headers. -
setHeaderBackgroundColor
Sets the background color to use for drawing the headers.
-