Class DetailViewerRecord
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.core.RefDataClass
com.smartgwt.client.data.Record
com.smartgwt.client.widgets.viewer.DetailViewerRecord
- All Implemented Interfaces:
- HasHandlers
- Direct Known Subclasses:
- TileRecord
A DetailViewerRecord is an object literal with properties that define the values for the
  various fields of a 
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.- 
Field SummaryFields inherited from class com.smartgwt.client.core.RefDataClassidFields inherited from class com.smartgwt.client.core.DataClassfactoryCreated, factoryProperties
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionThe HTML to display in this record for fields with type set to "link".static DetailViewerRecordgetOrCreateRef(JavaScriptObject jsObj) setLinkText(String linkText) The HTML to display in this record for fields with type set to "link".Methods inherited from class com.smartgwt.client.data.RecordconvertToRecordArray, copyAttributes, copyAttributesInto, getAttributeAsRecordArray, getAttributeAsRecordList, getPaletteDefaults, isARecord, toMapMethods inherited from class com.smartgwt.client.core.RefDataClassgetRef, getRef, internalSetIDMethods inherited from class com.smartgwt.client.core.DataClassapplyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, 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
- 
Constructor Details- 
DetailViewerRecordpublic DetailViewerRecord()
- 
DetailViewerRecord
 
- 
- 
Method Details- 
getOrCreateRef
- 
setLinkTextThe HTML to display in this record for fields with type set to "link". This overridesDetailViewerField.linkText.- Parameters:
- linkText- New linkText value. Default value is null
- Returns:
- DetailViewerRecordinstance, for chaining setter calls
- See Also:
 
- 
getLinkTextThe HTML to display in this record for fields with type set to "link". This overridesDetailViewerField.linkText.- Returns:
- Current linkText value. Default value is null
- See Also:
 
 
-