Package org.exoplatform.webui.form.ext
Class UIFormInputSetWithAction
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIFormInputSet
org.exoplatform.webui.form.ext.UIFormInputSetWithAction
- All Implemented Interfaces:
UIFormInput
Created by The eXo Platform SARL Author : Dang Van Minh minh.dang@exoplatform.com Sep 20, 2006
-
Nested Class Summary
Nested classes/interfaces inherited from class org.exoplatform.webui.form.UIFormInputSet
UIFormInputSet.SelectComponentActionListenerNested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
UIContainer.SelectTabActionListener -
Field Summary
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent, USE_WEBUI_RESOURCES -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new uI form input set with action. -
Method Summary
Modifier and TypeMethodDescriptionaddValidator(Class validator) Adds the validator.addValidator(Class clazz, Object... params) String[]getActionInfo(String fieldName) Gets the action info.String[]Gets the action values.String[]getFieldActions(String fieldName) Gets the field actions.Gets the form name.getInfoField(String fieldName) Gets the info field.String[]Gets the input set actions.getLabel()getListInfoField(String fieldName) Gets the list info field.Gets the msg key.getValue()booleanChecks if is delete only.booleanChecks if is show action info.booleanChecks if is show only.booleanisView()Checks if is view.voidsetActionInfo(String fieldName, String[] actionNames) Sets the action info.voidsetActions(String[] actionList, String[] values) Sets the actions.voidsetFieldActions(String fieldName, String[] actionNames) Sets the field actions.voidsetInfoField(String fieldName, String fieldInfo) Sets the info field.voidsetIntroduction(String fieldName, String msgKey) Sets the introduction.voidsetIsDeleteOnly(boolean isDeleteOnly) Sets the checks if is delete only.voidsetIsShowOnly(boolean isShowOnly) Sets the checks if is show only.voidsetIsView(boolean isView) Sets the checks if is view.voidsetListInfoField(String fieldName, List<String> listInfor) Sets the list info field.voidshowActionInfo(boolean isShow) Show action info.Methods inherited from class org.exoplatform.webui.form.UIFormInputSet
addUIFormInput, addUIFormInput, getName, getSelectedComponentId, getUICheckBoxInput, getUIFormCheckBoxInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingField, invokeSetBindingField, processDecode, processRender, reset, setSelectedComponent, setSelectedComponentMethods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesMethods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, urlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.webui.form.UIFormInput
getName, reset
-
Constructor Details
-
UIFormInputSetWithAction
Instantiates a new uI form input set with action.- Parameters:
name- the name
-
-
Method Details
-
isShowActionInfo
public boolean isShowActionInfo()Checks if is show action info.- Returns:
- true, if is show action info
-
showActionInfo
public void showActionInfo(boolean isShow) Show action info.- Parameters:
isShow- the is show
-
setActions
Sets the actions.- Parameters:
actionList- the action listvalues- the values
-
getInputSetActions
Gets the input set actions.- Returns:
- the input set actions
-
getActionValues
Gets the action values.- Returns:
- the action values
-
getFormName
Gets the form name.- Returns:
- the form name
-
isShowOnly
public boolean isShowOnly()Checks if is show only.- Returns:
- true, if is show only
-
setIsShowOnly
public void setIsShowOnly(boolean isShowOnly) Sets the checks if is show only.- Parameters:
isShowOnly- the new checks if is show only
-
isDeleteOnly
public boolean isDeleteOnly()Checks if is delete only.- Returns:
- true, if is delete only
-
setIsDeleteOnly
public void setIsDeleteOnly(boolean isDeleteOnly) Sets the checks if is delete only.- Parameters:
isDeleteOnly- the new checks if is delete only
-
setListInfoField
Sets the list info field.- Parameters:
fieldName- the field namelistInfor- the list infor
-
getListInfoField
Gets the list info field.- Parameters:
fieldName- the field name- Returns:
- the list info field
-
setInfoField
Sets the info field.- Parameters:
fieldName- the field namefieldInfo- the field info
-
getInfoField
Gets the info field.- Parameters:
fieldName- the field name- Returns:
- the info field
-
setActionInfo
Sets the action info.- Parameters:
fieldName- the field nameactionNames- the action names
-
getActionInfo
Gets the action info.- Parameters:
fieldName- the field name- Returns:
- the action info
-
setFieldActions
Sets the field actions.- Parameters:
fieldName- the field nameactionNames- the action names
-
getFieldActions
Gets the field actions.- Parameters:
fieldName- the field name- Returns:
- the field actions
-
setIsView
public void setIsView(boolean isView) Sets the checks if is view.- Parameters:
isView- the new checks if is view
-
isView
public boolean isView()Checks if is view.- Returns:
- true, if is view
-
getBindingField
- Specified by:
getBindingFieldin interfaceUIFormInput
-
getValidators
- Specified by:
getValidatorsin interfaceUIFormInput
-
addValidator
- Specified by:
addValidatorin interfaceUIFormInput- Throws:
Exception
-
getValue
- Specified by:
getValuein interfaceUIFormInput- Throws:
Exception
-
setValue
- Specified by:
setValuein interfaceUIFormInput- Throws:
Exception
-
getTypeValue
- Specified by:
getTypeValuein interfaceUIFormInput
-
setIntroduction
Sets the introduction.- Parameters:
fieldName- the field namemsgKey- the msg key
-
getMsgKey
Gets the msg key.- Parameters:
fieldName- the field name- Returns:
- the msg key
-
getLabel
- Specified by:
getLabelin interfaceUIFormInput
-
addValidator
Adds the validator.- Parameters:
validator- the validator- Returns:
- the uI form input
-