Class Action

    • Method Detail

      • setBackgroundColor

        public final void setBackgroundColor​(IsColor backgroundColor)
        Sets the background color.
        Parameters:
        backgroundColor - the background color.
      • setBackgroundColor

        public final void setBackgroundColor​(String backgroundColor)
        Sets the background color.
        Parameters:
        backgroundColor - the background color.
      • getBackgroundColor

        public final IsColor getBackgroundColor()
        Returns the background color.
        Returns:
        the background color.
      • setBorderWidth

        public final void setBorderWidth​(int borderWidth)
        Sets the border width.
        Parameters:
        borderWidth - the border width.
      • getBorderWidth

        public final int getBorderWidth()
        Returns the border width.
        Specified by:
        getBorderWidth in interface IsDefaultAction
        Returns:
        the border width.
      • setBorderColor

        public final void setBorderColor​(IsColor borderColor)
        Sets the border color.
        Parameters:
        borderColor - the border color.
      • setBorderColor

        public final void setBorderColor​(String borderColor)
        Sets the border color.
        Parameters:
        borderColor - the border color.
      • getBorderColor

        public final IsColor getBorderColor()
        Returns the border color.
        Returns:
        the border color.
      • setBorderRadius

        public final void setBorderRadius​(int borderRadius)
        Sets the border radius (in pixels) of toast action.
        Parameters:
        borderRadius - the border radius (in pixels) of toast action
      • getBorderRadius

        public final int getBorderRadius()
        Returns the border radius (in pixels).
        Specified by:
        getBorderRadius in interface IsDefaultAction
        Returns:
        the border radius (in pixels).
      • setBorderStyle

        public final void setBorderStyle​(BorderStyle style)
        Sets the border style for the action element.
        Parameters:
        style - the border style for the action element.
      • getBorderStyle

        public final BorderStyle getBorderStyle()
        Returns the border style for the action element.
        Specified by:
        getBorderStyle in interface IsDefaultAction
        Returns:
        the border style for the action element
      • getFontContainer

        public final FontContainer getFontContainer()
        Description copied from interface: HasFont
        Returns a font container instance to use in the default methods of this interface.
        Specified by:
        getFontContainer in interface HasFont
        Returns:
        a font container instance