com.smartgwt.client.tools

## Class StyleSetting

- java.lang.Object
- - com.smartgwt.client.core.JsObject
  - - com.smartgwt.client.core.DataClass
    - - com.smartgwt.client.tools.StyleSetting

- All Implemented Interfaces:
    com.google.gwt.event.shared.HasHandlers

      public class StyleSetting
      extends DataClass

  An ordinary JavaScript object with properties that configure a setting for use in a `CSS-editor`.

- - ### 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
    `StyleSetting()`
    `StyleSetting(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.Boolean` | `getAllowAsymmetry()` Can this setting be edited asymmetrically? For example, a border-setting can be applied to all sides at once, or asymmetrically to each side, as four separate border-settings.
    `FormItemType` | `getDefaultEditorType()` The type of editor to use for this setting.
    `FormItem` | `getEditorProperties()` FormItem properties to apply to editors for this setting.
    `java.lang.String` | `getGroupName()` Name of the `group` this setting will appear in for editing.
    `java.lang.String` | `getName()` Unique name that identifies this setting.
    `static StyleSetting` | `getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)`
    `java.lang.String` | `getSettingName()` The CSS attribute name used when generating CSS from this item.
    `java.lang.Boolean` | `getShowAsymmetry()` If this setting allows `asymmetric editing`, should it be edited in that mode by default?
    `java.lang.String` | `getTitle()` Title for this setting when applied to a FormItem.
    `StyleSetting` | `setAllowAsymmetry(java.lang.Boolean allowAsymmetry)` Can this setting be edited asymmetrically? For example, a border-setting can be applied to all sides at once, or asymmetrically to each side, as four separate border-settings.
    `StyleSetting` | `setDefaultEditorType(FormItemType defaultEditorType)` The type of editor to use for this setting.
    `StyleSetting` | `setEditorProperties(FormItem editorProperties)` FormItem properties to apply to editors for this setting.
    `StyleSetting` | `setGroupName(java.lang.String groupName)` Name of the `group` this setting will appear in for editing.
    `StyleSetting` | `setName(java.lang.String name)` Unique name that identifies this setting.
    `StyleSetting` | `setSettingName(java.lang.String settingName)` The CSS attribute name used when generating CSS from this item.
    `StyleSetting` | `setShowAsymmetry(java.lang.Boolean showAsymmetry)` If this setting allows `asymmetric editing`, should it be edited in that mode by default?
    `StyleSetting` | `setTitle(java.lang.String title)` Title for this setting when applied to a FormItem.

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

    - #### StyleSetting

          public StyleSetting()

    - #### StyleSetting

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

  - ### Method Detail

    - #### getOrCreateRef

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

    - #### setAllowAsymmetry

          public StyleSetting setAllowAsymmetry(java.lang.Boolean allowAsymmetry)

      Can this setting be edited asymmetrically? For example, a border-setting can be applied to all sides at once, or asymmetrically to each side, as four separate border-settings.
      Parameters:
        `allowAsymmetry` - New allowAsymmetry value. Default value is null
      Returns:
        `StyleSetting` instance, for chaining setter calls

    - #### getAllowAsymmetry

          public java.lang.Boolean getAllowAsymmetry()

      Can this setting be edited asymmetrically? For example, a border-setting can be applied to all sides at once, or asymmetrically to each side, as four separate border-settings.
      Returns:
        Current allowAsymmetry value. Default value is null

    - #### setDefaultEditorType

          public StyleSetting setDefaultEditorType(FormItemType defaultEditorType)

      The type of editor to use for this setting.
      Parameters:
        `defaultEditorType` - New defaultEditorType value. Default value is null
      Returns:
        `StyleSetting` instance, for chaining setter calls

    - #### getDefaultEditorType

          public FormItemType getDefaultEditorType()

      The type of editor to use for this setting.
      Returns:
        Current defaultEditorType value. Default value is null

    - #### setEditorProperties

          public StyleSetting setEditorProperties(FormItem editorProperties)

      FormItem properties to apply to editors for this setting.
      Parameters:
        `editorProperties` - New editorProperties value. Default value is null
      Returns:
        `StyleSetting` instance, for chaining setter calls

    - #### getEditorProperties

          public FormItem getEditorProperties()

      FormItem properties to apply to editors for this setting.
      Returns:
        Current editorProperties value. Default value is null

    - #### setGroupName

          public StyleSetting setGroupName(java.lang.String groupName)

      Name of the `group` this setting will appear in for editing.
      Parameters:
        `groupName` - New groupName value. Default value is null
      Returns:
        `StyleSetting` instance, for chaining setter calls

    - #### getGroupName

          public java.lang.String getGroupName()

      Name of the `group` this setting will appear in for editing.
      Returns:
        Current groupName value. Default value is null

    - #### setName

          public StyleSetting setName(java.lang.String name)

      Unique name that identifies this setting.
      Parameters:
        `name` - New name value. Default value is null
      Returns:
        `StyleSetting` instance, for chaining setter calls

    - #### getName

          public java.lang.String getName()

      Unique name that identifies this setting.
      Returns:
        Current name value. Default value is null

    - #### setSettingName

          public StyleSetting setSettingName(java.lang.String settingName)

      The CSS attribute name used when generating CSS from this item. Rarely used to override the default behavior of using the `name`.
      Parameters:
        `settingName` - New settingName value. Default value is null
      Returns:
        `StyleSetting` instance, for chaining setter calls

    - #### getSettingName

          public java.lang.String getSettingName()

      The CSS attribute name used when generating CSS from this item. Rarely used to override the default behavior of using the `name`.
      Returns:
        Current settingName value. Default value is null

    - #### setShowAsymmetry

          public StyleSetting setShowAsymmetry(java.lang.Boolean showAsymmetry)

      If this setting allows `asymmetric editing`, should it be edited in that mode by default?
      Parameters:
        `showAsymmetry` - New showAsymmetry value. Default value is null
      Returns:
        `StyleSetting` instance, for chaining setter calls

    - #### getShowAsymmetry

          public java.lang.Boolean getShowAsymmetry()

      If this setting allows `asymmetric editing`, should it be edited in that mode by default?
      Returns:
        Current showAsymmetry value. Default value is null

    - #### setTitle

          public StyleSetting setTitle(java.lang.String title)

      Title for this setting when applied to a FormItem.
      Parameters:
        `title` - New title value. Default value is null
      Returns:
        `StyleSetting` instance, for chaining setter calls

    - #### getTitle

          public java.lang.String getTitle()

      Title for this setting when applied to a FormItem.
      Returns:
        Current title value. Default value is null