D - defaults provider classpublic abstract class AbstractElement<D extends IsDefaultOptionsElement> extends AbstractModel<Elements,D>
| 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 |
getBorderWidth()
Returns the border width.
|
IsColor |
getHoverBackgroundColor()
Returns the background color when hovered.
|
String |
getHoverBackgroundColorAsString()
Returns the background color when hovered.
|
IsColor |
getHoverBorderColor()
Returns the border color when hovered.
|
String |
getHoverBorderColorAsString()
Returns the border color when hovered.
|
int |
getHoverBorderWidth()
Returns the border width when hovered.
|
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 |
setBorderWidth(int borderWidth)
Sets the border width.
|
void |
setHoverBackgroundColor(IsColor backgroundColor)
Sets the background color when hovered.
|
void |
setHoverBackgroundColor(String backgroundColor)
Sets the background color when hovered.
|
void |
setHoverBorderColor(IsColor borderColor)
Sets the border color when hovered.
|
void |
setHoverBorderColor(String borderColor)
Sets the border color when hovered.
|
void |
setHoverBorderWidth(int borderWidth)
Sets the border width when hovered.
|
getDefaultValues, getParent, loadPadding, setCallbackToModel, setCallbackToModel, setEventToModelcheckAndAddToParent, 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, typepublic final void setBackgroundColor(IsColor backgroundColor)
backgroundColor - the background color.public final void setBackgroundColor(String backgroundColor)
backgroundColor - the background color.public final String getBackgroundColorAsString()
public final IsColor getBackgroundColor()
public final void setBorderWidth(int borderWidth)
borderWidth - the border width.public final int getBorderWidth()
public final void setBorderColor(IsColor borderColor)
borderColor - the border color.public final void setBorderColor(String borderColor)
borderColor - the border color.public final String getBorderColorAsString()
public final IsColor getBorderColor()
public final void setHoverBackgroundColor(IsColor backgroundColor)
backgroundColor - the background color when hovered.public final void setHoverBackgroundColor(String backgroundColor)
backgroundColor - the background color when hovered.public final String getHoverBackgroundColorAsString()
public final IsColor getHoverBackgroundColor()
public final void setHoverBorderWidth(int borderWidth)
borderWidth - the border width when hovered.public final int getHoverBorderWidth()
public final void setHoverBorderColor(IsColor borderColor)
borderColor - the border color when hovered.public final void setHoverBorderColor(String borderColor)
borderColor - the border color when hovered.public final String getHoverBorderColorAsString()
public final IsColor getHoverBorderColor()