Interface HasLabelPositionable

    • Field Detail

      • LABEL_POSITION_ATTRIBUTE

        static final String LABEL_POSITION_ATTRIBUTE
        Attribute name that contains the selected label position value.
        See Also:
        Constant Field Values
      • LABEL_POSITION_DETAILS_ATTRIBUTE

        static final String LABEL_POSITION_DETAILS_ATTRIBUTE
        Attribute name that contains details of the label for easy styling.
        See Also:
        Constant Field Values
    • Method Detail

      • setLabelPosition

        default void setLabelPosition​(LabelPosition position)
        Sets the label position to a new one.
        Parameters:
        position - A position to use. Setting null will reset it to the default setting.
      • getLabelPosition

        default LabelPosition getLabelPosition()
        Returns current label position, if it has been set.
        Returns:
        A LabelPosition.