Class EnhancedUrlField
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.ui.widgets.CtlEnhancedUrl
com.axemble.vdoc.sdk.document.fields.EnhancedUrlField
- All Implemented Interfaces:
IWidget,IWritable,com.axemble.vdp.ui.core.document.fields.IFieldControl,com.axemble.vdp.utils.parameters.ParamsHandler,Serializable
public class EnhancedUrlField
extends CtlEnhancedUrl
implements com.axemble.vdp.ui.core.document.fields.IFieldControl
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
ctrl = "com.axemble.vdoc.sdk.document.fields.EnhancedUrlField"
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
show-url = "false" | "true" - display or not the URL textbox
show-title = "false" | "true" - display or not the TITLE textbox
show-params = "false" | "true" - display or not the PARAM textbox
show-description = "false" | "true" - display or not the DESCRIPTION textbox
params = "width, height, resizable, scrollbars, status, toolbar" ("0" | "1") - set the field parameters
/>
Field Type: java.lang.String
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.axemble.vdp.ui.core.document.fields.common.FieldAggregateprotected static final Stringprotected Mapprotected static final Stringprotected Stringprotected booleanFields inherited from class com.axemble.vdoc.sdk.ui.widgets.CtlEnhancedUrl
description, internalListener, LOGGER, showDescription, showParams, showTitle, showUrl, taDescription, tbParams, tbTitle, tbUrlEdit, title, urlFields inherited from class com.axemble.vdp.ui.framework.widgets.CtlInputWidget
accessKey, includeErrorInfo, mandatory, quickCreateLink, stringRecipient, tabIndex, throwDocumentChangedScript, throwEvents, throwEventsDefined, validationRulesFields inherited from class com.axemble.vdp.ui.framework.foundation.Widget
actionListeners, isHidden, param, parentBlock, sysname, userIdFields inherited from class com.axemble.vdp.ui.framework.foundation.Component
changeListenersFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.axemble.vdp.ui.framework.document.fields.IAbstractFieldcom.axemble.vdp.ui.core.document.fields.ICoreFieldgetField()com.axemble.vdp.ui.framework.components.listeners.ChangeListenervoidvoidinit(com.axemble.vdp.ui.framework.document.fields.IAbstractField field, Element fieldDesc, boolean editable, boolean mandatory) protected voidvoidvoidMethods inherited from class com.axemble.vdoc.sdk.ui.widgets.CtlEnhancedUrl
getParams, getTitle, getTooltip, getUrl, isEmpty, render, setDescription, setParams, setTitle, setTooltip, setUrlMethods 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, init, isDescription, isDocumentChangedScript, isEditable, isFocus, isForceParentId, isIncludeErrorInfo, isMandatory, isThrowDocumentChangedScript, isThrowEventsDefined, renderErrorInfo, renderInfoMessage, renderQuickCreate, setAccessKey, setAssociatedLabel, setEditable, setErrorInfo, setIncludeErrorInfo, setMandatory, setQuickCreateContextParameter, setQuickCreateScreen, setTabIndex, setThrowDocumentChangedScript, setThrowEvents, setThrowEventsDefined, setValidationRules, validateMethods 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, getJavascriptId, getParam, getParentBlock, getSysname, getUserDisplayName, getUserId, handleAction, hasActionListeners, isHidden, refresh, refreshWidgets, removeActionListener, removeActionListeners, renderMobile, setHidden, setParam, setParentBlock, setSysname, setUserId, writeMethods 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, removeChangeListenersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdp.ui.core.document.fields.IFieldControl
addValidationRule, clearValidationRules, getUserId, getValidationRules, hasValidationRules, inform, isEditable, isHidden, isMandatory, setEditable, setHidden, setMandatory, setUserId, validate
-
Field Details
-
SEPARATOR
- See Also:
-
NULL_VALUE
- See Also:
-
aggregate
protected com.axemble.vdp.ui.core.document.fields.common.FieldAggregate aggregate -
proxyOptionsMap
-
serverUrl
-
useProxy
protected boolean useProxy
-
-
Constructor Details
-
EnhancedUrlField
public EnhancedUrlField()
-
-
Method Details
-
init
public void init(com.axemble.vdp.ui.framework.document.fields.IAbstractField field, Element element) - Specified by:
initin interfacecom.axemble.vdp.ui.core.document.fields.IFieldControl
-
init
public void init(com.axemble.vdp.ui.framework.document.fields.IAbstractField field, Element fieldDesc, boolean editable, boolean mandatory) - Specified by:
initin interfacecom.axemble.vdp.ui.core.document.fields.IFieldControl
-
updateControl
public void updateControl()- Specified by:
updateControlin interfacecom.axemble.vdp.ui.core.document.fields.IFieldControl
-
updateValue
public void updateValue()- Specified by:
updateValuein interfacecom.axemble.vdp.ui.core.document.fields.IFieldControl
-
stateChanged
protected void stateChanged()- Overrides:
stateChangedin classcom.axemble.vdp.ui.framework.foundation.Component
-
getAbstractField
public com.axemble.vdp.ui.framework.document.fields.IAbstractField getAbstractField()- Specified by:
getAbstractFieldin interfacecom.axemble.vdp.ui.core.document.fields.IFieldControl
-
getField
public com.axemble.vdp.ui.core.document.fields.ICoreField getField()- Specified by:
getFieldin interfacecom.axemble.vdp.ui.core.document.fields.IFieldControl
-
getFieldChangeListener
public com.axemble.vdp.ui.framework.components.listeners.ChangeListener getFieldChangeListener()- Specified by:
getFieldChangeListenerin interfacecom.axemble.vdp.ui.core.document.fields.IFieldControl
-