Class FileSizeInputComponent
java.lang.Object
com.axemble.vdp.ui.framework.foundation.Component
com.axemble.vdp.ui.framework.foundation.Widget
com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseComponent
com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseFieldComponent
com.axemble.vdoc.sdk.document.fields.FileSizeInputComponent
- All Implemented Interfaces:
IFieldComponent
,IWidget
,IWritable
,com.axemble.vdp.form.classes.IBaseComponentSupport
,com.axemble.vdp.ui.core.document.fields.IFieldControl
,com.axemble.vdp.utils.parameters.ParamsHandler
,Serializable
public class FileSizeInputComponent
extends com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseFieldComponent
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.axemble.vdp.ui.framework.widgets.CtlComboBox
protected com.axemble.vdp.ui.framework.widgets.components.sys.forms.LongInputComponent
Fields inherited from class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseFieldComponent
aggregate, hasService
Fields inherited from class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
accesskey, associatedLabel, condition, description, editable, errorInfo, formula, formulaCondition, includeErrorInfo, javascriptId, mandatory, modeFormula, property, propertytype, quickCreateLink, requiredFormula, rules, stringRecipient, tabindex, temporarypropertyname, throwDocumentChangedScript, throwEvents, throwEventsDefined, validationRules
Fields inherited from class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseComponent
additionalParameters, additionalParametersNodes, id, parameters
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
Methods inherited from class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseFieldComponent
addCssDependency, addScriptDependency, getAbstractField, getField, getFieldChangeListener, getTemplateWriter, init, init, isHasService, setHasService, stateChanged
Methods inherited from class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
addRefreshButton, addValidationRule, afterInit, canThrowEventsInWebBrowser, clearValidationRules, findStringRecipient, focus, getAccesskey, getAssociatedLabel, getDescription, getDocumentChangedScript, getErrorInfo, getFormula, getFormulaCondition, getHelpMessageIcon, getJavaScriptFocusScript, getJavascriptId, getModeFormula, getParentId, getProperty, getPropertyName, getPropertytype, getQuickCreateLink, getRefreshButton, getRequiredFormula, getTabindex, getTemporarypropertyname, getValidationRules, handleNoParams, handleParams, handleParams, hasValidationRules, init, initParameters, initParameters, isCondition, isDescription, isDocumentChangedScript, isEditable, isFocus, isForceParentId, isIncludeErrorInfo, isMandatory, isThrowDocumentChangedScript, isThrowEvents, isThrowEventsDefined, registerWidget, renderErrorInfo, renderInfoMessage, renderQuickCreate, setAccesskey, setAssociatedLabel, setCondition, setDescription, setEditable, setErrorInfo, setFormula, setFormulaCondition, setIncludeErrorInfo, setJavascriptId, setMandatory, setModeFormula, setProperty, setPropertytype, setQuickCreateContextParameter, setQuickCreateScreen, setRequiredFormula, setTabindex, setTemporarypropertyname, setThrowDocumentChangedScript, setThrowEvents, setThrowEventsDefined, setValidationRules
Methods inherited from class com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseComponent
addParameter, getAdditionalParameters, getAdditionalParametersNodes, getAdditionalParametersNodesElement, getId, getParameter, getParameter, getParameterBoolean, getParameterBoolean, getParameterDate, getParameterDate, getParameterInt, getParameterInteger, getParameterList, getParameterLong, getParameterNumber, getParameters, getParameterString, getParameterString, hasParameter, removeParameter, setAdditionalParameters, setAdditionalParametersNodes, setId, setParameters
Methods inherited from class com.axemble.vdp.ui.framework.foundation.Widget
addActionListener, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireOnClickMessage, buildFireOnClickMessage, buildFormName, findFileRecipient, findXmlRecipient, fireActionEvent, getCtrlTemplate, getCtrlTemplateWriter, 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.form.classes.IBaseComponentSupport
getLanguage, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, isHidden, setHidden
Methods inherited from interface com.axemble.vdoc.sdk.interfaces.ui.IFieldComponent
addValidationRule, clearValidationRules, getUserId, getValidationRules, hasValidationRules, isEditable, isHidden, isMandatory, setEditable, setHidden, setMandatory, setUserId
Methods inherited from interface com.axemble.vdp.ui.core.document.fields.IFieldControl
addValidationRule, clearValidationRules, getUserId, getValidationRules, hasValidationRules, isEditable, isHidden, isMandatory, setEditable, setHidden, setMandatory, setUserId
Methods inherited from interface com.axemble.vdoc.sdk.interfaces.ui.IWidget
afterInit, getParentBlock, getSysname, refresh, setParentBlock, setSysname
-
Field Details
-
comboBox
protected com.axemble.vdp.ui.framework.widgets.CtlComboBox comboBox -
textBox
protected com.axemble.vdp.ui.framework.widgets.components.sys.forms.LongInputComponent textBox
-
-
Constructor Details
-
FileSizeInputComponent
public FileSizeInputComponent()
-
-
Method Details
-
initAdditionalParameters
protected void initAdditionalParameters()- Specified by:
initAdditionalParameters
in classcom.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
-
inform
Description copied from interface:IFieldComponent
Add error message- Specified by:
inform
in interfacecom.axemble.vdp.form.classes.IBaseComponentSupport
- Specified by:
inform
in interfaceIFieldComponent
- Specified by:
inform
in interfacecom.axemble.vdp.ui.core.document.fields.IFieldControl
- Overrides:
inform
in classcom.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
- Parameters:
errorMessage
-
-
updateControl
public void updateControl()Description copied from interface:IFieldComponent
Update widget -
setValue
-
getValue
-
updateValue
public void updateValue()Description copied from interface:IFieldComponent
Update field value -
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in classcom.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
-
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
-
getValidationObject
- Specified by:
getValidationObject
in classcom.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
-
validate
public boolean validate(boolean checkMandatory) Description copied from interface:IFieldComponent
Validate the field- Specified by:
validate
in interfaceIFieldComponent
- Specified by:
validate
in interfacecom.axemble.vdp.ui.core.document.fields.IFieldControl
- Overrides:
validate
in classcom.axemble.vdp.ui.framework.widgets.components.sys.base.BaseInputComponent
- Parameters:
checkMandatory
-- Returns:
- isValid
-