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