public class TextAreaInputControl extends InputControl
InputControl.InputInfo, InputControl.ValueInfo
Modifier and Type | Field and Description |
---|---|
static String |
FORMAT_COLS |
static String |
FORMAT_COLS_ATTRIBUTE |
static String |
FORMAT_ROWS |
static String |
FORMAT_ROWS_ATTRIBUTE |
static String |
NAME |
FORMAT_NULL, FORMAT_NULL_ATTRIBUTE, HTML_ATTR_CHECKED, HTML_ATTR_CLASS, HTML_ATTR_DISABLED, HTML_ATTR_ID, HTML_ATTR_STYLE, HTML_ATTR_TYPE, HTML_EXPR_NBSP, HTML_TAG_DIV, HTML_TAG_INPUT, HTML_TAG_LABEL, HTML_TAG_SPAN, HTML_TAG_TABLE, HTML_TAG_TD, HTML_TAG_TR
Constructor and Description |
---|
TextAreaInputControl() |
TextAreaInputControl(String name,
Class<? extends javax.faces.component.html.HtmlInputTextarea> inputComponentClass) |
Modifier and Type | Method and Description |
---|---|
protected void |
createInputComponents(javax.faces.component.UIComponent parent,
InputControl.InputInfo ii,
javax.faces.context.FacesContext context,
List<javax.faces.component.UIComponent> compList) |
protected String |
formatValue(Object value,
InputControl.ValueInfo vi)
Returns the value formated as a string
this is a simple default implementation that does no type-secific formatting
Derived classes may override formatString an provide further formmatting
see TextInputControl for details
|
protected Object |
parseInputValue(String value,
InputControl.InputInfo ii) |
protected void |
updateInputState(List<javax.faces.component.UIComponent> compList,
InputControl.InputInfo ii,
javax.faces.context.FacesContext context,
boolean setValue) |
addAttachedObjects, addRemoveDisabledStyle, addRemoveInvalidStyle, addRemoveStyle, clearSubmittedValue, copyAttribute, copyAttributes, copyAttributes, createInput, escapeHTML, formatInputValue, formatValue, getConvertedValue, getFirstInput, getFormatInteger, getFormatOption, getFormatOption, getFormatString, getInputComponent, getInputValue, getLabelForId, getName, hasFormatOption, isCreatingComponents, postUpdateModel, renderInput, renderValue, setInputValue, updateAttachedObjects, updateInputState
public static final String NAME
public static final String FORMAT_COLS
public static final String FORMAT_COLS_ATTRIBUTE
public static final String FORMAT_ROWS
public static final String FORMAT_ROWS_ATTRIBUTE
public TextAreaInputControl(String name, Class<? extends javax.faces.component.html.HtmlInputTextarea> inputComponentClass)
public TextAreaInputControl()
protected void createInputComponents(javax.faces.component.UIComponent parent, InputControl.InputInfo ii, javax.faces.context.FacesContext context, List<javax.faces.component.UIComponent> compList)
createInputComponents
in class InputControl
protected void updateInputState(List<javax.faces.component.UIComponent> compList, InputControl.InputInfo ii, javax.faces.context.FacesContext context, boolean setValue)
updateInputState
in class InputControl
protected String formatValue(Object value, InputControl.ValueInfo vi)
InputControl
formatValue
in class InputControl
value
- the value to be formattedvi
- Meta-information about the valueprotected Object parseInputValue(String value, InputControl.InputInfo ii)
parseInputValue
in class InputControl
Copyright © 2008–2017 Apache Software Foundation. All rights reserved.