public class ItemFactory extends Object
Constructor and Description |
---|
ItemFactory() |
Modifier and Type | Method and Description |
---|---|
static String |
filterItemName(String name)
Filter the name from problematic chars
|
static com.smartgwt.client.widgets.form.fields.SelectItem |
newArchiveSelector(int mode,
Integer status) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newArchiveTypeSelector() |
static com.smartgwt.client.widgets.form.fields.RadioGroupItem |
newBooleanSelector(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newBooleanSelectorForExtendedAttribute(String name,
String title,
boolean allowEmpty)
Simple boolean selector for Extended Attribute
|
static com.smartgwt.client.widgets.Img |
newBrandImg(String name,
GUIInfo info) |
static com.smartgwt.client.widgets.form.fields.CheckboxItem |
newCheckbox(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newDashletSelector(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.DateItem |
newDateItem(String name,
String title)
Creates a new DateItem.
|
static com.smartgwt.client.widgets.form.fields.DateItem |
newDateItemForExtendedAttribute(String name,
String label)
Creates a new DateItem for the Extended Attributes.
|
static com.smartgwt.client.widgets.form.fields.SelectItem |
newDateOperator(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newDueTimeSelector(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newEffectSelector(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newEmailFields(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newEmailFolderingSelector(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.TextItem |
newEmailItem(String name,
String title,
boolean multiple) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newEmailProtocolSelector(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.ComboBoxItem |
newEmailSelector(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newEncodingSelector(String name) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newEventsSelector(String name,
String title,
boolean folder,
boolean workflow,
boolean user) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newEventStatusSelector(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.FloatItem |
newFloatItem(String name,
String title,
Float value)
Creates a new FloatItem.
|
static com.smartgwt.client.widgets.form.fields.FloatItem |
newFloatItemForExtendedAttribute(String name,
String label,
Float value)
Creates a new FloatItem for the Extended Attributes.
|
static com.smartgwt.client.widgets.form.fields.SelectItem |
newFolderTemplateSelector() |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newFrequencySelector(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newGroupSelector(String name,
String title) |
static com.smartgwt.client.widgets.HeaderControl.HeaderIcon |
newHeaderIcon(String image) |
static com.smartgwt.client.widgets.Img |
newImg(String name) |
static com.smartgwt.client.widgets.Img |
newImgIcon(String name) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newImportCustomIds() |
static com.smartgwt.client.widgets.form.fields.IntegerItem |
newIntegerItem(String name,
String title,
Integer value)
Creates a new IntegerItem.
|
static com.smartgwt.client.widgets.form.fields.IntegerItem |
newIntegerItemForExtendedAttribute(String name,
String label,
Integer value)
Creates a new IntegerItem for the Extended Attributes.
|
static com.smartgwt.client.widgets.form.fields.FormItemIcon |
newItemIcon(String image) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newLanguageSelector(String name,
boolean withEmpty,
boolean gui) |
static com.smartgwt.client.widgets.form.fields.LinkItem |
newLinkItem(String name,
String title) |
static com.smartgwt.client.widgets.Label |
newLinkLabel(String title) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newMultipleSelector(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.PasswordItem |
newPasswordItem(String name,
String title,
String value) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newPrioritySelector(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newRecipientTypeSelector(String name) |
static com.smartgwt.client.widgets.form.fields.RowSpacerItem |
newRowSpacer() |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newSelectItem(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.TextItem |
newSimpleTextItem(String name,
String title,
String value)
Creates a new TextItem that validates a simple text.
|
static com.smartgwt.client.widgets.form.fields.SelectItem |
newSizeOperator(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.SpinnerItem |
newSpinnerItem(String name,
String title,
Integer value) |
static com.smartgwt.client.widgets.form.fields.StaticTextItem |
newStaticTextItem(String name,
String title,
String value)
Creates a new StaticTextItem.
|
static com.smartgwt.client.widgets.form.fields.FormItem |
newStringItemForExtendedAttribute(GUIExtendedAttribute att)
Creates a new TextItem for the Extended Attributes.
|
static com.smartgwt.client.widgets.form.fields.SelectItem |
newTagInputMode(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newTemplateSelector(boolean allowEmpty,
Long templateId) |
static com.smartgwt.client.widgets.form.fields.TextAreaItem |
newTextAreaItem(String name,
String title,
String value)
Creates a new TextAreaItem.
|
static com.smartgwt.client.widgets.form.fields.TextItem |
newTextItem(String name,
String title,
String value)
Creates a new TextItem.
|
static com.smartgwt.client.widgets.form.fields.TimeItem |
newTimeItem(String name,
String title) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newUserSelector(String name,
String title,
String groupIdOrName) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newUserSelectorForExtendedAttribute(String name,
String title,
String groupIdOrName) |
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.
|
static com.smartgwt.client.widgets.form.fields.SelectItem |
newWelcomeScreenSelector(String name,
Integer value) |
static com.smartgwt.client.widgets.form.fields.SelectItem |
newWorkflowSelector() |
static com.smartgwt.client.widgets.form.fields.RadioGroupItem |
newYesNoItem(String name,
String label)
Simple yes/no radio button. yes=true, no=false
|
static String |
originalItemName(String name)
Obtain the original item name
|
public static com.smartgwt.client.widgets.form.fields.DateItem newDateItem(String name, String title)
name
- The item name (mandatory)title
- The item title (optional)public static com.smartgwt.client.widgets.form.fields.DateItem newDateItemForExtendedAttribute(String name, String label)
name
- The item name (mandatory)public static com.smartgwt.client.widgets.form.fields.SelectItem newUserSelectorForExtendedAttribute(String name, String title, String groupIdOrName)
public static com.smartgwt.client.widgets.form.fields.SelectItem newRecipientTypeSelector(String name)
public static com.smartgwt.client.widgets.form.fields.SelectItem newDateOperator(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newSizeOperator(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newLanguageSelector(String name, boolean withEmpty, boolean gui)
public static com.smartgwt.client.widgets.form.fields.SelectItem newEncodingSelector(String name)
public static com.smartgwt.client.widgets.form.fields.TextItem newEmailItem(String name, String title, boolean multiple)
public static com.smartgwt.client.widgets.form.fields.ComboBoxItem newEmailSelector(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newGroupSelector(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newUserSelector(String name, String title, String groupIdOrName)
public static com.smartgwt.client.widgets.form.fields.RadioGroupItem newBooleanSelector(String name, String title)
public static com.smartgwt.client.widgets.form.fields.CheckboxItem newCheckbox(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newMultipleSelector(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newPrioritySelector(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newWelcomeScreenSelector(String name, Integer value)
public static com.smartgwt.client.widgets.form.fields.SelectItem newDashletSelector(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newEventsSelector(String name, String title, boolean folder, boolean workflow, boolean user)
public static com.smartgwt.client.widgets.form.fields.SelectItem newSelectItem(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SpinnerItem newSpinnerItem(String name, String title, Integer value)
public static com.smartgwt.client.widgets.Img newImgIcon(String name)
public static com.smartgwt.client.widgets.Img newImg(String name)
public static com.smartgwt.client.widgets.form.fields.FormItemIcon newItemIcon(String image)
public static com.smartgwt.client.widgets.HeaderControl.HeaderIcon newHeaderIcon(String image)
public static com.smartgwt.client.widgets.form.fields.TextItem newTextItem(String name, String title, String value)
name
- The item name (mandatory)title
- The item title (mandatory)value
- The item value (optional)public static com.smartgwt.client.widgets.form.fields.RowSpacerItem newRowSpacer()
public static com.smartgwt.client.widgets.form.fields.FormItem newStringItemForExtendedAttribute(GUIExtendedAttribute att)
name
- The item name (mandatory)value
- The item value (optional)public static com.smartgwt.client.widgets.form.fields.PasswordItem newPasswordItem(String name, String title, String value)
public static com.smartgwt.client.widgets.form.fields.TextItem newSimpleTextItem(String name, String title, String value)
name
- The item name (mandatory)title
- The item title (mandatory)value
- The item value (optional)public static com.smartgwt.client.widgets.form.fields.StaticTextItem newStaticTextItem(String name, String title, String value)
name
- The item name (mandatory)title
- The item title (mandatory)value
- The item value (optional)public static com.smartgwt.client.widgets.form.fields.IntegerItem newIntegerItem(String name, String title, Integer value)
name
- The item name (mandatory)title
- The item title (mandatory)value
- The item value (optional)public static com.smartgwt.client.widgets.form.fields.IntegerItem newIntegerItemForExtendedAttribute(String name, String label, Integer value)
name
- The item name (mandatory)value
- The item value (optional)public static com.smartgwt.client.widgets.form.fields.SelectItem newBooleanSelectorForExtendedAttribute(String name, String title, boolean allowEmpty)
public static com.smartgwt.client.widgets.form.fields.IntegerItem newValidateIntegerItem(String name, String title, Integer value, Integer min, Integer max)
name
- The item name (mandatory)title
- The item title (mandatory)value
- The item value (optional)min
- The item minimum value (optional)min
- The item maximum value (optional)public static com.smartgwt.client.widgets.form.fields.LinkItem newLinkItem(String name, String title)
public static com.smartgwt.client.widgets.form.fields.TextAreaItem newTextAreaItem(String name, String title, String value)
name
- The item name (mandatory)title
- The item title (mandatory)value
- The item value (optional)public static com.smartgwt.client.widgets.form.fields.SelectItem newDueTimeSelector(String name, String title)
public static com.smartgwt.client.widgets.form.fields.TimeItem newTimeItem(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newTemplateSelector(boolean allowEmpty, Long templateId)
public static com.smartgwt.client.widgets.form.fields.SelectItem newFrequencySelector(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newEventStatusSelector(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newEmailProtocolSelector(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newEmailFolderingSelector(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newEffectSelector(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newEmailFields(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newArchiveTypeSelector()
public static com.smartgwt.client.widgets.form.fields.SelectItem newArchiveSelector(int mode, Integer status)
public static com.smartgwt.client.widgets.form.fields.SelectItem newImportCustomIds()
public static com.smartgwt.client.widgets.form.fields.SelectItem newWorkflowSelector()
public static com.smartgwt.client.widgets.Label newLinkLabel(String title)
public static com.smartgwt.client.widgets.form.fields.FloatItem newFloatItem(String name, String title, Float value)
name
- The item name (mandatory)title
- The item title (mandatory)value
- The item value (optional)public static com.smartgwt.client.widgets.form.fields.FloatItem newFloatItemForExtendedAttribute(String name, String label, Float value)
name
- The item name (mandatory)value
- The item value (optional)public static com.smartgwt.client.widgets.form.fields.RadioGroupItem newYesNoItem(String name, String label)
public static com.smartgwt.client.widgets.form.fields.SelectItem newTagInputMode(String name, String title)
public static com.smartgwt.client.widgets.form.fields.SelectItem newFolderTemplateSelector()
public static String filterItemName(String name)
Copyright © 2008-2014 Logical Objects. All Rights Reserved.