Class ModelFormField.TextareaField

  • Enclosing class:
    ModelFormField

    public static class ModelFormField.TextareaField
    extends FieldInfo
    Models the <textarea> element.
    See Also:
    widget-form.xsd
    • Constructor Detail

      • TextareaField

        public TextareaField​(org.w3c.dom.Element element,
                             ModelFormField modelFormField)
      • TextareaField

        public TextareaField​(int fieldSource,
                             ModelFormField modelFormField)
      • TextareaField

        public TextareaField​(ModelFormField modelFormField)
    • Method Detail

      • getCols

        public int getCols()
      • getDefaultValue

        public java.lang.String getDefaultValue​(java.util.Map<java.lang.String,​java.lang.Object> context)
      • getRows

        public int getRows()
      • getMaxlength

        public java.lang.Integer getMaxlength()
      • getVisualEditorButtons

        public java.lang.String getVisualEditorButtons​(java.util.Map<java.lang.String,​java.lang.Object> context)
      • getVisualEditorEnable

        public boolean getVisualEditorEnable()
      • isReadOnly

        public boolean isReadOnly()
      • renderFieldString

        public void renderFieldString​(java.lang.Appendable writer,
                                      java.util.Map<java.lang.String,​java.lang.Object> context,
                                      FormStringRenderer formStringRenderer)
                               throws java.io.IOException
        Specified by:
        renderFieldString in class FieldInfo
        Throws:
        java.io.IOException