Class SelectListCustomInputComponent
java.lang.Object
com.axemble.vdp.ui.framework.foundation.Component
com.axemble.vdp.ui.framework.foundation.Widget
com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseComponent
com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseFieldComponent
com.axemble.vdoc.sdk.document.fields.SelectListCustomInputComponent
- All Implemented Interfaces:
- IFieldComponent,- IWidget,- IWritable,- com.axemble.vdp.form.classes.IBaseComponentSupport,- com.axemble.vdp.ui.core.document.fields.IFieldControl,- com.axemble.vdp.utils.parameters.ParamsHandler,- Serializable
public class SelectListCustomInputComponent
extends com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseFieldComponent
Usage: (note: default values are in first position)
 invalid input: '<'field
 name                                   = "?"   - name of the IAbstractField, ex: fldMode
 label                                  = "?"   - label of the control, ex: LG_TEXT
 custom-widget-description = "?" - description for custom value textbox
 description = "?"   - description of the control, ex: LG_DESCRIPTION
 ctrl  = "com.axemble.vdoc.sdk.document.fields.SelectListCustomInputComponent"
 mode           = "write" | "read" - set editable or not
 mandatory      = "false" | "true" - set mandatory or not
 throw-events   = "false" | "true" - throw events from the webbrowser when the control change
 
