Package com.treemap

Class OverridingTreeMapFieldSettings<Color,Font>

java.lang.Object
com.treemap.AbstractTreeMapFieldSettings<Color,Font>
com.treemap.OverridingTreeMapFieldSettings<Color,Font>
All Implemented Interfaces:
TreeMapFieldSettings<Color,Font>

public class OverridingTreeMapFieldSettings<Color,Font> extends AbstractTreeMapFieldSettings<Color,Font>
  • Constructor Details

  • Method Details

    • 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<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:
    • getAlgorithm

      public Algorithm getAlgorithm()
      Returns the algorithm to use to lay out the treemap.
      Returns:
      the algorithm to use
      See Also:
    • setAlgorithm

      public void setAlgorithm(Algorithm algorithm)
      Defines the algorithm to use to lay out the treemap.
      Parameters:
      algorithm - the algorithm to use
      See Also:
    • 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:
    • getAggregation

      public Aggregation getAggregation()
      Returns the aggregation scheme to use to aggregate values of the treemap.
      Returns:
      athe aggregation scheme to use
      See Also:
    • 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:
    • 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:
    • getScale

      public Scale getScale()
      Returns the scaling scheme to use to project values the treemap.
      Returns:
      the scale scheme to use
      See Also:
    • 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:
    • 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:
    • getNesting

      public Nesting getNesting()
      Returns the nesting to use to lay out the treemap.
      Returns:
      the nesting scheme to use
      See Also:
    • 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:
    • 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:
    • getOrdering

      public Ordering getOrdering()
      Returns the ordering to use to lay out the treemap.
      Returns:
      the ordering to use
      See Also:
    • setOrdering

      public void setOrdering(Ordering ordering)
      Defines the ordering to use to lay out the treemap.
      Parameters:
      ordering - the ordering to use
      See Also:
    • 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:
    • 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:
    • 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<Integer> getOrderingVerticalVanishingPointProperty()
    • getOrderingVerticalVanishingPoint

      public Integer getOrderingVerticalVanishingPoint()
    • setOrderingVerticalVanishingPoint

      public void setOrderingVerticalVanishingPoint(Integer verticalVanishingPoint)
    • getOrderingHorizontalVanishingPointProperty

      public MutableProperty<Integer> getOrderingHorizontalVanishingPointProperty()
    • getOrderingHorizontalVanishingPoint

      public Integer getOrderingHorizontalVanishingPoint()
    • setOrderingHorizontalVanishingPoint

      public void setOrderingHorizontalVanishingPoint(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:
    • getLabeling

      public Labeling getLabeling()
      Returns the labeling scheme to use to draw the treemap.
      Returns:
      the labeling scheme to use
      See Also:
    • 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:
    • 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:
    • getLabelingFont

      public com.macrofocus.igraphics.CPFont<Font> getLabelingFont()
      Returns the font used for labeling.
      Returns:
      the font to be used
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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<Integer> getLabelingHorizontalAlignmentProperty()
    • getLabelingHorizontalAlignment

      public int getLabelingHorizontalAlignment()
    • setLabelingHorizontalAlignment

      public void setLabelingHorizontalAlignment(int alignment)
    • getLabelingVerticalAlignmentProperty

      public MutableProperty<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<Integer> getLabelingMinimumCharactersToDisplayProperty()
    • getLabelingMinimumCharactersToDisplay

      public Integer getLabelingMinimumCharactersToDisplay()
    • setLabelingMinimumCharactersToDisplay

      public void setLabelingMinimumCharactersToDisplay(int minimumCharactersToDisplay)
    • getLabelingEffectOpacityProperty

      public MutableProperty<Float> getLabelingEffectOpacityProperty()
    • getLabelingEffectOpacity

      public Float getLabelingEffectOpacity()
    • setLabelingEffectOpacity

      public void setLabelingEffectOpacity(Float opacity)
    • getLabelingShrinkTextToFitShapeProperty

      public MutableProperty<Boolean> getLabelingShrinkTextToFitShapeProperty()
    • getLabelingShrinkTextToFitShape

      public Boolean getLabelingShrinkTextToFitShape()
    • setLabelingShrinkTextToFitShape

      public void setLabelingShrinkTextToFitShape(Boolean labelingShrinkTextToFitShape)
    • getLabelingResizeTextToFitShapeProperty

      public MutableProperty<Boolean> getLabelingResizeTextToFitShapeProperty()
    • getLabelingResizeTextToFitShape

      public Boolean getLabelingResizeTextToFitShape()
    • setLabelingResizeTextToFitShape

      public void setLabelingResizeTextToFitShape(Boolean labelingResizeTextToFitShape)
    • getLabelingFloatProperty

      public MutableProperty<Boolean> getLabelingFloatProperty()
    • getLabelingFloat

      public Boolean getLabelingFloat()
    • setLabelingFloat

      public void setLabelingFloat(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<Double> getNestingAmountProperty()
      Description copied from interface: TreeMapFieldSettings
      Returns the size of the nested areas.
      Returns:
      the amount to be used
      See Also:
    • getNestingAmount

      public Double getNestingAmount()
      Returns the size of the nested areas.
      Returns:
      the amount to be used
      See Also:
    • setNestingAmount

      public void setNestingAmount(Double amount)
      Sets the size of nested areas.
      Parameters:
      amount - the amount to be used
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • getHeaderFont

      public com.macrofocus.igraphics.CPFont<Font> getHeaderFont()
      Returns the font used for labeling the headings.
      Returns:
      the font to be used
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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<Integer> getHeaderHorizontalAlignmentProperty()
    • getHeaderHorizontalAlignment

      public Integer getHeaderHorizontalAlignment()
    • setHeaderHorizontalAlignment

      public void setHeaderHorizontalAlignment(Integer alignment)
    • getHeaderVerticalAlignmentProperty

      public MutableProperty<Integer> getHeaderVerticalAlignmentProperty()
    • getHeaderVerticalAlignment

      public Integer getHeaderVerticalAlignment()
    • setHeaderVerticalAlignment

      public void setHeaderVerticalAlignment(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<Integer> getHeaderMinimumCharactersToDisplayProperty()
    • getHeaderMinimumCharactersToDisplay

      public Integer getHeaderMinimumCharactersToDisplay()
    • setHeaderMinimumCharactersToDisplay

      public void setHeaderMinimumCharactersToDisplay(Integer minimumCharactersToDisplay)
    • getHeaderEffectOpacityProperty

      public MutableProperty<Float> getHeaderEffectOpacityProperty()
    • getHeaderEffectOpacity

      public Float getHeaderEffectOpacity()
    • setHeaderEffectOpacity

      public void setHeaderEffectOpacity(Float opacity)
    • getHeaderInsetsProperty

      public MutableProperty<com.macrofocus.igraphics.Insets> getHeaderInsetsProperty()
    • getHeaderInsets

      public com.macrofocus.igraphics.Insets getHeaderInsets()
    • setHeaderInsets

      public void setHeaderInsets(com.macrofocus.igraphics.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:
    • getTooltipFont

      public com.macrofocus.igraphics.CPFont<Font> getTooltipFont()
      Returns the font used for labeling the tooltips.
      Returns:
      the font to be used
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • getBorderThicknessInterval

      public MutableBoundedInterval getBorderThicknessInterval()
      Description copied from interface: TreeMapFieldSettings
      Returns the thickness used for drawing the borders.
      Returns:
      the height
      See Also:
    • getBorderThicknessProperty

      public MutableProperty<Double> getBorderThicknessProperty()
    • getBorderThickness

      public double getBorderThickness()
      Returns the thickness used for drawing the borders.
      Returns:
      the height
      See Also:
    • setBorderThickness

      public void setBorderThickness(double value)
      Sets the thickness used for drawing the borders.
      Parameters:
      value - the height
      See Also:
    • getShowLabelProperty

      public MutableProperty<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 Object getProperty(TreeMapFieldSettings.PropertyType key)
      Gets the value of the specified property.
      Parameters:
      key - the property name
      Returns:
      the value
    • getPropertyOverride

      public Object getPropertyOverride(TreeMapFieldSettings.PropertyType 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(TreeMapFieldSettings.PropertyType key, Object value)
      Sets the value of the specified property.
      Specified by:
      setProperty in interface TreeMapFieldSettings<Color,Font>
      Overrides:
      setProperty in class AbstractTreeMapFieldSettings<Color,Font>
      Parameters:
      key - the property name
      value - the value
    • setPropertyOverride

      public void setPropertyOverride(TreeMapFieldSettings.PropertyType key, Object value)
    • reset

      public void reset()