public class DetailViewerRecord extends Record
DetailViewer
.
For example a DetailViewer that defines the following fields:
fields : [ {name: "field1"}, {name: "field2"} ],Might have the following data:
data : [ {field1: "foo", field2: "bar"}, {field1: "field1 value", field2: "field2 value"} ]Each element in the data array above is an instance of DetailViewerRecord - notice that these are specified simply as object literals with properties.
id
Constructor and Description |
---|
DetailViewerRecord() |
DetailViewerRecord(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLinkText()
The HTML to display in this record for fields with type set to "link".
|
static DetailViewerRecord |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
void |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
void |
setLinkText(java.lang.String linkText)
The HTML to display in this record for fields with type set to "link".
|
convertToRecordArray, copyAttributes, copyAttributesInto, getAttributeAsRecordArray, getAttributeAsRecordList, isARecord, toMap
getRef, getRef, internalSetID
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, setAttributeAsJavaObject
public DetailViewerRecord()
public DetailViewerRecord(com.google.gwt.core.client.JavaScriptObject jsObj)
public static DetailViewerRecord getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setLinkText(java.lang.String linkText)
linkText
.linkText
- . See String
. Default value is nullDetailViewerField.setType(java.lang.String)
,
DetailViewerField.setLinkText(java.lang.String)
,
DetailViewer.setLinkTextProperty(java.lang.String)
public java.lang.String getLinkText()
linkText
.String
DetailViewerField.getType()
,
DetailViewerField.getLinkText()
,
DetailViewer.getLinkTextProperty()