Interface IsDefaultToastOptions

    • Method Detail

      • getAction

        IsDefaultAction getAction()
        Returns the actions of the toast.
        Returns:
        the actions of the toast
      • getAlign

        default Align getAlign()
        Returns the alignment of the toast actions.
        Returns:
        the alignment of the toast actions
      • getText

        default String getText()
        Returns the text of the toast.
        Returns:
        the text of the toast
      • getType

        default IsToastType getType()
        Returns the type of the toast.
        Returns:
        the type of the toast
      • getProgressBarType

        default IsProgressBarType getProgressBarType()
        Returns the type of the toast progress bar.
        Returns:
        the type of the toast progress bar
      • getProgressBarHeight

        default int getProgressBarHeight()
        Returns the height (in pixels) of the toast progress bar.
        Returns:
        the height (in pixels) of the toast progress bar
      • isHideProgressBar

        default boolean isHideProgressBar()
        Returns true whether to hide the progress bar.
        Returns:
        true whether to hide the progress bar
      • isHideShadow

        default boolean isHideShadow()
        Returns true whether to hide the shadow of toast.
        Returns:
        true whether to hide the shadow of toast
      • isAutoHide

        default boolean isAutoHide()
        Returns whether to make the toast notification sticky, which means that the toast notification will never auto dismiss until clicked.
        Returns:
        whether to make the toast notification sticky, which means that the toast notification will never auto dismiss until clicked
      • getTimeout

        default int getTimeout()
        Returns how long the toast notification should last.
        Returns:
        how long the toast notification should last
      • getBorderRadius

        default int getBorderRadius()
        Returns the border radius (in pixels) of toast container.
        Returns:
        the border radius (in pixels) of toast container
      • getIcon

        default Img getIcon()
        Returns the icon image set for toast.
        Returns:
        the icon image set for toast
      • getModifierKey

        default ModifierKey getModifierKey()
        Returns the modifier key to close the toast by clicking on it.
        Returns:
        the modifier key to close the toast by clicking on it