Class ItemFactory
- java.lang.Object
- 
- com.logicaldoc.gui.common.client.util.ItemFactory
 
- 
 public class ItemFactory extends Object Collection of useful factory methods for form items.- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
 
- 
- 
Constructor SummaryConstructors Constructor Description ItemFactory()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static StringfilterItemName(String name)Filter the name from problematic charsstatic com.smartgwt.client.widgets.form.fields.SelectItemnew2AFMethodSelector(String name, String value)static com.smartgwt.client.widgets.form.fields.SelectItemnewAliasTypeSelector()static com.smartgwt.client.widgets.form.fields.SelectItemnewArchiveSelector(int mode, Integer status)static com.smartgwt.client.widgets.form.fields.SelectItemnewAttributeSetSelector()static com.smartgwt.client.widgets.form.fields.SelectItemnewAttributesSelector()static com.smartgwt.client.widgets.form.fields.SelectItemnewAutomationRoutineSelector(String name, Long value, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler, boolean showEmpty)static com.smartgwt.client.widgets.form.fields.MultiComboBoxItemnewBarcodeFormatsComboBoxItem(String name, String title, String values)static com.smartgwt.client.widgets.form.fields.MultiComboBoxItemnewBarcodeFormatsComboBoxItem(String name, String title, String[] values)static com.smartgwt.client.widgets.form.fields.SelectItemnewBarcodeGenerationFormatSelector(String name, String title, String value)static com.smartgwt.client.widgets.form.fields.SelectItemnewBarcodeTemplateSelector(boolean withEmpty, Long filterTemplateId, Long selectedTemplateId)Creates a select list with the barcode templatesstatic com.smartgwt.client.widgets.form.fields.RadioGroupItemnewBooleanSelector(String name, String title)static com.smartgwt.client.widgets.form.fields.SelectItemnewBooleanSelectorForAttribute(String name, String title, boolean allowEmpty)Simple boolean selector for Extended Attributestatic com.smartgwt.client.widgets.ImgnewBrandImg(String name, GUIInfo info)static com.smartgwt.client.widgets.form.fields.SelectItemnewCalendarEventStatusSelector(String name, String title)static com.smartgwt.client.widgets.form.fields.SelectItemnewCharsetSelector(String name)static com.smartgwt.client.widgets.form.fields.CheckboxItemnewCheckbox(String name, String title)static com.smartgwt.client.widgets.form.fields.ColorPickerItemnewColorItemPicker(String name, String title, String value, boolean clearOption, com.smartgwt.client.widgets.form.fields.events.ChangedHandler changedHandler)static com.smartgwt.client.widgets.form.fields.ComboBoxItemnewComboBoxItem(String name, String title)static com.smartgwt.client.widgets.form.fields.SelectItemnewComparatorSelector()static com.smartgwt.client.widgets.form.fields.SelectItemnewComparatorSelector(String inExt)static com.smartgwt.client.widgets.form.fields.SelectItemnewConversionFormatItem(String fileName)static com.smartgwt.client.widgets.form.fields.SelectItemnewDashletSelector(String name, String title)static com.smartgwt.client.widgets.form.fields.SelectItemnewDashletTypeSelector(String value)static com.smartgwt.client.widgets.form.fields.DateItemnewDateItem(String name, String title)Creates a new DateItem.static com.smartgwt.client.widgets.form.fields.DateItemnewDateItemForAttribute(String name, String title)Creates a new DateItem for the Extended AttributesDS.static com.smartgwt.client.widgets.form.fields.SelectItemnewDateOperator(String name, String title)static com.smartgwt.client.widgets.form.fields.SelectItemnewDensitySelector()static com.smartgwt.client.widgets.form.fields.SelectItemnewDocuSignTabType(String value)static com.smartgwt.client.widgets.form.fields.SelectItemnewDueTimeSelector(String name, String title)static com.smartgwt.client.widgets.form.fields.SelectItemnewEffectSelector(String name, String title)static com.smartgwt.client.widgets.form.fields.ComboBoxItemnewEmailComboSelector(String name, String title)static com.smartgwt.client.widgets.form.fields.SelectItemnewEmailFields(String name, String title)static com.smartgwt.client.widgets.form.fields.SelectItemnewEmailFolderingSelector(String name, String title)static com.smartgwt.client.widgets.form.fields.SelectItemnewEmailFromSelector(String name, String title)static com.smartgwt.client.widgets.form.fields.TextItemnewEmailItem(String name, String title, boolean multiple)static com.smartgwt.client.widgets.form.fields.SelectItemnewEmailProtocolSelector(String name, String title)static com.smartgwt.client.widgets.form.fields.SelectItemnewEmailSelector(String name, String title)static com.smartgwt.client.widgets.form.fields.SelectItemnewEventSelector(String name, String title, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler, boolean folder, boolean workflow, boolean user)static com.smartgwt.client.widgets.form.fields.SelectItemnewEventsSelector(String name, String title, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler, boolean folder, boolean workflow, boolean user)static com.smartgwt.client.widgets.form.fields.FloatItemnewFloatItem(String name, String title, Float value)Creates a new FloatItem.static com.smartgwt.client.widgets.form.fields.FormItemnewFloatItemForAttribute(String name, String label, Float value)Creates a new FloatItem for the Extended AttributesDS.static com.smartgwt.client.widgets.form.fields.TextItemnewFolderSelectorForAttribute(String name, String title, boolean allowsNull, List<com.smartgwt.client.widgets.form.fields.FormItemIcon> additionalIcons)static com.smartgwt.client.widgets.form.fields.SelectItemnewFolderTemplateSelector()static com.smartgwt.client.widgets.form.fields.SelectItemnewFormatConverterSelector()static com.smartgwt.client.widgets.form.fields.SelectItemnewFormatConverterSelector(String inExt, String outExt)static com.smartgwt.client.widgets.form.fields.SelectItemnewFormSelector()static com.smartgwt.client.widgets.form.fields.SelectItemnewFrequencySelector(String name, String title)static com.smartgwt.client.widgets.form.fields.SelectItemnewGroupSelector(String name, String title)static com.smartgwt.client.widgets.HeaderControl.HeaderIconnewHeaderIcon(String image)static com.smartgwt.client.widgets.ImgnewImg(String name)static com.smartgwt.client.widgets.ImgnewImgIcon(String name)static com.smartgwt.client.widgets.form.fields.SelectItemnewImportCustomIds()static com.smartgwt.client.widgets.form.fields.SelectItemnewImportFolderProviderOption(String value)static com.smartgwt.client.widgets.form.fields.IntegerItemnewIntegerItem(String name, String title, Integer value)Creates a new IntegerItem.static com.smartgwt.client.widgets.form.fields.FormItemnewIntegerItemForAttribute(String name, String label, Integer value)Creates a new IntegerItem for the Extended AttributesDS.static com.smartgwt.client.widgets.form.fields.FormItemIconnewItemIcon(String image)static com.smartgwt.client.widgets.form.fields.SelectItemnewLanguageSelector(String name, boolean withEmpty, boolean gui)static com.smartgwt.client.widgets.form.fields.LinkItemnewLinkItem(String name, String title)static com.smartgwt.client.widgets.LabelnewLinkLabel(String title)static com.smartgwt.client.widgets.form.fields.IntegerItemnewLongItem(String name, String title, Long value)Creates a new IntegerItemstatic com.smartgwt.client.widgets.form.fields.MiniDateRangeItemnewMiniDateRangeItem(String name, String title)static com.smartgwt.client.widgets.form.fields.MultiComboBoxItemnewMultiComboBoxItem(String name, String title, com.smartgwt.client.data.DataSource options, Object[] values)static com.smartgwt.client.widgets.form.fields.SelectItemnewMultipleSelector(String name, String title)static com.smartgwt.client.widgets.form.fields.MultiComboBoxItemnewMultipleUsersSelector(String name, String title, boolean skipDisabled, long[] selection)static com.smartgwt.client.widgets.form.fields.SelectItemnewOCRStatusSelector(Integer value)static com.smartgwt.client.widgets.form.fields.SelectItemnewOCRTemplateSelector(boolean withEmpty, Long filterTemplateId, Long selectedTemplateId)Creates a select list with the OCR templatesstatic com.smartgwt.client.widgets.form.fields.PasswordItemnewPasswordItem(String name, String title, String value)static com.smartgwt.client.widgets.form.fields.SelectItemnewPrioritySelector(String name, String title)static com.smartgwt.client.widgets.form.fields.RadioGroupItemnewRadioGroup(String name, String title)static com.smartgwt.client.widgets.form.fields.SelectItemnewRecipientTypeSelector(String name)static com.smartgwt.client.widgets.form.fields.SelectItemnewRetentionAction(int value)static com.smartgwt.client.widgets.form.fields.SelectItemnewRetentionDateOption(int value)static com.smartgwt.client.widgets.form.fields.RichTextItemnewRichTextItemForAutomation(String name, String title, String value, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler)static com.smartgwt.client.widgets.form.fields.RichTextItemnewRichTextItemForEmail(String name, String title, String value, com.smartgwt.client.widgets.form.fields.events.ChangedHandler chagnedHandler)Creates a new RichTextItem suitable for emails.static com.smartgwt.client.widgets.form.fields.RichTextItemnewRichTextItemForNote(String name, String title, String value)Creates a new RichTextItem suitable for notes.static com.smartgwt.client.widgets.form.fields.RowSpacerItemnewRowSpacer()static com.smartgwt.client.widgets.form.fields.SelectItemnewRunlevelSelector()static com.smartgwt.client.widgets.form.fields.SelectItemnewSelectItem(String name, String title)static com.smartgwt.client.widgets.form.fields.TextItemnewSimpleTextItem(String name, String title, String value)Creates a new TextItem that validates a simple textstatic com.smartgwt.client.widgets.form.fields.SelectItemnewSizeOperator(String name, String title)static com.smartgwt.client.widgets.form.fields.SelectItemnewSkinSelector()static com.smartgwt.client.widgets.form.fields.SpinnerItemnewSpinnerItem(String name, String title, Integer value)static com.smartgwt.client.widgets.form.fields.SpinnerItemnewSpinnerItem(String name, String title, Integer value, Integer min, Integer max)Creates a new SpinnerItem(with a range validator)static com.smartgwt.client.widgets.form.fields.SpinnerItemnewSpinnerItem(String name, String title, Long value)static com.smartgwt.client.widgets.form.fields.SelectItemnewSplitSeparatorHandlingSelector()static com.smartgwt.client.widgets.form.fields.SelectItemnewSplittingPolicySelector()static com.smartgwt.client.widgets.form.fields.SelectItemnewStampSelector()static com.smartgwt.client.widgets.form.fields.StaticTextItemnewStaticTextItem(String name, String title, String value)Creates a new StaticTextItemstatic com.smartgwt.client.widgets.form.fields.SelectItemnewStorageSelector(String name, Integer value)static com.smartgwt.client.widgets.form.fields.SelectItemnewStorageTypeSelector()static com.smartgwt.client.widgets.form.fields.FormItemnewStringItemForAttribute(GUIAttribute att)Creates a new TextItem for an extended attributestatic com.smartgwt.client.widgets.form.fields.SelectItemnewTagInputMode(String name, String title)static com.smartgwt.client.widgets.form.fields.MultiComboBoxItemnewTagsComboBoxItem(String name, String title, TagsDS options, Object[] tags)static com.smartgwt.client.widgets.form.fields.SelectItemnewTagsMultiplePickList(String name, String title, TagsDS options, Object[] tags)static com.smartgwt.client.widgets.form.fields.SelectItemnewTemplateSelector(boolean withEmpty, Long selectedTemplateId)static com.smartgwt.client.widgets.form.fields.SelectItemnewTenantSelector()static com.smartgwt.client.widgets.form.fields.TextAreaItemnewTextAreaItem(String name, String title, String value)Creates a new TextAreaItemstatic com.smartgwt.client.widgets.form.fields.TextAreaItemnewTextAreaItemForAutomation(String name, String title, String value, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler, boolean withHtmlEditor)static com.smartgwt.client.widgets.form.fields.TextItemnewTextItem(String name, String title, String value)Creates a new TextItem.static com.smartgwt.client.widgets.form.fields.TextItemnewTextItemForAutomation(String name, String title, String value, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler)static com.smartgwt.client.widgets.form.fields.TimeItemnewTimeItem(String name, String title)static com.smartgwt.client.widgets.form.fields.SelectItemnewUserSelector(String name, String title, String groupIdOrName, boolean required, boolean skipDisabled)static com.smartgwt.client.widgets.form.fields.SelectItemnewUserSelectorForAttribute(String name, String title, String groupIdOrName, List<com.smartgwt.client.widgets.form.fields.FormItemIcon> additionalIcons)static com.smartgwt.client.widgets.form.fields.SelectItemnewUserTypeSelector(String name, int userType)static com.smartgwt.client.widgets.form.fields.IntegerItemnewValidateIntegerItem(String name, String title, Integer value, Integer min, Integer max)Creates a new IntegerItem with a range validatorstatic com.smartgwt.client.widgets.form.fields.SelectItemnewWelcomeScreenSelector(Integer value)static com.smartgwt.client.widgets.form.fields.SelectItemnewWorkflowSelector()static com.smartgwt.client.widgets.form.fields.SelectItemnewWorkspaceSelector(Long value)static com.smartgwt.client.widgets.form.fields.RadioGroupItemnewYesNoRadioItem(String name, String label)Simple yes/no radio button.static com.smartgwt.client.widgets.form.fields.SelectItemnewYesNoSelectItem(String name, String title)static StringoriginalItemName(String name)Obtain the original item name
 
