Class FileWithPreviewField

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.vdp.ui.framework.widgets.CtlInputWidgetComponent
com.axemble.vdp.ui.framework.widgets.CtlMultipleFileUpload
com.vdoc.sdk.commons.ui.document.fields.FileWithPreviewField
All Implemented Interfaces:
IRenderer, IWidget, IWritable, com.axemble.vdp.ui.core.document.fields.IFieldControl, com.axemble.vdp.ui.framework.widgets.components.sys.base.ICtlInputWidgetComponent, com.axemble.vdp.utils.parameters.ParamsHandler, Serializable

public class FileWithPreviewField extends com.axemble.vdp.ui.framework.widgets.CtlMultipleFileUpload implements com.axemble.vdp.ui.core.document.fields.IFieldControl
File with preview field
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     

    Fields inherited from class com.axemble.vdp.ui.framework.widgets.CtlInputWidgetComponent

    inputComponent

    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

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    init(com.axemble.vdp.ui.framework.document.fields.IAbstractField field, Element element)
     
    Render the widget

    Methods inherited from class com.axemble.vdp.ui.framework.widgets.CtlMultipleFileUpload

    add, add, addAll, contains, dateToString, doRender, findFileRecipient, getButtonsContainer, getCurrentMaxFileSize, getCurrentMinFileSize, getCurrentTotalFileSize, getFileInputComponent, getFiles, getForbiddenExtensions, getMaxFileNameLength, getMaxFileNumber, getMaxTotalFileSize, getMinFileNumber, getMinFileSize, getMinTotalFileSize, getSupportedExtensions, handleAction, needRefreshAfterSave, refreshList, remove, removeAll, setForbiddenExtensions, setMaxFileNameLength, setMaxFileNumber, setMaxFileSize, setMaxTotalFileSize, setMinFileNumber, setMinFileSize, setMinTotalFileSize, setSupportedExtensions, sizeToString

    Methods inherited from class com.axemble.vdp.ui.framework.widgets.CtlInputWidgetComponent

    addActionListener, addChangeListener, addRefreshButton, addValidationRule, buildFieldElement, canThrowEventsInWebBrowser, clearValidationRules, findStringRecipient, focus, getAbstractField, getAccessKey, getAssociatedLabel, getDescription, getDocumentChangedScript, getErrorInfo, getField, getFieldChangeListener, getHelpMessageIcon, getInputComponent, getJavascriptId, getParentId, getQuickCreateLink, getTabIndex, getUserId, getValidationObject, getValidationRules, handleNoParams, handleParams, handleParams, hasValidationRules, inform, init, init, isDescription, isDocumentChangedScript, isEditable, isEmpty, isFocus, isForceParentId, isHidden, isIncludeErrorInfo, isMandatory, isThrowDocumentChangedScript, isThrowEventsDefined, refresh, refreshWidgets, removeActionListener, removeChangeListener, renderErrorInfo, renderInfoMessage, renderQuickCreate, setAccessKey, setAssociatedLabel, setDescription, setEditable, setErrorInfo, setHidden, setIncludeErrorInfo, setInputComponent, setJavascriptId, setMandatory, setQuickCreateContextParameter, setQuickCreateScreen, setTabIndex, setThrowDocumentChangedScript, setThrowEvents, setThrowEventsDefined, setUserId, setValidationRules, updateControl, updateValue, validate

    Methods inherited from class com.axemble.vdp.ui.framework.widgets.CtlInputWidget

    getRefreshButton

    Methods inherited from class com.axemble.vdp.ui.framework.foundation.Widget

    afterInit, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireOnClickMessage, buildFireOnClickMessage, buildFormName, findXmlRecipient, fireActionEvent, getCtrlTemplate, getCtrlTemplateWriter, getJavaScriptFocusScript, getParam, getParentBlock, getSysname, getUserDisplayName, hasActionListeners, removeActionListeners, renderMobile, setParam, setParentBlock, setSysname, write

    Methods inherited from class com.axemble.vdp.ui.framework.foundation.Component

    createComponent, evaluateExpressions, fireChangeEvent, getDynamicDescription, getDynamicLabel, getLanguage, getNavigator, getRootNavigator, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, hasChangeListeners, 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, getAbstractField, getField, getFieldChangeListener, getUserId, getValidationRules, hasValidationRules, inform, init, isEditable, isHidden, isMandatory, setEditable, setHidden, setMandatory, setUserId, updateControl, updateValue, validate

    Methods inherited from interface com.axemble.vdoc.sdk.interfaces.ui.IWidget

    getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, hasChangeListeners, removeChangeListeners
  • Field Details

    • descriptionKey

      protected String descriptionKey
  • Constructor Details

    • FileWithPreviewField

      public FileWithPreviewField()
      Default constructor
  • 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
      Overrides:
      init in class com.axemble.vdp.ui.framework.widgets.CtlInputWidgetComponent
    • render

      public IWritable render() throws RenderException
      Description copied from interface: IWidget
      Render the widget
      Specified by:
      render in interface IWidget
      Overrides:
      render in class com.axemble.vdp.ui.framework.widgets.CtlInputWidgetComponent
      Returns:
      writableWidget
      Throws:
      RenderException