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

    Fields
    Modifier and Type
    Field
    Description
    protected com.axemble.vdp.ui.core.document.fields.common.FieldAggregate
     
    protected static final String
     
    protected Map
     
    protected static final String
     
    protected String
     
    protected boolean
     

    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

    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.axemble.vdp.ui.framework.document.fields.IAbstractField
     
    com.axemble.vdp.ui.core.document.fields.ICoreField
     
    com.axemble.vdp.ui.framework.components.listeners.ChangeListener
     
    void
    init(com.axemble.vdp.ui.framework.document.fields.IAbstractField field, Element element)
     
    void
    init(com.axemble.vdp.ui.framework.document.fields.IAbstractField field, Element fieldDesc, boolean editable, boolean mandatory)
     
    protected void
     
    void
     
    void
     

    Methods inherited from class com.axemble.vdoc.sdk.ui.widgets.CtlEnhancedUrl

    getParams, getTitle, getTooltip, getUrl, isEmpty, render, setDescription, setParams, setTitle, setTooltip, setUrl

    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, 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, validate

    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, getJavascriptId, 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

    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, validate
  • Field Details

    • SEPARATOR

      protected static final String SEPARATOR
      See Also:
    • NULL_VALUE

      protected static final String NULL_VALUE
      See Also:
    • aggregate

      protected com.axemble.vdp.ui.core.document.fields.common.FieldAggregate aggregate
    • proxyOptionsMap

      protected Map proxyOptionsMap
    • serverUrl

      protected String 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:
      init in interface com.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:
      init in interface com.axemble.vdp.ui.core.document.fields.IFieldControl
    • updateControl

      public void updateControl()
      Specified by:
      updateControl in interface com.axemble.vdp.ui.core.document.fields.IFieldControl
    • updateValue

      public void updateValue()
      Specified by:
      updateValue in interface com.axemble.vdp.ui.core.document.fields.IFieldControl
    • stateChanged

      protected void stateChanged()
      Overrides:
      stateChanged in class com.axemble.vdp.ui.framework.foundation.Component
    • getAbstractField

      public com.axemble.vdp.ui.framework.document.fields.IAbstractField getAbstractField()
      Specified by:
      getAbstractField in interface com.axemble.vdp.ui.core.document.fields.IFieldControl
    • getField

      public com.axemble.vdp.ui.core.document.fields.ICoreField getField()
      Specified by:
      getField in interface com.axemble.vdp.ui.core.document.fields.IFieldControl
    • getFieldChangeListener

      public com.axemble.vdp.ui.framework.components.listeners.ChangeListener getFieldChangeListener()
      Specified by:
      getFieldChangeListener in interface com.axemble.vdp.ui.core.document.fields.IFieldControl