- 
- 
- 
Method Detail- 
newColorItemPickerpublic static com.smartgwt.client.widgets.form.fields.ColorPickerItem newColorItemPicker(String name, String title, String value, boolean clearOption, com.smartgwt.client.widgets.form.fields.events.ChangedHandler changedHandler) 
 - 
newDateItempublic static com.smartgwt.client.widgets.form.fields.DateItem newDateItem(String name, String title) Creates a new DateItem.- Parameters:
- name- The item name (mandatory)
- title- The item title (optional)
- Returns:
- the new item
 
 - 
newDateItemForAttributepublic static com.smartgwt.client.widgets.form.fields.DateItem newDateItemForAttribute(String name, String title) Creates a new DateItem for the Extended AttributesDS.- Parameters:
- name- The item name (mandatory)
- title- The item title
- Returns:
- the new item
 
 - 
newMiniDateRangeItempublic static com.smartgwt.client.widgets.form.fields.MiniDateRangeItem newMiniDateRangeItem(String name, String title) 
 - 
newMultipleUsersSelectorpublic static com.smartgwt.client.widgets.form.fields.MultiComboBoxItem newMultipleUsersSelector(String name, String title, boolean skipDisabled, long[] selection) 
 - 
newFolderSelectorForAttributepublic static com.smartgwt.client.widgets.form.fields.TextItem newFolderSelectorForAttribute(String name, String title, boolean allowsNull, List<com.smartgwt.client.widgets.form.fields.FormItemIcon> additionalIcons) 
 - 
