Class ModelFormField.TextareaField

java.lang.Object
org.apache.ofbiz.widget.model.FieldInfo
org.apache.ofbiz.widget.model.ModelFormField.TextareaField
Enclosing class:
ModelFormField

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

  • Method Details

    • accept

      public void accept(ModelFieldVisitor visitor) throws Exception
      Specified by:
      accept in class FieldInfo
      Throws:
      Exception
    • copy

      public FieldInfo copy(ModelFormField modelFormField)
      Description copied from class: FieldInfo
      Returns a new instance of this object.
      Specified by:
      copy in class FieldInfo
    • getCols

      public int getCols()
      Gets cols.
      Returns:
      the cols
    • getDefaultValue

      public FlexibleStringExpander getDefaultValue()
      Gets default value.
      Returns:
      the default value
    • getDefaultValue

      public String getDefaultValue(Map<String,Object> context)
      Gets default value.
      Parameters:
      context - the context
      Returns:
      the default value
    • getRows

      public int getRows()
      Gets rows.
      Returns:
      the rows
    • getMaxlength

      public Integer getMaxlength()
      Gets maxlength.
      Returns:
      the maxlength
    • getVisualEditorButtons

      public FlexibleStringExpander getVisualEditorButtons()
      Gets visual editor buttons.
      Returns:
      the visual editor buttons
    • getVisualEditorButtons

      public String getVisualEditorButtons(Map<String,Object> context)
      Gets visual editor buttons.
      Parameters:
      context - the context
      Returns:
      the visual editor buttons
    • getVisualEditorEnable

      public boolean getVisualEditorEnable()
      Gets visual editor enable.
      Returns:
      the visual editor enable
    • isReadOnly

      public boolean isReadOnly()
      Is read only boolean.
      Returns:
      the boolean
    • getPlaceholder

      public FlexibleStringExpander getPlaceholder()
      Returns the placeholder
      Returns:
      the placeholder
    • getPlaceholder

      public String getPlaceholder(Map<String,Object> context)
      Returns the placeholder
      Returns:
      the placeholder
    • renderFieldString

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