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 Summary
Modifier and TypeFieldDescriptionprotected com.axemble.vdp.ui.framework.widgets.CtlComboBox
protected com.axemble.vdp.ui.core.document.fields.IFieldControl
protected static final String
protected static final String
protected static final String
protected static final String
Fields inherited from class com.axemble.vdp.ui.framework.widgets.CtlInputWidget
accessKey, includeErrorInfo, mandatory, quickCreateLink, stringRecipient, tabIndex, throwDocumentChangedScript, throwEvents, throwEventsDefined, validationRules
Fields inherited from class com.axemble.vdp.ui.framework.foundation.Widget
actionListeners, isHidden, param, parentBlock, sysname, userId
Fields inherited from class com.axemble.vdp.ui.framework.foundation.Component
changeListeners, LOGGER
Fields inherited from interface com.axemble.vdp.utils.parameters.ParamsHandler
ERROR_EXCEED_ELEM_SIZE, ERROR_EXCEED_TOTAL_SIZE, ERROR_NOT_COMPLETED, ERROR_READ_FAILED, EXCEED_ELEM_NUMBER, NO_ERROR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getFieldClassName
(String type) protected String
static String
getKeyLabel
(String key) Get label from keyvoid
This method is called once when the document is loadedvoid
Initialize fields with the selected typeboolean
isEmpty()
render()
Render the widgetvoid
setDescription
(String description) void
setErrorInfo
(String errorMessage) void
void
boolean
validate
(boolean checkMandatory) Methods inherited from class com.axemble.vdoc.sdk.document.fields.base.BaseField
checkErrorMessage, getAbstractField, getField, getFieldChangeListener, getTemplateAsString, getTemplateWriter, getValue, init, init, renderErrorMessage, setValue
Methods inherited from class com.axemble.vdp.ui.framework.widgets.CtlInputWidget
addRefreshButton, 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, setValidationRules
Methods inherited from class com.axemble.vdp.ui.framework.foundation.Widget
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, removeActionListeners, renderMobile, setHidden, setParam, setParentBlock, setSysname, setUserId, write
Methods inherited from class com.axemble.vdp.ui.framework.foundation.Component
addChangeListener, createComponent, evaluateExpressions, fireChangeEvent, getDynamicDescription, getDynamicLabel, getLanguage, getNavigator, getRootNavigator, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, hasChangeListeners, removeChangeListener, removeChangeListeners, stateChanged
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.axemble.vdp.ui.core.document.fields.IFieldControl
addValidationRule, clearValidationRules, getUserId, getValidationRules, hasValidationRules, inform, isEditable, isHidden, isMandatory, setEditable, setHidden, setMandatory, setUserId
-
Field Details
-
SEPARATOR
- See Also:
-
TYPE_FILECENTER
- See Also:
-
TYPE_FREE
- See Also:
-
TYPE_EASYSITE
- See Also:
-
knownKeys
-
combobox
protected com.axemble.vdp.ui.framework.widgets.CtlComboBox combobox -
field
protected com.axemble.vdp.ui.core.document.fields.IFieldControl field
-
-
Constructor Details
-
UrlSelectorField
public UrlSelectorField()Constructor
-
-
Method Details
-
getKeyLabel
Get label from key- Parameters:
key
- the key- Returns:
- the label
-
init
Description copied from class:BaseField
This method is called once when the document is loaded -
getFieldValue
-
getFieldClassName
-
initializeField
public void initializeField()Initialize fields with the selected type -
updateControl
public void updateControl()- Specified by:
updateControl
in interfacecom.axemble.vdp.ui.core.document.fields.IFieldControl
- Specified by:
updateControl
in classBaseField
-
updateValue
public void updateValue()- Specified by:
updateValue
in interfacecom.axemble.vdp.ui.core.document.fields.IFieldControl
- Specified by:
updateValue
in classBaseField
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in classcom.axemble.vdp.ui.framework.widgets.CtlInputWidget
-
render
Description copied from interface:IWidget
Render the widget- Specified by:
render
in interfaceIWidget
- Specified by:
render
in classcom.axemble.vdp.ui.framework.foundation.Widget
- Returns:
- writableWidget
- Throws:
RenderException
-
validate
public boolean validate(boolean checkMandatory) - Specified by:
validate
in interfacecom.axemble.vdp.ui.core.document.fields.IFieldControl
- Overrides:
validate
in classcom.axemble.vdp.ui.framework.widgets.CtlInputWidget
-
setErrorInfo
- Overrides:
setErrorInfo
in classcom.axemble.vdp.ui.framework.widgets.CtlInputWidget
-
setDescription
- Overrides:
setDescription
in classcom.axemble.vdp.ui.framework.widgets.CtlInputWidget
-
getJavascriptId
- Overrides:
getJavascriptId
in classcom.axemble.vdp.ui.framework.foundation.Widget
-