newUserSelectorForAttributepublic static com.smartgwt.client.widgets.form.fields.SelectItem newUserSelectorForAttribute(String name, String title, String groupIdOrName, List<com.smartgwt.client.widgets.form.fields.FormItemIcon> additionalIcons) 
 - 
newRecipientTypeSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newRecipientTypeSelector(String name) 
 - 
newUserTypeSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newUserTypeSelector(String name, int userType) 
 - 
newDashletTypeSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newDashletTypeSelector(String value) 
 - 
newDensitySelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newDensitySelector() 
 - 
newSkinSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newSkinSelector() 
 - 
newDateOperatorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newDateOperator(String name, String title) 
 - 
newSizeOperatorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newSizeOperator(String name, String title) 
 - 
newBarcodeGenerationFormatSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newBarcodeGenerationFormatSelector(String name, String title, String value) 
 - 
newLanguageSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newLanguageSelector(String name, boolean withEmpty, boolean gui) 
 - 
newCharsetSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newCharsetSelector(String name) 
 - 
newStorageSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newStorageSelector(String name, Integer value) 
 - 
newStorageTypeSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newStorageTypeSelector() 
 - 
newComparatorSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newComparatorSelector() 
 - 
newComparatorSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newComparatorSelector(String inExt) 
 - 
newFormatConverterSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newFormatConverterSelector() 
 - 
newFormatConverterSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newFormatConverterSelector(String inExt, String outExt) 
 - 
newEmailItempublic static com.smartgwt.client.widgets.form.fields.TextItem newEmailItem(String name, String title, boolean multiple) 
 - 
newEmailComboSelectorpublic static com.smartgwt.client.widgets.form.fields.ComboBoxItem newEmailComboSelector(String name, String title) 
 - 
newEmailSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newEmailSelector(String name, String title) 
 - 
newEmailFromSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newEmailFromSelector(String name, String title) 
 - 
newGroupSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newGroupSelector(String name, String title) 
 - 
newUserSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newUserSelector(String name, String title, String groupIdOrName, boolean required, boolean skipDisabled) 
 - 
newTenantSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newTenantSelector() 
 - 
newAutomationRoutineSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newAutomationRoutineSelector(String name, Long value, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler, boolean showEmpty) 
 - 
newRadioGrouppublic static com.smartgwt.client.widgets.form.fields.RadioGroupItem newRadioGroup(String name, String title) 
 - 
newBooleanSelectorpublic static com.smartgwt.client.widgets.form.fields.RadioGroupItem newBooleanSelector(String name, String title) 
 - 
newCheckboxpublic static com.smartgwt.client.widgets.form.fields.CheckboxItem newCheckbox(String name, String title) 
 - 
