com.smartgwt.client.widgets.viewer

## Class DetailViewerField

- java.lang.Object
- - com.smartgwt.client.core.JsObject
  - - com.smartgwt.client.core.DataClass
    - - com.smartgwt.client.widgets.viewer.DetailViewerField

-     public class DetailViewerField
      extends DataClass

  An object literal with a particular set of properties used to configure the display of and interaction with the rows of a `DetailViewer`.

- - ### Field Summary

    - ### Fields inherited from class com.smartgwt.client.core.DataClass

      `factoryCreated, factoryProperties`

    - ### Fields inherited from class com.smartgwt.client.core.JsObject

      `jsObj`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DetailViewerField()`
    `DetailViewerField(com.google.gwt.core.client.JavaScriptObject jsObj)`
    `DetailViewerField(java.lang.String name)`
    `DetailViewerField(java.lang.String name, java.lang.String title)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Boolean` | `getCanExport()` Dictates whether the data in this field be exported.
    `java.lang.Boolean` | `getCanHilite()` Determines whether this field can be hilited.
    `java.lang.String` | `getCellStyle()` If specified, cells in this field will be rendered using this css className rather than `cellStyle`
    `java.lang.String` | `getDataPath()` dataPath property allows this field to display detail from nested data structures
    `DateDisplayFormat` | `getDateFormatter()` Display format to use for date type values within this field.
    `java.lang.Integer` | `getDecimalPad()` Applies only to fields of type "float" and enforces a minimum number of digits shown after the decimal point.
    `java.lang.Integer` | `getDecimalPrecision()` Applies only to fields of type "float" and affects how many significant digits are shown.
    `java.lang.String` | `getDisplayField()` If `displayField` is defined for the field then the DetailViewer will display the `displayField` attribute of records instead of the attribute given by the `name` of the field.
    `java.lang.String` | `getEmptyCellValue()` The value to display for a cell whose value is null or the empty string after applying formatCellValue and valueMap (if any).
    `java.lang.Boolean` | `getEscapeHTML()` By default HTML values in DetailViewer cells will be interpreted by the browser.
    `java.lang.String` | `getExportFormat()` `FormatString` used during exports for numeric or date formatting.
    `java.lang.String` | `getFormat()` `FormatString` for numeric or date formatting.
    `java.lang.Integer` | `getHeight()` For `type`: `"separator"`, this attribute specifies the height of the separator.
    `java.lang.Integer` | `getHiliteIconHeight()` Height for hilite icons for this field.
    `java.lang.Integer` | `getHiliteIconLeftPadding()` How much padding should there be on the left of `hilite icons` for this field? Overrides `hiliteIconLeftPadding`
    `HiliteIconPosition` | `getHiliteIconPosition()` When `hiliteIcons` are present, where the hilite icon will be placed relative to the field value.
    `java.lang.Integer` | `getHiliteIconRightPadding()` How much padding should there be on the right of `hilite icons` for this field? Overrides `hiliteIconRightPadding`
    `java.lang.Integer` | `getHiliteIconSize()` Default width and height of `hilite icons` in this field.
    `java.lang.Integer` | `getHiliteIconWidth()` Width for hilite icons for this field.
    `java.lang.Integer` | `getImageHeight()` Height of image shown for fieldTypes image in this field.
    `java.lang.String` | `getImageHeightAsString()` Height of image shown for fieldTypes image in this field.
    `java.lang.Integer` | `getImageSize()` Size of images shown for fieldTypes image in this field.
    `java.lang.String` | `getImageSizeAsString()` Size of images shown for fieldTypes image in this field.
    `java.lang.String` | `getImageURLPrefix()` If this field has type set to `"image"` and the URL for the image displayed is not absolute, the path of the URL will be relative to this string
    `java.lang.Integer` | `getImageWidth()` Width of images shown for fieldTypes image in this field.
    `java.lang.String` | `getImageWidthAsString()` Width of images shown for fieldTypes image in this field.
    `java.lang.String` | `getIncludeFrom()` Indicates this field's values come from another, related DataSource.
    `java.lang.String` | `getLinkText()` The HTML to display for values of this field if the field type is set to "link".
    `java.lang.String` | `getLinkTextProperty()` Name of the property in a DetailViewerRecord that holds the HTML to display for values of this field if the field type is set to "link".
    `java.lang.String` | `getLinkURLPrefix()` If this field has type set to `"link"`, setting this property will apply a standard prefix to the link URL when displaying values of this field.
    `java.lang.String` | `getLinkURLSuffix()` If this field has type set to `"link"`, setting this property will apply a standard suffix to the link URL when displaying values of this field.
    `java.lang.String` | `getName()` Name property used to identify the field, and determines which attribute from records will be displayed in this field.
    `static DetailViewerField` | `getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)`
    `java.lang.String` | `getPrintCellStyle()` If specified, when generating print HTML for this detailViewer, cells in this field will be rendered using this css className rather than `printCellStyle`
    `java.lang.Boolean` | `getShowFileInline()` For a field of type:"imageFile", indicates whether to stream the image and display it inline or to display the View and Download icons.
    `java.lang.String` | `getTarget()` By default, clicking a link rendered by this item opens it in a new browser window.
    `TimeDisplayFormat` | `getTimeFormatter()` Time-format to apply to date type values within this field.
    `java.lang.String` | `getTitle()` The title of the field as displayed on the left-hand side.
    `java.lang.String` | `getType()` Specifies the type of this DetailViewerField.
    `java.lang.String` | `getValue()` When a field specifies its `type` to be "header", the value of this attribute specifies the header text.
    `void` | `setCanExport(java.lang.Boolean canExport)` Dictates whether the data in this field be exported.
    `void` | `setCanHilite(java.lang.Boolean canHilite)` Determines whether this field can be hilited.
    `void` | `setCellStyle(java.lang.String cellStyle)` If specified, cells in this field will be rendered using this css className rather than `cellStyle`
    `void` | `setCellStyleHandler(CellStyleHandler handler)` Return the CSS class for a cell.
    `void` | `setDataPath(java.lang.String dataPath)` dataPath property allows this field to display detail from nested data structures
    `void` | `setDateFormatter(DateDisplayFormat dateFormatter)` Display format to use for date type values within this field.
    `void` | `setDecimalPad(java.lang.Integer decimalPad)` Applies only to fields of type "float" and enforces a minimum number of digits shown after the decimal point.
    `void` | `setDecimalPrecision(java.lang.Integer decimalPrecision)` Applies only to fields of type "float" and affects how many significant digits are shown.
    `void` | `setDetailFormatter(DetailFormatter formatter)`
    `void` | `setDisplayField(java.lang.String displayField)` If `displayField` is defined for the field then the DetailViewer will display the `displayField` attribute of records instead of the attribute given by the `name` of the field.
    `void` | `setEmptyCellValue(java.lang.String emptyCellValue)` The value to display for a cell whose value is null or the empty string after applying formatCellValue and valueMap (if any).
    `void` | `setEscapeHTML(java.lang.Boolean escapeHTML)` By default HTML values in DetailViewer cells will be interpreted by the browser.
    `void` | `setExportFormat(java.lang.String exportFormat)` `FormatString` used during exports for numeric or date formatting.
    `void` | `setFormat(java.lang.String format)` `FormatString` for numeric or date formatting.
    `void` | `setHeight(java.lang.Integer height)` For `type`: `"separator"`, this attribute specifies the height of the separator.
    `void` | `setHiliteIconHeight(java.lang.Integer hiliteIconHeight)` Height for hilite icons for this field.
    `void` | `setHiliteIconLeftPadding(java.lang.Integer hiliteIconLeftPadding)` How much padding should there be on the left of `hilite icons` for this field? Overrides `hiliteIconLeftPadding`
    `void` | `setHiliteIconPosition(HiliteIconPosition hiliteIconPosition)` When `hiliteIcons` are present, where the hilite icon will be placed relative to the field value.
    `void` | `setHiliteIconRightPadding(java.lang.Integer hiliteIconRightPadding)` How much padding should there be on the right of `hilite icons` for this field? Overrides `hiliteIconRightPadding`
    `void` | `setHiliteIconSize(java.lang.Integer hiliteIconSize)` Default width and height of `hilite icons` in this field.
    `void` | `setHiliteIconWidth(java.lang.Integer hiliteIconWidth)` Width for hilite icons for this field.
    `void` | `setImageHeight(java.lang.Integer imageHeight)` Height of image shown for fieldTypes image in this field.
    `void` | `setImageHeight(java.lang.String imageHeight)` Height of image shown for fieldTypes image in this field.
    `void` | `setImageSize(java.lang.Integer imageSize)` Size of images shown for fieldTypes image in this field.
    `void` | `setImageSize(java.lang.String imageSize)` Size of images shown for fieldTypes image in this field.
    `void` | `setImageURLPrefix(java.lang.String imageURLPrefix)` If this field has type set to `"image"` and the URL for the image displayed is not absolute, the path of the URL will be relative to this string
    `void` | `setImageWidth(java.lang.Integer imageWidth)` Width of images shown for fieldTypes image in this field.
    `void` | `setImageWidth(java.lang.String imageWidth)` Width of images shown for fieldTypes image in this field.
    `void` | `setIncludeFrom(java.lang.String includeFrom)` Indicates this field's values come from another, related DataSource.
    `void` | `setLinkText(java.lang.String linkText)` The HTML to display for values of this field if the field type is set to "link".
    `void` | `setLinkTextProperty(java.lang.String linkTextProperty)` Name of the property in a DetailViewerRecord that holds the HTML to display for values of this field if the field type is set to "link".
    `void` | `setLinkURLPrefix(java.lang.String linkURLPrefix)` If this field has type set to `"link"`, setting this property will apply a standard prefix to the link URL when displaying values of this field.
    `void` | `setLinkURLSuffix(java.lang.String linkURLSuffix)` If this field has type set to `"link"`, setting this property will apply a standard suffix to the link URL when displaying values of this field.
    `void` | `setName(java.lang.String name)` Name property used to identify the field, and determines which attribute from records will be displayed in this field.
    `void` | `setPrintCellStyle(java.lang.String printCellStyle)` If specified, when generating print HTML for this detailViewer, cells in this field will be rendered using this css className rather than `printCellStyle`
    `void` | `setShowFileInline(java.lang.Boolean showFileInline)` For a field of type:"imageFile", indicates whether to stream the image and display it inline or to display the View and Download icons.
    `void` | `setShowIfCondition(DetailViewerFieldIfFunction showIf)` If specified on a field, this method is evaluated at draw time to determine whether or not to show this particular field.
    `void` | `setTarget(java.lang.String target)` By default, clicking a link rendered by this item opens it in a new browser window.
    `void` | `setTimeFormatter(TimeDisplayFormat timeFormatter)` Time-format to apply to date type values within this field.
    `void` | `setTitle(java.lang.String title)` The title of the field as displayed on the left-hand side.
    `void` | `setType(java.lang.String type)` Specifies the type of this DetailViewerField.
    `void` | `setValue(java.lang.String value)` When a field specifies its `type` to be "header", the value of this attribute specifies the header text.
    `void` | `setValueMap(java.util.Map valueMap)` A property list (or an expression that evaluates to a property list) specifying a mapping of internal values to display values for the field (row).

    - ### Methods inherited from class com.smartgwt.client.core.DataClass

      `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`

    - ### Methods inherited from class com.smartgwt.client.core.JsObject

      `equals, getJsObj, hashCode, isCreated, setJavaScriptObject, setJsObj`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DetailViewerField

          public DetailViewerField()

    - #### DetailViewerField

          public DetailViewerField(com.google.gwt.core.client.JavaScriptObject jsObj)

    - #### DetailViewerField

          public DetailViewerField(java.lang.String name)

    - #### DetailViewerField

          public DetailViewerField(java.lang.String name,
                           java.lang.String title)

  - ### Method Detail

    - #### getOrCreateRef

          public static DetailViewerField getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)

    - #### setCanExport

          public void setCanExport(java.lang.Boolean canExport)

      Dictates whether the data in this field be exported. Explicitly set this to false to prevent exporting. Has no effect if the underlying `dataSourceField` is explicitly set to canExport: false.
      Parameters:
        `canExport` - Default value is null

    - #### getCanExport

          public java.lang.Boolean getCanExport()

      Dictates whether the data in this field be exported. Explicitly set this to false to prevent exporting. Has no effect if the underlying `dataSourceField` is explicitly set to canExport: false.
      Returns:
        Boolean

    - #### setCanHilite

          public void setCanHilite(java.lang.Boolean canHilite)

      Determines whether this field can be hilited. Set to false to prevent this field from appearing in HiliteEditor.
      Parameters:
        `canHilite` - Default value is null
      See Also:
        `Hiliting overview and related methods`

    - #### getCanHilite

          public java.lang.Boolean getCanHilite()

      Determines whether this field can be hilited. Set to false to prevent this field from appearing in HiliteEditor.
      Returns:
        Boolean
      See Also:
        `Hiliting overview and related methods`

    - #### setCellStyle

          public void setCellStyle(java.lang.String cellStyle)

      If specified, cells in this field will be rendered using this css className rather than `cellStyle`
      Parameters:
        `cellStyle` - See `CSSClassName` . Default value is null

    - #### getCellStyle

          public java.lang.String getCellStyle()

      If specified, cells in this field will be rendered using this css className rather than `cellStyle`
      Returns:
        Optional method to return the CSS class for cells in this field. If specified, this method will be called from `DetailViewer.getCellStyle()`, and should return a css class name. See `CSSClassName`

    - #### setDataPath

          public void setDataPath(java.lang.String dataPath)

      dataPath property allows this field to display detail from nested data structures

      Note : This is an advanced setting

      Parameters:
        `dataPath` - Default value is null

    - #### getDataPath

          public java.lang.String getDataPath()

      dataPath property allows this field to display detail from nested data structures
      Returns:
        String

    - #### setDateFormatter

          public void setDateFormatter(DateDisplayFormat dateFormatter)

      Display format to use for date type values within this field.

      The `timeFormatter` may also be used to format underlying Date values as times (ommitting the date part entirely). If both `dateFormatter` and `timeFormatter` are specified on a field, for fields specified as `type "time"` the `timeFormatter` will be used, otherwise the `dateFormatter`

      If `field.dateFormatter` and `field.timeFormatter` is unspecified, date display format may be defined at the component level via `dateFormatter`, or for fields of type `"datetime"` `datetimeFormatter`. Otherwise the default is to use the system-wide default normal date format, configured via `Date.setNormalDisplayFormat()`. Specify any valid `DateDisplayFormat` to change the format used by this item.

      Parameters:
        `dateFormatter` - Default value is null
      See Also:
        `ListGrid.setDateFormatter(com.smartgwt.client.types.DateDisplayFormat)`, `ListGrid.setDatetimeFormatter(com.smartgwt.client.types.DateDisplayFormat)`, `ListGridField.setTimeFormatter(com.smartgwt.client.types.TimeDisplayFormat)`

    - #### getDateFormatter

          public DateDisplayFormat getDateFormatter()

      Display format to use for date type values within this field.

      The `timeFormatter` may also be used to format underlying Date values as times (ommitting the date part entirely). If both `dateFormatter` and `timeFormatter` are specified on a field, for fields specified as `type "time"` the `timeFormatter` will be used, otherwise the `dateFormatter`

      If `field.dateFormatter` and `field.timeFormatter` is unspecified, date display format may be defined at the component level via `dateFormatter`, or for fields of type `"datetime"` `datetimeFormatter`. Otherwise the default is to use the system-wide default normal date format, configured via `Date.setNormalDisplayFormat()`. Specify any valid `DateDisplayFormat` to change the format used by this item.

      Returns:
        DateDisplayFormat
      See Also:
        `ListGrid.getDateFormatter()`, `ListGrid.getDatetimeFormatter()`, `ListGridField.getTimeFormatter()`

    - #### setDecimalPad

          public void setDecimalPad(java.lang.Integer decimalPad)

      Applies only to fields of type "float" and enforces a minimum number of digits shown after the decimal point.

      For example, a field value of 343.1, 343.104 and 343.09872677 would all be shown as 343.10 if decimalPad is 2.

      The original unpadded value is always shown when the value is edited.

      Parameters:
        `decimalPad` - Default value is null
      See Also:
        `Appearance overview and related methods`

    - #### getDecimalPad

          public java.lang.Integer getDecimalPad()

      Applies only to fields of type "float" and enforces a minimum number of digits shown after the decimal point.

      For example, a field value of 343.1, 343.104 and 343.09872677 would all be shown as 343.10 if decimalPad is 2.

      The original unpadded value is always shown when the value is edited.

      Returns:
        Integer
      See Also:
        `Appearance overview and related methods`

    - #### setDecimalPrecision

          public void setDecimalPrecision(java.lang.Integer decimalPrecision)

      Applies only to fields of type "float" and affects how many significant digits are shown.

      For example, with decimalPrecision 3, if the field value is 343.672677, 343.673 is shown.

      If the value is 125.2, 125.2 is shown - decimalPrecision will not cause extra zeros to be added. Use `decimalPad` for this.

      A number is always shown with its original precision when edited.

      Parameters:
        `decimalPrecision` - Default value is null
      See Also:
        `Appearance overview and related methods`

    - #### getDecimalPrecision

          public java.lang.Integer getDecimalPrecision()

      Applies only to fields of type "float" and affects how many significant digits are shown.

      For example, with decimalPrecision 3, if the field value is 343.672677, 343.673 is shown.

      If the value is 125.2, 125.2 is shown - decimalPrecision will not cause extra zeros to be added. Use `decimalPad` for this.

      A number is always shown with its original precision when edited.

      Returns:
        Integer
      See Also:
        `Appearance overview and related methods`

    - #### setDisplayField

          public void setDisplayField(java.lang.String displayField)

      If `displayField` is defined for the field then the DetailViewer will display the `displayField` attribute of records instead of the attribute given by the `name` of the field.
      Parameters:
        `displayField` - Default value is null

    - #### getDisplayField

          public java.lang.String getDisplayField()

      If `displayField` is defined for the field then the DetailViewer will display the `displayField` attribute of records instead of the attribute given by the `name` of the field.
      Returns:
        String

    - #### setEmptyCellValue

          public void setEmptyCellValue(java.lang.String emptyCellValue)

      The value to display for a cell whose value is null or the empty string after applying formatCellValue and valueMap (if any).

      This is the field-specific attribute. You may also set the emptyCellValue at the viewer level to define the emptyCellValue for all empty fields in the viewer.

      Parameters:
        `emptyCellValue` - See `HTMLString` . Default value is null
      See Also:
        `DetailViewer.setEmptyCellValue(java.lang.String)`, `Appearance overview and related methods`

    - #### getEmptyCellValue

          public java.lang.String getEmptyCellValue()

      The value to display for a cell whose value is null or the empty string after applying formatCellValue and valueMap (if any).

      This is the field-specific attribute. You may also set the emptyCellValue at the viewer level to define the emptyCellValue for all empty fields in the viewer.

      Returns:
        See `HTMLString`
      See Also:
        `DetailViewer.getEmptyCellValue()`, `Appearance overview and related methods`

    - #### setEscapeHTML

          public void setEscapeHTML(java.lang.Boolean escapeHTML)

      By default HTML values in DetailViewer cells will be interpreted by the browser. Setting this flag to true will causes HTML characters to be escaped, meaning the raw value of the field (for example `"<b>AAA</b>"`) is displayed to the user rather than the interpreted HTML (for example `"AAA"`)
      Parameters:
        `escapeHTML` - Default value is null

    - #### getEscapeHTML

          public java.lang.Boolean getEscapeHTML()

      By default HTML values in DetailViewer cells will be interpreted by the browser. Setting this flag to true will causes HTML characters to be escaped, meaning the raw value of the field (for example `"<b>AAA</b>"`) is displayed to the user rather than the interpreted HTML (for example `"AAA"`)
      Returns:
        Boolean

    - #### setExportFormat

          public void setExportFormat(java.lang.String exportFormat)

      `FormatString` used during exports for numeric or date formatting. See `exportFormat`.
      Parameters:
        `exportFormat` - See `FormatString` . Default value is null
      See Also:
        `ExportFormatting overview and related methods`

    - #### getExportFormat

          public java.lang.String getExportFormat()

      `FormatString` used during exports for numeric or date formatting. See `exportFormat`.
      Returns:
        See `FormatString`
      See Also:
        `ExportFormatting overview and related methods`

    - #### setFormat

          public void setFormat(java.lang.String format)

      `FormatString` for numeric or date formatting. See `format`.
      Parameters:
        `format` - See `FormatString` . Default value is null
      See Also:
        `ExportFormatting overview and related methods`

    - #### getFormat

          public java.lang.String getFormat()

      `FormatString` for numeric or date formatting. See `format`.
      Returns:
        See `FormatString`
      See Also:
        `ExportFormatting overview and related methods`

    - #### setHeight

          public void setHeight(java.lang.Integer height)

      For `type`: `"separator"`, this attribute specifies the height of the separator.
      Parameters:
        `height` - Default value is null

    - #### getHeight

          public java.lang.Integer getHeight()

      For `type`: `"separator"`, this attribute specifies the height of the separator.
      Returns:
        Integer

    - #### setHiliteIconHeight

          public void setHiliteIconHeight(java.lang.Integer hiliteIconHeight)

      Height for hilite icons for this field. Overrides `hiliteIconSize`, `hiliteIconHeight`, and `hiliteIconSize`.
      Parameters:
        `hiliteIconHeight` - Default value is null
      See Also:
        `Hiliting overview and related methods`

    - #### getHiliteIconHeight

          public java.lang.Integer getHiliteIconHeight()

      Height for hilite icons for this field. Overrides `hiliteIconSize`, `hiliteIconHeight`, and `hiliteIconSize`.
      Returns:
        Integer
      See Also:
        `Hiliting overview and related methods`

    - #### setHiliteIconLeftPadding

          public void setHiliteIconLeftPadding(java.lang.Integer hiliteIconLeftPadding)

      How much padding should there be on the left of `hilite icons` for this field? Overrides `hiliteIconLeftPadding`
      Parameters:
        `hiliteIconLeftPadding` - Default value is null
      See Also:
        `Hiliting overview and related methods`

    - #### getHiliteIconLeftPadding

          public java.lang.Integer getHiliteIconLeftPadding()

      How much padding should there be on the left of `hilite icons` for this field? Overrides `hiliteIconLeftPadding`
      Returns:
        Integer
      See Also:
        `Hiliting overview and related methods`

    - #### setHiliteIconPosition

          public void setHiliteIconPosition(HiliteIconPosition hiliteIconPosition)

      When `hiliteIcons` are present, where the hilite icon will be placed relative to the field value. See `HiliteIconPosition`. Overrides `hiliteIconPosition`
      Parameters:
        `hiliteIconPosition` - Default value is null
      See Also:
        `Hiliting overview and related methods`

    - #### getHiliteIconPosition

          public HiliteIconPosition getHiliteIconPosition()

      When `hiliteIcons` are present, where the hilite icon will be placed relative to the field value. See `HiliteIconPosition`. Overrides `hiliteIconPosition`
      Returns:
        HiliteIconPosition
      See Also:
        `Hiliting overview and related methods`

    - #### setHiliteIconRightPadding

          public void setHiliteIconRightPadding(java.lang.Integer hiliteIconRightPadding)

      How much padding should there be on the right of `hilite icons` for this field? Overrides `hiliteIconRightPadding`
      Parameters:
        `hiliteIconRightPadding` - Default value is null
      See Also:
        `Hiliting overview and related methods`

    - #### getHiliteIconRightPadding

          public java.lang.Integer getHiliteIconRightPadding()

      How much padding should there be on the right of `hilite icons` for this field? Overrides `hiliteIconRightPadding`
      Returns:
        Integer
      See Also:
        `Hiliting overview and related methods`

    - #### setHiliteIconSize

          public void setHiliteIconSize(java.lang.Integer hiliteIconSize)

      Default width and height of `hilite icons` in this field. Takes precedence over hiliteIconWidth, hiliteIconHeight and hiliteIconSize specified at the component level. Can be overridden via `hiliteIconWidth` and `hiliteIconHeight`
      Parameters:
        `hiliteIconSize` - Default value is null
      See Also:
        `DetailViewer.setHiliteIconSize(int)`, `setHiliteIconWidth(java.lang.Integer)`, `setHiliteIconHeight(java.lang.Integer)`, `Hiliting overview and related methods`

    - #### getHiliteIconSize

          public java.lang.Integer getHiliteIconSize()

      Default width and height of `hilite icons` in this field. Takes precedence over hiliteIconWidth, hiliteIconHeight and hiliteIconSize specified at the component level. Can be overridden via `hiliteIconWidth` and `hiliteIconHeight`
      Returns:
        Integer
      See Also:
        `DetailViewer.getHiliteIconSize()`, `getHiliteIconWidth()`, `getHiliteIconHeight()`, `Hiliting overview and related methods`

    - #### setHiliteIconWidth

          public void setHiliteIconWidth(java.lang.Integer hiliteIconWidth)

      Width for hilite icons for this field. Overrides `hiliteIconSize`, `hiliteIconWidth`, and `hiliteIconSize`.
      Parameters:
        `hiliteIconWidth` - Default value is null
      See Also:
        `Hiliting overview and related methods`

    - #### getHiliteIconWidth

          public java.lang.Integer getHiliteIconWidth()

      Width for hilite icons for this field. Overrides `hiliteIconSize`, `hiliteIconWidth`, and `hiliteIconSize`.
      Returns:
        Integer
      See Also:
        `Hiliting overview and related methods`

    - #### setImageHeight

          public void setImageHeight(java.lang.Integer imageHeight)

      Height of image shown for fieldTypes image in this field.

      If set to a String, assumed to be a property on each record that specifies the image height. For example, if `field.imageHeight` is "logoHeight", `record.logoHeight` will control the height of the image.

      Parameters:
        `imageHeight` - Default value is null
      See Also:
        `setImageSize(java.lang.Integer)`, `setImageWidth(java.lang.Integer)`, `ImageColumns overview and related methods`

    - #### getImageHeight

          public java.lang.Integer getImageHeight()

      Height of image shown for fieldTypes image in this field.

      If set to a String, assumed to be a property on each record that specifies the image height. For example, if `field.imageHeight` is "logoHeight", `record.logoHeight` will control the height of the image.

      Returns:
        Integer
      See Also:
        `getImageSize()`, `getImageWidth()`, `ImageColumns overview and related methods`

    - #### setImageHeight

          public void setImageHeight(java.lang.String imageHeight)

      Height of image shown for fieldTypes image in this field.

      If set to a String, assumed to be a property on each record that specifies the image height. For example, if `field.imageHeight` is "logoHeight", `record.logoHeight` will control the height of the image.

      Parameters:
        `imageHeight` - Default value is null
      See Also:
        `setImageSize(java.lang.Integer)`, `setImageWidth(java.lang.Integer)`, `ImageColumns overview and related methods`

    - #### getImageHeightAsString

          public java.lang.String getImageHeightAsString()

      Height of image shown for fieldTypes image in this field.

      If set to a String, assumed to be a property on each record that specifies the image height. For example, if `field.imageHeight` is "logoHeight", `record.logoHeight` will control the height of the image.

      Returns:
        String
      See Also:
        `getImageSize()`, `getImageWidth()`, `ImageColumns overview and related methods`

    - #### setImageSize

          public void setImageSize(java.lang.Integer imageSize)

      Size of images shown for fieldTypes image in this field.

      If set to a String, assumed to be a property on each record that specifies the image height. For example, if `field.imageSize` is "logoSize", `record.logoSize` will control the size of the image.

      Parameters:
        `imageSize` - Default value is null
      See Also:
        `setImageWidth(java.lang.Integer)`, `setImageHeight(java.lang.Integer)`, `ImageColumns overview and related methods`

    - #### getImageSize

          public java.lang.Integer getImageSize()

      Size of images shown for fieldTypes image in this field.

      If set to a String, assumed to be a property on each record that specifies the image height. For example, if `field.imageSize` is "logoSize", `record.logoSize` will control the size of the image.

      Returns:
        Integer
      See Also:
        `getImageWidth()`, `getImageHeight()`, `ImageColumns overview and related methods`

    - #### setImageSize

          public void setImageSize(java.lang.String imageSize)

      Size of images shown for fieldTypes image in this field.

      If set to a String, assumed to be a property on each record that specifies the image height. For example, if `field.imageSize` is "logoSize", `record.logoSize` will control the size of the image.

      Parameters:
        `imageSize` - Default value is null
      See Also:
        `setImageWidth(java.lang.Integer)`, `setImageHeight(java.lang.Integer)`, `ImageColumns overview and related methods`

    - #### getImageSizeAsString

          public java.lang.String getImageSizeAsString()

      Size of images shown for fieldTypes image in this field.

      If set to a String, assumed to be a property on each record that specifies the image height. For example, if `field.imageSize` is "logoSize", `record.logoSize` will control the size of the image.

      Returns:
        String
      See Also:
        `getImageWidth()`, `getImageHeight()`, `ImageColumns overview and related methods`

    - #### setImageURLPrefix

          public void setImageURLPrefix(java.lang.String imageURLPrefix)

      If this field has type set to `"image"` and the URL for the image displayed is not absolute, the path of the URL will be relative to this string

      Note : This is an advanced setting

      Parameters:
        `imageURLPrefix` - Default value is null
      See Also:
        `ImageColumns overview and related methods`

    - #### getImageURLPrefix

          public java.lang.String getImageURLPrefix()

      If this field has type set to `"image"` and the URL for the image displayed is not absolute, the path of the URL will be relative to this string
      Returns:
        String
      See Also:
        `ImageColumns overview and related methods`

    - #### setImageWidth

          public void setImageWidth(java.lang.Integer imageWidth)

      Width of images shown for fieldTypes image in this field.

      If set to a String, assumed to be a property on each record that specifies the image width. For example, if `field.imageWidth` is "logoWidth", `record.logoWidth` will control the width of the image.

      Parameters:
        `imageWidth` - Default value is null
      See Also:
        `setImageSize(java.lang.Integer)`, `setImageHeight(java.lang.Integer)`, `ImageColumns overview and related methods`

    - #### getImageWidth

          public java.lang.Integer getImageWidth()

      Width of images shown for fieldTypes image in this field.

      If set to a String, assumed to be a property on each record that specifies the image width. For example, if `field.imageWidth` is "logoWidth", `record.logoWidth` will control the width of the image.

      Returns:
        Integer
      See Also:
        `getImageSize()`, `getImageHeight()`, `ImageColumns overview and related methods`

    - #### setImageWidth

          public void setImageWidth(java.lang.String imageWidth)

      Width of images shown for fieldTypes image in this field.

      If set to a String, assumed to be a property on each record that specifies the image width. For example, if `field.imageWidth` is "logoWidth", `record.logoWidth` will control the width of the image.

      Parameters:
        `imageWidth` - Default value is null
      See Also:
        `setImageSize(java.lang.Integer)`, `setImageHeight(java.lang.Integer)`, `ImageColumns overview and related methods`

    - #### getImageWidthAsString

          public java.lang.String getImageWidthAsString()

      Width of images shown for fieldTypes image in this field.

      If set to a String, assumed to be a property on each record that specifies the image width. For example, if `field.imageWidth` is "logoWidth", `record.logoWidth` will control the width of the image.

      Returns:
        String
      See Also:
        `getImageSize()`, `getImageHeight()`, `ImageColumns overview and related methods`

    - #### setIncludeFrom

          public void setIncludeFrom(java.lang.String includeFrom)

      Indicates this field's values come from another, related DataSource. The individual field will inherit settings such as `field.type` and `field.title` from the related DataSource just like fields from the primary DataSource.
      Parameters:
        `includeFrom` - Default value is null

    - #### getIncludeFrom

          public java.lang.String getIncludeFrom()

      Indicates this field's values come from another, related DataSource. The individual field will inherit settings such as `field.type` and `field.title` from the related DataSource just like fields from the primary DataSource.
      Returns:
        String

    - #### setLinkText

          public void setLinkText(java.lang.String linkText)

      The HTML to display for values of this field if the field type is set to "link".

      This property sets linkText that will be the same for all records. You can set linkText on a per-record basis via `linkText`.

      Parameters:
        `linkText` - Default value is null
      See Also:
        `setType(java.lang.String)`, `DetailViewerRecord.setLinkText(java.lang.String)`, `DetailViewer.setLinkTextProperty(java.lang.String)`, `setLinkTextProperty(java.lang.String)`

    - #### getLinkText

          public java.lang.String getLinkText()

      The HTML to display for values of this field if the field type is set to "link".

      This property sets linkText that will be the same for all records. You can set linkText on a per-record basis via `linkText`.

      Returns:
        String
      See Also:
        `getType()`, `DetailViewerRecord.getLinkText()`, `DetailViewer.getLinkTextProperty()`, `getLinkTextProperty()`

    - #### setLinkTextProperty

          public void setLinkTextProperty(java.lang.String linkTextProperty)

      Name of the property in a DetailViewerRecord that holds the HTML to display for values of this field if the field type is set to "link".
      Parameters:
        `linkTextProperty` - Default value is null
      See Also:
        `setType(java.lang.String)`, `DetailViewerRecord.setLinkText(java.lang.String)`, `setLinkText(java.lang.String)`, `DetailViewer.setLinkTextProperty(java.lang.String)`

    - #### getLinkTextProperty

          public java.lang.String getLinkTextProperty()

      Name of the property in a DetailViewerRecord that holds the HTML to display for values of this field if the field type is set to "link".
      Returns:
        String
      See Also:
        `getType()`, `DetailViewerRecord.getLinkText()`, `getLinkText()`, `DetailViewer.getLinkTextProperty()`

    - #### setLinkURLPrefix

          public void setLinkURLPrefix(java.lang.String linkURLPrefix)

      If this field has type set to `"link"`, setting this property will apply a standard prefix to the link URL when displaying values of this field.

      Note : This is an advanced setting

      Parameters:
        `linkURLPrefix` - Default value is null
      See Also:
        `setType(java.lang.String)`

    - #### getLinkURLPrefix

          public java.lang.String getLinkURLPrefix()

      If this field has type set to `"link"`, setting this property will apply a standard prefix to the link URL when displaying values of this field.
      Returns:
        String
      See Also:
        `getType()`

    - #### setLinkURLSuffix

          public void setLinkURLSuffix(java.lang.String linkURLSuffix)

      If this field has type set to `"link"`, setting this property will apply a standard suffix to the link URL when displaying values of this field.

      Note : This is an advanced setting

      Parameters:
        `linkURLSuffix` - Default value is null
      See Also:
        `setType(java.lang.String)`

    - #### getLinkURLSuffix

          public java.lang.String getLinkURLSuffix()

      If this field has type set to `"link"`, setting this property will apply a standard suffix to the link URL when displaying values of this field.
      Returns:
        String
      See Also:
        `getType()`

    - #### setName

          public void setName(java.lang.String name)

      Name property used to identify the field, and determines which attribute from records will be displayed in this field.

      Must be unique within the DetailViewer as well as a valid JavaScript identifier, as specified by ECMA-262 Section 7.6 (the StringUtil.isValidID() function can be used to test whether a name is a valid JavaScript identifier).

      The attribute of the records to display in this field may also be set by `displayField`.

      Parameters:
        `name` - Default value is null

    - #### getName

          public java.lang.String getName()

      Name property used to identify the field, and determines which attribute from records will be displayed in this field.

      Must be unique within the DetailViewer as well as a valid JavaScript identifier, as specified by ECMA-262 Section 7.6 (the StringUtil.isValidID() function can be used to test whether a name is a valid JavaScript identifier).

      The attribute of the records to display in this field may also be set by `displayField`.

      Returns:
        String

    - #### setPrintCellStyle

          public void setPrintCellStyle(java.lang.String printCellStyle)

      If specified, when generating print HTML for this detailViewer, cells in this field will be rendered using this css className rather than `printCellStyle`
      Parameters:
        `printCellStyle` - See `CSSClassName` . Default value is null

    - #### getPrintCellStyle

          public java.lang.String getPrintCellStyle()

      If specified, when generating print HTML for this detailViewer, cells in this field will be rendered using this css className rather than `printCellStyle`
      Returns:
        See `CSSClassName`

    - #### setShowFileInline

          public void setShowFileInline(java.lang.Boolean showFileInline)

      For a field of type:"imageFile", indicates whether to stream the image and display it inline or to display the View and Download icons.
      Parameters:
        `showFileInline` - Default value is null

    - #### getShowFileInline

          public java.lang.Boolean getShowFileInline()

      For a field of type:"imageFile", indicates whether to stream the image and display it inline or to display the View and Download icons.
      Returns:
        Boolean

    - #### setTarget

          public void setTarget(java.lang.String target)

      By default, clicking a link rendered by this item opens it in a new browser window. You can alter this behavior by setting this property. The value of this property will be passed as the value to the `target` attribute of the anchor tag used to render the link. `target` is applicable only if the field type is set to "link".
      Parameters:
        `target` - Default value is "_blank"
      See Also:
        `setType(java.lang.String)`

    - #### getTarget

          public java.lang.String getTarget()

      By default, clicking a link rendered by this item opens it in a new browser window. You can alter this behavior by setting this property. The value of this property will be passed as the value to the `target` attribute of the anchor tag used to render the link. `target` is applicable only if the field type is set to "link".
      Returns:
        String
      See Also:
        `getType()`

    - #### setTimeFormatter

          public void setTimeFormatter(TimeDisplayFormat timeFormatter)

      Time-format to apply to date type values within this field. If specified, any dates displayed in this field will be formatted as times using the appropriate format. This is most commonly only applied to fields specified as type `"time"` though if no explicit `dateFormatter` is specified it will be respected for other fields as well.

      If unspecified, a timeFormatter may be defined `at the component level` and will be respected by fields of type `"time"`.

      Note : This is an advanced setting

      Parameters:
        `timeFormatter` - Default value is null
      See Also:
        `Appearance overview and related methods`

    - #### getTimeFormatter

          public TimeDisplayFormat getTimeFormatter()

      Time-format to apply to date type values within this field. If specified, any dates displayed in this field will be formatted as times using the appropriate format. This is most commonly only applied to fields specified as type `"time"` though if no explicit `dateFormatter` is specified it will be respected for other fields as well.

      If unspecified, a timeFormatter may be defined `at the component level` and will be respected by fields of type `"time"`.

      Returns:
        TimeDisplayFormat
      See Also:
        `Appearance overview and related methods`

    - #### setTitle

          public void setTitle(java.lang.String title)

      The title of the field as displayed on the left-hand side. If left unspecified, the title of the field is derived by looking up the value of `fieldIdProperty` on this field. So, by default, the title of a field is the value of its "name" property.
      Parameters:
        `title` - See `HTMLString` . Default value is null
      See Also:
        `DetailViewer.setFieldIdProperty(java.lang.String)`

    - #### getTitle

          public java.lang.String getTitle()

      The title of the field as displayed on the left-hand side. If left unspecified, the title of the field is derived by looking up the value of `fieldIdProperty` on this field. So, by default, the title of a field is the value of its "name" property.
      Returns:
        See `HTMLString`
      See Also:
        `DetailViewer.getFieldIdProperty()`

    - #### setType

          public void setType(java.lang.String type)

      Specifies the type of this DetailViewerField. By default (value is `null`) the field shows a field title on the left and the field value on the right. There are four special values for this attribute:
      - "header" - If you specify type "header", the field spans both the field name and field value columns and contains text defined in the `value` attribute with the style specified by `headerStyle`. You can use this field type as a titled separator.
      - "separator" - If you specify type "separator", the field spans both the field name and the field value columns with no text, and is styled using the style specified via `separatorStyle`. The height of the separator field can be controlled via `height`.
      - "image" For viewing, a thumbnail image is rendered in the field. The URL of the image is the value of the field, and should be absolute. The size of the image is controlled by `imageSize`, `imageWidth`, `imageHeight`

      - "link" For viewing, a clickable html link (using an HTML anchor tag: <A>) is rendered in the field. The target URL is the value of the field, which is also the default display value. You can override the display value by setting `linkText` or `linkText`.

        Clicking the link opens the URL in a new window by default. To change this behavior, you can set `field.target`, which works identically to the "target" attribute on an HTML anchor (<A>) tag. See `target` for more information.

      Parameters:
        `type` - Default value is null

    - #### getType

          public java.lang.String getType()

      Specifies the type of this DetailViewerField. By default (value is `null`) the field shows a field title on the left and the field value on the right. There are four special values for this attribute:
      - "header" - If you specify type "header", the field spans both the field name and field value columns and contains text defined in the `value` attribute with the style specified by `headerStyle`. You can use this field type as a titled separator.
      - "separator" - If you specify type "separator", the field spans both the field name and the field value columns with no text, and is styled using the style specified via `separatorStyle`. The height of the separator field can be controlled via `height`.
      - "image" For viewing, a thumbnail image is rendered in the field. The URL of the image is the value of the field, and should be absolute. The size of the image is controlled by `imageSize`, `imageWidth`, `imageHeight`

      - "link" For viewing, a clickable html link (using an HTML anchor tag: <A>) is rendered in the field. The target URL is the value of the field, which is also the default display value. You can override the display value by setting `linkText` or `linkText`.

        Clicking the link opens the URL in a new window by default. To change this behavior, you can set `field.target`, which works identically to the "target" attribute on an HTML anchor (<A>) tag. See `target` for more information.

      Returns:
        String

    - #### setValue

          public void setValue(java.lang.String value)

      When a field specifies its `type` to be "header", the value of this attribute specifies the header text.
      Parameters:
        `value` - See `HTMLString` . Default value is "undefined"

    - #### getValue

          public java.lang.String getValue()

      When a field specifies its `type` to be "header", the value of this attribute specifies the header text.
      Returns:
        See `HTMLString`

    - #### setValueMap

          public void setValueMap(java.util.Map valueMap)

      A property list (or an expression that evaluates to a property list) specifying a mapping of internal values to display values for the field (row).
      Parameters:
        `valueMap` - Default value is null

    - #### setShowIfCondition

          public void setShowIfCondition(DetailViewerFieldIfFunction showIf)

      If specified on a field, this method is evaluated at draw time to determine whether or not to show this particular field.

      This method can be specified either as a function or a string that will be auto-converted to a function.

      Parameters:
        `showIf` - the showIf criteria

    - #### setDetailFormatter

          public void setDetailFormatter(DetailFormatter formatter)

    - #### setCellStyleHandler

          public void setCellStyleHandler(CellStyleHandler handler)

      Return the CSS class for a cell. Not implemented by default. The state of the record is indicated by adding a suffix to the base style. There are three independant boolean states, which are combined in the order given:
      1. "Selected" : whether cell is selected; enable by passing a Selection object as "selection"
      2. "Over" : mouse is over this cell; enable with showRollovers
      3. "Down" : mouse button is down over this cell
      For example, with a baseStyle of "myCell", a cell which is selected, which the mouse is over, will get a styleName of myCellSelectedOver.

      Cell Styles customizable by:

      - implementing this function
      - setting `cellStyle`
      - overriding `DetailViewer.getCellStyle()`