Package com.treemap.swing
Class SwingTreeMapModel<N extends AbstractTreeMapNode<N,Row,Column,Color,Font>,Row,Column>
java.lang.Object
com.treemap.AbstractTreeMapModel<N,Row,Column,Color,Font>
com.treemap.DefaultTreeMapModel<N,Row,Column,Color,Font>
com.treemap.swing.SwingTreeMapModel<N,Row,Column>
- All Implemented Interfaces:
TreeMapModel<N,
Row, Column, Color, Font>
public class SwingTreeMapModel<N extends AbstractTreeMapNode<N,Row,Column,Color,Font>,Row,Column>
extends DefaultTreeMapModel<N,Row,Column,Color,Font>
Created by luc on 01.05.17.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from class com.treemap.AbstractTreeMapModel
AbstractTreeMapModel.Worker
-
Field Summary
Fields inherited from class com.treemap.DefaultTreeMapModel
dataFrame
Fields inherited from class com.treemap.AbstractTreeMapModel
_settings, colorFactory, colorMapFactory, cpHelper, fontFactory, formatFactory, imageFactory, rootNodes, rowNode
Fields inherited from interface com.treemap.TreeMapModel
PROPERTY_CURRENT_ROOT, PROPERTY_PROGRESS
-
Constructor Summary
ConstructorsConstructorDescriptionSwingTreeMapModel
(com.macrofocus.molap.dataframe.DataFrame<Row, Column, ?> dataFrame) -
Method Summary
Modifier and TypeMethodDescriptionprotected ComboBoxModel<TreeMapField>
protected ComboBoxModel<TreeMapField>
protected GroupByComboBoxModel
protected ComboBoxModel<TreeMapField>
protected SwingTreeMapModel.LabelComboBoxModel
protected ComboBoxModel<TreeMapField>
Gets a ComboBox model that can be used to control the background.Gets a ComboBox model that can be used to control the color.Gets a ComboBox model that can be used to control the group by.Gets a ComboBox model that can be used to control the height.Gets a ComboBox model that can be used to control the labels.Gets a ComboBox model that can be used to control the size.Methods inherited from class com.treemap.DefaultTreeMapModel
addChild, addChild, columns, createCategoricalColorMap, createDefaultColorMap, createLeafNode, createParentNode, createRootNode, createTreeMapField, doGroupBy, findChild, getChildCount, getChildren, getChildrenOfTypeParent, getColumnClass, getColumnCount, getColumnName, getCushionColor, getCushionImage, getDataFrame, getLabelName, getNode, getNumericMax, getNumericMin, getParent, getRowCount, getTreeMapField, getTreeMapField, getTreeMapFieldByName, getValueAt, isEveryValueUnique, isRoot, setDataFrame, setNumericMax, setNumericMin
Methods inherited from class com.treemap.AbstractTreeMapModel
addListener, breadthFirstIterator, clearAggregationCache, computeSize, computeSizeLeafs, computeSizeParents, computeSumSize, createSettings, depthFirstIterator, doColors, doLayout, doLayoutChildren, fireTableModelChanged, getAggregateValue, getBounds, getCategoricalColorMap, getChildrenGroupByField, getColor, getColorFactory, getColorMap, getColorMap, getColorProvider, getColorTreeMapFields, getCurrentRoot, getCustomColorMap, getFilter, getFormatPattern, getGroupByField, getGroupByTreeMapFields, getHeightTreeMapFields, getHighlighting, getImageFactory, getLabelsTreeMapFields, getLevel, getMaximumSize, getNestedShape, getNode, getNormalizedLightSourceX, getNormalizedLightSourceY, getNormalizedLightSourceZ, getPredefinedColorMap, getProbing, getProperties, getRoot, getSearch, getSelection, getSettings, getShape, getSize, getSizeTreeMapFields, getStringValue, getSumSize, getTooltipTreeMapFields, getTreeMapFields, getTreeMapFields, getTreeMapFields, getTreeMapFields, getViewport, getWorker, getWorkerFuture, hasNoChildren, initDefaults, isDirty, isLeaf, isNumericType, isTemporalType, isVisualType, parentPreorderEnumeration, preorderEnumeration, progressProperty, removeListener, scheduleUpdateColors, scheduleUpdateGroupBy, scheduleUpdateLayout, setColor, setColorProvider, setCurrentRoot, setFormatPattern, setNestedShape, setProgress, setShape, waitUntilReady
-
Constructor Details
-
SwingTreeMapModel
-
-
Method Details
-
getGroupByModel
Gets a ComboBox model that can be used to control the group by.- Returns:
- a ComboBox model linked to the group by setting.
-
createGroupByComboBoxModel
-
getLabelModel
Gets a ComboBox model that can be used to control the labels.- Returns:
- a ComboBox model linked to the labels setting.
-
createLabelComboBoxModel
-
getBackgroundModel
Gets a ComboBox model that can be used to control the background.- Returns:
- a ComboBox model linked to the background setting.
-
createBackgroundComboBoxModel
-
getSizeModel
Gets a ComboBox model that can be used to control the size.- Returns:
- a ComboBox model linked to the size setting.
-
createSizeComboBoxModel
-
getHeightModel
Gets a ComboBox model that can be used to control the height.- Returns:
- a ComboBox model linked to the height setting.
-
createHeightComboBoxModel
-
getColorModel
Gets a ComboBox model that can be used to control the color.- Returns:
- a ComboBox model linked to the color setting.
-
createColorComboBoxModel
-