public class SelectListCustomInputComponent
extends com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseFieldComponent
Modifier and Type | Field and Description |
---|---|
protected com.axemble.vdp.ui.framework.widgets.components.sys.forms.AutocompleteListInputComponent |
autoComplete |
protected com.axemble.vdp.ui.framework.widgets.components.sys.forms.ComboBoxInputComponent |
combobox |
protected String |
customOptionLabel |
protected String |
customOptionValue |
protected String |
emptyValue |
protected boolean |
forceShowList |
protected Map<String,String> |
list |
protected boolean |
predictive |
protected com.axemble.vdp.ui.framework.widgets.components.sys.forms.ResetTypeComponent |
resetType |
protected com.axemble.vdp.ui.framework.components.listeners.ChangeListener |
selectChangeListener |
protected String |
size |
protected com.axemble.vdp.ui.framework.widgets.components.sys.forms.TextInputComponent |
textbox |
protected com.axemble.vdp.ui.framework.components.listeners.EventListener |
updateFieldListListener |
protected String |
value |
aggregate, hasService
accesskey, associatedLabel, condition, description, editable, errorInfo, formula, formulaCondition, includeErrorInfo, javascriptId, mandatory, modeFormula, property, propertytype, quickCreateLink, requiredFormula, rules, stringRecipient, tabindex, temporarypropertyname, throwDocumentChangedScript, throwEvents, throwEventsDefined, validationRules
additionalParameters, additionalParametersNodes, id, parameters
actionListeners, isHidden, param, parentBlock, sysname, userId
Constructor and Description |
---|
SelectListCustomInputComponent() |
Modifier and Type | Method and Description |
---|---|
String |
getCustomOptionLabel() |
String |
getCustomOptionValue() |
String |
getEmptyValue() |
String |
getJavascriptId() |
Map<String,String> |
getList() |
com.axemble.vdp.ui.framework.widgets.components.sys.forms.ResetTypeComponent |
getResetType() |
String |
getSize() |
Object |
getValidationObject() |
String |
getValue() |
void |
inform(String errorMessage)
Add error message
|
void |
init(com.axemble.vdp.ui.framework.document.fields.IAbstractField field,
Element element) |
protected void |
initAdditionalParameters() |
boolean |
isEmpty() |
boolean |
isForceShowList() |
boolean |
isPredictive() |
IWritable |
render()
Render the widget
|
void |
setCustomOptionLabel(String customOptionLabel) |
void |
setCustomOptionValue(String customOptionValue) |
void |
setCustomWidgetDescription(String description) |
void |
setDescription(String description) |
void |
setEmptyValue(String emptyValue) |
void |
setForceShowList(boolean forceShowList) |
void |
setList(List<String> list) |
void |
setList(Map<String,String> list) |
void |
setListOption(List<com.axemble.vdp.ui.framework.widgets.list.Option> list) |
void |
setPredictive(boolean predictive) |
void |
setResetType(com.axemble.vdp.ui.framework.widgets.components.sys.forms.ResetTypeComponent resetType) |
void |
setSize(String size) |
void |
setValue(String value) |
void |
updateControl()
Update widget
|
void |
updateValue()
Update field value
|
boolean |
validate(boolean checkMandatory)
Validate the field
|
addCssDependency, addScriptDependency, getAbstractField, getField, getFieldChangeListener, getTemplateWriter, init, isHasService, setHasService, stateChanged
addRefreshButton, 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, setValidationRules
addParameter, getAdditionalParameters, getAdditionalParametersNodes, getAdditionalParametersNodesElement, getId, getParameter, getParameter, getParameterBoolean, getParameterBoolean, getParameterDate, getParameterDate, getParameterInt, getParameterInteger, getParameterList, getParameterLong, getParameterNumber, getParameters, getParameterString, getParameterString, hasParameter, removeParameter, setAdditionalParameters, setAdditionalParametersNodes, setId, setParameters
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, removeActionListeners, renderMobile, setHidden, setParam, setParentBlock, setSysname, setUserId, write
addChangeListener, createComponent, evaluateExpressions, fireChangeEvent, getDynamicDescription, getDynamicLabel, getLanguage, getNavigator, getRootNavigator, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, hasChangeListeners, removeChangeListener, removeChangeListeners
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addValidationRule, clearValidationRules, getUserId, getValidationRules, hasValidationRules, isEditable, isHidden, isMandatory, setEditable, setHidden, setMandatory, setUserId
addValidationRule, clearValidationRules, getUserId, getValidationRules, hasValidationRules, isEditable, isHidden, isMandatory, setEditable, setHidden, setMandatory, setUserId
afterInit, getParentBlock, getSysname, refresh, setParentBlock, setSysname
protected boolean predictive
protected String customOptionValue
protected String customOptionLabel
protected String value
protected String size
protected com.axemble.vdp.ui.framework.widgets.components.sys.forms.ResetTypeComponent resetType
protected String emptyValue
protected com.axemble.vdp.ui.framework.widgets.components.sys.forms.ComboBoxInputComponent combobox
protected com.axemble.vdp.ui.framework.widgets.components.sys.forms.AutocompleteListInputComponent autoComplete
protected com.axemble.vdp.ui.framework.widgets.components.sys.forms.TextInputComponent textbox
protected boolean forceShowList
protected com.axemble.vdp.ui.framework.components.listeners.ChangeListener selectChangeListener
protected com.axemble.vdp.ui.framework.components.listeners.EventListener updateFieldListListener
public void init(com.axemble.vdp.ui.framework.document.fields.IAbstractField field, Element element)
init
in interface com.axemble.vdp.ui.core.document.fields.IFieldControl
init
in class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseFieldComponent
public void updateValue()
IFieldComponent
public void updateControl()
IFieldComponent
protected void initAdditionalParameters()
initAdditionalParameters
in class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
public boolean isEmpty()
isEmpty
in class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
public Object getValidationObject()
getValidationObject
in class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
public IWritable render() throws RenderException
IWidget
render
in interface IWidget
render
in class com.axemble.vdp.ui.framework.foundation.Widget
RenderException
public String getJavascriptId()
getJavascriptId
in class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
public void setDescription(String description)
setDescription
in class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
public void setCustomWidgetDescription(String description)
public boolean validate(boolean checkMandatory)
IFieldComponent
validate
in interface IFieldComponent
validate
in interface com.axemble.vdp.ui.core.document.fields.IFieldControl
validate
in class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
public boolean isPredictive()
public void setPredictive(boolean predictive)
public void setListOption(List<com.axemble.vdp.ui.framework.widgets.list.Option> list)
public String getCustomOptionLabel()
public void setCustomOptionLabel(String customOptionLabel)
public String getValue()
public void setValue(String value)
public String getCustomOptionValue()
public void setCustomOptionValue(String customOptionValue)
public com.axemble.vdp.ui.framework.widgets.components.sys.forms.ResetTypeComponent getResetType()
public void setResetType(com.axemble.vdp.ui.framework.widgets.components.sys.forms.ResetTypeComponent resetType)
resetType
- the resetType to setpublic void inform(String errorMessage)
IFieldComponent
inform
in interface IFieldComponent
inform
in interface com.axemble.vdp.form.classes.IBaseComponentSupport
inform
in interface com.axemble.vdp.ui.core.document.fields.IFieldControl
inform
in class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
public String getEmptyValue()
public void setEmptyValue(String emptyValue)
public String getSize()
public void setSize(String size)
public boolean isForceShowList()
public void setForceShowList(boolean forceShowList)
Copyright © 2021 Visiativ Software. All rights reserved.