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(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(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(JavaScriptObject jsObj)
public static DetailViewerRecord getOrCreateRef(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()