newMultiComboBoxItempublic static com.smartgwt.client.widgets.form.fields.MultiComboBoxItem newMultiComboBoxItem(String name, String title, com.smartgwt.client.data.DataSource options, Object[] values) 
 - 
newTagsComboBoxItempublic static com.smartgwt.client.widgets.form.fields.MultiComboBoxItem newTagsComboBoxItem(String name, String title, TagsDS options, Object[] tags) 
 - 
newBarcodeFormatsComboBoxItempublic static com.smartgwt.client.widgets.form.fields.MultiComboBoxItem newBarcodeFormatsComboBoxItem(String name, String title, String values) 
 - 
newBarcodeFormatsComboBoxItempublic static com.smartgwt.client.widgets.form.fields.MultiComboBoxItem newBarcodeFormatsComboBoxItem(String name, String title, String[] values) 
 - 
newTagsMultiplePickListpublic static com.smartgwt.client.widgets.form.fields.SelectItem newTagsMultiplePickList(String name, String title, TagsDS options, Object[] tags) 
 - 
newMultipleSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newMultipleSelector(String name, String title) 
 - 
newPrioritySelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newPrioritySelector(String name, String title) 
 - 
newWelcomeScreenSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newWelcomeScreenSelector(Integer value) 
 - 
newDashletSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newDashletSelector(String name, String title) 
 - 
newEventsSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newEventsSelector(String name, String title, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler, boolean folder, boolean workflow, boolean user) 
 - 
newOCRStatusSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newOCRStatusSelector(Integer value) 
 - 
newEventSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newEventSelector(String name, String title, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler, boolean folder, boolean workflow, boolean user) 
 - 
newSelectItempublic static com.smartgwt.client.widgets.form.fields.SelectItem newSelectItem(String name, String title) 
 - 
newConversionFormatItempublic static com.smartgwt.client.widgets.form.fields.SelectItem newConversionFormatItem(String fileName) 
 - 
newComboBoxItempublic static com.smartgwt.client.widgets.form.fields.ComboBoxItem newComboBoxItem(String name, String title) 
 - 
newYesNoSelectItempublic static com.smartgwt.client.widgets.form.fields.SelectItem newYesNoSelectItem(String name, String title) 
 - 
newSpinnerItempublic static com.smartgwt.client.widgets.form.fields.SpinnerItem newSpinnerItem(String name, String title, Long value) 
 - 
newSpinnerItempublic static com.smartgwt.client.widgets.form.fields.SpinnerItem newSpinnerItem(String name, String title, Integer value) 
 - 
newImgIconpublic static com.smartgwt.client.widgets.Img newImgIcon(String name) 
 - 
newImgpublic static com.smartgwt.client.widgets.Img newImg(String name) 
 - 
newItemIconpublic static com.smartgwt.client.widgets.form.fields.FormItemIcon newItemIcon(String image) 
 - 
newHeaderIconpublic static com.smartgwt.client.widgets.HeaderControl.HeaderIcon newHeaderIcon(String image) 
 - 
newTextItempublic static com.smartgwt.client.widgets.form.fields.TextItem newTextItem(String name, String title, String value) Creates a new TextItem.- Parameters:
- name- The item name (mandatory)
- title- The item title (mandatory)
- value- The item value (optional)
- Returns:
- the text item
 
 - 
newTextItemForAutomationpublic static com.smartgwt.client.widgets.form.fields.TextItem newTextItemForAutomation(String name, String title, String value, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler) 
 - 
newRichTextItemForAutomationpublic static com.smartgwt.client.widgets.form.fields.RichTextItem newRichTextItemForAutomation(String name, String title, String value, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler) 
 - 
newRowSpacerpublic static com.smartgwt.client.widgets.form.fields.RowSpacerItem newRowSpacer() 
 - 
newStringItemForAttributepublic static com.smartgwt.client.widgets.form.fields.FormItem newStringItemForAttribute(GUIAttribute att) Creates a new TextItem for an extended attribute- Parameters:
- att- the attribute
- Returns:
- the new item
 
 - 
newPasswordItempublic static com.smartgwt.client.widgets.form.fields.PasswordItem newPasswordItem(String name, String title, String value) 
 - 
newSimpleTextItempublic static com.smartgwt.client.widgets.form.fields.TextItem newSimpleTextItem(String name, String title, String value) Creates a new TextItem that validates a simple text- Parameters:
- name- The item name (mandatory)
- title- The item title (mandatory)
- value- The item value (optional)
- Returns:
- the new item
 
 - 
newStaticTextItempublic static com.smartgwt.client.widgets.form.fields.StaticTextItem newStaticTextItem(String name, String title, String value) Creates a new StaticTextItem- Parameters:
- name- The item name (mandatory)
- title- The item title (mandatory)
- value- The item value (optional)
- Returns:
- the new item
 
 - 
newLongItempublic static com.smartgwt.client.widgets.form.fields.IntegerItem newLongItem(String name, String title, Long value) Creates a new IntegerItem- Parameters:
- name- The item name (mandatory)
- title- The item title (mandatory)
- value- The item value (optional)
- Returns:
- the new item
 
 - 
newIntegerItempublic static com.smartgwt.client.widgets.form.fields.IntegerItem newIntegerItem(String name, String title, Integer value) Creates a new IntegerItem.- Parameters:
- name- The item name (mandatory)
- title- The item title (mandatory)
- value- The item value (optional)
- Returns:
- the new item
 
 - 
