com.smartgwt.client.data

## Class DBCField

- java.lang.Object
- - com.smartgwt.client.core.JsObject
  - - com.smartgwt.client.core.DataClass
    - - com.smartgwt.client.core.RefDataClass
      - - com.smartgwt.client.data.Field
        - - com.smartgwt.client.data.DBCField

- All Implemented Interfaces:
    com.google.gwt.event.shared.HasHandlers
  Direct Known Subclasses:
    DetailViewerField, ListGridField

      public class DBCField
      extends Field

  Represents a field in a `DataBoundComponent`.
  See Also:
    `ListGridField`, `DetailViewerField`

- - ### Field Summary

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

      `id`

    - ### 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
    `DBCField()`
    `DBCField(com.google.gwt.core.client.JavaScriptObject jsObj)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getName()` Name of this field.
    `static DBCField` | `getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)`
    `DBCField` | `setName(java.lang.String name)` Name of this field.

    - ### Methods inherited from class com.smartgwt.client.data.Field

      `getCanEdit, getCanExport, getEscapeHTML, getExportTitle, getMultiple, getSortByField, getTitle, getValueMap, setCanEdit, setCanExport, setEscapeHTML, setExportTitle, setMultiple, setRequired, setSortByField, setTitle, setValueMap`

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

      `getRef, getRef, internalSetID`

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

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

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

    - #### DBCField

          public DBCField()

    - #### DBCField

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

  - ### Method Detail

    - #### getOrCreateRef

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

    - #### setName

          public DBCField setName(java.lang.String name)

      Name of this field. Must be unique within the `DataBoundComponent` as well as a valid JavaScript identifier. See `FieldName` for details and how to check for validity.

      The name of the field is also the property in each record which holds the record's value for the field.

      Overrides:
        `setName` in class `Field`
      Parameters:
        `name` - New name value. Default value is null
      Returns:
        `DBCField` instance, for chaining setter calls
      See Also:
        `FieldName`

    - #### getName

          public java.lang.String getName()

      Name of this field. Must be unique within the `DataBoundComponent` as well as a valid JavaScript identifier. See `FieldName` for details and how to check for validity.

      The name of the field is also the property in each record which holds the record's value for the field.

      Overrides:
        `getName` in class `Field`
      Returns:
        Current name value. Default value is null
      See Also:
        `FieldName`