Documentation of 'org.opengis.go.display.style.LabelPlacement' Java class
LabelPlacement
org.opengis.go.display.style

Interface LabelPlacement



  • public interface LabelPlacement
    Encapsulates the label placement attributes that can be applied to any text Graphic.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String LABEL
      Label attribute name.
      static java.lang.String ROTATION
      Label rotation attribute name.
      static java.lang.String SHOW_LABEL
      Show label attribute name.
      static java.lang.String XANCHOR
      Label X anchor attribute name.
      static java.lang.String XDISPLACEMENT
      Label X displacementattribute name.
      static java.lang.String YANCHOR
      Label Y anchor attribute name.
      static java.lang.String YDISPLACEMENT
      Label Y displacement attribute name.
    • Field Detail

      • ROTATION

        static final java.lang.String ROTATION
        Label rotation attribute name.
        See Also:
        Constant Field Values
      • XANCHOR

        static final java.lang.String XANCHOR
        Label X anchor attribute name.
        See Also:
        Constant Field Values
      • XDISPLACEMENT

        static final java.lang.String XDISPLACEMENT
        Label X displacementattribute name.
        See Also:
        Constant Field Values
      • YANCHOR

        static final java.lang.String YANCHOR
        Label Y anchor attribute name.
        See Also:
        Constant Field Values
      • YDISPLACEMENT

        static final java.lang.String YDISPLACEMENT
        Label Y displacement attribute name.
        See Also:
        Constant Field Values
      • SHOW_LABEL

        static final java.lang.String SHOW_LABEL
        Show label attribute name.
        See Also:
        Constant Field Values
    • Method Detail

      • getLabel

        java.lang.String getLabel()
        Returns the label.
        Returns:
        the label.
      • isLabelSet

        boolean isLabelSet()
        Returns whether the label has been set.
        Returns:
        true if the label has been set, false otherwise.
      • setLabel

        void setLabel(java.lang.String label)
        Sets the label.
        Parameters:
        label - the label.
      • setLabelSet

        void setLabelSet(boolean flag)
        Sets the fact that the label has been set.
        Parameters:
        flag - true if the label has been set, false otherwise.
      • getRotation

        float getRotation()
        Returns the label rotation.
        Returns:
        the label rotation.
      • isRotationSet

        boolean isRotationSet()
        Returns whether the label rotation has been set.
        Returns:
        true if the label rotation has been set, false otherwise.
      • setRotation

        void setRotation(float labelRotation)
        Sets the label rotation.
        Parameters:
        labelRotation - the label rotation.
      • setRotationSet

        void setRotationSet(boolean flag)
        Sets the fact that the label rotation has been set.
        Parameters:
        flag - true if the label rotation has been set, false otherwise.
      • getXAnchor

        XAnchor getXAnchor()
        Returns the label XAnchor.
        Returns:
        the label XAnchor.
      • isXAnchorSet

        boolean isXAnchorSet()
        Returns whether the label XAnchor has been set.
        Returns:
        true if the label XAnchor has been set, false otherwise.
      • setXAnchor

        void setXAnchor(XAnchor labelXAnchor)
        Sets the label XAnchor.
        Parameters:
        labelXAnchor - the label XAnchor.
      • setXAnchorSet

        void setXAnchorSet(boolean flag)
        Sets the fact that the label XAnchor has been set.
        Parameters:
        flag - true if the label XAnchor has been set, false otherwise.
      • getXDisplacement

        float getXDisplacement()
        Returns the label X displacement.
        Returns:
        the label X displacement.
      • isXDisplacementSet

        boolean isXDisplacementSet()
        Returns whether the label X displacement has been set.
        Returns:
        true if the label X displacement has been set, false otherwise.
      • setXDisplacement

        void setXDisplacement(float labelXDisplacement)
        Sets the label X displacement.
        Parameters:
        labelXDisplacement - the label X displacement.
      • setXDisplacementSet

        void setXDisplacementSet(boolean flag)
        Sets the fact that the label X displacement has been set.
        Parameters:
        flag - true if the label X displacement has been set, false otherwise.
      • getYAnchor

        YAnchor getYAnchor()
        Returns the label YAnchor.
        Returns:
        the label YAnchor.
      • isYAnchorSet

        boolean isYAnchorSet()
        Returns whether the label YAnchor has been set.
        Returns:
        true if the label YAnchor has been set, false otherwise.
      • setYAnchor

        void setYAnchor(YAnchor labelYAnchor)
        Sets the label YAnchor.
        Parameters:
        labelYAnchor - the label YAnchor.
      • setYAnchorSet

        void setYAnchorSet(boolean flag)
        Sets the fact that the label YAnchor has been set.
        Parameters:
        flag - true if the label YAnchor has been set, false otherwise.
      • getYDisplacement

        float getYDisplacement()
        Returns the label Y displacement.
        Returns:
        the label Y displacement.
      • isYDisplacementSet

        boolean isYDisplacementSet()
        Returns whether the label Y displacement has been set.
        Returns:
        true if the label Y displacement has been set, false otherwise.
      • setYDisplacement

        void setYDisplacement(float labelYDisplacement)
        Sets the label Y displacement.
        Parameters:
        labelYDisplacement - the label Y displacement.
      • setYDisplacementSet

        void setYDisplacementSet(boolean flag)
        Sets the fact that the label Y displacement has been set.
        Parameters:
        flag - true if the label Y displacement has been set, false otherwise.
      • getShowLabel

        boolean getShowLabel()
        Returns the show label.
        Returns:
        the show label.
      • isShowLabelSet

        boolean isShowLabelSet()
        Returns whether the show label has been set.
        Returns:
        true if the show label has been set, false otherwise.
      • setShowLabel

        void setShowLabel(boolean showLabel)
        Sets the show label.
        Parameters:
        showLabel - the show label.
      • setShowLabelSet

        void setShowLabelSet(boolean flag)
        Sets the fact that the show label has been set.
        Parameters:
        flag - true if the show label has been set, false otherwise.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.