com.smartgwt.client.core
Class DataClass
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
- Direct Known Subclasses:
- Criteria, DataSourceField, DetailViewerField, FormItemIcon, GroupNode, HeaderSpan, ImgProperties, JSONEncoder, KeyIdentifier, ListGridField, OperationBinding, RefDataClass, RPCRequest, RPCResponse, SerializationContext, SortSpecifier, Validator, XmlNamespaces
public class DataClass
- extends JsObject
Fields inherited from class com.smartgwt.client.core.JsObject |
jsObj |
Method Summary |
protected
|
doAddHandler(H handler,
GwtEvent.Type<H> type)
|
void |
fireEvent(GwtEvent<?> event)
|
String |
getAttribute(String property)
|
Boolean |
getAttributeAsBoolean(String property)
|
Date |
getAttributeAsDate(String property)
|
Double |
getAttributeAsDouble(String property)
|
Float |
getAttributeAsFloat(String property)
|
Integer |
getAttributeAsInt(String property)
|
int[] |
getAttributeAsIntArray(String property)
|
JavaScriptObject |
getAttributeAsJavaScriptObject(String property)
|
Map |
getAttributeAsMap(String property)
|
Object |
getAttributeAsObject(String property)
|
String |
getAttributeAsString(String property)
|
String[] |
getAttributeAsStringArray(String property)
|
String[] |
getAttributes()
|
int |
getHandlerCount(GwtEvent.Type<?> type)
|
JavaScriptObject |
getJsObj()
|
void |
setAttribute(String property,
BaseClass value)
|
void |
setAttribute(String property,
BaseClass[] value)
|
void |
setAttribute(String property,
BaseWidget[] value)
|
void |
setAttribute(String property,
boolean value)
|
void |
setAttribute(String property,
Boolean value)
|
void |
setAttribute(String property,
DataClass value)
|
void |
setAttribute(String property,
DataClass[] value)
|
void |
setAttribute(String property,
Date value)
|
void |
setAttribute(String property,
double value)
|
void |
setAttribute(String property,
Double value)
|
void |
setAttribute(String property,
Float value)
|
void |
setAttribute(String property,
int value)
|
void |
setAttribute(String property,
int[] value)
|
void |
setAttribute(String property,
Integer value)
|
void |
setAttribute(String property,
JavaScriptObject value)
|
void |
setAttribute(String property,
Map value)
|
void |
setAttribute(String property,
Object value)
|
void |
setAttribute(String property,
String value)
|
void |
setAttribute(String property,
String[] value)
|
void |
setAttribute(String property,
ValueEnum value)
|
void |
setAttribute(String property,
ValueEnum[] value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataClass
public DataClass()
DataClass
public DataClass(JavaScriptObject jsObj)
getJsObj
public JavaScriptObject getJsObj()
- Overrides:
getJsObj
in class JsObject
setAttribute
public void setAttribute(String property,
String value)
getAttribute
public String getAttribute(String property)
getAttributeAsString
public String getAttributeAsString(String property)
setAttribute
public void setAttribute(String property,
int value)
setAttribute
public void setAttribute(String property,
double value)
getAttributeAsInt
public Integer getAttributeAsInt(String property)
setAttribute
public void setAttribute(String property,
boolean value)
getAttributeAsBoolean
public Boolean getAttributeAsBoolean(String property)
getAttributeAsDouble
public Double getAttributeAsDouble(String property)
setAttribute
public void setAttribute(String property,
int[] value)
setAttribute
public void setAttribute(String property,
DataClass[] value)
setAttribute
public void setAttribute(String property,
BaseClass[] value)
setAttribute
public void setAttribute(String property,
BaseWidget[] value)
getAttributeAsIntArray
public int[] getAttributeAsIntArray(String property)
setAttribute
public void setAttribute(String property,
String[] value)
getAttributeAsStringArray
public String[] getAttributeAsStringArray(String property)
setAttribute
public void setAttribute(String property,
DataClass value)
setAttribute
public void setAttribute(String property,
BaseClass value)
setAttribute
public void setAttribute(String property,
JavaScriptObject value)
setAttribute
public void setAttribute(String property,
Date value)
setAttribute
public void setAttribute(String property,
Boolean value)
setAttribute
public void setAttribute(String property,
Map value)
setAttribute
public void setAttribute(String property,
ValueEnum[] value)
setAttribute
public void setAttribute(String property,
ValueEnum value)
setAttribute
public void setAttribute(String property,
Object value)
setAttribute
public void setAttribute(String property,
Double value)
setAttribute
public void setAttribute(String property,
Integer value)
setAttribute
public void setAttribute(String property,
Float value)
getAttributeAsFloat
public Float getAttributeAsFloat(String property)
getAttributeAsDate
public Date getAttributeAsDate(String property)
getAttributeAsObject
public Object getAttributeAsObject(String property)
getAttributeAsMap
public Map getAttributeAsMap(String property)
getAttributeAsJavaScriptObject
public JavaScriptObject getAttributeAsJavaScriptObject(String property)
getAttributes
public String[] getAttributes()
fireEvent
public void fireEvent(GwtEvent<?> event)
doAddHandler
protected final <H extends EventHandler> HandlerRegistration doAddHandler(H handler,
GwtEvent.Type<H> type)
getHandlerCount
public int getHandlerCount(GwtEvent.Type<?> type)