public final class AngleLines extends NativeObjectContainer implements IsDefaultAngleLines
true
.Modifier and Type | Method and Description |
---|---|
protected void |
checkAndAddToParent()
Called recursively when a property has been set in the item.
This is mandatory because it could happen that the parent item is not present, therefore it must be added. |
List<Integer> |
getBorderDash()
Returns the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of
lines and gaps which describe the pattern.
|
int |
getBorderDashOffset()
Returns the line dash pattern offset or "phase".
|
protected Key |
getChildKey()
Returns the property name to use to add this element to its parent.
|
IsColor |
getColor()
Returns the color of angled lines.
|
String |
getColorAsString()
Returns the color of angled lines.
|
protected D |
getDefaultValues()
Returns the default provider instance.
|
int |
getLineWidth()
Returns the width of angled lines.
|
protected P |
getParent()
Returns the parent element.
|
boolean |
isDisplay()
If
true , angle lines are shown |
void |
setBorderDash(int... borderDash)
Sets the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines
and gaps which describe the pattern.
|
void |
setBorderDashOffset(int borderDashOffset)
Sets the line dash pattern offset or "phase".
|
protected void |
setCallbackToModel(org.pepstock.charba.client.options.AbstractModel<?,?> model,
Key key,
CallbackProxy.Proxy proxy)
Adds a proxy function (for callbacks) to a model at the specific key.
|
void |
setColor(IsColor color)
Sets the color of angled lines.
|
void |
setColor(String color)
Sets the color of angled lines.
|
void |
setDisplay(boolean display)
If
true , angle lines are shown |
protected void |
setEventToModel(org.pepstock.charba.client.options.AbstractModel<?,?> model,
Key key,
CallbackProxy.Proxy proxy)
Adds a proxy function (for events) to a model at the specific key.
|
void |
setLineWidth(int lineWidth)
Sets the width of angled lines.
|
checkValue, empty, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBorderDashOffset
public void setDisplay(boolean display)
true
, angle lines are showndisplay
- if true
, angle lines are shownpublic boolean isDisplay()
true
, angle lines are shownisDisplay
in interface IsDefaultAngleLines
true
, angle lines are shown.public void setColor(IsColor color)
color
- color of angled lines.public void setColor(String color)
color
- color of angled lines.public String getColorAsString()
getColorAsString
in interface IsDefaultAngleLines
public IsColor getColor()
public void setLineWidth(int lineWidth)
lineWidth
- width of angled lines.public int getLineWidth()
getLineWidth
in interface IsDefaultAngleLines
public final void setBorderDash(int... borderDash)
borderDash
- the line dash pattern used when stroking linespublic final List<Integer> getBorderDash()
public final void setBorderDashOffset(int borderDashOffset)
borderDashOffset
- Offset for line dashes.public final int getBorderDashOffset()
protected final Key getChildKey()
null
if is a root element.protected final P getParent()
null
if is a root element.protected final D getDefaultValues()
protected final void setEventToModel(org.pepstock.charba.client.options.AbstractModel<?,?> model, Key key, CallbackProxy.Proxy proxy)
model
- element where adding the function proxykey
- property name to use to add the function proxyproxy
- the function proxy instance to addprotected final void setCallbackToModel(org.pepstock.charba.client.options.AbstractModel<?,?> model, Key key, CallbackProxy.Proxy proxy)
model
- element where adding the function proxykey
- property name to use to add the function proxyproxy
- the function proxy instance to addprotected final void checkAndAddToParent()