org.broadleafcommerce.openadmin.client.view.dynamic.form
Class FormBuilder
java.lang.Object
org.broadleafcommerce.openadmin.client.view.dynamic.form.FormBuilder
public class FormBuilder
- extends Object
- Author:
- jfischer
|
Method Summary |
protected static com.smartgwt.client.widgets.form.fields.FormItem |
buildDisplayField(com.smartgwt.client.data.DataSourceField field,
String fieldType)
|
protected static com.smartgwt.client.widgets.form.fields.FormItem |
buildField(com.smartgwt.client.data.DataSource dataSource,
com.smartgwt.client.data.DataSourceField field,
String fieldType,
Boolean largeEntry,
com.smartgwt.client.widgets.form.DynamicForm form)
|
static void |
buildForm(com.smartgwt.client.data.DataSource dataSource,
com.smartgwt.client.widgets.form.DynamicForm form,
Boolean showDisabledState,
Boolean canEdit,
Boolean showId,
com.smartgwt.client.data.Record currentRecord)
|
static void |
buildForm(com.smartgwt.client.data.DataSource dataSource,
com.smartgwt.client.widgets.form.DynamicForm form,
Boolean showId,
com.smartgwt.client.data.Record currentRecord)
|
static void |
buildMapForm(com.smartgwt.client.data.DataSource dataSource,
com.smartgwt.client.widgets.form.DynamicForm form,
MapStructure mapStructure,
com.smartgwt.client.data.DataSource optionDataSource,
String displayField,
String valueField,
Boolean showId,
com.smartgwt.client.data.Record currentRecord)
|
static void |
buildMapForm(com.smartgwt.client.data.DataSource dataSource,
com.smartgwt.client.widgets.form.DynamicForm form,
MapStructure mapStructure,
LinkedHashMap<String,String> mapKeys,
Boolean showId,
com.smartgwt.client.data.Record currentRecord)
|
protected static void |
checkForPasswordField(Boolean showDisabledState,
Boolean canEdit,
Map<String,List<com.smartgwt.client.widgets.form.fields.FormItem>> sections,
Map<String,Integer> sectionNames,
com.smartgwt.client.data.DataSourceField field,
String group,
Integer groupOrder,
com.smartgwt.client.widgets.form.fields.FormItem formItem,
com.smartgwt.client.widgets.form.fields.FormItem displayFormItem,
com.smartgwt.client.widgets.form.DynamicForm form)
|
protected static void |
groupFields(com.smartgwt.client.widgets.form.DynamicForm form,
Map<String,List<com.smartgwt.client.widgets.form.fields.FormItem>> sections,
Map<String,Integer> sectionNames,
Map<String,Boolean> sectionCollapsed)
|
protected static void |
setupField(Boolean showDisabledState,
Boolean canEdit,
Map<String,List<com.smartgwt.client.widgets.form.fields.FormItem>> sections,
Map<String,Integer> sectionNames,
com.smartgwt.client.data.DataSourceField field,
String group,
Integer groupOrder,
com.smartgwt.client.widgets.form.fields.FormItem formItem,
com.smartgwt.client.widgets.form.fields.FormItem displayFormItem)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormBuilder
public FormBuilder()
buildForm
public static void buildForm(com.smartgwt.client.data.DataSource dataSource,
com.smartgwt.client.widgets.form.DynamicForm form,
Boolean showId,
com.smartgwt.client.data.Record currentRecord)
buildForm
public static void buildForm(com.smartgwt.client.data.DataSource dataSource,
com.smartgwt.client.widgets.form.DynamicForm form,
Boolean showDisabledState,
Boolean canEdit,
Boolean showId,
com.smartgwt.client.data.Record currentRecord)
buildMapForm
public static void buildMapForm(com.smartgwt.client.data.DataSource dataSource,
com.smartgwt.client.widgets.form.DynamicForm form,
MapStructure mapStructure,
com.smartgwt.client.data.DataSource optionDataSource,
String displayField,
String valueField,
Boolean showId,
com.smartgwt.client.data.Record currentRecord)
buildMapForm
public static void buildMapForm(com.smartgwt.client.data.DataSource dataSource,
com.smartgwt.client.widgets.form.DynamicForm form,
MapStructure mapStructure,
LinkedHashMap<String,String> mapKeys,
Boolean showId,
com.smartgwt.client.data.Record currentRecord)
groupFields
protected static void groupFields(com.smartgwt.client.widgets.form.DynamicForm form,
Map<String,List<com.smartgwt.client.widgets.form.fields.FormItem>> sections,
Map<String,Integer> sectionNames,
Map<String,Boolean> sectionCollapsed)
setupField
protected static void setupField(Boolean showDisabledState,
Boolean canEdit,
Map<String,List<com.smartgwt.client.widgets.form.fields.FormItem>> sections,
Map<String,Integer> sectionNames,
com.smartgwt.client.data.DataSourceField field,
String group,
Integer groupOrder,
com.smartgwt.client.widgets.form.fields.FormItem formItem,
com.smartgwt.client.widgets.form.fields.FormItem displayFormItem)
checkForPasswordField
protected static void checkForPasswordField(Boolean showDisabledState,
Boolean canEdit,
Map<String,List<com.smartgwt.client.widgets.form.fields.FormItem>> sections,
Map<String,Integer> sectionNames,
com.smartgwt.client.data.DataSourceField field,
String group,
Integer groupOrder,
com.smartgwt.client.widgets.form.fields.FormItem formItem,
com.smartgwt.client.widgets.form.fields.FormItem displayFormItem,
com.smartgwt.client.widgets.form.DynamicForm form)
buildDisplayField
protected static com.smartgwt.client.widgets.form.fields.FormItem buildDisplayField(com.smartgwt.client.data.DataSourceField field,
String fieldType)
buildField
protected static com.smartgwt.client.widgets.form.fields.FormItem buildField(com.smartgwt.client.data.DataSource dataSource,
com.smartgwt.client.data.DataSourceField field,
String fieldType,
Boolean largeEntry,
com.smartgwt.client.widgets.form.DynamicForm form)
Copyright © 2012. All Rights Reserved.