Class OverridingTreeMapFieldSettings<Color,​Font>

    • Method Detail

      • 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
      • 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
      • 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)
      • 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)
      • 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()
      • 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()
      • 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()
      • 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()
      • 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()
      • 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)
      • 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()
      • 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)
      • 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()
      • getBorderThicknessProperty

        public MutableProperty<java.lang.Double> getBorderThicknessProperty()
      • 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
      • setPropertyOverride

        public void setPropertyOverride​(java.lang.String key,
                                        java.lang.Object value)
      • reset

        public void reset()