newIntegerItemForAttributepublic static com.smartgwt.client.widgets.form.fields.FormItem newIntegerItemForAttribute(String name, String label, Integer value) Creates a new IntegerItem for the Extended AttributesDS.- Parameters:
- name- The item name (mandatory)
- label- The item label
- value- The item value (optional)
- Returns:
- the new item
 
 - 
newBooleanSelectorForAttributepublic static com.smartgwt.client.widgets.form.fields.SelectItem newBooleanSelectorForAttribute(String name, String title, boolean allowEmpty) Simple boolean selector for Extended Attribute- Parameters:
- name- name of the item
- title- title of the item(optional)
- allowEmpty- flag to indicate id the item must accept empty value
- Returns:
- the new item
 
 - 
newValidateIntegerItempublic static com.smartgwt.client.widgets.form.fields.IntegerItem newValidateIntegerItem(String name, String title, Integer value, Integer min, Integer max) Creates a new IntegerItem with a range validator- Parameters:
- name- The item name (mandatory)
- title- The item title (mandatory)
- value- The item value (optional)
- min- The item minimum value (optional)
- max- The item maximum value (optional)
- Returns:
- the new item
 
 - 
newSpinnerItempublic static com.smartgwt.client.widgets.form.fields.SpinnerItem newSpinnerItem(String name, String title, Integer value, Integer min, Integer max) Creates a new SpinnerItem(with a range validator)- Parameters:
- name- name of the item
- title- title of the item(optional)
- value- default value(optional)
- min- minimum value(optional)
- max- maximum value(optional)
- Returns:
- the new item
 
 - 
newLinkItempublic static com.smartgwt.client.widgets.form.fields.LinkItem newLinkItem(String name, String title) 
 - 
newTextAreaItempublic static com.smartgwt.client.widgets.form.fields.TextAreaItem newTextAreaItem(String name, String title, String value) Creates a new TextAreaItem- Parameters:
- name- The item name (mandatory)
- title- The item title (mandatory)
- value- The item value (optional)
- Returns:
- the new item
 
 - 
newTextAreaItemForAutomationpublic static com.smartgwt.client.widgets.form.fields.TextAreaItem newTextAreaItemForAutomation(String name, String title, String value, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler, boolean withHtmlEditor) 
 - 
newDueTimeSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newDueTimeSelector(String name, String title) 
 - 
newTimeItempublic static com.smartgwt.client.widgets.form.fields.TimeItem newTimeItem(String name, String title) 
 - 
newTemplateSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newTemplateSelector(boolean withEmpty, Long selectedTemplateId)
 - 
newOCRTemplateSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newOCRTemplateSelector(boolean withEmpty, Long filterTemplateId, Long selectedTemplateId)Creates a select list with the OCR templates- Parameters:
- withEmpty- id an empty row must be shown
- filterTemplateId- the document template id to filter the ocr templates
- selectedTemplateId- identifier of the template to be selected by default
- Returns:
- the item
 
 - 
newBarcodeTemplateSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newBarcodeTemplateSelector(boolean withEmpty, Long filterTemplateId, Long selectedTemplateId)Creates a select list with the barcode templates- Parameters:
- withEmpty- id an empty row must be shown
- filterTemplateId- the document template id to filter the ocr templates
- selectedTemplateId- identifier of the template to be selected by default
- Returns:
- the item
 
 - 
newAttributeSetSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newAttributeSetSelector() 
 - 
newAttributesSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newAttributesSelector() 
 - 
newFrequencySelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newFrequencySelector(String name, String title) 
 - 
newCalendarEventStatusSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newCalendarEventStatusSelector(String name, String title) 
 - 
newEmailProtocolSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newEmailProtocolSelector(String name, String title) 
 - 
newEmailFolderingSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newEmailFolderingSelector(String name, String title) 
 - 
newEffectSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newEffectSelector(String name, String title) 
 - 
