public class FormBuilder extends Object
Constructor and Description |
---|
FormBuilder() |
Modifier and Type | Method and Description |
---|---|
static void |
buildAdvancedCollectionForm(com.smartgwt.client.data.DataSource dataSource,
CollectionMetadata metadata,
String propertyName,
DynamicEntityPresenter presenter) |
static void |
buildAdvancedCollectionForm(com.smartgwt.client.data.DataSource dataSource,
com.smartgwt.client.data.DataSource lookupDataSource,
CollectionMetadata metadata,
String propertyName,
DynamicEntityPresenter presenter) |
protected static com.smartgwt.client.widgets.form.fields.FormItem |
buildDisplayField(com.smartgwt.client.data.DataSourceField field,
String fieldType) |
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) |
static com.smartgwt.client.widgets.layout.Layout |
findMemberById(com.smartgwt.client.widgets.layout.Layout parent,
String id) |
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) |
public static com.smartgwt.client.widgets.layout.Layout findMemberById(com.smartgwt.client.widgets.layout.Layout parent, String id)
public static void buildAdvancedCollectionForm(com.smartgwt.client.data.DataSource dataSource, com.smartgwt.client.data.DataSource lookupDataSource, CollectionMetadata metadata, String propertyName, DynamicEntityPresenter presenter)
public static void buildAdvancedCollectionForm(com.smartgwt.client.data.DataSource dataSource, CollectionMetadata metadata, String propertyName, DynamicEntityPresenter presenter)
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)
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)
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)
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)
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)
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 com.smartgwt.client.widgets.form.fields.FormItem buildDisplayField(com.smartgwt.client.data.DataSourceField field, String fieldType)
Copyright © 2013. All rights reserved.