Interface FormControlElement.Proxy

All Superinterfaces:
FormControlElement, FormInputElement, com.foreach.across.modules.web.ui.elements.HtmlViewElement, com.foreach.across.modules.web.ui.MutableViewElement, com.foreach.across.modules.web.ui.ViewElement
All Known Implementing Classes:
DateTimeFormElement, InputGroupFormElement, NumericFormElement
Enclosing interface:
FormControlElement

public static interface FormControlElement.Proxy extends FormControlElement
Marks the implementation as being a proxy for the actual control that is to be one of its children. This interface should only be implemented by ContainerViewElement extensions. It is expected that the target control is then present in the ContainerViewElement.elementStream().

Some methods like BootstrapElementUtils.prefixControlNames(String, ContainerViewElement) inspect this interface to exclude elements from processing.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.foreach.across.modules.bootstrapui.elements.FormControlElement

    FormControlElement.Proxy

    Nested classes/interfaces inherited from interface com.foreach.across.modules.web.ui.elements.HtmlViewElement

    com.foreach.across.modules.web.ui.elements.HtmlViewElement.Functions

    Nested classes/interfaces inherited from interface com.foreach.across.modules.web.ui.ViewElement

    com.foreach.across.modules.web.ui.ViewElement.Wither<T extends com.foreach.across.modules.web.ui.ViewElement>, com.foreach.across.modules.web.ui.ViewElement.WitherGetter<T extends com.foreach.across.modules.web.ui.ViewElement,U extends Object>, com.foreach.across.modules.web.ui.ViewElement.WitherRemover<T extends com.foreach.across.modules.web.ui.ViewElement>, com.foreach.across.modules.web.ui.ViewElement.WitherSetter<T extends com.foreach.across.modules.web.ui.ViewElement>
  • Method Summary

    Modifier and Type
    Method
    Description
    com.foreach.across.modules.web.ui.ViewElement
     

    Methods inherited from interface com.foreach.across.modules.bootstrapui.elements.FormControlElement

    isReadonly, isRequired, setReadonly, setRequired

    Methods inherited from interface com.foreach.across.modules.bootstrapui.elements.FormInputElement

    getControlName, isDisabled, setControlName, setDisabled

    Methods inherited from interface com.foreach.across.modules.web.ui.elements.HtmlViewElement

    addAttributes, addCssClass, getAttribute, getAttribute, getAttributes, getHtmlId, getTagName, hasAttribute, hasCssClass, remove, removeAttribute, removeCssClass, set, setAttribute, setAttributes, setHtmlId

    Methods inherited from interface com.foreach.across.modules.web.ui.MutableViewElement

    setCustomTemplate, setName

    Methods inherited from interface com.foreach.across.modules.web.ui.ViewElement

    get, getCustomTemplate, getElementType, getName, matches
  • Method Details

    • getControl

      com.foreach.across.modules.web.ui.ViewElement getControl()
      Returns:
      the actual control