|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.drawing.Gradient
com.smartgwt.client.widgets.drawing.SimpleGradient
public class SimpleGradient
An derived class which is used for simple gradient definitions that only requires 2 colors and a direction
| Field Summary |
|---|
| Fields inherited from class com.smartgwt.client.core.JsObject |
|---|
jsObj |
| Constructor Summary | |
|---|---|
SimpleGradient()
|
|
SimpleGradient(com.google.gwt.core.client.JavaScriptObject jsObj)
|
|
| Method Summary | |
|---|---|
float |
getDirection()
Direction vector in degrees |
java.lang.String |
getEndColor()
The color at the end of the gradient. |
static SimpleGradient |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
|
java.lang.String |
getStartColor()
The color at the start of the gradient. |
void |
setDirection(float direction)
Direction vector in degrees |
void |
setEndColor(java.lang.String endColor)
The color at the end of the gradient. |
void |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
|
void |
setStartColor(java.lang.String startColor)
The color at the start of the gradient. |
| Methods inherited from class com.smartgwt.client.widgets.drawing.Gradient |
|---|
getColorStops, setColorStops |
| Methods inherited from class com.smartgwt.client.core.JsObject |
|---|
isCreated, setJsObj |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleGradient()
public SimpleGradient(com.google.gwt.core.client.JavaScriptObject jsObj)
| Method Detail |
|---|
public static SimpleGradient getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
setJavaScriptObject in class Gradientpublic void setDirection(float direction)
direction - direction Default value is 0.0public float getDirection()
public void setEndColor(java.lang.String endColor)
setEndColor in class GradientendColor - . See String. Default value is nullpublic java.lang.String getEndColor()
getEndColor in class GradientStringpublic void setStartColor(java.lang.String startColor)
setStartColor in class GradientstartColor - . See String. Default value is nullpublic java.lang.String getStartColor()
getStartColor in class GradientString
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||