Class LightBoxField

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

public class LightBoxField extends com.axemble.vdp.ui.framework.widgets.CtlInputWidget implements com.axemble.vdp.ui.core.document.fields.IFieldControl
Champ permettant d'ouvrir un autre field dans une lightbox Paramètres Noeud fils : targetField=-> définition du widget à ouvrir Attribut : targetLabel/targetInformation titre de la fenêtre lightbox targetClass/targetMethod pour utiliser un autre provider de lightbox
Author:
omenuel
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.axemble.vdp.ui.core.document.fields.common.FieldAggregate
     

    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
    final void
    addParameter(String name, Object value)
     
    com.axemble.vdp.ui.framework.document.fields.IAbstractField
     
     
    com.axemble.vdp.ui.core.document.fields.ICoreField
     
    com.axemble.vdp.ui.framework.components.listeners.ChangeListener
     
     
     
     
    final Element
     
     
     
     
     
    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 element, boolean editable, boolean mandatory)
     
    void
    init(Element element)
     
    boolean
     
    Render the widget
    void
    setClassName(String className)
     
    void
    setMethodName(String methodName)
     
    final void
    setTargetField(Element targetField)
     
    void
    setTargetInformation(String targetInformation)
     
    void
    setTargetLabel(String targetLabel)
     
    void
     
    protected void
     
    void
     
    void
     

    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, getValidationRules, handleNoParams, handleParams, handleParams, hasValidationRules, inform, isDescription, isDocumentChangedScript, isEditable, isFocus, isForceParentId, isIncludeErrorInfo, isMandatory, isThrowDocumentChangedScript, isThrowEventsDefined, renderErrorInfo, renderInfoMessage, renderQuickCreate, setAccessKey, setAssociatedLabel, setDescription, 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

    • aggregate

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

    • LightBoxField

      public LightBoxField()
  • Method Details

    • init

      public void init(com.axemble.vdp.ui.framework.document.fields.IAbstractField field, Element element, boolean editable, boolean mandatory)
      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 element)
      Specified by:
      init in interface com.axemble.vdp.ui.core.document.fields.IFieldControl
    • init

      public void init(Element element)
      Overrides:
      init in class com.axemble.vdp.ui.framework.widgets.CtlInputWidget
      See Also:
    • updateValue

      public void updateValue()
      Specified by:
      updateValue 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
    • stateChanged

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

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

      public final Element getTargetField()
    • setTargetField

      public final void setTargetField(Element targetField)
    • getClassName

      public String getClassName()
    • setClassName

      public void setClassName(String className)
    • getMethodName

      public String getMethodName()
    • setMethodName

      public void setMethodName(String methodName)
    • getTargetLabel

      public String getTargetLabel()
    • setTargetLabel

      public void setTargetLabel(String targetLabel)
    • getTargetInformation

      public String getTargetInformation()
    • setTargetInformation

      public void setTargetInformation(String targetInformation)
    • 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
    • getValue

      public Object getValue()
    • getValidationObject

      public Object getValidationObject()
      Overrides:
      getValidationObject in class com.axemble.vdp.ui.framework.widgets.CtlInputWidget
    • setValue

      public void setValue(Object value)
    • 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
    • addParameter

      public final void addParameter(String name, Object value)
    • getParameters

      public final Map<String,Object> getParameters()
    • getOpenButton

      public IWidget getOpenButton()