|
|||||||||
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.core.RefDataClass
com.smartgwt.client.data.Record
public class Record
A Record is an ordinary Java class with properties that are treated as data to be displayed and edited by a
DataBoundComponent
.
DataBoundComponent
s have a concept of named fields, where values for each field
are found under the same-named property in a Record.
A Record is always an ordinary Java object regardless of how the record is loaded (static data, java server, XML web service, etc).
The concept of working with Records is common to all DataBoundComponent
s, although individual
DataBoundComponents may work with singular records (DynamicForm
) or may work with lists
(ListGrid
), trees (TreeGrid
), or cubes
(CubeGrid) of records.
Individual DataComponents may also look for special properties on Records which control styling or behavior for those records,
such as ListGrid.setRecordEditProperty(String)
Field Summary |
---|
Fields inherited from class com.smartgwt.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
Record()
|
|
Record(com.google.gwt.core.client.JavaScriptObject jsObj)
|
Method Summary | |
---|---|
static Record[] |
convertToRecordArray(com.google.gwt.core.client.JavaScriptObject nativeArray)
|
static Record |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
|
Methods inherited from class com.smartgwt.client.core.RefDataClass |
---|
getRef, getRef |
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 Record()
public Record(com.google.gwt.core.client.JavaScriptObject jsObj)
Method Detail |
---|
public static Record getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public static Record[] convertToRecordArray(com.google.gwt.core.client.JavaScriptObject nativeArray)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |