com.smartgwt.client.widgets.drawing
Class Shadow

java.lang.Object
  extended by com.smartgwt.client.core.JsObject
      extended by com.smartgwt.client.core.DataClass
          extended by com.smartgwt.client.widgets.drawing.Shadow

public class Shadow
extends DataClass

A class used to define a shadow used in a Draw Types.


Field Summary
 
Fields inherited from class com.smartgwt.client.core.JsObject
jsObj
 
Constructor Summary
Shadow()
           
Shadow(JavaScriptObject jsObj)
           
 
Method Summary
 int getBlur()
           
 String getColor()
           
 Point getOffset()
           
static Shadow getOrCreateRef(JavaScriptObject jsObj)
           
 void setBlur(int blur)
           
 void setColor(String color)
           
 void setOffset(Point offset)
           
 
Methods inherited from class com.smartgwt.client.core.DataClass
doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, getJsObj, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute
 
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

Shadow

public Shadow()

Shadow

public Shadow(JavaScriptObject jsObj)
Method Detail

getOrCreateRef

public static Shadow getOrCreateRef(JavaScriptObject jsObj)

setBlur

public void setBlur(int blur)
Parameters:
blur - blur Default value is 10

getBlur

public int getBlur()
Returns:
int

setColor

public void setColor(String color)
Parameters:
color - color Default value is black

getColor

public String getColor()
Returns:
String

setOffset

public void setOffset(Point offset)
Parameters:
offset - offset Default value is [0,0]

getOffset

public Point getOffset()
Returns:
Point