Package 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:
- HasHandlers
An ordinary JavaScript object with properties that configure a setting for use in a 
CSS-editor.- 
Field SummaryFields inherited from class com.smartgwt.client.core.DataClassfactoryCreated, factoryProperties
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionCan 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.The type of editor to use for this setting.FormItem properties to apply to editors for this setting.Name of thegroupthis setting will appear in for editing.getName()Unique name that identifies this setting.static StyleSettinggetOrCreateRef(JavaScriptObject jsObj) The CSS attribute name used when generating CSS from this item.If this setting allowsasymmetric editing, should it be edited in that mode by default?getTitle()Title for this setting when applied to a FormItem.setAllowAsymmetry(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.setDefaultEditorType(FormItemType defaultEditorType) The type of editor to use for this setting.setEditorProperties(FormItem editorProperties) FormItem properties to apply to editors for this setting.setGroupName(String groupName) Name of thegroupthis setting will appear in for editing.Unique name that identifies this setting.setSettingName(String settingName) The CSS attribute name used when generating CSS from this item.setShowAsymmetry(Boolean showAsymmetry) If this setting allowsasymmetric editing, should it be edited in that mode by default?Title for this setting when applied to a FormItem.Methods 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- 
StyleSettingpublic StyleSetting()
- 
StyleSetting
 
- 
- 
Method Details- 
getOrCreateRef
- 
setAllowAsymmetryCan 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:
- StyleSettinginstance, for chaining setter calls
 
- 
getAllowAsymmetryCan 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
 
- 
setDefaultEditorTypeThe type of editor to use for this setting.- Parameters:
- defaultEditorType- New defaultEditorType value. Default value is null
- Returns:
- StyleSettinginstance, for chaining setter calls
 
- 
getDefaultEditorTypeThe type of editor to use for this setting.- Returns:
- Current defaultEditorType value. Default value is null
 
- 
setEditorPropertiesFormItem properties to apply to editors for this setting.- Parameters:
- editorProperties- New editorProperties value. Default value is null
- Returns:
- StyleSettinginstance, for chaining setter calls
 
- 
getEditorPropertiesFormItem properties to apply to editors for this setting.- Returns:
- Current editorProperties value. Default value is null
 
- 
setGroupNameName of thegroupthis setting will appear in for editing.- Parameters:
- groupName- New groupName value. Default value is null
- Returns:
- StyleSettinginstance, for chaining setter calls
 
- 
getGroupNameName of thegroupthis setting will appear in for editing.- Returns:
- Current groupName value. Default value is null
 
- 
setNameUnique name that identifies this setting.- Parameters:
- name- New name value. Default value is null
- Returns:
- StyleSettinginstance, for chaining setter calls
 
- 
getNameUnique name that identifies this setting.- Returns:
- Current name value. Default value is null
 
- 
setSettingNameThe CSS attribute name used when generating CSS from this item. Rarely used to override the default behavior of using thename.- Parameters:
- settingName- New settingName value. Default value is null
- Returns:
- StyleSettinginstance, for chaining setter calls
 
- 
getSettingNameThe CSS attribute name used when generating CSS from this item. Rarely used to override the default behavior of using thename.- Returns:
- Current settingName value. Default value is null
 
- 
setShowAsymmetryIf this setting allowsasymmetric editing, should it be edited in that mode by default?- Parameters:
- showAsymmetry- New showAsymmetry value. Default value is null
- Returns:
- StyleSettinginstance, for chaining setter calls
 
- 
getShowAsymmetryIf this setting allowsasymmetric editing, should it be edited in that mode by default?- Returns:
- Current showAsymmetry value. Default value is null
 
- 
setTitleTitle for this setting when applied to a FormItem.- Parameters:
- title- New title value. Default value is null
- Returns:
- StyleSettinginstance, for chaining setter calls
 
- 
getTitleTitle for this setting when applied to a FormItem.- Returns:
- Current title value. Default value is null
 
 
-