fc.web.forms
Class TextArea.WrapType
java.lang.Object
fc.web.forms.TextArea.WrapType
- Enclosing class:
- TextArea
public static class TextArea.WrapType
- extends Object
From the HTML spec:
- OFF disables word wrap. Text the user types is
displayed with the exact line breaks that the user types.
If the user explicitly inserts a line break, however, the
break is included as part of the text area's value. The
user has to scroll horizontally to see the ends of lines
that do not fit in the text area element.
- HARD causes word wrap, and the line breaks are
included when the form is submitted. The text wraps inside
the text area element, and that the user does not need to
scroll horizontally.
- SOFT causes word wrap, but the line breaks are not
included when the form is submitted
OFF
public static final TextArea.WrapType OFF
HARD
public static final TextArea.WrapType HARD
SOFT
public static final TextArea.WrapType SOFT