Interface IsDefaultAction
-
- All Superinterfaces:
IsDefaultContentElement,IsDefaultFontContainer
- All Known Implementing Classes:
Action,ActionItem
public interface IsDefaultAction extends IsDefaultContentElement
Interface to define toast action object defaults.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBackgroundColorAsString()Returns the background color.StringgetBorderColorAsString()Returns the border color.intgetBorderRadius()Returns the border radius (in pixels).BorderStylegetBorderStyle()Returns the border styles set for the action element.intgetBorderWidth()Returns the border width.-
Methods inherited from interface org.pepstock.charba.client.utils.toast.IsDefaultContentElement
getColorAsString
-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultFontContainer
getFont
-
-
-
-
Method Detail
-
getBackgroundColorAsString
String getBackgroundColorAsString()
Returns the background color.- Returns:
- the background color.
-
getBorderWidth
int getBorderWidth()
Returns the border width.- Returns:
- the border width.
-
getBorderColorAsString
String getBorderColorAsString()
Returns the border color.- Returns:
- the border color.
-
getBorderRadius
int getBorderRadius()
Returns the border radius (in pixels).- Returns:
- the border radius (in pixels).
-
getBorderStyle
BorderStyle getBorderStyle()
Returns the border styles set for the action element.- Returns:
- the border styles set for the action element
-
-