Class DateMomentField

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.CtlDate
com.axemble.vdp.ui.core.document.fields.DateField
com.vdoc.sdk.commons.ui.document.fields.DateMomentField
All Implemented Interfaces:
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 DateMomentField extends com.axemble.vdp.ui.core.document.fields.DateField
Date moment field Created by wtoscer on 10/02/2015.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected DateFormat
     
    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
    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.CtlDate

    getDate, getDisplaydayofweek, getEndSelectionRange, getHourName, getMinuteName, getNumberOfMonths, getStartSelectionRange, getStrDate, getTimeMillis, getTimestamp, isChangeMonth, isDisableWeekend, isDisplayResetIcon, isShowWeek, setChangeMonth, setDate, setDisableWeekend, setDisplaydayofweek, setDisplayResetIcon, setEndSelectionRange, setHourName, setMinuteName, setNumberOfMonths, setShowWeek, setStartSelectionRange

    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, handleAction, 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, findFileRecipient, 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

  • Constructor Details

    • DateMomentField

      public DateMomentField()
      Default constructor
    • DateMomentField

      public DateMomentField(String format)
      Constructor
      Parameters:
      format - the format
  • 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