public class ComponentFactory extends Object
Constructor and Description |
---|
ComponentFactory() |
protected static final String TEXT_CONTROL
protected static final String CHECKBOX_CONTROL
protected static final String HIDDEN_CONTROL
protected static final String TEXTAREA_CONTROL
protected static final String SELECT_CONTROL
protected static final String CHECKBOX_GROUP_CONTROL
protected static final String CHECKBOX_GROUP_CONTROL_HORIZONTAL
protected static final String RADIO_GROUP_CONTROL
protected static final String RADIO_GROUP_CONTROL_HORIZONTAL
protected static final String FILE_CONTROL
protected static final String DATE_CONTROL
protected static final String USER_CONTROL
protected static final String GROUP_CONTROL
protected static final String DATA_FIELD
protected static final String INPUT_FIELD
protected static final String ERRORS_FIELD
protected static final String ACTION_FIELD
protected static final String ACTION_LINK_FIELD
protected static final String LINK_FIELD
protected static final String IFRAME_FIELD
protected static final String IMAGE_FIELD
protected static final String BLANK_FIELD
protected static final String GENERIC_FIELD
protected static final String LABEL_FIELD
protected static final String MESSAGE_FIELD
protected static final String FIELD_GROUP
protected static final String HORIZONTAL_FIELD_GROUP
protected static final String GROUP
protected static final String PAGE_GROUP
protected static final String GROUP_GRID_LAYOUT
protected static final String GROUP_BODY_ONLY
protected static final String GROUP_GRID_BODY_ONLY
protected static final String TAB_GROUP
protected static final String NAVIGATION_GROUP
protected static final String TREE_GROUP
protected static final String LINK_GROUP
protected static final String COLLECTION_GROUP
protected static final String COLLECTION_GROUP_TABLE_LAYOUT
protected static final String LIST_GROUP
protected static final String HEADER
protected static final String FOOTER
protected static final String FOOTER_SAVECLOSECANCEL
public ComponentFactory()
public static Component getNewInstanceForRefresh(View view, String id)
id
- - id for the component in the view indexpublic static Component getNewComponentInstance(String beanId)
Component
instance for the given bean id from the spring factorybeanId
- - id of the bean definitionpublic static TextControl getTextControl()
public static TextAreaControl getTextAreaControl()
public static CheckboxControl getCheckboxControl()
public static HiddenControl getHiddenControl()
public static SelectControl getSelectControl()
public static CheckboxGroupControl getCheckboxGroupControl()
public static CheckboxGroupControl getCheckboxGroupControlHorizontal()
public static RadioGroupControl getRadioGroupControl()
public static RadioGroupControl getRadioGroupControlHorizontal()
public static FileControl getFileControl()
public static TextControl getDateControl()
public static TextControl getUserControl()
public static TextControl getGroupControl()
public static DataField getDataField()
public static DataField getDataField(String propertyName, String label)
public static InputField getInputField()
public static InputField getInputField(String propertyName, String label)
public static InputField getInputField(String propertyName, String label, UifConstants.ControlType controlType)
public static InputField getInputField(String propertyName, String label, UifConstants.ControlType controlType, String defaultValue)
public static InputField getInputField(String propertyName, String label, UifConstants.ControlType controlType, Class<? extends KeyValuesFinder> optionsFinderClass)
public static InputField getInputField(String propertyName, String label, UifConstants.ControlType controlType, List<KeyValue> options)
public static InputField getInputField(String propertyName, String label, UifConstants.ControlType controlType, int size, int maxLength, int minLength)
public static InputField translateRemotableField(RemotableAttributeField remotableField)
InputField
from the properties set on the
given RemotableAttributeField
Note the returned InputField will not be initialized yet. Its state will be that of the initial object returned from the UIF dictionary with the properties set from the remotable attribute field, thus it is really just a more configuration complete field
public static List<InputField> translateRemotableFields(List<RemotableAttributeField> remotableFields)
InputField
instance and sets the
corresponding properties from the remotable instanceremotableFields
- - list of remotable fields to translateprotected static List<KeyValue> buildKeyValuePairs(Map<String,String> optionsMap)
protected static Control getControl(UifConstants.ControlType controlType)
public static ErrorsField getErrorsField()
public static ActionField getActionField()
public static ActionField getActionLinkField()
public static LinkField getLinkField()
public static IframeField getIframeField()
public static ImageField getImageField()
public static BlankField getBlankField()
public static GenericField getGenericField()
public static LabelField getLabelField()
public static MessageField getMessageField()
public static FieldGroup getFieldGroup()
public static FieldGroup getHorizontalFieldGroup()
public static PageGroup getPageGroup()
public static Group getGroupGridLayout()
public static Group getGroupBodyOnly()
public static Group getGroupGridBodyOnly()
public static TabGroup getTabGroup()
public static NavigationGroup getNavigationGroup()
public static TreeGroup getTreeGroup()
public static LinkGroup getLinkGroup()
public static CollectionGroup getCollectionGroup()
public static CollectionGroup getCollectionGroupTableLayout()
public static CollectionGroup getListGroup()
public static HeaderField getHeader()
public static Group getFooterSaveCloseCancel()
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.