predictive = "false" | "true" - combobox or autoCompleteList emptyValue = "?" - empty value if component is not predictive allowreset = "false" | "never" | "always" custom-option-label = "?" - translation key for custom value custom-option-value = "?" - key for custom value size = "medium" | "veryshort" | "short" | "long" | "auto" - set the field size force-show-list = "false" | "true" - force to show list even if list is empty /> Field Type: java.lang.String
- Author:
- bchapoton
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected com.axemble.vdp.ui.framework.widgets.components.sys.forms.AutocompleteListInputComponentprotected com.axemble.vdp.ui.framework.widgets.components.sys.forms.ComboBoxInputComponentprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanprotected com.axemble.vdp.ui.framework.widgets.components.sys.forms.ResetTypeComponentprotected com.axemble.vdp.ui.framework.components.listeners.ChangeListenerprotected Stringprotected com.axemble.vdp.ui.framework.widgets.components.sys.forms.TextInputComponentprotected com.axemble.vdp.ui.framework.components.listeners.EventListenerprotected StringFields inherited from class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseFieldComponentaggregate, hasServiceFields inherited from class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponentaccesskey, associatedLabel, condition, description, editable, errorInfo, formula, formulaCondition, includeErrorInfo, javascriptId, mandatory, modeFormula, property, propertytype, quickCreateLink, requiredFormula, rules, stringRecipient, tabindex, temporarypropertyname, throwDocumentChangedScript, throwEvents, throwEventsDefined, validationRulesFields inherited from class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseComponentadditionalParameters, additionalParametersNodes, id, parametersFields inherited from class com.axemble.vdp.ui.framework.foundation.WidgetactionListeners, isHidden, param, parentBlock, sysname, userIdFields inherited from class com.axemble.vdp.ui.framework.foundation.ComponentchangeListeners, LOGGERFields inherited from interface com.axemble.vdp.utils.parameters.ParamsHandlerERROR_EXCEED_ELEM_SIZE, ERROR_EXCEED_TOTAL_SIZE, ERROR_NOT_COMPLETED, ERROR_READ_FAILED, EXCEED_ELEM_NUMBER, NO_ERROR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetList()com.axemble.vdp.ui.framework.widgets.components.sys.forms.ResetTypeComponentgetSize()getValue()voidAdd error messagevoidprotected voidbooleanisEmpty()booleanbooleanrender()Render the widgetvoidsetCustomOptionLabel(String customOptionLabel) voidsetCustomOptionValue(String customOptionValue) voidsetCustomWidgetDescription(String description) voidsetDescription(String description) voidsetEmptyValue(String emptyValue) voidsetForceShowList(boolean forceShowList) voidvoidvoidsetListOption(List<com.axemble.vdp.ui.framework.widgets.list.Option> list) voidsetPredictive(boolean predictive) voidsetResetType(com.axemble.vdp.ui.framework.widgets.components.sys.forms.ResetTypeComponent resetType) voidvoidvoidUpdate widgetvoidUpdate field valuebooleanvalidate(boolean checkMandatory) Validate the fieldMethods inherited from class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseFieldComponentaddCssDependency, addScriptDependency, getAbstractField, getField, getFieldChangeListener, getTemplateWriter, init, isHasService, setHasService, stateChangedMethods inherited from class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponentaddRefreshButton, addValidationRule, afterInit, canThrowEventsInWebBrowser, clearValidationRules, findStringRecipient, focus, getAccesskey, getAssociatedLabel, getDescription, getDocumentChangedScript, getErrorInfo, getFormula, getFormulaCondition, getHelpMessageIcon, getJavaScriptFocusScript, getModeFormula, getParentId, getProperty, getPropertyName, getPropertytype, getQuickCreateLink, getRefreshButton, getRequiredFormula, getTabindex, getTemporarypropertyname, getValidationRules, handleNoParams, handleParams, handleParams, hasValidationRules, init, initParameters, initParameters, isCondition, isDescription, isDocumentChangedScript, isEditable, isFocus, isForceParentId, isIncludeErrorInfo, isMandatory, isThrowDocumentChangedScript, isThrowEvents, isThrowEventsDefined, registerWidget, renderErrorInfo, renderInfoMessage, renderQuickCreate, setAccesskey, setAssociatedLabel, setCondition, setEditable, setErrorInfo, setFormula, setFormulaCondition, setIncludeErrorInfo, setJavascriptId, setMandatory, setModeFormula, setProperty, setPropertytype, setQuickCreateContextParameter, setQuickCreateScreen, setRequiredFormula, setTabindex, setTemporarypropertyname, setThrowDocumentChangedScript, setThrowEvents, setThrowEventsDefined, setValidationRulesMethods inherited from class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseComponentaddParameter, getAdditionalParameters, getAdditionalParametersNodes, getAdditionalParametersNodesElement, getId, getParameter, getParameter, getParameterBoolean, getParameterBoolean, getParameterDate, getParameterDate, getParameterInt, getParameterInteger, getParameterList, getParameterLong, getParameterNumber, getParameters, getParameterString, getParameterString, hasParameter, removeParameter, setAdditionalParameters, setAdditionalParametersNodes, setId, setParametersMethods inherited from class com.axemble.vdp.ui.framework.foundation.WidgetaddActionListener, addActionListener, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireOnClickMessage, buildFireOnClickMessage, buildFormName, findFileRecipient, findXmlRecipient, fireActionEvent, getCtrlTemplate, getCtrlTemplateWriter, getParam, getParentBlock, getSysname, getUserDisplayName, getUserId, handleAction, hasActionListeners, isHidden, refresh, refreshWidgets, removeActionListener, removeActionListener, removeActionListeners, renderMobile, setHidden, setParam, setParentBlock, setSysname, setUserId, writeMethods inherited from class com.axemble.vdp.ui.framework.foundation.ComponentaddChangeListener, addChangeListener, createComponent, evaluateExpressions, fireChangeEvent, getDynamicDescription, getDynamicLabel, getLanguage, getNavigator, getRootNavigator, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, hasChangeListeners, removeChangeListener, removeChangeListener, removeChangeListenersMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdp.form.classes.IBaseComponentSupportgetLanguage, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, isHidden, setHiddenMethods inherited from interface com.axemble.vdoc.sdk.interfaces.ui.IFieldComponentaddValidationRule, clearValidationRules, getUserId, getValidationRules, hasValidationRules, isEditable, isHidden, isMandatory, setEditable, setHidden, setMandatory, setUserIdMethods inherited from interface com.axemble.vdp.ui.core.document.fields.IFieldControladdValidationRule, clearValidationRules, getUserId, getValidationRules, hasValidationRules, isEditable, isHidden, isMandatory, setEditable, setHidden, setMandatory, setUserIdMethods inherited from interface com.axemble.vdoc.sdk.interfaces.ui.IWidgetaddActionListener, addChangeListener, afterInit, getCtrlTemplate, getCtrlTemplateWriter, getParam, getParentBlock, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getSysname, hasActionListeners, hasChangeListeners, refresh, refreshWidgets, removeActionListener, removeActionListeners, removeChangeListener, removeChangeListeners, renderMobile, setParentBlock, setSysname
- 
Field Details- 
predictiveprotected boolean predictive
- 
list
- 
customOptionValue
- 
customOptionLabel
- 
value
- 
size
- 
resetTypeprotected com.axemble.vdp.ui.framework.widgets.components.sys.forms.ResetTypeComponent resetType
- 
emptyValue
- 
comboboxprotected com.axemble.vdp.ui.framework.widgets.components.sys.forms.ComboBoxInputComponent combobox
- 
autoCompleteprotected com.axemble.vdp.ui.framework.widgets.components.sys.forms.AutocompleteListInputComponent autoComplete
- 
textboxprotected com.axemble.vdp.ui.framework.widgets.components.sys.forms.TextInputComponent textbox
- 
forceShowListprotected boolean forceShowList
- 
selectChangeListenerprotected com.axemble.vdp.ui.framework.components.listeners.ChangeListener selectChangeListener
- 
updateFieldListListenerprotected com.axemble.vdp.ui.framework.components.listeners.EventListener updateFieldListListener
 
