Package com.macrofocus.treemap
Class OverridingTreeMapFieldSettings<Color,Font>
- java.lang.Object
-
- com.macrofocus.treemap.AbstractTreeMapFieldSettings<Color,Font>
-
- com.macrofocus.treemap.OverridingTreeMapFieldSettings<Color,Font>
-
- All Implemented Interfaces:
TreeMapFieldSettings<Color,Font>
public class OverridingTreeMapFieldSettings<Color,Font> extends AbstractTreeMapFieldSettings<Color,Font>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.macrofocus.treemap.TreeMapFieldSettings
TreeMapFieldSettings.PropertyType
-
-
Field Summary
-
Fields inherited from interface com.macrofocus.treemap.TreeMapFieldSettings
PROPERTY_AGGREGATION, PROPERTY_ALGORITHM, PROPERTY_BORDER_COLOR, PROPERTY_BORDER_THICKNESS, PROPERTY_COLORMAP, PROPERTY_FORMAT, PROPERTY_HEADER_BACKGROUND, PROPERTY_HEADER_EFFECT, PROPERTY_HEADER_EFFECT_COLOR, PROPERTY_HEADER_EFFECTOPACITY, PROPERTY_HEADER_FONT, PROPERTY_HEADER_FOREGROUND, PROPERTY_HEADER_HORIZONTALALIGNMENT, PROPERTY_HEADER_INSETS, PROPERTY_HEADER_MINIMUMCHARACTERSTODISPLAY, PROPERTY_HEADER_RENDERING, PROPERTY_HEADER_VERTICALALIGNMENT, PROPERTY_LABELING, PROPERTY_LABELING_CONTRASTENHANCEMENT, PROPERTY_LABELING_EFFECT, PROPERTY_LABELING_EFFECT_COLOR, PROPERTY_LABELING_EFFECTOPACITY, PROPERTY_LABELING_FLOAT, PROPERTY_LABELING_FONT, PROPERTY_LABELING_FOREGROUND, PROPERTY_LABELING_HORIZONTALALIGNMENT, PROPERTY_LABELING_MINIMUMCHARACTERSTODISPLAY, PROPERTY_LABELING_RENDERING, PROPERTY_LABELING_RESIZETEXTTOFITSHAPE, PROPERTY_LABELING_SHRINKTEXTTOFITSHAPE, PROPERTY_LABELING_VERTICALALIGNMENT, PROPERTY_NESTING, PROPERTY_NESTING_AMOUNT, PROPERTY_NESTING_BACKGROUND, PROPERTY_ORDERING, PROPERTY_ORDERING_DIRECTION, PROPERTY_ORDERING_HORIZONTALVANISHINGPOINT, PROPERTY_ORDERING_VERTICALVANISHINGPOINT, PROPERTY_OVERRIDE_DEFAULTS, PROPERTY_SCALE, PROPERTY_TOOLTIP_FONT, PROPERTY_TOOLTIP_FOREGROUND, PROPERTY_TOOLTIP_RENDERING, PROPERTY_TOOLTIP_SHOWLABEL
-
-
Constructor Summary
Constructors Constructor Description OverridingTreeMapFieldSettings(TreeMapFieldSettings<Color,Font> defaultSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregation
getAggregation()
Returns the aggregation scheme to use to aggregate values of the treemap.MutableProperty<Aggregation>
getAggregationProperty()
Returns the aggregation scheme to use to aggregate values of the treemap.Algorithm
getAlgorithm()
Returns the algorithm to use to lay out the treemap.MutableProperty<Algorithm>
getAlgorithmProperty()
Returns the algorithm to use to lay out the treemap.com.macrofocus.igraphics.CPColor<Color>
getBorderColor()
Returns the color to use for drawing the borders.MutableProperty<com.macrofocus.igraphics.CPColor<Color>>
getBorderColorProperty()
Returns the color to use for drawing the borders.double
getBorderThickness()
Returns the thickness used for drawing the borders.MutableBoundedInterval
getBorderThicknessInterval()
Returns the thickness used for drawing the borders.MutableProperty<java.lang.Double>
getBorderThicknessProperty()
com.macrofocus.colormap.MutableColorMap
getColorMap()
Gets the color map for the specified column.MutableProperty<com.macrofocus.colormap.MutableColorMap>
getColorMapProperty()
Gets the color map for the specified column.com.macrofocus.format.CPFormat
getFormat()
Gets the format used to display values of the specified column.MutableProperty<com.macrofocus.format.CPFormat>
getFormatProperty()
Gets the format used to display values of the specified column.com.macrofocus.igraphics.CPColor<Color>
getHeaderBackground()
Returns the background color to use for drawing the headers.MutableProperty<com.macrofocus.igraphics.CPColor<Color>>
getHeaderBackgroundProperty()
Returns the background color to use for drawing the headers.com.macrofocus.labeling.EnhancedLabel.Effect
getHeaderEffect()
com.macrofocus.igraphics.CPColor<Color>
getHeaderEffectColor()
Returns the effect color to use for drawing the headers.MutableProperty<com.macrofocus.igraphics.CPColor<Color>>
getHeaderEffectColorProperty()
Returns the effect color to use for drawing the headers.java.lang.Float
getHeaderEffectOpacity()
MutableProperty<java.lang.Float>
getHeaderEffectOpacityProperty()
MutableProperty<com.macrofocus.labeling.EnhancedLabel.Effect>
getHeaderEffectProperty()
com.macrofocus.igraphics.CPFont<Font>
getHeaderFont()
Returns the font used for labeling the headings.MutableProperty<com.macrofocus.igraphics.CPFont<Font>>
getHeaderFontProperty()
Returns the font used for labeling the headings.com.macrofocus.igraphics.CPColor<Color>
getHeaderForeground()
Returns the foreground color to use for drawing the headers.MutableProperty<com.macrofocus.igraphics.CPColor<Color>>
getHeaderForegroundProperty()
Returns the foreground color to use for drawing the headers.java.lang.Integer
getHeaderHorizontalAlignment()
MutableProperty<java.lang.Integer>
getHeaderHorizontalAlignmentProperty()
java.awt.Insets
getHeaderInsets()
MutableProperty<java.awt.Insets>
getHeaderInsetsProperty()
java.lang.Integer
getHeaderMinimumCharactersToDisplay()
MutableProperty<java.lang.Integer>
getHeaderMinimumCharactersToDisplayProperty()
com.macrofocus.labeling.EnhancedLabel.Rendering
getHeaderRendering()
MutableProperty<com.macrofocus.labeling.EnhancedLabel.Rendering>
getHeaderRenderingProperty()
java.lang.Integer
getHeaderVerticalAlignment()
MutableProperty<java.lang.Integer>
getHeaderVerticalAlignmentProperty()
Labeling
getLabeling()
Returns the labeling scheme to use to draw the treemap.com.macrofocus.labeling.EnhancedLabel.ContrastEnhancement
getLabelingContrastEnhancement()
MutableProperty<com.macrofocus.labeling.EnhancedLabel.ContrastEnhancement>
getLabelingContrastEnhancementProperty()
com.macrofocus.labeling.EnhancedLabel.Effect
getLabelingEffect()
com.macrofocus.igraphics.CPColor<Color>
getLabelingEffectColor()
Returns the effect color to use for drawing the labels.MutableProperty<com.macrofocus.igraphics.CPColor<Color>>
getLabelingEffectColorProperty()
Returns the effect color to use for drawing the labels.java.lang.Float
getLabelingEffectOpacity()
MutableProperty<java.lang.Float>
getLabelingEffectOpacityProperty()
MutableProperty<com.macrofocus.labeling.EnhancedLabel.Effect>
getLabelingEffectProperty()
java.lang.Boolean
getLabelingFloat()
MutableProperty<java.lang.Boolean>
getLabelingFloatProperty()
com.macrofocus.igraphics.CPFont<Font>
getLabelingFont()
Returns the font used for labeling.MutableProperty<com.macrofocus.igraphics.CPFont<Font>>
getLabelingFontProperty()
Returns the font used for labeling.com.macrofocus.igraphics.CPColor<Color>
getLabelingForeground()
Returns the foreground color to use for drawing the labels.MutableProperty<com.macrofocus.igraphics.CPColor<Color>>
getLabelingForegroundProperty()
Returns the foreground color to use for drawing the labels.int
getLabelingHorizontalAlignment()
MutableProperty<java.lang.Integer>
getLabelingHorizontalAlignmentProperty()
java.lang.Integer
getLabelingMinimumCharactersToDisplay()
MutableProperty<java.lang.Integer>
getLabelingMinimumCharactersToDisplayProperty()
MutableProperty<Labeling>
getLabelingProperty()
Returns the labeling scheme to use to draw the treemap.com.macrofocus.labeling.EnhancedLabel.Rendering
getLabelingRendering()
MutableProperty<com.macrofocus.labeling.EnhancedLabel.Rendering>
getLabelingRenderingProperty()
java.lang.Boolean
getLabelingResizeTextToFitShape()
MutableProperty<java.lang.Boolean>
getLabelingResizeTextToFitShapeProperty()
java.lang.Boolean
getLabelingShrinkTextToFitShape()
MutableProperty<java.lang.Boolean>
getLabelingShrinkTextToFitShapeProperty()
int
getLabelingVerticalAlignment()
MutableProperty<java.lang.Integer>
getLabelingVerticalAlignmentProperty()
Nesting
getNesting()
Returns the nesting to use to lay out the treemap.java.lang.Double
getNestingAmount()
Returns the size of the nested areas.MutableProperty<java.lang.Double>
getNestingAmountProperty()
Returns the size of the nested areas.com.macrofocus.igraphics.CPColor<Color>
getNestingBackground()
Returns the background color to use for drawing the nested areas.MutableProperty<com.macrofocus.igraphics.CPColor<Color>>
getNestingBackgroundProperty()
Returns the background color to use for drawing the nested areas.MutableProperty<Nesting>
getNestingProperty()
Returns the nesting to use to lay out the treemap.Ordering
getOrdering()
Returns the ordering to use to lay out the treemap.Ordering.SortOrder
getOrderingDirection()
Returns the ordering direction to use to lay out the treemap.MutableProperty<Ordering.SortOrder>
getOrderingDirectionProperty()
Returns the ordering direction to use to lay out the treemap.java.lang.Integer
getOrderingHorizontalVanishingPoint()
MutableProperty<java.lang.Integer>
getOrderingHorizontalVanishingPointProperty()
MutableProperty<Ordering>
getOrderingProperty()
Returns the ordering to use to lay out the treemap.java.lang.Integer
getOrderingVerticalVanishingPoint()
MutableProperty<java.lang.Integer>
getOrderingVerticalVanishingPointProperty()
MutableProperty<java.lang.Boolean>
getOverrideDefaultsProperty()
OverrideProperties
getProperties()
java.lang.Object
getProperty(java.lang.String key)
Gets the value of the specified property.java.lang.Object
getPropertyOverride(java.lang.String key)
Gets the value of the specified property.Scale
getScale()
Returns the scaling scheme to use to project values the treemap.MutableProperty<Scale>
getScaleProperty()
Returns the scaling scheme to use to project values the treemap.boolean
getShowLabel()
Tells whether the label of the specified field should be shown in the popup.MutableProperty<java.lang.Boolean>
getShowLabelProperty()
Tells whether the label of the specified field should be shown in the popup.com.macrofocus.igraphics.CPFont<Font>
getTooltipFont()
Returns the font used for labeling the tooltips.MutableProperty<com.macrofocus.igraphics.CPFont<Font>>
getTooltipFontProperty()
Returns the font used for labeling the tooltips.com.macrofocus.igraphics.CPColor<Color>
getTooltipForeground()
Returns the foreground color to use for drawing the tooltips.MutableProperty<com.macrofocus.igraphics.CPColor<Color>>
getTooltipForegroundProperty()
Returns the foreground color to use for drawing the tooltips.com.macrofocus.labeling.EnhancedLabel.Rendering
getTooltipRendering()
MutableProperty<com.macrofocus.labeling.EnhancedLabel.Rendering>
getTooltipRenderingProperty()
boolean
isDefaults()
Gets whether the default settings can be overridden by these settingsboolean
isOverrideDefaults()
Gets whether the default settings are overridden by these settingsvoid
reset()
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
setBorderColor(com.macrofocus.igraphics.CPColor<Color> color)
Sets the color to use for drawing the borders.void
setBorderThickness(double value)
Sets the thickness used for drawing the borders.void
setColorMap(com.macrofocus.colormap.MutableColorMap colorMap)
Sets the color map to use for the specified column.void
setFormat(com.macrofocus.format.CPFormat format)
Sets the format used to display values of the specified column.void
setHeaderBackground(com.macrofocus.igraphics.CPColor<Color> color)
Sets the background color to use for drawing the headers.void
setHeaderEffect(com.macrofocus.labeling.EnhancedLabel.Effect effect)
void
setHeaderEffectColor(com.macrofocus.igraphics.CPColor<Color> color)
Sets the background color to use for drawing the headers.void
setHeaderEffectOpacity(java.lang.Float opacity)
void
setHeaderFont(com.macrofocus.igraphics.CPFont<Font> font)
Sets the font used for labeling the headings.void
setHeaderForeground(com.macrofocus.igraphics.CPColor<Color> color)
Sets the foreground color to use for drawing the headers.void
setHeaderHorizontalAlignment(java.lang.Integer alignment)
void
setHeaderInsets(java.awt.Insets insets)
void
setHeaderMinimumCharactersToDisplay(java.lang.Integer minimumCharactersToDisplay)
void
setHeaderRendering(com.macrofocus.labeling.EnhancedLabel.Rendering rendering)
void
setHeaderVerticalAlignment(java.lang.Integer alignment)
void
setLabeling(Labeling labeling)
Defines the labeling scheme to use to draw the treemap.void
setLabelingContrastEnhancement(com.macrofocus.labeling.EnhancedLabel.ContrastEnhancement contrastEnhancement)
void
setLabelingEffect(com.macrofocus.labeling.EnhancedLabel.Effect effect)
void
setLabelingEffectColor(com.macrofocus.igraphics.CPColor<Color> color)
Sets the effect color to use for drawing the labels.void
setLabelingEffectOpacity(java.lang.Float opacity)
void
setLabelingFloat(java.lang.Boolean labelingFloat)
void
setLabelingFont(com.macrofocus.igraphics.CPFont<Font> font)
Sets the font used for labeling.void
setLabelingForeground(com.macrofocus.igraphics.CPColor<Color> color)
Sets the foreground color to use for drawing the labels.void
setLabelingHorizontalAlignment(int alignment)
void
setLabelingMinimumCharactersToDisplay(int minimumCharactersToDisplay)
void
setLabelingRendering(com.macrofocus.labeling.EnhancedLabel.Rendering rendering)
void
setLabelingResizeTextToFitShape(java.lang.Boolean labelingResizeTextToFitShape)
void
setLabelingShrinkTextToFitShape(java.lang.Boolean labelingShrinkTextToFitShape)
void
setLabelingVerticalAlignment(int alignment)
void
setNesting(Nesting nesting)
Defines the nesting to use to lay out the treemap.void
setNestingAmount(java.lang.Double amount)
Sets the size of nested areas.void
setNestingBackground(com.macrofocus.igraphics.CPColor<Color> color)
Sets the background color to use for drawing the nested areas.void
setOrdering(Ordering ordering)
Defines the ordering to use to lay out the treemap.void
setOrderingDirection(Ordering.SortOrder ordering)
Defines the ordering direction to use to lay out the treemap.void
setOrderingHorizontalVanishingPoint(java.lang.Integer horizontalVanishingPoint)
void
setOrderingVerticalVanishingPoint(java.lang.Integer verticalVanishingPoint)
void
setOverrideDefaults(boolean overrideDefaults)
Sets whether the default settings should be overridden by these settingsvoid
setProperty(java.lang.String key, java.lang.Object value)
Sets the value of the specified property.void
setPropertyOverride(java.lang.String key, java.lang.Object value)
void
setScale(Scale scale)
Defines the scaling scheme to use to project values the treemap.void
setShowLabel(boolean show)
Sets whether the label of the specified field should be displayed or no in the popup.void
setTooltipFont(com.macrofocus.igraphics.CPFont<Font> font)
Sets the font used for labeling the tooltips.void
setTooltipForeground(com.macrofocus.igraphics.CPColor<Color> color)
Sets the foreground color to use for drawing the tooltips.void
setTooltipRendering(com.macrofocus.labeling.EnhancedLabel.Rendering rendering)
-
-
-
Constructor Detail
-
OverridingTreeMapFieldSettings
public OverridingTreeMapFieldSettings(TreeMapFieldSettings<Color,Font> defaultSettings)
-
-
Method Detail
-
getProperties
public OverrideProperties getProperties()
-
isDefaults
public boolean isDefaults()
Gets whether the default settings can be overridden by these settings- Returns:
- true if the settings can be overridden, false otherwise
-
isOverrideDefaults
public boolean isOverrideDefaults()
Gets whether the default settings are overridden by these settings- Returns:
- true if this override the default settings, false otherwise
-
getOverrideDefaultsProperty
public MutableProperty<java.lang.Boolean> getOverrideDefaultsProperty()
-
setOverrideDefaults
public void setOverrideDefaults(boolean overrideDefaults)
Sets whether the default settings should be overridden by these settings- Parameters:
overrideDefaults
- true to override the default settings, false otherwise
-
getAlgorithmProperty
public MutableProperty<Algorithm> getAlgorithmProperty()
Description copied from interface:TreeMapFieldSettings
Returns the algorithm to use to lay out the treemap.- Returns:
- the algorithm to use
- See Also:
AlgorithmFactory
-
getAlgorithm
public Algorithm getAlgorithm()
Returns the algorithm to use to lay out the treemap.- Returns:
- the algorithm to use
- See Also:
AlgorithmFactory
-
setAlgorithm
public void setAlgorithm(Algorithm algorithm)
Defines the algorithm to use to lay out the treemap.- Parameters:
algorithm
- the algorithm to use- See Also:
AlgorithmFactory
-
getAggregationProperty
public MutableProperty<Aggregation> getAggregationProperty()
Description copied from interface:TreeMapFieldSettings
Returns the aggregation scheme to use to aggregate values of the treemap.- Returns:
- athe aggregation scheme to use
- See Also:
DefaultTreeMapFieldSettings.getAggregation()
,AggregationFactory
-
getAggregation
public Aggregation getAggregation()
Returns the aggregation scheme to use to aggregate values of the treemap.- Returns:
- athe aggregation scheme to use
- See Also:
DefaultTreeMapFieldSettings.getAggregation()
,AggregationFactory
-
setAggregation
public void setAggregation(Aggregation aggregation)
Defines the aggregation scheme to use to aggregate values of the treemap.- Parameters:
aggregation
- the aggregation scheme to use- See Also:
DefaultTreeMapFieldSettings.getAggregation()
,AggregationFactory
-
getScaleProperty
public MutableProperty<Scale> getScaleProperty()
Description copied from interface:TreeMapFieldSettings
Returns the scaling scheme to use to project values the treemap.- Returns:
- the scale scheme to use
- See Also:
DefaultTreeMapFieldSettings.getScale()
,ScaleFactory
-
getScale
public Scale getScale()
Returns the scaling scheme to use to project values the treemap.- Returns:
- the scale scheme to use
- See Also:
DefaultTreeMapFieldSettings.getScale()
,ScaleFactory
-
setScale
public void setScale(Scale scale)
Defines the scaling scheme to use to project values the treemap.- Parameters:
scale
- the scale scheme to use- See Also:
DefaultTreeMapFieldSettings.getScale()
,ScaleFactory
-
getNestingProperty
public MutableProperty<Nesting> getNestingProperty()
Description copied from interface:TreeMapFieldSettings
Returns the nesting to use to lay out the treemap.- Returns:
- the nesting scheme to use
- See Also:
DefaultTreeMapFieldSettings.getNesting()
,NestingFactory
-
getNesting
public Nesting getNesting()
Returns the nesting to use to lay out the treemap.- Returns:
- the nesting scheme to use
- See Also:
DefaultTreeMapFieldSettings.getNesting()
,NestingFactory
-
setNesting
public void setNesting(Nesting nesting)
Defines the nesting to use to lay out the treemap.- Parameters:
nesting
- the nesting scheme to use- See Also:
DefaultTreeMapFieldSettings.getNesting()
,NestingFactory
-
getOrderingProperty
public MutableProperty<Ordering> getOrderingProperty()
Description copied from interface:TreeMapFieldSettings
Returns the ordering to use to lay out the treemap.- Returns:
- the ordering to use
- See Also:
DefaultTreeMapFieldSettings.getOrdering()
,OrderingFactory
-
getOrdering
public Ordering getOrdering()
Returns the ordering to use to lay out the treemap.- Returns:
- the ordering to use
- See Also:
DefaultTreeMapFieldSettings.getOrdering()
,OrderingFactory
-
setOrdering
public void setOrdering(Ordering ordering)
Defines the ordering to use to lay out the treemap.- Parameters:
ordering
- the ordering to use- See Also:
DefaultTreeMapFieldSettings.getOrdering()
,OrderingFactory
-
getOrderingDirectionProperty
public MutableProperty<Ordering.SortOrder> getOrderingDirectionProperty()
Description copied from interface:TreeMapFieldSettings
Returns the ordering direction to use to lay out the treemap.- Returns:
- the ordering to use
- See Also:
DefaultTreeMapFieldSettings.getOrderingDirection()
-
getOrderingDirection
public Ordering.SortOrder getOrderingDirection()
Description copied from interface:TreeMapFieldSettings
Returns the ordering direction to use to lay out the treemap.- Returns:
- the ordering to use
- See Also:
DefaultTreeMapFieldSettings.getOrderingDirection()
-
setOrderingDirection
public void setOrderingDirection(Ordering.SortOrder ordering)
Description copied from interface:TreeMapFieldSettings
Defines the ordering direction to use to lay out the treemap.- Parameters:
ordering
- the ordering direction to use- See Also:
()
-
getOrderingVerticalVanishingPointProperty
public MutableProperty<java.lang.Integer> getOrderingVerticalVanishingPointProperty()
-
getOrderingVerticalVanishingPoint
public java.lang.Integer getOrderingVerticalVanishingPoint()
-
setOrderingVerticalVanishingPoint
public void setOrderingVerticalVanishingPoint(java.lang.Integer verticalVanishingPoint)
-
getOrderingHorizontalVanishingPointProperty
public MutableProperty<java.lang.Integer> getOrderingHorizontalVanishingPointProperty()
-
getOrderingHorizontalVanishingPoint
public java.lang.Integer getOrderingHorizontalVanishingPoint()
-
setOrderingHorizontalVanishingPoint
public void setOrderingHorizontalVanishingPoint(java.lang.Integer horizontalVanishingPoint)
-
getLabelingProperty
public MutableProperty<Labeling> getLabelingProperty()
Description copied from interface:TreeMapFieldSettings
Returns the labeling scheme to use to draw the treemap.- Returns:
- the labeling scheme to use
- See Also:
DefaultTreeMapFieldSettings.getLabeling()
,LabelingFactory
-
getLabeling
public Labeling getLabeling()
Returns the labeling scheme to use to draw the treemap.- Returns:
- the labeling scheme to use
- See Also:
DefaultTreeMapFieldSettings.getLabeling()
,LabelingFactory
-
setLabeling
public void setLabeling(Labeling labeling)
Defines the labeling scheme to use to draw the treemap.- Parameters:
labeling
- the labeling scheme to use- See Also:
DefaultTreeMapFieldSettings.getLabeling()
,LabelingFactory
-
getLabelingFontProperty
public MutableProperty<com.macrofocus.igraphics.CPFont<Font>> getLabelingFontProperty()
Description copied from interface:TreeMapFieldSettings
Returns the font used for labeling.- Returns:
- the font to be used
- See Also:
DefaultTreeMapFieldSettings.getLabelingFont()
-
getLabelingFont
public com.macrofocus.igraphics.CPFont<Font> getLabelingFont()
Returns the font used for labeling.- Returns:
- the font to be used
- See Also:
DefaultTreeMapFieldSettings.getLabelingFont()
-
setLabelingFont
public void setLabelingFont(com.macrofocus.igraphics.CPFont<Font> font)
Sets the font used for labeling.- Parameters:
font
- the font to be used- See Also:
DefaultTreeMapFieldSettings.getLabelingFont()
-
getLabelingForegroundProperty
public MutableProperty<com.macrofocus.igraphics.CPColor<Color>> getLabelingForegroundProperty()
Description copied from interface:TreeMapFieldSettings
Returns the foreground color to use for drawing the labels.- Returns:
- the color to be used
- See Also:
DefaultTreeMapFieldSettings.getLabelingForeground()
-
getLabelingForeground
public com.macrofocus.igraphics.CPColor<Color> getLabelingForeground()
Returns the foreground color to use for drawing the labels.- Returns:
- the color to be used
- See Also:
DefaultTreeMapFieldSettings.getLabelingForeground()
-
setLabelingForeground
public void setLabelingForeground(com.macrofocus.igraphics.CPColor<Color> color)
Sets the foreground color to use for drawing the labels.- Parameters:
color
- the color to be used- See Also:
DefaultTreeMapFieldSettings.getLabelingForeground()
-
getLabelingEffectColorProperty
public MutableProperty<com.macrofocus.igraphics.CPColor<Color>> getLabelingEffectColorProperty()
Description copied from interface:TreeMapFieldSettings
Returns the effect color to use for drawing the labels.- Returns:
- the color to be used
- See Also:
DefaultTreeMapFieldSettings.getLabelingEffectColor()
-
getLabelingEffectColor
public com.macrofocus.igraphics.CPColor<Color> getLabelingEffectColor()
Returns the effect color to use for drawing the labels.- Returns:
- the color to be used
- See Also:
DefaultTreeMapFieldSettings.getLabelingEffectColor()
-
setLabelingEffectColor
public void setLabelingEffectColor(com.macrofocus.igraphics.CPColor<Color> color)
Sets the effect color to use for drawing the labels.- Parameters:
color
- the color to be used- See Also:
DefaultTreeMapFieldSettings.getLabelingEffectColor()
-
getLabelingEffectProperty
public MutableProperty<com.macrofocus.labeling.EnhancedLabel.Effect> getLabelingEffectProperty()
-
getLabelingEffect
public com.macrofocus.labeling.EnhancedLabel.Effect getLabelingEffect()
-
setLabelingEffect
public void setLabelingEffect(com.macrofocus.labeling.EnhancedLabel.Effect effect)
-
getLabelingHorizontalAlignmentProperty
public MutableProperty<java.lang.Integer> getLabelingHorizontalAlignmentProperty()
-
getLabelingHorizontalAlignment
public int getLabelingHorizontalAlignment()
-
setLabelingHorizontalAlignment
public void setLabelingHorizontalAlignment(int alignment)
-
getLabelingVerticalAlignmentProperty
public MutableProperty<java.lang.Integer> getLabelingVerticalAlignmentProperty()
-
getLabelingVerticalAlignment
public int getLabelingVerticalAlignment()
-
setLabelingVerticalAlignment
public void setLabelingVerticalAlignment(int alignment)
-
getLabelingRenderingProperty
public MutableProperty<com.macrofocus.labeling.EnhancedLabel.Rendering> getLabelingRenderingProperty()
-
getLabelingRendering
public com.macrofocus.labeling.EnhancedLabel.Rendering getLabelingRendering()
-
setLabelingRendering
public void setLabelingRendering(com.macrofocus.labeling.EnhancedLabel.Rendering rendering)
-
getLabelingMinimumCharactersToDisplayProperty
public MutableProperty<java.lang.Integer> getLabelingMinimumCharactersToDisplayProperty()
-
getLabelingMinimumCharactersToDisplay
public java.lang.Integer getLabelingMinimumCharactersToDisplay()
-
setLabelingMinimumCharactersToDisplay
public void setLabelingMinimumCharactersToDisplay(int minimumCharactersToDisplay)
-
getLabelingEffectOpacityProperty
public MutableProperty<java.lang.Float> getLabelingEffectOpacityProperty()
-
getLabelingEffectOpacity
public java.lang.Float getLabelingEffectOpacity()
-
setLabelingEffectOpacity
public void setLabelingEffectOpacity(java.lang.Float opacity)
-
getLabelingShrinkTextToFitShapeProperty
public MutableProperty<java.lang.Boolean> getLabelingShrinkTextToFitShapeProperty()
-
getLabelingShrinkTextToFitShape
public java.lang.Boolean getLabelingShrinkTextToFitShape()
-
setLabelingShrinkTextToFitShape
public void setLabelingShrinkTextToFitShape(java.lang.Boolean labelingShrinkTextToFitShape)
-
getLabelingResizeTextToFitShapeProperty
public MutableProperty<java.lang.Boolean> getLabelingResizeTextToFitShapeProperty()
-
getLabelingResizeTextToFitShape
public java.lang.Boolean getLabelingResizeTextToFitShape()
-
setLabelingResizeTextToFitShape
public void setLabelingResizeTextToFitShape(java.lang.Boolean labelingResizeTextToFitShape)
-
getLabelingFloatProperty
public MutableProperty<java.lang.Boolean> getLabelingFloatProperty()
-
getLabelingFloat
public java.lang.Boolean getLabelingFloat()
-
setLabelingFloat
public void setLabelingFloat(java.lang.Boolean labelingFloat)
-
getLabelingContrastEnhancementProperty
public MutableProperty<com.macrofocus.labeling.EnhancedLabel.ContrastEnhancement> getLabelingContrastEnhancementProperty()
-
getLabelingContrastEnhancement
public com.macrofocus.labeling.EnhancedLabel.ContrastEnhancement getLabelingContrastEnhancement()
-
setLabelingContrastEnhancement
public void setLabelingContrastEnhancement(com.macrofocus.labeling.EnhancedLabel.ContrastEnhancement contrastEnhancement)
-
getNestingAmountProperty
public MutableProperty<java.lang.Double> getNestingAmountProperty()
Description copied from interface:TreeMapFieldSettings
Returns the size of the nested areas.- Returns:
- the amount to be used
- See Also:
TreeMapFieldSettings.getNestingAmount()
-
getNestingAmount
public java.lang.Double getNestingAmount()
Returns the size of the nested areas.- Returns:
- the amount to be used
- See Also:
TreeMapFieldSettings.getNestingAmount()
-
setNestingAmount
public void setNestingAmount(java.lang.Double amount)
Sets the size of nested areas.- Parameters:
amount
- the amount to be used- See Also:
TreeMapFieldSettings.getNestingAmount()
-
getNestingBackgroundProperty
public MutableProperty<com.macrofocus.igraphics.CPColor<Color>> getNestingBackgroundProperty()
Description copied from interface:TreeMapFieldSettings
Returns the background color to use for drawing the nested areas.- Returns:
- the color to be used
- See Also:
TreeMapFieldSettings.getNestingBackground()
-
getNestingBackground
public com.macrofocus.igraphics.CPColor<Color> getNestingBackground()
Returns the background color to use for drawing the nested areas.- Returns:
- the color to be used
- See Also:
TreeMapFieldSettings.getNestingBackground()
-
setNestingBackground
public void setNestingBackground(com.macrofocus.igraphics.CPColor<Color> color)
Sets the background color to use for drawing the nested areas.- Parameters:
color
- the color to be used- See Also:
TreeMapFieldSettings.getNestingBackground()
-
getHeaderFontProperty
public MutableProperty<com.macrofocus.igraphics.CPFont<Font>> getHeaderFontProperty()
Description copied from interface:TreeMapFieldSettings
Returns the font used for labeling the headings.- Returns:
- the font to be used
- See Also:
TreeMapFieldSettings.getHeaderFont()
-
getHeaderFont
public com.macrofocus.igraphics.CPFont<Font> getHeaderFont()
Returns the font used for labeling the headings.- Returns:
- the font to be used
- See Also:
TreeMapFieldSettings.getHeaderFont()
-
setHeaderFont
public void setHeaderFont(com.macrofocus.igraphics.CPFont<Font> font)
Sets the font used for labeling the headings.- Parameters:
font
- the font to be used- See Also:
TreeMapFieldSettings.getHeaderFont()
-
getHeaderForegroundProperty
public MutableProperty<com.macrofocus.igraphics.CPColor<Color>> getHeaderForegroundProperty()
Description copied from interface:TreeMapFieldSettings
Returns the foreground color to use for drawing the headers.- Returns:
- the color to be used
- See Also:
TreeMapFieldSettings.getHeaderForeground()
-
getHeaderForeground
public com.macrofocus.igraphics.CPColor<Color> getHeaderForeground()
Returns the foreground color to use for drawing the headers.- Returns:
- the color to be used
- See Also:
TreeMapFieldSettings.getHeaderForeground()
-
setHeaderForeground
public void setHeaderForeground(com.macrofocus.igraphics.CPColor<Color> color)
Sets the foreground color to use for drawing the headers.- Parameters:
color
- the color to be used- See Also:
TreeMapFieldSettings.getHeaderForeground()
-
getHeaderBackgroundProperty
public MutableProperty<com.macrofocus.igraphics.CPColor<Color>> getHeaderBackgroundProperty()
Description copied from interface:TreeMapFieldSettings
Returns the background color to use for drawing the headers.- Returns:
- the color to be used
- See Also:
TreeMapFieldSettings.getHeaderBackground()
-
getHeaderBackground
public com.macrofocus.igraphics.CPColor<Color> getHeaderBackground()
Returns the background color to use for drawing the headers.- Returns:
- the color to be used
- See Also:
TreeMapFieldSettings.getHeaderBackground()
-
setHeaderBackground
public void setHeaderBackground(com.macrofocus.igraphics.CPColor<Color> color)
Sets the background color to use for drawing the headers.- Parameters:
color
- the color to be used- See Also:
TreeMapFieldSettings.getHeaderBackground()
-
getHeaderEffectColorProperty
public MutableProperty<com.macrofocus.igraphics.CPColor<Color>> getHeaderEffectColorProperty()
Description copied from interface:TreeMapFieldSettings
Returns the effect color to use for drawing the headers.- Returns:
- the color to be used
- See Also:
TreeMapFieldSettings.getHeaderEffectColor()
-
getHeaderEffectColor
public com.macrofocus.igraphics.CPColor<Color> getHeaderEffectColor()
Returns the effect color to use for drawing the headers.- Returns:
- the color to be used
- See Also:
TreeMapFieldSettings.getHeaderEffectColor()
-
setHeaderEffectColor
public void setHeaderEffectColor(com.macrofocus.igraphics.CPColor<Color> color)
Sets the background color to use for drawing the headers.- Parameters:
color
- the color to be used- See Also:
TreeMapFieldSettings.getHeaderEffectColor()
-
getHeaderEffectProperty
public MutableProperty<com.macrofocus.labeling.EnhancedLabel.Effect> getHeaderEffectProperty()
-
getHeaderEffect
public com.macrofocus.labeling.EnhancedLabel.Effect getHeaderEffect()
-
setHeaderEffect
public void setHeaderEffect(com.macrofocus.labeling.EnhancedLabel.Effect effect)
-
getHeaderHorizontalAlignmentProperty
public MutableProperty<java.lang.Integer> getHeaderHorizontalAlignmentProperty()
-
getHeaderHorizontalAlignment
public java.lang.Integer getHeaderHorizontalAlignment()
-
setHeaderHorizontalAlignment
public void setHeaderHorizontalAlignment(java.lang.Integer alignment)
-
getHeaderVerticalAlignmentProperty
public MutableProperty<java.lang.Integer> getHeaderVerticalAlignmentProperty()
-
getHeaderVerticalAlignment
public java.lang.Integer getHeaderVerticalAlignment()
-
setHeaderVerticalAlignment
public void setHeaderVerticalAlignment(java.lang.Integer alignment)
-
getHeaderRenderingProperty
public MutableProperty<com.macrofocus.labeling.EnhancedLabel.Rendering> getHeaderRenderingProperty()
-
getHeaderRendering
public com.macrofocus.labeling.EnhancedLabel.Rendering getHeaderRendering()
-
setHeaderRendering
public void setHeaderRendering(com.macrofocus.labeling.EnhancedLabel.Rendering rendering)
-
getHeaderMinimumCharactersToDisplayProperty
public MutableProperty<java.lang.Integer> getHeaderMinimumCharactersToDisplayProperty()
-
getHeaderMinimumCharactersToDisplay
public java.lang.Integer getHeaderMinimumCharactersToDisplay()
-
setHeaderMinimumCharactersToDisplay
public void setHeaderMinimumCharactersToDisplay(java.lang.Integer minimumCharactersToDisplay)
-
getHeaderEffectOpacityProperty
public MutableProperty<java.lang.Float> getHeaderEffectOpacityProperty()
-
getHeaderEffectOpacity
public java.lang.Float getHeaderEffectOpacity()
-
setHeaderEffectOpacity
public void setHeaderEffectOpacity(java.lang.Float opacity)
-
getHeaderInsetsProperty
public MutableProperty<java.awt.Insets> getHeaderInsetsProperty()
-
getHeaderInsets
public java.awt.Insets getHeaderInsets()
-
setHeaderInsets
public void setHeaderInsets(java.awt.Insets insets)
-
getTooltipFontProperty
public MutableProperty<com.macrofocus.igraphics.CPFont<Font>> getTooltipFontProperty()
Description copied from interface:TreeMapFieldSettings
Returns the font used for labeling the tooltips.- Returns:
- the font to be used
- See Also:
TreeMapFieldSettings.getTooltipFont()
-
getTooltipFont
public com.macrofocus.igraphics.CPFont<Font> getTooltipFont()
Returns the font used for labeling the tooltips.- Returns:
- the font to be used
- See Also:
TreeMapFieldSettings.getTooltipFont()
-
setTooltipFont
public void setTooltipFont(com.macrofocus.igraphics.CPFont<Font> font)
Sets the font used for labeling the tooltips.- Parameters:
font
- the font to be used- See Also:
TreeMapFieldSettings.getTooltipFont()
-
getTooltipForegroundProperty
public MutableProperty<com.macrofocus.igraphics.CPColor<Color>> getTooltipForegroundProperty()
Description copied from interface:TreeMapFieldSettings
Returns the foreground color to use for drawing the tooltips.- Returns:
- the color to be used
- See Also:
TreeMapFieldSettings.getTooltipForeground()
-
getTooltipForeground
public com.macrofocus.igraphics.CPColor<Color> getTooltipForeground()
Returns the foreground color to use for drawing the tooltips.- Returns:
- the color to be used
- See Also:
TreeMapFieldSettings.getTooltipForeground()
-
setTooltipForeground
public void setTooltipForeground(com.macrofocus.igraphics.CPColor<Color> color)
Sets the foreground color to use for drawing the tooltips.- Parameters:
color
- the color to be used- See Also:
TreeMapFieldSettings.getTooltipForeground()
-
getTooltipRenderingProperty
public MutableProperty<com.macrofocus.labeling.EnhancedLabel.Rendering> getTooltipRenderingProperty()
-
getTooltipRendering
public com.macrofocus.labeling.EnhancedLabel.Rendering getTooltipRendering()
-
setTooltipRendering
public void setTooltipRendering(com.macrofocus.labeling.EnhancedLabel.Rendering rendering)
-
getBorderColorProperty
public MutableProperty<com.macrofocus.igraphics.CPColor<Color>> getBorderColorProperty()
Description copied from interface:TreeMapFieldSettings
Returns the color to use for drawing the borders.- Returns:
- the color to be used
- See Also:
TreeMapFieldSettings.getBorderColor()
-
getBorderColor
public com.macrofocus.igraphics.CPColor<Color> getBorderColor()
Returns the color to use for drawing the borders.- Returns:
- the color to be used
- See Also:
TreeMapFieldSettings.getBorderColor()
-
setBorderColor
public void setBorderColor(com.macrofocus.igraphics.CPColor<Color> color)
Sets the color to use for drawing the borders.- Parameters:
color
- the color to be used- See Also:
TreeMapFieldSettings.getBorderColor()
-
getBorderThicknessInterval
public MutableBoundedInterval getBorderThicknessInterval()
Description copied from interface:TreeMapFieldSettings
Returns the thickness used for drawing the borders.- Returns:
- the height
- See Also:
TreeMapFieldSettings.getBorderThickness()
-
getBorderThicknessProperty
public MutableProperty<java.lang.Double> getBorderThicknessProperty()
-
getBorderThickness
public double getBorderThickness()
Returns the thickness used for drawing the borders.- Returns:
- the height
- See Also:
TreeMapFieldSettings.getBorderThickness()
-
setBorderThickness
public void setBorderThickness(double value)
Sets the thickness used for drawing the borders.- Parameters:
value
- the height- See Also:
TreeMapFieldSettings.getBorderThickness()
-
getShowLabelProperty
public MutableProperty<java.lang.Boolean> getShowLabelProperty()
Description copied from interface:TreeMapFieldSettings
Tells whether the label of the specified field should be shown in the popup.- Returns:
- true if it should be displayed, false otherwise.
-
getShowLabel
public boolean getShowLabel()
Tells whether the label of the specified field should be shown in the popup.- Returns:
- true if it should be displayed, false otherwise.
-
getFormatProperty
public MutableProperty<com.macrofocus.format.CPFormat> getFormatProperty()
Description copied from interface:TreeMapFieldSettings
Gets the format used to display values of the specified column.- Returns:
- the format to be used.
-
setShowLabel
public void setShowLabel(boolean show)
Sets whether the label of the specified field should be displayed or no in the popup.- Parameters:
show
- true if it should be displayed, false otherwise.
-
getFormat
public com.macrofocus.format.CPFormat getFormat()
Gets the format used to display values of the specified column.- Returns:
- the format to be used.
-
getColorMapProperty
public MutableProperty<com.macrofocus.colormap.MutableColorMap> getColorMapProperty()
Description copied from interface:TreeMapFieldSettings
Gets the color map for the specified column.- Returns:
- the color map to use.
-
setFormat
public void setFormat(com.macrofocus.format.CPFormat format)
Sets the format used to display values of the specified column.- Parameters:
format
- the format to be used.
-
getColorMap
public com.macrofocus.colormap.MutableColorMap getColorMap()
Gets the color map for the specified column.- Returns:
- the color map to use.
-
setColorMap
public void setColorMap(com.macrofocus.colormap.MutableColorMap colorMap)
Sets the color map to use for the specified column.- Parameters:
colorMap
- the colorMap to use.
-
getProperty
public java.lang.Object getProperty(java.lang.String key)
Gets the value of the specified property.- Parameters:
key
- the property name- Returns:
- the value
-
getPropertyOverride
public java.lang.Object getPropertyOverride(java.lang.String key)
Gets the value of the specified property. Only returns the overridden value, not the default value if it isn't overridden.- Parameters:
key
- the property name- Returns:
- the value
-
setProperty
public void setProperty(java.lang.String key, java.lang.Object value)
Sets the value of the specified property.- Specified by:
setProperty
in interfaceTreeMapFieldSettings<Color,Font>
- Overrides:
setProperty
in classAbstractTreeMapFieldSettings<Color,Font>
- Parameters:
key
- the property namevalue
- the value
-
setPropertyOverride
public void setPropertyOverride(java.lang.String key, java.lang.Object value)
-
reset
public void reset()
-
-