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.showPendingis 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.showFocusedis true, when the form item receives focus, this style will have the suffix "Focused" appended to it. - If
FormItem.showOveris true, roll-over will be indicated by appending the suffix "Over" appended to the style name. This applies to thetextBoxStyleandcontrolStyleonly. - If
FormItem.showErrorStyleis true, if the form item has errors, this style will have the suffix "Error" appended to it. - If
FormItem.showDisabledis true, when the form item is disabled, this style will have the suffix "Disabled" appended to it. - Finally, if
FormItem.showRTLis true, when the form item is in RTL mode, this style will have the suffix "RTL" appended to it.