Package com.smartgwt.client.docs
Interface FormItemBaseStyle
public interface FormItemBaseStyle
This string is the base CSS class name applied to a FormItem (or some part of a form item). See the
formItem styling overview
for more information about styling formItems. The specified style name will be modified as the 'state' of the form item changes. Developers should provide appropriately named CSS classes for each stateful style described below:
- If
FormItem.showPending
is true, when the current value differs from the value that would be restored by a call toDynamicForm.resetValues()
, this style will have the suffix "Pending" appended to it. - If
FormItem.showFocused
is true, when the form item receives focus, this style will have the suffix "Focused" appended to it. - If
FormItem.showOver
is true, roll-over will be indicated by appending the suffix "Over" appended to the style name. This applies to thetextBoxStyle
andcontrolStyle
only. - If
FormItem.showErrorStyle
is true, if the form item has errors, this style will have the suffix "Error" appended to it. - If
FormItem.showDisabled
is true, when the form item is disabled, this style will have the suffix "Disabled" appended to it. - Finally, if
FormItem.showRTL
is true, when the form item is in RTL mode, this style will have the suffix "RTL" appended to it.