D
- defaults provider classpublic abstract class AbstractElement<D extends IsDefaultArc> 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.
|
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.
|
checkAndAddToParent, getChildKey, getDefaultValues, getParent, setCallbackToModel, setEventToModel
getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public 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()