Class ToastrOptions<J extends ToastrOptions<J>>

java.lang.Object
com.jwebmp.core.htmlbuilder.javascript.JavaScriptPart<J>
com.jwebmp.plugins.toastr.ToastrOptions<J>
All Implemented Interfaces:
com.guicedee.guicedinjection.representations.ICopyable<J>, com.guicedee.guicedinjection.representations.IJsonRepresentation<J>, 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:
  • Constructor Details

    • ToastrOptions

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

    • getCloseButton

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

      @NotNull public J setCloseButton(Boolean closeButton)
    • getDebug

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

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

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

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

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

      @NotNull public J setProgressBar(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 Boolean getPreventDuplicates()
      Prevents duplicates
      Returns:
    • setPreventDuplicates

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

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

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

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

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

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

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

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

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

      public com.jwebmp.plugins.easingeffects.JQEasingEffects getShowEasing()
      Sets the easing effect
      Returns:
    • setShowEasing

      @NotNull public J setShowEasing(com.jwebmp.plugins.easingeffects.JQEasingEffects showEasing)
      Sets the easing effect
      Parameters:
      showEasing -
      Returns:
    • getHideEasing

      public com.jwebmp.plugins.easingeffects.JQEasingEffects getHideEasing()
      Hides the easing effect
      Returns:
    • setHideEasing

      @NotNull public J setHideEasing(com.jwebmp.plugins.easingeffects.JQEasingEffects hideEasing)
      Sets the hiding effect
      Parameters:
      hideEasing -
      Returns:
    • getShowMethod

      public com.jwebmp.plugins.easingeffects.JQEasingEffects getShowMethod()
      Sets the show effect
      Returns:
    • setShowMethod

      @NotNull public J setShowMethod(com.jwebmp.plugins.easingeffects.JQEasingEffects showMethod)
      Sets the show effect
      Parameters:
      showMethod -
      Returns:
    • getHideMethod

      public com.jwebmp.plugins.easingeffects.JQEasingEffects getHideMethod()
      Sets the hide effect
      Returns:
    • setHideMethod

      @NotNull public J setHideMethod(com.jwebmp.plugins.easingeffects.JQEasingEffects hideMethod)
      Sets the hide effect
      Parameters:
      hideMethod -
      Returns:
    • getEscapeHtml

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

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