Class UrlSelectorField
java.lang.Object
com.axemble.vdp.ui.framework.foundation.Component
com.axemble.vdp.ui.framework.foundation.Widget
com.axemble.vdp.ui.framework.widgets.CtlInputWidget
com.axemble.vdoc.sdk.document.fields.base.BaseField
com.axemble.vdoc.sdk.document.fields.UrlSelectorField
- All Implemented Interfaces:
- IWidget,- IWritable,- com.axemble.vdp.ui.core.document.fields.IFieldControl,- com.axemble.vdp.utils.parameters.ParamsHandler,- Serializable
URL selector field
- Author:
- vlygeros
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected com.axemble.vdp.ui.framework.widgets.CtlComboBoxprotected com.axemble.vdp.ui.core.document.fields.IFieldControlprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class com.axemble.vdp.ui.framework.widgets.CtlInputWidgetaccessKey, includeErrorInfo, mandatory, quickCreateLink, stringRecipient, tabIndex, throwDocumentChangedScript, throwEvents, throwEventsDefined, validationRulesFields 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 TypeMethodDescriptionprotected StringgetFieldClassName(String type) protected Stringstatic StringgetKeyLabel(String key) Get label from keyvoidThis method is called once when the document is loadedvoidInitialize fields with the selected typebooleanisEmpty()render()Render the widgetvoidsetDescription(String description) voidsetErrorInfo(String errorMessage) voidvoidbooleanvalidate(boolean checkMandatory) Methods inherited from class com.axemble.vdoc.sdk.document.fields.base.BaseFieldcheckErrorMessage, getAbstractField, getField, getFieldChangeListener, getTemplateAsString, getTemplateWriter, getValue, init, init, renderErrorMessage, setValueMethods inherited from class com.axemble.vdp.ui.framework.widgets.CtlInputWidgetaddRefreshButton, addValidationRule, buildFieldElement, canThrowEventsInWebBrowser, clearValidationRules, findStringRecipient, focus, getAccessKey, getAssociatedLabel, getDescription, getDocumentChangedScript, getErrorInfo, getHelpMessageIcon, getParentId, getQuickCreateLink, getRefreshButton, getTabIndex, getValidationObject, getValidationRules, handleNoParams, handleParams, handleParams, hasValidationRules, inform, isDescription, isDocumentChangedScript, isEditable, isFocus, isForceParentId, isIncludeErrorInfo, isMandatory, isThrowDocumentChangedScript, isThrowEventsDefined, renderErrorInfo, renderInfoMessage, renderQuickCreate, setAccessKey, setAssociatedLabel, setEditable, setIncludeErrorInfo, setMandatory, setQuickCreateContextParameter, setQuickCreateScreen, setTabIndex, setThrowDocumentChangedScript, setThrowEvents, setThrowEventsDefined, setValidationRulesMethods inherited from class com.axemble.vdp.ui.framework.foundation.WidgetaddActionListener, addActionListener, afterInit, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireOnClickMessage, buildFireOnClickMessage, buildFormName, findFileRecipient, findXmlRecipient, fireActionEvent, getCtrlTemplate, getCtrlTemplateWriter, getJavaScriptFocusScript, 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, removeChangeListeners, stateChangedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdp.ui.core.document.fields.IFieldControladdValidationRule, clearValidationRules, getUserId, getValidationRules, hasValidationRules, inform, isEditable, isHidden, isMandatory, setEditable, setHidden, setMandatory, setUserIdMethods inherited from interface com.axemble.vdoc.sdk.interfaces.ui.IWidgetaddChangeListener, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, hasChangeListeners, removeChangeListener, removeChangeListeners
- 
Field Details- 
SEPARATOR- See Also:
 
- 
TYPE_FILECENTER- See Also:
 
- 
TYPE_FREE- See Also:
 
- 
TYPE_EASYSITE- See Also:
 
- 
knownKeys
- 
comboboxprotected com.axemble.vdp.ui.framework.widgets.CtlComboBox combobox
- 
fieldprotected com.axemble.vdp.ui.core.document.fields.IFieldControl field
 
- 
- 
Constructor Details- 
UrlSelectorFieldpublic UrlSelectorField()Constructor
 
- 
- 
Method Details- 
getKeyLabelGet label from key- Parameters:
- key- the key
- Returns:
- the label
 
- 
initDescription copied from class:BaseFieldThis method is called once when the document is loaded
- 
getFieldValue
- 
getFieldClassName
- 
initializeFieldpublic void initializeField()Initialize fields with the selected type
- 
updateControlpublic void updateControl()- Specified by:
- updateControlin interface- com.axemble.vdp.ui.core.document.fields.IFieldControl
- Specified by:
- updateControlin class- BaseField
 
- 
updateValuepublic void updateValue()- Specified by:
- updateValuein interface- com.axemble.vdp.ui.core.document.fields.IFieldControl
- Specified by:
- updateValuein class- BaseField
 
- 
isEmptypublic boolean isEmpty()- Specified by:
- isEmptyin class- com.axemble.vdp.ui.framework.widgets.CtlInputWidget
 
- 
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
 
- 
validatepublic boolean validate(boolean checkMandatory) - Specified by:
- validatein interface- com.axemble.vdp.ui.core.document.fields.IFieldControl
- Overrides:
- validatein class- com.axemble.vdp.ui.framework.widgets.CtlInputWidget
 
- 
setErrorInfo- Overrides:
- setErrorInfoin class- com.axemble.vdp.ui.framework.widgets.CtlInputWidget
 
- 
setDescription- Overrides:
- setDescriptionin class- com.axemble.vdp.ui.framework.widgets.CtlInputWidget
 
- 
getJavascriptId- Overrides:
- getJavascriptIdin class- com.axemble.vdp.ui.framework.foundation.Widget
 
 
-