Interface LabelDisplayableComponent

    • Field Detail

      • ICON_DISPLAYED_PROPERTY

        static final java.lang.String ICON_DISPLAYED_PROPERTY
        The bound property of whether the icon is displayed or has no representation, taking up no space.
      • LABEL_DISPLAYED_PROPERTY

        static final java.lang.String LABEL_DISPLAYED_PROPERTY
        The bound property of whether the label is displayed or has no representation, taking up no space.
    • Method Detail

      • isIconDisplayed

        boolean isIconDisplayed()
        Returns:
        Whether the icon is displayed.
      • setIconDisplayed

        void setIconDisplayed​(boolean newIconDisplayed)
        Sets whether the icon is displayed. This is a bound property of type Boolean.
        Parameters:
        newIconDisplayed - true if the icon should be displayed, else false if the icon should not be displayed and take up no space.
        See Also:
        ICON_DISPLAYED_PROPERTY
      • isLabelDisplayed

        boolean isLabelDisplayed()
        Returns:
        Whether the label is displayed.
      • setLabelDisplayed

        void setLabelDisplayed​(boolean newLabelDisplayed)
        Sets whether the label is displayed. This is a bound property of type Boolean.
        Parameters:
        newLabelDisplayed - true if the label should be displayed, else false if the label should not be displayed and take up no space.
        See Also:
        LABEL_DISPLAYED_PROPERTY