Interface IsDefaultToastOptions
- 
- All Known Implementing Classes:
- DefaultToastOptions,- ToastItemOptions,- ToastOptions
 
 public interface IsDefaultToastOptionsDefines the toast options container, and the static defaults.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IsDefaultActiongetAction()Returns the actions of the toast.default AligngetAlign()Returns the alignment of the toast actions.default intgetBorderRadius()Returns the border radius (in pixels) of toast container.default ImggetIcon()Returns the icon image set for toast.IsDefaultContentElementgetLabel()Returns the label of the toast.default ModifierKeygetModifierKey()Returns the modifier key to close the toast by clicking on it.default intgetProgressBarHeight()Returns the height (in pixels) of the toast progress bar.default IsProgressBarTypegetProgressBarType()Returns the type of the toast progress bar.default StringgetText()Returns the text of the toast.default intgetTimeout()Returns how long the toast notification should last.IsDefaultContentElementgetTitle()Returns the title of the toast.default IsToastTypegetType()Returns the type of the toast.default booleanisAutoHide()Returns whether to make the toast notification sticky, which means that the toast notification will never auto dismiss until clicked.default booleanisHideProgressBar()Returnstruewhether to hide the progress bar.default booleanisHideShadow()Returnstruewhether to hide the shadow of toast.
 
- 
- 
- 
Method Detail- 
getTitleIsDefaultContentElement getTitle() Returns the title of the toast.- Returns:
- the title of the toast
 
 - 
getLabelIsDefaultContentElement getLabel() Returns the label of the toast.- Returns:
- the label of the toast
 
 - 
getActionIsDefaultAction getAction() Returns the actions of the toast.- Returns:
- the actions of the toast
 
 - 
getAligndefault Align getAlign() Returns the alignment of the toast actions.- Returns:
- the alignment of the toast actions
 
 - 
getTextdefault String getText() Returns the text of the toast.- Returns:
- the text of the toast
 
 - 
getTypedefault IsToastType getType() Returns the type of the toast.- Returns:
- the type of the toast
 
 - 
getProgressBarTypedefault IsProgressBarType getProgressBarType() Returns the type of the toast progress bar.- Returns:
- the type of the toast progress bar
 
 - 
getProgressBarHeightdefault int getProgressBarHeight() Returns the height (in pixels) of the toast progress bar.- Returns:
- the height (in pixels) of the toast progress bar
 
 - 
isHideProgressBardefault boolean isHideProgressBar() Returnstruewhether to hide the progress bar.- Returns:
- truewhether to hide the progress bar
 
 - 
isHideShadowdefault boolean isHideShadow() Returnstruewhether to hide the shadow of toast.- Returns:
- truewhether to hide the shadow of toast
 
 - 
isAutoHidedefault boolean isAutoHide() Returns whether to make the toast notification sticky, which means that the toast notification will never auto dismiss until clicked.- Returns:
- whether to make the toast notification sticky, which means that the toast notification will never auto dismiss until clicked
 
 - 
getTimeoutdefault int getTimeout() Returns how long the toast notification should last.- Returns:
- how long the toast notification should last
 
 - 
getBorderRadiusdefault int getBorderRadius() Returns the border radius (in pixels) of toast container.- Returns:
- the border radius (in pixels) of toast container
 
 - 
getIcondefault Img getIcon() Returns the icon image set for toast.- Returns:
- the icon image set for toast
 
 - 
getModifierKeydefault ModifierKey getModifierKey() Returns the modifier key to close the toast by clicking on it.- Returns:
- the modifier key to close the toast by clicking on it
 
 
- 
 
-