org.apache.empire.struts2.jsp.controls
Class TextAreaInputControl

java.lang.Object
  extended by org.apache.empire.struts2.jsp.controls.InputControl
      extended by org.apache.empire.struts2.jsp.controls.TextAreaInputControl

public class TextAreaInputControl
extends InputControl


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.empire.struts2.jsp.controls.InputControl
InputControl.ControlInfo, InputControl.FieldValueError, InputControl.ValueInfo
 
Field Summary
 
Fields inherited from class org.apache.empire.struts2.jsp.controls.InputControl
CURRENCY_CODE_ATTRIBUTE, FILE_DATA_COLUMN_ATTRIBUTE, log, MAXVALUE_ATTRIBUTE, MINVALUE_ATTRIBUTE, NO_VALUE, NULL_VALUE, NUMBER_FORMAT_ATTRIBUTE, NUMBER_FRACTION_DIGITS, NUMBER_GROUPSEP_ATTRIBUTE
 
Constructor Summary
TextAreaInputControl()
           
 
Method Summary
protected  void internalRenderText(HtmlWriter writer, InputControl.ValueInfo vi)
          this method renders a record value read only it is internally called by renderText
protected  Object parseValue(String value, Locale locale, Column column)
          this function may be overridden to parse and convert the input value to the data type of the supplied column
 void renderInput(HtmlWriter writer, InputControl.ControlInfo ci)
          this method renders a record value for input
 void renderText(HtmlWriter writer, InputControl.ValueInfo vi)
          this method renders a record value read only this can be either in a read only form or a table
 
Methods inherited from class org.apache.empire.struts2.jsp.controls.InputControl
error, error, formatValue, formatValue, getFieldValue, getFormatOption, hasFormatOption, printText, useLabelId, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextAreaInputControl

public TextAreaInputControl()
Method Detail

parseValue

protected Object parseValue(String value,
                            Locale locale,
                            Column column)
Description copied from class: InputControl
this function may be overridden to parse and convert the input value to the data type of the supplied column

Overrides:
parseValue in class InputControl
Parameters:
value - the value string from the request
locale - the user locale
column - the column for which the value is supplied
Returns:
the parsed value

renderText

public void renderText(HtmlWriter writer,
                       InputControl.ValueInfo vi)
Description copied from class: InputControl
this method renders a record value read only this can be either in a read only form or a table

Overrides:
renderText in class InputControl
Parameters:
writer - the HtmlWriter for html write-out
vi - Object holding the value and meta-information about the value

internalRenderText

protected void internalRenderText(HtmlWriter writer,
                                  InputControl.ValueInfo vi)
Description copied from class: InputControl
this method renders a record value read only it is internally called by renderText

Overrides:
internalRenderText in class InputControl
Parameters:
writer - the HtmlWriter for html write-out
vi - Object holding the value and meta-information about the value

renderInput

public void renderInput(HtmlWriter writer,
                        InputControl.ControlInfo ci)
Description copied from class: InputControl
this method renders a record value for input

Specified by:
renderInput in class InputControl
Parameters:
writer - the HtmlWriter for html write-out
ci - Object holding the value and meta-information about the value and the control


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.