newEmailFieldspublic static com.smartgwt.client.widgets.form.fields.SelectItem newEmailFields(String name, String title) 
 - 
newAliasTypeSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newAliasTypeSelector() 
 - 
newArchiveSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newArchiveSelector(int mode, Integer status)
 - 
newImportCustomIdspublic static com.smartgwt.client.widgets.form.fields.SelectItem newImportCustomIds() 
 - 
newWorkflowSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newWorkflowSelector() 
 - 
newFormSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newFormSelector() 
 - 
newStampSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newStampSelector() 
 - 
newLinkLabelpublic static com.smartgwt.client.widgets.Label newLinkLabel(String title) 
 - 
newFloatItempublic static com.smartgwt.client.widgets.form.fields.FloatItem newFloatItem(String name, String title, Float value) Creates a new FloatItem.- Parameters:
- name- The item name (mandatory)
- title- The item title (mandatory)
- value- The item value (optional)
- Returns:
- the new item
 
 - 
newFloatItemForAttributepublic static com.smartgwt.client.widgets.form.fields.FormItem newFloatItemForAttribute(String name, String label, Float value) Creates a new FloatItem for the Extended AttributesDS.- Parameters:
- name- The item name (mandatory)
- label- The item label (optional)
- value- The item value (optional)
- Returns:
- the new item
 
 - 
newYesNoRadioItempublic static com.smartgwt.client.widgets.form.fields.RadioGroupItem newYesNoRadioItem(String name, String label) Simple yes/no radio button. yes=true, no=false- Parameters:
- name- name of the item
- label- label of the item(optional)
- Returns:
- the new item
 
 - 
newTagInputModepublic static com.smartgwt.client.widgets.form.fields.SelectItem newTagInputMode(String name, String title) 
 - 
newRunlevelSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newRunlevelSelector() 
 - 
newFolderTemplateSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newFolderTemplateSelector() 
 - 
newWorkspaceSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newWorkspaceSelector(Long value) 
 - 
newRetentionDateOptionpublic static com.smartgwt.client.widgets.form.fields.SelectItem newRetentionDateOption(int value) 
 - 
newImportFolderProviderOptionpublic static com.smartgwt.client.widgets.form.fields.SelectItem newImportFolderProviderOption(String value) 
 - 
newDocuSignTabTypepublic static com.smartgwt.client.widgets.form.fields.SelectItem newDocuSignTabType(String value) 
 - 
newRetentionActionpublic static com.smartgwt.client.widgets.form.fields.SelectItem newRetentionAction(int value) 
 - 
new2AFMethodSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem new2AFMethodSelector(String name, String value) 
 - 
newSplittingPolicySelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newSplittingPolicySelector() 
 - 
newSplitSeparatorHandlingSelectorpublic static com.smartgwt.client.widgets.form.fields.SelectItem newSplitSeparatorHandlingSelector() 
 - 
newRichTextItemForNotepublic static com.smartgwt.client.widgets.form.fields.RichTextItem newRichTextItemForNote(String name, String title, String value) Creates a new RichTextItem suitable for notes.- Parameters:
- name- The item name (mandatory)
- title- The item title (mandatory)
- value- The item value (optional)
- Returns:
- the text item
 
 - 
newRichTextItemForEmailpublic static com.smartgwt.client.widgets.form.fields.RichTextItem newRichTextItemForEmail(String name, String title, String value, com.smartgwt.client.widgets.form.fields.events.ChangedHandler chagnedHandler) Creates a new RichTextItem suitable for emails.- Parameters:
- name- The item name (mandatory)
- title- The item title (mandatory)
- value- The item value (optional)
- chagnedHandler- A handler thas is notified about changes (optional)
- Returns:
- the text item
 
 - 
filterItemNamepublic static String filterItemName(String name) Filter the name from problematic chars- Parameters:
- name- name of the item
- Returns:
- sanitized name
 
 
- 
 
-