public interface IsDefaultToastOptions
Modifier and Type | Method and Description |
---|---|
IsDefaultAction |
getAction()
Returns the actions of the toast.
|
default Align |
getAlign()
Returns the alignment of the toast actions.
|
default int |
getBorderRadius()
Returns the border radius (in pixels) of toast container.
|
default Img |
getIcon()
Returns the icon image set for toast.
|
IsDefaultContentElement |
getLabel()
Returns the label of the toast.
|
default ModifierKey |
getModifierKey()
Returns the modifier key to close the toast by clicking on it.
|
default int |
getProgressBarHeight()
Returns the height (in pixels) of the toast progress bar.
|
default IsProgressBarType |
getProgressBarType()
Returns the type of the toast progress bar.
|
default String |
getText()
Returns the text of the toast.
|
default int |
getTimeout()
Returns how long the toast notification should last.
|
IsDefaultContentElement |
getTitle()
Returns the title of the toast.
|
default IsToastType |
getType()
Returns the type of the toast.
|
default boolean |
isAutoHide()
Returns whether to make the toast notification sticky, which means that the toast notification will never auto dismiss until clicked.
|
default boolean |
isHideProgressBar()
Returns
true whether to hide the progress bar. |
default boolean |
isHideShadow()
Returns
true whether to hide the shadow of toast. |
IsDefaultContentElement getTitle()
IsDefaultContentElement getLabel()
IsDefaultAction getAction()
default Align getAlign()
default String getText()
default IsToastType getType()
default IsProgressBarType getProgressBarType()
default int getProgressBarHeight()
default boolean isHideProgressBar()
true
whether to hide the progress bar.true
whether to hide the progress bardefault boolean isHideShadow()
true
whether to hide the shadow of toast.true
whether to hide the shadow of toastdefault boolean isAutoHide()
default int getTimeout()
default int getBorderRadius()
default Img getIcon()
default ModifierKey getModifierKey()