Class ItemFactory
java.lang.Object
com.logicaldoc.gui.common.client.util.ItemFactory
Collection of useful factory methods for form items.
- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringitemNameForAttribute(String name) static com.smartgwt.client.widgets.form.fields.SelectItemnew2AFMethodSelector(String name, String value, boolean enabledOnly) static com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.SelectItemnewAnnotationShapeSelector(String value) static com.smartgwt.client.widgets.form.fields.SelectItemnewArchiveSelector(int mode, Integer status) static com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.SelectItemnewAttributesSelector(boolean sections) static com.smartgwt.client.widgets.form.fields.SelectItemnewAttributesSelector(String context) static com.smartgwt.client.widgets.form.fields.SelectItemnewAttributesSelector(String context, boolean sections) 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 values) static com.smartgwt.client.widgets.form.fields.MultiComboBoxItemnewBarcodeFormatsComboBoxItem(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) static 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.SelectItemstatic com.smartgwt.client.widgets.form.fields.SelectItemnewCharsetSelector(String name) static com.smartgwt.client.widgets.form.fields.CheckboxItemnewCheckbox(String name) static com.smartgwt.client.widgets.form.fields.CheckboxItemnewCheckbox(String name, String title) static com.smartgwt.client.widgets.form.fields.ColorPickerItemnewColorPickerItem(String value, boolean clearOption, com.smartgwt.client.widgets.form.fields.events.ChangedHandler changedHandler) static com.smartgwt.client.widgets.form.fields.ColorPickerItemnewColorPickerItem(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.SelectItemstatic 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.TextItemnewCronExpressionItem(String name, String title, String value, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler) static com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.SelectItemnewDashletTypeSelector(String value) static com.smartgwt.client.widgets.form.fields.DateItemnewDateItem(String name) Creates a new DateItem.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.SelectItemstatic com.smartgwt.client.widgets.form.fields.StaticTextItemnewDocumentSelectorForAttribute(String name, String title, List<com.smartgwt.client.widgets.form.fields.FormItemIcon> additionalIcons) static com.smartgwt.client.widgets.form.fields.SelectItemnewDocuSignTabType(String value) static com.smartgwt.client.widgets.form.fields.DoubleItemnewDoubleItem(String name, String title, Double value) Creates a new DoubleItem.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.SelectItemstatic 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.SelectItemstatic 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, EventSelectorOptions options) static com.smartgwt.client.widgets.form.fields.SelectItemnewEventsSelector(String name, String title, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler, EventSelectorOptions options) 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.SelectItemstatic com.smartgwt.client.widgets.form.fields.TextItemnewFolderSelectorForAttribute(String name, String title, List<com.smartgwt.client.widgets.form.fields.FormItemIcon> additionalIcons) static com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.SelectItemnewFormatConverterSelector(String inExt, String outExt) static com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.SelectItemstatic 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.Imgstatic com.smartgwt.client.widgets.ImgnewImgIcon(String name) static com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.IntegerItemnewIntegerItem(String name, String title, Integer value) Creates a new IntegerItem.static com.smartgwt.client.widgets.form.fields.IntegerItemnewIntegerItem(String name, String title, Long value) 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.SelectItemstatic 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, String linkTitle, String url) static com.smartgwt.client.widgets.form.fields.LinkItemstatic com.smartgwt.client.widgets.LabelnewLinkLabel(String title) static com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.ComboBoxItemstatic com.smartgwt.client.widgets.form.fields.SelectItemstatic 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.PasswordItemstatic com.smartgwt.client.widgets.form.fields.PasswordItemnewPasswordItem(String value) static com.smartgwt.client.widgets.form.fields.PasswordItemnewPasswordItem(String name, String title, String value) static com.smartgwt.client.widgets.form.fields.PasswordItemnewPasswordItemPreventAutocomplete(String name, String title, String value) static com.smartgwt.client.widgets.form.fields.PasswordItemnewPasswordItemPreventAutocomplete(String name, String title, String value, boolean withGeneratorTool) static com.smartgwt.client.widgets.form.fields.SelectItemnewPrioritySelector(String name, String title) static com.smartgwt.client.widgets.form.fields.RadioGroupItemnewRadioGroup(String name) static com.smartgwt.client.widgets.form.fields.RadioGroupItemnewRadioGroup(String name, String title) static com.smartgwt.client.widgets.form.fields.SelectItemstatic 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.RowSpacerItemstatic com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.StaticTextItemnewSafePasswordItem(String name, String title, String value, com.smartgwt.client.widgets.form.fields.FormItem hiddenPasswordItem, com.smartgwt.client.widgets.form.fields.events.ChangedHandler changedHandler) Provides a control that does not display the password input directly, it uses a second item to store the password in an hidden attribute of the form.static com.smartgwt.client.widgets.form.fields.SelectItemnewSelectItem(String name) static com.smartgwt.client.widgets.form.fields.SelectItemnewSelectItem(String name, String title) static com.smartgwt.client.widgets.form.fields.FormItemIconstatic com.smartgwt.client.widgets.form.fields.TextItemnewSimpleTextItem(String name, String value) Creates a new TextItem that validates a simple textstatic 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.TextItemnewSimpleTextItemPreventAutocomplete(String name, String title, String value) static com.smartgwt.client.widgets.form.fields.TextItemnewSimpleTextItemWithHyphen(String name, String value) static com.smartgwt.client.widgets.form.fields.TextItemnewSimpleTextItemWithHyphen(String name, String title, String value) static com.smartgwt.client.widgets.form.fields.SelectItemnewSizeOperator(String name, String title) static com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.SliderItemnewSliderItem(String name, String title, Double value, double minValue, double maxValue) Creates a new SliderItemstatic com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.SpinnerItemnewSpinnerItem(String name, Integer value) static com.smartgwt.client.widgets.form.fields.SpinnerItemnewSpinnerItem(String name, Integer value, Integer min, Integer max) Creates a new SpinnerItem(with a range validator)static com.smartgwt.client.widgets.form.fields.SpinnerItemnewSpinnerItem(String name, Long value) static com.smartgwt.client.widgets.form.fields.SpinnerItemnewSpinnerItem(String name, String title, Integer value) static com.smartgwt.client.widgets.form.fields.SpinnerItemCreates 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.SelectItemstatic com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.StaticTextItemnewStaticTextItem(String name, String value) Creates a new StaticTextItemstatic com.smartgwt.client.widgets.form.fields.StaticTextItemnewStaticTextItem(String name, String title, String value) Creates a new StaticTextItemstatic com.smartgwt.client.widgets.form.fields.SelectItemnewStoreSelector(String name, Integer value) static com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.FormItemCreates a new TextItem for an extended attributestatic com.smartgwt.client.widgets.form.fields.SelectItemstatic com.smartgwt.client.widgets.form.fields.SelectItemnewTagInputMode(String name, String title) static com.smartgwt.client.widgets.form.fields.MultiComboBoxItemstatic 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.SelectItemstatic com.smartgwt.client.widgets.form.fields.SelectItemnewTenantSelector(boolean appendSystemTenant) static com.smartgwt.client.widgets.form.fields.TextAreaItemnewTextAreaItem(String name, String value) Creates a new TextAreaItemstatic 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 value, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler, boolean withHtmlEditor) static 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.TextAreaItemnewTextAreaItemForHTML(String name, String title, String value, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler) static com.smartgwt.client.widgets.form.fields.TextAreaItemnewTextAreaItemForNote(String name, String title, String value, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler, boolean withSimplifiedHtmlEditor) Creates a new TextAreaItem suitable for notes.static com.smartgwt.client.widgets.form.fields.TextItemnewTextItem(String name, String value) Creates a new TextItem.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.TextItemnewTextItemPreventAutocomplete(String name, String title, String value) static com.smartgwt.client.widgets.form.fields.TimeItemnewTimeItem(String name, String title) static com.smartgwt.client.widgets.form.fields.TimeItemnewTimeItemPicklist(String name, String title) static com.smartgwt.client.widgets.form.fields.ComboBoxItemnewTimeZoneSelector(String name, String value) static com.smartgwt.client.widgets.form.fields.ToggleItemnewToggleItem(String name, boolean value) static com.smartgwt.client.widgets.form.fields.ToggleItemnewToggleItem(String name, String title, boolean value) 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.SelectItemnewUserSelector(String name, String title, String groupIdOrName, boolean required, boolean skipDisabled, boolean withClear) 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.IntegerItemCreates a new IntegerItem with a range validatorstatic com.smartgwt.client.widgets.form.fields.SelectItemnewWelcomeScreenSelector(Integer value) static com.smartgwt.client.widgets.form.fields.ComboBoxItemnewWorkflowCombo(Long userId) static com.smartgwt.client.widgets.form.fields.SelectItemnewWorkflowSelector(Long userId) static com.smartgwt.client.widgets.form.fields.SelectItemnewWorkflowSelector(Long userId, boolean deployedOnly) static com.smartgwt.client.widgets.form.fields.SelectItemstatic 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) Filter the name from problematic chars
-
Field Details
-
ITEM_ICON_SIZE
public static final int ITEM_ICON_SIZE- See Also:
-
-
Method Details
-
newColorPickerItem
-
newColorPickerItem
public static com.smartgwt.client.widgets.form.fields.ColorPickerItem newColorPickerItem(String value, boolean clearOption, com.smartgwt.client.widgets.form.fields.events.ChangedHandler changedHandler) -
newDateItem
public 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
-
newDateItem
Creates a new DateItem.- Parameters:
name- The item name (mandatory)- Returns:
- the new item
-
newDateItemForAttribute
public 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
-
newMiniDateRangeItem
-
newMultipleUsersSelector
-
newFolderSelectorForAttribute
-
newUserSelectorForAttribute
-
newDocumentSelectorForAttribute
-
newRecipientTypeSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newRecipientTypeSelector(String name) -
newUserTypeSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newUserTypeSelector(String name, int userType) -
newDashletTypeSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newDashletTypeSelector(String value) -
newDensitySelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newDensitySelector() -
newSkinSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newSkinSelector() -
newDateOperator
-
newSizeOperator
-
newBarcodeGenerationFormatSelector
-
newLanguageSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newLanguageSelector(String name, boolean withEmpty, boolean gui) -
newTimeZoneSelector
-
newCharsetSelector
-
newStoreSelector
-
newStoreTypeSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newStoreTypeSelector() -
newAnnotationShapeSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newAnnotationShapeSelector(String value) -
newComparatorSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newComparatorSelector() -
newComparatorSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newComparatorSelector(String inExt) -
newFormatConverterSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newFormatConverterSelector() -
newFormatConverterSelector
-
newEmailItem
-
newEmailComboSelector
-
newEmailSelector
-
newEmailFromSelector
-
newGroupSelector
-
newUserSelector
-
newUserSelector
-
newTenantSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newTenantSelector() -
newTenantSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newTenantSelector(boolean appendSystemTenant) -
newAutomationRoutineSelector
-
newRadioGroup
-
newRadioGroup
-
newBooleanSelector
public static com.smartgwt.client.widgets.form.fields.RadioGroupItem newBooleanSelector(String name) -
newBooleanSelector
-
newToggleItem
public static com.smartgwt.client.widgets.form.fields.ToggleItem newToggleItem(String name, boolean value) -
newToggleItem
-
newCheckbox
-
newCheckbox
-
newMultiComboBoxItem
-
newTagsComboBoxItem
-
newBarcodeFormatsComboBoxItem
public static com.smartgwt.client.widgets.form.fields.MultiComboBoxItem newBarcodeFormatsComboBoxItem(String values) -
newBarcodeFormatsComboBoxItem
public static com.smartgwt.client.widgets.form.fields.MultiComboBoxItem newBarcodeFormatsComboBoxItem(String[] values) -
newTagsMultiplePickList
-
newMultipleSelector
-
newPrioritySelector
-
newWelcomeScreenSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newWelcomeScreenSelector(Integer value) -
newDashletSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newDashletSelector() -
newOCRStatusSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newOCRStatusSelector(Integer value) -
newFolderSecurityOption
public static com.smartgwt.client.widgets.form.fields.SelectItem newFolderSecurityOption(String name) -
newEventsSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newEventsSelector(String name, String title, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler, EventSelectorOptions options) -
newEventSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newEventSelector(String name, String title, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler, EventSelectorOptions options) -
newSelectItem
-
newSelectItem
-
newConversionFormatItem
public static com.smartgwt.client.widgets.form.fields.SelectItem newConversionFormatItem(String fileName) -
newComboBoxItem
-
newYesNoSelectItem
-
newSpinnerItem
-
newSpinnerItem
-
newSpinnerItem
-
newSpinnerItem
-
newImgIcon
-
newImg
-
newBrandImg
-
newItemIcon
-
newHeaderIcon
-
newCronExpressionItem
-
newTextItem
public 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
-
newTextItem
public static com.smartgwt.client.widgets.form.fields.TextItem newTextItem(String name, String value) Creates a new TextItem.- Parameters:
name- The item name (mandatory)value- The item value (optional)- Returns:
- the text item
-
newTextItemPreventAutocomplete
-
newTextItemForAutomation
-
newRichTextItemForAutomation
-
newRowSpacer
public static com.smartgwt.client.widgets.form.fields.RowSpacerItem newRowSpacer() -
newStringItemForAttribute
public 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
-
newPasswordItem
public static com.smartgwt.client.widgets.form.fields.PasswordItem newPasswordItem() -
newPasswordItem
-
newPasswordItem
-
newShowPasswordIcon
public static com.smartgwt.client.widgets.form.fields.FormItemIcon newShowPasswordIcon() -
newPasswordItemPreventAutocomplete
-
newPasswordItemPreventAutocomplete
-
newSafePasswordItem
public static com.smartgwt.client.widgets.form.fields.StaticTextItem newSafePasswordItem(String name, String title, String value, com.smartgwt.client.widgets.form.fields.FormItem hiddenPasswordItem, com.smartgwt.client.widgets.form.fields.events.ChangedHandler changedHandler) Provides a control that does not display the password input directly, it uses a second item to store the password in an hidden attribute of the form.- Parameters:
name- Name of the fieldtitle- The titlevalue- Current password valuehiddenPasswordItem- The item that stores the real passwordchangedHandler- optional handler to invoke when the password has been changed- Returns:
- the opaque item
-
newSimpleTextItem
public 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
-
newSimpleTextItem
public static com.smartgwt.client.widgets.form.fields.TextItem newSimpleTextItem(String name, String value) Creates a new TextItem that validates a simple text- Parameters:
name- The item name (mandatory)value- The item value (optional)- Returns:
- the new item
-
newSimpleTextItemWithHyphen
-
newSimpleTextItemWithHyphen
-
newSimpleTextItemPreventAutocomplete
-
newStaticTextItem
public static com.smartgwt.client.widgets.form.fields.StaticTextItem newStaticTextItem(String name, String value) Creates a new StaticTextItem- Parameters:
name- The item name (mandatory)value- The item value (optional)- Returns:
- the new item
-
newStaticTextItem
public 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
-
newLongItem
public 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
-
newIntegerItem
-
newIntegerItem
public 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
-
newIntegerItemForAttribute
public 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 labelvalue- The item value (optional)- Returns:
- the new item
-
newBooleanSelectorForAttribute
public 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 itemtitle- title of the item(optional)allowEmpty- flag to indicate id the item must accept empty value- Returns:
- the new item
-
newValidateIntegerItem
public 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
-
newSpinnerItem
public 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 itemtitle- title of the item(optional)value- default value(optional)min- minimum value(optional)max- maximum value(optional)- Returns:
- the new item
-
newSpinnerItem
public static com.smartgwt.client.widgets.form.fields.SpinnerItem newSpinnerItem(String name, Integer value, Integer min, Integer max) Creates a new SpinnerItem(with a range validator)- Parameters:
name- name of the itemvalue- default value(optional)min- minimum value(optional)max- maximum value(optional)- Returns:
- the new item
-
newSliderItem
public static com.smartgwt.client.widgets.form.fields.SliderItem newSliderItem(String name, String title, Double value, double minValue, double maxValue) Creates a new SliderItem- Parameters:
name- name of the itemtitle- title of the item(optional)value- default value(optional)minValue- minimum valuemaxValue- maximum value- Returns:
- the new item
-
newLinkItem
-
newLinkItem
-
newTextAreaItem
public 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
-
newTextAreaItem
public static com.smartgwt.client.widgets.form.fields.TextAreaItem newTextAreaItem(String name, String value) Creates a new TextAreaItem- Parameters:
name- The item name (mandatory)svalue- The item value (optional)- Returns:
- the new item
-
newTextAreaItemForAutomation
-
newTextAreaItemForAutomation
-
newTextAreaItemForHTML
-
newDueTimeSelector
-
newTimeItem
-
newTimeItemPicklist
-
newTemplateSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newTemplateSelector(boolean withEmpty, Long selectedTemplateId) -
newOCRTemplateSelector
public 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 shownfilterTemplateId- the document template id to filter the ocr templatesselectedTemplateId- identifier of the template to be selected by default- Returns:
- the item
-
newBarcodeTemplateSelector
public 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 shownfilterTemplateId- the document template id to filter the ocr templatesselectedTemplateId- identifier of the template to be selected by default- Returns:
- the item
-
newAttributeSetSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newAttributeSetSelector() -
newAttributesSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newAttributesSelector(String context) -
newAttributesSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newAttributesSelector(String context, boolean sections) -
newAttributesSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newAttributesSelector() -
newAttributesSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newAttributesSelector(boolean sections) -
newFrequencySelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newFrequencySelector() -
newCalendarEventStatusSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newCalendarEventStatusSelector() -
newEmailProtocolSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newEmailProtocolSelector() -
newSmtpProtocolSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newSmtpProtocolSelector() -
newEmailFolderingSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newEmailFolderingSelector() -
newEffectSelector
-
newEmailFields
-
newAliasTypeSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newAliasTypeSelector() -
newArchiveSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newArchiveSelector(int mode, Integer status) -
newImportCustomIds
public static com.smartgwt.client.widgets.form.fields.SelectItem newImportCustomIds() -
newWorkflowSelector
-
newWorkflowSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newWorkflowSelector(Long userId, boolean deployedOnly) -
newWorkflowSelectorForAdministration
public static com.smartgwt.client.widgets.form.fields.SelectItem newWorkflowSelectorForAdministration(Long userId) -
newWorkflowCombo
-
newJobGroupSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newJobGroupSelector() -
newFormSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newFormSelector() -
newStampSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newStampSelector() -
newLinkLabel
-
newDoubleItem
public static com.smartgwt.client.widgets.form.fields.DoubleItem newDoubleItem(String name, String title, Double value) Creates a new DoubleItem.- Parameters:
name- The item name (mandatory)title- The item title (mandatory)value- The item value (optional)- Returns:
- the new item
-
newFloatItem
public 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
-
newFloatItemForAttribute
public 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
-
newYesNoRadioItem
public 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 itemlabel- label of the item(optional)- Returns:
- the new item
-
newTagInputMode
-
newRunlevelSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newRunlevelSelector() -
newFolderTemplateSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newFolderTemplateSelector() -
newWorkspaceSelector
-
newRetentionDateOption
public static com.smartgwt.client.widgets.form.fields.SelectItem newRetentionDateOption(int value) -
newImportFolderProviderOption
public static com.smartgwt.client.widgets.form.fields.SelectItem newImportFolderProviderOption(String value) -
newDocuSignTabType
-
newRetentionAction
public static com.smartgwt.client.widgets.form.fields.SelectItem newRetentionAction(int value) -
new2AFMethodSelector
-
newSplittingPolicySelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newSplittingPolicySelector() -
newSplitSeparatorHandlingSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newSplitSeparatorHandlingSelector() -
newSubscriptionTypeSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newSubscriptionTypeSelector() -
newTextAreaItemForNote
public static com.smartgwt.client.widgets.form.fields.TextAreaItem newTextAreaItemForNote(String name, String title, String value, com.smartgwt.client.widgets.form.fields.events.ChangedHandler handler, boolean withSimplifiedHtmlEditor) Creates a new TextAreaItem suitable for notes.- Parameters:
name- The item name (mandatory)title- The item title (mandatory)value- The item value (optional)handler- The changed handler (optional)withSimplifiedHtmlEditor- If the icon that opens the simplified HTML editor must be shown- Returns:
- the text item
-
newRichTextItemForNote
public 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
-
newRichTextItemForEmail
public 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
-
newLogAppenderSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newLogAppenderSelector() -
newLoggerSelector
public static com.smartgwt.client.widgets.form.fields.ComboBoxItem newLoggerSelector() -
newLogLevelSelector
public static com.smartgwt.client.widgets.form.fields.SelectItem newLogLevelSelector() -
originalItemName
Filter the name from problematic chars- Parameters:
name- name of the item- Returns:
- sanitized name
-
itemNameForAttribute
-