| java.lang.Object org.directwebremoting.proxy.io.Context jsx3.lang.Object jsx3.html.Tag jsx3.vector.Fill
Fill | public class Fill extends jsx3.html.Tag (Code) | | Represents a vector fill, the color and gradient that fills a solid vector shape.
author: Joe Walker [joe at getahead dot org] author: DRAPGEN - Dwr Reverse Ajax Proxy GENerator |
Constructor Summary | |
public | Fill(Context context, String extension, ScriptProxy scriptProxy) | public | Fill(int color, float alpha) The instance initializer. | public | Fill(String color, float alpha) The instance initializer. |
Method Summary | |
public void | getAlpha(org.directwebremoting.proxy.Callback<Float> callback) Returns the alpha field, as previously set in the constructor or with setAlpha(). | public void | getAlpha2(org.directwebremoting.proxy.Callback<Float> callback) Returns the alpha2 field, as set with setAlpha2(). | public void | getAngle(org.directwebremoting.proxy.Callback<Integer> callback) Returns the angle field (the angle along which the gradient goes), as set with setAngle(). | public void | getColor() Returns the color field, as previously set in the constructor or with setColor(). | public void | getColor2() Returns the color2 field, as set with setColor2(). | public void | getColor2Html() | public void | getColorHtml(org.directwebremoting.proxy.Callback<String> callback) Returns the color field, as a CSS hex string. | public void | getColors(org.directwebremoting.proxy.Callback<String> callback) Returns the colors field, as set with setColors(). | public void | getType(org.directwebremoting.proxy.Callback<String> callback) Returns the type field, as set with setType(). | public void | setAlpha(float alpha) Sets the alpha field, valid values are between 0 (transparent) and 1 (opaque).. | public void | setAlpha2(float alpha2) Sets the alpha2 field, valid values are between 0 (transparent) and 1 (opaque).. | public void | setAngle(int angle) Sets the angle field, valid values are between 0 and 360. | public void | setColor(Integer color) Sets the color field. | public void | setColor(String color) Sets the color field. | public void | setColor2(String color2) Sets the color2 field. | public void | setColor2(Integer color2) Sets the color2 field. | public void | setColors(String colors) Sets the colors field, see the documentation for in the VML documentation. | public void | setType(String type) Sets the type field, valid values are enumerated in the VML specification, though only 'solid', 'gradient', and 'gradientradial' are truly supported by this class. | public jsx3.vector.Fill | valueOf(String v) Parses a vector fill from its string representation. | public jsx3.vector.Fill | valueOf(jsx3.vector.Fill v) Parses a vector fill from its string representation. |
Fill | public Fill(Context context, String extension, ScriptProxy scriptProxy)(Code) | | All reverse ajax proxies need context to work from
Parameters: scriptProxy - The place we are writing scripts to Parameters: context - The script that got us to where we are now |
Fill | public Fill(int color, float alpha)(Code) | | The instance initializer.
Parameters: color - the color value, as a hex String or 24-bit integer value, defaults to 0x000000 Parameters: alpha - the opacity value, valid values are between 0 and 1, defaults to 1 |
Fill | public Fill(String color, float alpha)(Code) | | The instance initializer.
Parameters: color - the color value, as a hex String or 24-bit integer value, defaults to 0x000000 Parameters: alpha - the opacity value, valid values are between 0 and 1, defaults to 1 |
getColor | public void getColor()(Code) | | Returns the color field, as previously set in the constructor or with setColor().
|
getColor2 | public void getColor2()(Code) | | Returns the color2 field, as set with setColor2().
|
getColor2Html | public void getColor2Html()(Code) | | ? getColor2Html() {String} gets the color2 field, as a CSS hex string
|
setAlpha | public void setAlpha(float alpha)(Code) | | Sets the alpha field, valid values are between 0 (transparent) and 1 (opaque)..
Parameters: alpha - the new value for alpha |
setAlpha2 | public void setAlpha2(float alpha2)(Code) | | Sets the alpha2 field, valid values are between 0 (transparent) and 1 (opaque)..
Parameters: alpha2 - the new value for alpha2 |
setAngle | public void setAngle(int angle)(Code) | | Sets the angle field, valid values are between 0 and 360. 0 is the vector pointing rightward.
Parameters: angle - the new value for angle |
setColor | public void setColor(Integer color)(Code) | | Sets the color field.
Parameters: color - the new value for color |
setColor | public void setColor(String color)(Code) | | Sets the color field.
Parameters: color - the new value for color |
setColor2 | public void setColor2(String color2)(Code) | | Sets the color2 field.
Parameters: color2 - the new value for color2 |
setColor2 | public void setColor2(Integer color2)(Code) | | Sets the color2 field.
Parameters: color2 - the new value for color2 |
setColors | public void setColors(String colors)(Code) | | Sets the colors field, see the documentation for in the VML documentation.
Parameters: colors - the new value for colors |
setType | public void setType(String type)(Code) | | Sets the type field, valid values are enumerated in the VML specification, though only 'solid', 'gradient', and 'gradientradial' are truly supported by this class.
Parameters: type - the new value for type |
valueOf | public jsx3.vector.Fill valueOf(String v)(Code) | | Parses a vector fill from its string representation. The format is "color alpha".
Parameters: v - the string representation of a fill. null if v is empty, v if v is already a vector fill, or otherwise a new vector fill created by parsing the string according to theformat specified above. |
valueOf | public jsx3.vector.Fill valueOf(jsx3.vector.Fill v)(Code) | | Parses a vector fill from its string representation. The format is "color alpha".
Parameters: v - the string representation of a fill. null if v is empty, v if v is already a vector fill, or otherwise a new vector fill created by parsing the string according to theformat specified above. |
Methods inherited from jsx3.lang.Object | public void ignoreReturn()(Code)(Java Doc)
|
|
|