Class WebTextControlDepictor<V,​C extends TextControl<V>>

  • Type Parameters:
    V - The type of value represented in the control.
    C - The type of component being depicted.
    All Implemented Interfaces:
    ComponentDepictor<C>, Depictor<C>, WebComponentDepictor<C>, WebDepictor<C>

    public class WebTextControlDepictor<V,​C extends TextControl<V>>
    extends AbstractDecoratedWebComponentDepictor<C>
    Strategy for rendering a text control as an XHTML <input> element or an XHTML <textarea> element. This view will change the XHTML element rendered based upon the number of rows requested by the text control. This implementation automatically converts between the controls LF end-of-line representation and the CRLF required by HTML <textarea>.
    Author:
    Garret Wilson
    • Field Detail

      • XSTANDARD_CONTENT_TYPE

        public static final com.globalmentor.net.ContentType XSTANDARD_CONTENT_TYPE
        The content type for XStandard objects.
      • XSTANDARD_CLASS_ID

        public static final java.lang.String XSTANDARD_CLASS_ID
        The XStandard class ID.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WebTextControlDepictor

        public WebTextControlDepictor()
        Default constructor using the XHTML <input> element.