Class ViewLabelProperties


  • public final class ViewLabelProperties
    extends java.lang.Object
    Represents the labeling properties for a MapView. The properties allow for labels and animations to be enabled or disabled in the view.
    Since:
    100.4.0
    • Constructor Summary

      Constructors 
      Constructor Description
      ViewLabelProperties()
      Creates a new ViewLabelProperties instance.
      ViewLabelProperties​(boolean animationEnabled, boolean labelingEnabled)
      Creates a new ViewLabelProperties instance with the given animation and labeling enabled values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isAnimationEnabled()
      Gets whether animation is enabled for labels in the view.
      boolean isLabelingEnabled()
      Gets whether labels are enabled in the view.
      void setAnimationEnabled​(boolean animationEnabled)
      Sets whether animation is enabled for labels in the view.
      void setLabelingEnabled​(boolean labelingEnabled)
      Sets whether labels are enabled in the view.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ViewLabelProperties

        public ViewLabelProperties()
        Creates a new ViewLabelProperties instance. The defaults are:
        • LabelingEnabled = true
        • AnimationEnabled = false
        Since:
        100.4.0
      • ViewLabelProperties

        public ViewLabelProperties​(boolean animationEnabled,
                                   boolean labelingEnabled)
        Creates a new ViewLabelProperties instance with the given animation and labeling enabled values.
        Parameters:
        animationEnabled - true to enable animations, false otherwise
        labelingEnabled - true to enable labels, false otherwise
        Since:
        100.4.0
    • Method Detail

      • isAnimationEnabled

        public boolean isAnimationEnabled()
        Gets whether animation is enabled for labels in the view. Default is false.
        Returns:
        true if animation is enabled, false otherwise.
        Since:
        100.4.0
      • setAnimationEnabled

        public void setAnimationEnabled​(boolean animationEnabled)
        Sets whether animation is enabled for labels in the view.
        Parameters:
        animationEnabled - true to enable animation, false otherwise
        Since:
        100.4.0
      • isLabelingEnabled

        public boolean isLabelingEnabled()
        Gets whether labels are enabled in the view.
        Returns:
        true if labels are enabled, false otherwise
        Since:
        100.4.0
      • setLabelingEnabled

        public void setLabelingEnabled​(boolean labelingEnabled)
        Sets whether labels are enabled in the view.
        Parameters:
        labelingEnabled - true to enable labels, false otherwise.
        Since:
        100.4.0