- 
- 
Constructor Details- 
SelectListCustomInputComponentpublic SelectListCustomInputComponent()
 
- 
- 
Method Details- 
initpublic void init(com.axemble.vdp.ui.framework.document.fields.IAbstractField field, Element element) - Specified by:
- initin interface- com.axemble.vdp.ui.core.document.fields.IFieldControl
- Overrides:
- initin class- com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseFieldComponent
 
- 
updateValuepublic void updateValue()Description copied from interface:IFieldComponentUpdate field value
- 
updateControlpublic void updateControl()Description copied from interface:IFieldComponentUpdate widget
- 
initAdditionalParametersprotected void initAdditionalParameters()- Specified by:
- initAdditionalParametersin class- com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
 
- 
isEmptypublic boolean isEmpty()- Specified by:
- isEmptyin class- com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
 
- 
getValidationObject- Specified by:
- getValidationObjectin class- com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
 
- 
renderDescription copied from interface:IWidgetRender the widget- Specified by:
- renderin interface- IWidget
- Specified by:
- renderin class- com.axemble.vdp.ui.framework.foundation.Widget
- Returns:
- writableWidget
- Throws:
- RenderException
 
- 
getJavascriptId- Overrides:
- getJavascriptIdin class- com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
 
- 
setDescription- Overrides:
- setDescriptionin class- com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
 
- 
setCustomWidgetDescription
- 
validatepublic boolean validate(boolean checkMandatory) Description copied from interface:IFieldComponentValidate the field- Specified by:
- validatein interface- IFieldComponent
- Specified by:
- validatein interface- com.axemble.vdp.ui.core.document.fields.IFieldControl
- Overrides:
- validatein class- com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
- Parameters:
- checkMandatory-
- Returns:
- isValid
 
- 
isPredictivepublic boolean isPredictive()
- 
setPredictivepublic void setPredictive(boolean predictive) 
- 
getList
- 
setList
- 
setList
- 
setListOption
- 
getCustomOptionLabel
- 
setCustomOptionLabel
- 
getValue
- 
setValue
- 
getCustomOptionValue
- 
setCustomOptionValue
- 
getResetTypepublic com.axemble.vdp.ui.framework.widgets.components.sys.forms.ResetTypeComponent getResetType()- Returns:
- the resetType
 
- 
setResetTypepublic void setResetType(com.axemble.vdp.ui.framework.widgets.components.sys.forms.ResetTypeComponent resetType) - Parameters:
- resetType- the resetType to set
 
- 
informDescription copied from interface:IFieldComponentAdd error message- Specified by:
- informin interface- com.axemble.vdp.form.classes.IBaseComponentSupport
- Specified by:
- informin interface- IFieldComponent
- Specified by:
- informin interface- com.axemble.vdp.ui.core.document.fields.IFieldControl
- Overrides:
- informin class- com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
- Parameters:
- errorMessage-
 
- 
getEmptyValue
- 
setEmptyValue
- 
getSize
- 
setSize
- 
isForceShowListpublic boolean isForceShowList()
- 
setForceShowListpublic void setForceShowList(boolean forceShowList) 
 
-