public class Fill extends JavascriptObject implements Serializable
counter, JS_GLOBAL, objectIds| Constructor and Description |
|---|
Fill(Color color)
Creates a new instance.
|
Fill(String color)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Fill |
color(Color color)
Sets the color for this fill.
|
Fill |
color(String color)
Creates a new instance.
|
Color |
getColor()
Returns the color for this fill.
|
String |
getJsType()
Returns a String with the type of Javascript object that this object represents.
|
String |
renderJs()
Returns a String with containing the rendered Javascript code for this object.
|
void |
setColor(Color color)
Sets the color for this fill.
|
void |
setColor(String color)
Sets the color for this fill.
|
escapeQuoteJs, getJsId, getJsIdWithSuffixpublic Fill(String color)
color - String with the hexadecimal color code for this fillpublic Fill(Color color)
color - Color for this fillpublic Color getColor()
public void setColor(String color)
color - String with the hexadecimal color code for this fillpublic void setColor(Color color)
color - New valuepublic Fill color(Color color)
color - New valuepublic Fill color(String color)
color - String with the hexadecimal color code for this fillpublic String getJsType()
JavascriptObjectgetJsType in interface IJavascriptObjectgetJsType in class JavascriptObjectpublic String renderJs()
JavascriptObjectrenderJs in interface IJavascriptObjectrenderJs in class JavascriptObjectCopyright © 2015. All rights reserved.