public class Action extends AbstractNode implements IsDefaultAction
| Modifier and Type | Method and Description |
|---|---|
IsColor |
getBackgroundColor()
Returns the background color.
|
String |
getBackgroundColorAsString()
Returns the background color.
|
IsColor |
getBorderColor()
Returns the border color.
|
String |
getBorderColorAsString()
Returns the border color.
|
int |
getBorderRadius()
Returns the border radius (in pixels).
|
BorderStyle |
getBorderStyle()
Returns the border style for the action element.
|
int |
getBorderWidth()
Returns the border width.
|
String |
getColorAsString()
Returns the font color as string.
|
FontContainer |
getFontContainer()
Returns a font container instance to use in the default methods of this interface.
|
void |
setBackgroundColor(IsColor backgroundColor)
Sets the background color.
|
void |
setBackgroundColor(String backgroundColor)
Sets the background color.
|
void |
setBorderColor(IsColor borderColor)
Sets the border color.
|
void |
setBorderColor(String borderColor)
Sets the border color.
|
void |
setBorderRadius(int borderRadius)
Sets the border radius (in pixels) of toast action.
|
void |
setBorderStyle(BorderStyle style)
Sets the border style for the action element.
|
void |
setBorderWidth(int borderWidth)
Sets the border width.
|
checkAndAddToParent, getChildKey, getParentNode, getRootNode, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParentcheckDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColorAsStringgetFontpublic final void setBackgroundColor(IsColor backgroundColor)
backgroundColor - the background color.public final void setBackgroundColor(String backgroundColor)
backgroundColor - the background color.public final String getBackgroundColorAsString()
getBackgroundColorAsString in interface IsDefaultActionpublic final IsColor getBackgroundColor()
public final void setBorderWidth(int borderWidth)
borderWidth - the border width.public final int getBorderWidth()
getBorderWidth in interface IsDefaultActionpublic final void setBorderColor(IsColor borderColor)
borderColor - the border color.public final void setBorderColor(String borderColor)
borderColor - the border color.public final String getBorderColorAsString()
getBorderColorAsString in interface IsDefaultActionpublic final IsColor getBorderColor()
public final void setBorderRadius(int borderRadius)
borderRadius - the border radius (in pixels) of toast actionpublic final int getBorderRadius()
getBorderRadius in interface IsDefaultActionpublic final void setBorderStyle(BorderStyle style)
style - the border style for the action element.public final BorderStyle getBorderStyle()
getBorderStyle in interface IsDefaultActionpublic final FontContainer getFontContainer()
HasFontgetFontContainer in interface HasFontpublic String getColorAsString()
IsDefaultFontContainergetColorAsString in interface IsDefaultFontContainergetColorAsString in interface HasFontgetColorAsString in interface IsDefaultContentElement