Class DialogAction

    • Constructor Detail

      • DialogAction

        public DialogAction​(BaseComponent label,
                            BaseComponent tooltip,
                            int width)
        Creates a new DialogAction instance.
        Parameters:
        label - The text label of the button, mandatory.
        tooltip - The hover tooltip of the button.
        width - The width of the button (default: 150).
    • Method Detail

      • getLabel

        public BaseComponent getLabel()
        The text label of the button, mandatory.
      • getTooltip

        public BaseComponent getTooltip()
        The hover tooltip of the button.
      • getWidth

        public int getWidth()
        The width of the button (default: 150).
      • setLabel

        public void setLabel​(BaseComponent label)
        The text label of the button, mandatory.
      • setTooltip

        public void setTooltip​(BaseComponent tooltip)
        The hover tooltip of the button.
      • setWidth

        public void setWidth​(int width)
        The width of the button (default: 150).
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object