public class ToastrOptions<J extends ToastrOptions<J>>
extends com.jwebmp.core.htmlbuilder.javascript.JavaScriptPart<J>
| Constructor and Description |
|---|
ToastrOptions()
Constructs a new toastr options object
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getCloseButton()
If the close button is being used
|
java.lang.Boolean |
getDebug()
Returns if is in debug mode
|
java.lang.Boolean |
getEscapeHtml()
If the message and title should escape HTML
|
java.lang.Integer |
getExtendedTimeOut()
Gets the extended timeout
|
java.lang.Integer |
getHideDuration()
Sets hide duration
|
JQEasingEffects |
getHideEasing()
Hides the easing effect
|
JQEasingEffects |
getHideMethod()
Sets the hide effect
|
java.lang.Boolean |
getNewestOnTop()
If newest is on top
|
ToastrPosition |
getPositionClass()
Gets the position class
|
java.lang.Boolean |
getPreventDuplicates()
Prevents duplicates
|
java.lang.Boolean |
getProgressBar()
Sets the progress bar
|
java.lang.Integer |
getShowDuration()
Sets show duration
|
JQEasingEffects |
getShowEasing()
Sets the easing effect
|
JQEasingEffects |
getShowMethod()
Sets the show effect
|
java.lang.Integer |
getTimeOut()
Gets the timeout
|
J |
setCloseButton(java.lang.Boolean closeButton) |
J |
setDebug(java.lang.Boolean debug)
Sets debug mode
|
J |
setEscapeHtml(java.lang.Boolean escapeHtml)
If the message and title should escape HTML
|
J |
setExtendedTimeOut(java.lang.Integer extendedTimeOut)
Sets the extended time out
|
J |
setHideDuration(java.lang.Integer hideDuration)
Sets hide duration
|
J |
setHideEasing(JQEasingEffects hideEasing)
Sets the hiding effect
|
J |
setHideMethod(JQEasingEffects hideMethod)
Sets the hide effect
|
J |
setNewestOnTop(java.lang.Boolean newestOnTop)
Sets if newest is on top
|
J |
setPositionClass(ToastrPosition positionClass)
Sets the position class
|
J |
setPreventDuplicates(java.lang.Boolean preventDuplicates)
Sets prevents duplicates
|
J |
setProgressBar(java.lang.Boolean progressBar)
Sets the progress bar
|
J |
setShowDuration(java.lang.Integer showDuration)
Sets show duration
|
J |
setShowEasing(JQEasingEffects showEasing)
Sets the easing effect
|
J |
setShowMethod(JQEasingEffects showMethod)
Sets the show effect
|
J |
setTimeOut(java.lang.Integer timeOut)
Sets the timeout
|
destroy, From, From, From, From, From, FromToList, FromToList, FromToList, FromToList, FromToList, getFunctionObjectMapper, getJavascriptObjectMapper, getJavascriptObjectReader, getJavascriptType, getJsonObjectMapper, getJsonObjectReader, getReferenceId, init, isConfigured, isInitialized, isRenderEmptyBraces, objectAsString, preConfigure, render, setReferenceId, setRenderEmptyBraces, toAttributes, toString, toStringpublic java.lang.Boolean getCloseButton()
@NotNull public J setCloseButton(java.lang.Boolean closeButton)
public java.lang.Boolean getDebug()
@NotNull public J setDebug(java.lang.Boolean debug)
debug - public java.lang.Boolean getNewestOnTop()
@NotNull public J setNewestOnTop(java.lang.Boolean newestOnTop)
newestOnTop - public java.lang.Boolean getProgressBar()
@NotNull public J setProgressBar(java.lang.Boolean progressBar)
progressBar - public ToastrPosition getPositionClass()
@NotNull public J setPositionClass(ToastrPosition positionClass)
positionClass - public java.lang.Boolean getPreventDuplicates()
@NotNull public J setPreventDuplicates(java.lang.Boolean preventDuplicates)
preventDuplicates - public java.lang.Integer getShowDuration()
@NotNull public J setShowDuration(java.lang.Integer showDuration)
showDuration - public java.lang.Integer getHideDuration()
@NotNull public J setHideDuration(java.lang.Integer hideDuration)
hideDuration - public java.lang.Integer getTimeOut()
@NotNull public J setTimeOut(java.lang.Integer timeOut)
timeOut - public java.lang.Integer getExtendedTimeOut()
@NotNull public J setExtendedTimeOut(java.lang.Integer extendedTimeOut)
extendedTimeOut - public JQEasingEffects getShowEasing()
@NotNull public J setShowEasing(JQEasingEffects showEasing)
showEasing - public JQEasingEffects getHideEasing()
@NotNull public J setHideEasing(JQEasingEffects hideEasing)
hideEasing - public JQEasingEffects getShowMethod()
@NotNull public J setShowMethod(JQEasingEffects showMethod)
showMethod - public JQEasingEffects getHideMethod()
@NotNull public J setHideMethod(JQEasingEffects hideMethod)
hideMethod - public java.lang.Boolean getEscapeHtml()
@NotNull public J setEscapeHtml(java.lang.Boolean escapeHtml)
escapeHtml - Copyright © 2020 Marc Magon. All rights reserved.