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
factoryCreated, factoryProperties
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 |
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
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, 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, setFactoryCreated
public DetailViewerRecord()
public DetailViewerRecord(com.google.gwt.core.client.JavaScriptObject jsObj)
public static DetailViewerRecord getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setLinkText(java.lang.String linkText)
linkText
.linkText
- Default value is nullDetailViewerField.setType(java.lang.String)
,
DetailViewerField.setLinkText(java.lang.String)
,
DetailViewer.setLinkTextProperty(java.lang.String)
public java.lang.String getLinkText()
linkText
.DetailViewerField.getType()
,
DetailViewerField.getLinkText()
,
DetailViewer.getLinkTextProperty()