Class SelectionRangeDatePickerField

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.document.fields.base.BaseField
com.axemble.vdoc.sdk.document.fields.SelectionRangeDatePickerField
All Implemented Interfaces:
IWidget, IWritable, com.axemble.vdp.ui.core.document.fields.IFieldControl, com.axemble.vdp.utils.parameters.ParamsHandler, Serializable

public class SelectionRangeDatePickerField extends BaseField
Field to select a range for a date/period field in the studio
See Also:
  • Field Summary

    Fields inherited from class com.axemble.vdoc.sdk.document.fields.base.BaseField

    aggregate

    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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addChangeListener(com.axemble.vdp.ui.framework.components.listeners.ChangeListener changeListener)
     
     
     
    void
    init(Element element)
    This method is called once when the document is loaded
    boolean
     
    Render the widget
    void
    setDescription(String description)
     
    void
    setErrorInfo(String errorMessage)
     
    void
     
    void
    setSelectorTableCreationScope(com.axemble.vdp.resource.classes.ITableCreation tableCreation)
     
    void
    setSelectorWorkflowScope(com.axemble.vdp.workflow.domain.Workflow workflow)
     
    void
     
    void
     
    boolean
    validate(boolean checkMandatory)
     

    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, isDescription, isDocumentChangedScript, isEditable, isFocus, isForceParentId, isIncludeErrorInfo, isMandatory, isThrowDocumentChangedScript, isThrowEventsDefined, renderErrorInfo, renderInfoMessage, renderQuickCreate, setAccessKey, setAssociatedLabel, setEditable, setIncludeErrorInfo, setMandatory, setQuickCreateContextParameter, setQuickCreateScreen, setTabIndex, setThrowDocumentChangedScript, setThrowEvents, setThrowEventsDefined, setValidationRules

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

    createComponent, evaluateExpressions, fireChangeEvent, getDynamicDescription, getDynamicLabel, getLanguage, getNavigator, getRootNavigator, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, hasChangeListeners, removeChangeListener, 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, getUserId, getValidationRules, hasValidationRules, inform, isEditable, isHidden, isMandatory, setEditable, setHidden, setMandatory, setUserId
  • Constructor Details

    • SelectionRangeDatePickerField

      public SelectionRangeDatePickerField()
  • Method Details

    • addChangeListener

      public void addChangeListener(com.axemble.vdp.ui.framework.components.listeners.ChangeListener changeListener)
      Overrides:
      addChangeListener in class com.axemble.vdp.ui.framework.foundation.Component
    • init

      public void init(Element element)
      Description copied from class: BaseField
      This method is called once when the document is loaded
      Overrides:
      init in class BaseField
      Parameters:
      element - The W3C Element object which defines the field
    • getSelectionRangeValue

      public Object getSelectionRangeValue()
    • setSelectionRangeValue

      public void setSelectionRangeValue(Object value)
    • updateControl

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

      public boolean validate(boolean checkMandatory)
      Specified by:
      validate in interface com.axemble.vdp.ui.core.document.fields.IFieldControl
      Overrides:
      validate in class com.axemble.vdp.ui.framework.widgets.CtlInputWidget
    • updateValue

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

      public boolean isEmpty()
      Specified by:
      isEmpty in class com.axemble.vdp.ui.framework.widgets.CtlInputWidget
    • setDescription

      public void setDescription(String description)
      Overrides:
      setDescription in class com.axemble.vdp.ui.framework.widgets.CtlInputWidget
    • render

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

      public String getJavascriptId()
      Overrides:
      getJavascriptId in class com.axemble.vdp.ui.framework.foundation.Widget
    • setErrorInfo

      public void setErrorInfo(String errorMessage)
      Overrides:
      setErrorInfo in class com.axemble.vdp.ui.framework.widgets.CtlInputWidget
    • setSelectorWorkflowScope

      public void setSelectorWorkflowScope(com.axemble.vdp.workflow.domain.Workflow workflow)
    • setSelectorTableCreationScope

      public void setSelectorTableCreationScope(com.axemble.vdp.resource.classes.ITableCreation tableCreation)