Class ToastrOptions<J extends ToastrOptions<J>>

  • All Implemented Interfaces:
    java.io.Serializable

    public class ToastrOptions<J extends ToastrOptions<J>>
    extends com.jwebmp.core.htmlbuilder.javascript.JavaScriptPart<J>
    All the options available for Toastr
    Since:
    09 Jun 2017
    Author:
    GedMarc
    See Also:
    Serialized Form
    • Constructor Detail

      • ToastrOptions

        public ToastrOptions()
        Constructs a new toastr options object
    • Method Detail

      • getCloseButton

        public java.lang.Boolean getCloseButton()
        If the close button is being used
        Returns:
      • setCloseButton

        @NotNull
        public J setCloseButton​(java.lang.Boolean closeButton)
      • getDebug

        public java.lang.Boolean getDebug()
        Returns if is in debug mode
        Returns:
      • setDebug

        @NotNull
        public J setDebug​(java.lang.Boolean debug)
        Sets debug mode
        Parameters:
        debug -
        Returns:
      • getNewestOnTop

        public java.lang.Boolean getNewestOnTop()
        If newest is on top
        Returns:
      • setNewestOnTop

        @NotNull
        public J setNewestOnTop​(java.lang.Boolean newestOnTop)
        Sets if newest is on top
        Parameters:
        newestOnTop -
        Returns:
      • getProgressBar

        public java.lang.Boolean getProgressBar()
        Sets the progress bar
        Returns:
      • setProgressBar

        @NotNull
        public J setProgressBar​(java.lang.Boolean progressBar)
        Sets the progress bar
        Parameters:
        progressBar -
        Returns:
      • getPositionClass

        public ToastrPosition getPositionClass()
        Gets the position class
        Returns:
      • setPositionClass

        @NotNull
        public J setPositionClass​(ToastrPosition positionClass)
        Sets the position class
        Parameters:
        positionClass -
        Returns:
      • getPreventDuplicates

        public java.lang.Boolean getPreventDuplicates()
        Prevents duplicates
        Returns:
      • setPreventDuplicates

        @NotNull
        public J setPreventDuplicates​(java.lang.Boolean preventDuplicates)
        Sets prevents duplicates
        Parameters:
        preventDuplicates -
        Returns:
      • getShowDuration

        public java.lang.Integer getShowDuration()
        Sets show duration
        Returns:
      • setShowDuration

        @NotNull
        public J setShowDuration​(java.lang.Integer showDuration)
        Sets show duration
        Parameters:
        showDuration -
        Returns:
      • getHideDuration

        public java.lang.Integer getHideDuration()
        Sets hide duration
        Returns:
      • setHideDuration

        @NotNull
        public J setHideDuration​(java.lang.Integer hideDuration)
        Sets hide duration
        Parameters:
        hideDuration -
        Returns:
      • getTimeOut

        public java.lang.Integer getTimeOut()
        Gets the timeout
        Returns:
      • setTimeOut

        @NotNull
        public J setTimeOut​(java.lang.Integer timeOut)
        Sets the timeout
        Parameters:
        timeOut -
        Returns:
      • getExtendedTimeOut

        public java.lang.Integer getExtendedTimeOut()
        Gets the extended timeout
        Returns:
      • setExtendedTimeOut

        @NotNull
        public J setExtendedTimeOut​(java.lang.Integer extendedTimeOut)
        Sets the extended time out
        Parameters:
        extendedTimeOut -
        Returns:
      • getShowEasing

        public JQEasingEffects getShowEasing()
        Sets the easing effect
        Returns:
      • setShowEasing

        @NotNull
        public J setShowEasing​(JQEasingEffects showEasing)
        Sets the easing effect
        Parameters:
        showEasing -
        Returns:
      • getHideEasing

        public JQEasingEffects getHideEasing()
        Hides the easing effect
        Returns:
      • setHideEasing

        @NotNull
        public J setHideEasing​(JQEasingEffects hideEasing)
        Sets the hiding effect
        Parameters:
        hideEasing -
        Returns:
      • getShowMethod

        public JQEasingEffects getShowMethod()
        Sets the show effect
        Returns:
      • setShowMethod

        @NotNull
        public J setShowMethod​(JQEasingEffects showMethod)
        Sets the show effect
        Parameters:
        showMethod -
        Returns:
      • getHideMethod

        public JQEasingEffects getHideMethod()
        Sets the hide effect
        Returns:
      • setHideMethod

        @NotNull
        public J setHideMethod​(JQEasingEffects hideMethod)
        Sets the hide effect
        Parameters:
        hideMethod -
        Returns:
      • getEscapeHtml

        public java.lang.Boolean getEscapeHtml()
        If the message and title should escape HTML
        Returns:
      • setEscapeHtml

        @NotNull
        public J setEscapeHtml​(java.lang.Boolean escapeHtml)
        If the message and title should escape HTML
        Parameters:
        escapeHtml -
        Returns: