public class ToastrFeature<J extends ToastrFeature<J>> extends com.jwebmp.core.Feature<J,ToastrOptions,J>
| Constructor and Description |
|---|
ToastrFeature() |
ToastrFeature(java.lang.String message)
Constructs with a given message
|
ToastrFeature(java.lang.String title,
java.lang.String message)
Constructs a new feature with title and message
|
ToastrFeature(ToastrType type,
java.lang.String title,
java.lang.String message)
Constructs a complete feature
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
assignFunctionsToComponent() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMessage()
Returns the message of the toaster
|
@NotNull ToastrOptions |
getOptions()
Returns the options
|
java.lang.String |
getTitle()
Returns the title of the toastr
|
@NotNull ToastrType |
getType()
Returns the type for the toastr
|
int |
hashCode() |
J |
setMessage(java.lang.String message)
Sets the message of the toaster
|
J |
setTitle(java.lang.String title)
Sets the title of the toastr
|
J |
setType(ToastrType type)
Sets the type for the toastr
|
addFeature, addQuery, addVariable, asFeatureBase, checkAssignedFunctions, compare, compareTo, destroy, getComponent, getCssReferencesAll, getFeatures, getJavascriptReferencesAll, getName, getPriority, getQueries, getQueriesAll, getSortOrder, getVariables, isJavascriptRenderedElsewhere, isRenderAfterLoad, removeFeature, removeVariable, renderJavascript, scriptAvailable, setJavascriptRenderedElsewhere, setName, setPriority, setRenderAfterLoad, setSortOrder, setTiny, toStringaddCssReference, addJavaScriptReference, asDependancyBase, cloneComponent, getCssReferences, getCssReferencesAll, getJavascriptReferences, getJavascriptReferencesAll, removeCssReference, removeJavaScriptReferenceasBase, getClassCanonicalName, getComponentClass, getComponentType, getID, getID, getJQueryID, getNewLine, getProperties, getProperty, getText, getText, getText, hasProperty, init, isConfigured, isInitialized, isTiny, isTouched, preConfigure, setComponentType, setConfigured, setID, setInitialized, setProperties, setText, setText, setTouchedclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddFeature, addVariable, checkAssignedFunctions, getComponent, getCssReferencesAll, getFeatures, getJavascriptReferencesAll, getName, getPriority, getQueriesAll, getSortOrder, getVariables, isRenderAfterLoad, removeFeature, removeVariable, renderJavascript, scriptAvailablepublic ToastrFeature(java.lang.String message)
message - public ToastrFeature()
public ToastrFeature(java.lang.String title,
java.lang.String message)
title - message - public ToastrFeature(ToastrType type, java.lang.String title, java.lang.String message)
type - title - message - public int hashCode()
hashCode in class com.jwebmp.core.Feature<J extends ToastrFeature<J>,ToastrOptions,J extends ToastrFeature<J>>public boolean equals(java.lang.Object obj)
equals in interface java.util.Comparator<J extends ToastrFeature<J>>equals in class com.jwebmp.core.Feature<J extends ToastrFeature<J>,ToastrOptions,J extends ToastrFeature<J>>@NotNull public @NotNull ToastrOptions getOptions()
getOptions in interface com.jwebmp.core.base.interfaces.IComponentFeatureBase<J extends ToastrFeature<J>,J extends ToastrFeature<J>>getOptions in class com.jwebmp.core.Feature<J extends ToastrFeature<J>,ToastrOptions,J extends ToastrFeature<J>>protected void assignFunctionsToComponent()
assignFunctionsToComponent in class com.jwebmp.core.Feature<J extends ToastrFeature<J>,ToastrOptions,J extends ToastrFeature<J>>@NotNull public @NotNull ToastrType getType()
@NotNull public J setType(ToastrType type)
type - public java.lang.String getMessage()
public java.lang.String getTitle()
@NotNull public J setTitle(java.lang.String title)
title - @NotNull public J setMessage(java.lang.String message)
message - Copyright © 2020 Marc Magon. All rights reserved.