All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.abc.templates.HtmlTextArea

java.lang.Object
   |
   +----com.abc.templates.HtmlControl
           |
           +----com.abc.templates.HtmlTextArea

public class HtmlTextArea
extends HtmlControl
implements Serializable
Representation of <textarea> control on html page.
All properties:
<textarea rows="10" cols="10" name="TextArea" ...(additional options)> Text </textarea>

 o HtmlTextArea()

    Constructor.

 
 o HtmlTextArea(HtmlTextArea)
copy constructor.
 o addAdditionalOptions(String)
adds additional property. addAdditionalOption(" onMouseOver=\"mouseOver()\" ")
 o getCols()
retrieves "cols".
 o getRows()
retrieves "rows"
 o getValue()
retrieves "Value".
 o getValueAsBytes()
retrieves "Value" as a array of bytes. Internally "value" stored as array of bytes.
 o setCols(int)
sets "Cols"
 o setRows(int)
sets "Rows".
 o setValue(byte[])
sets "Value".
 o setValue(String)
sets "Value".

 o HtmlTextArea

 public HtmlTextArea()

 o HtmlTextArea

 public HtmlTextArea(HtmlTextArea tmp)

Methods

 o addAdditionalOptions

 public final void addAdditionalOptions(String s)

 o Assign

 public final void Assign(HtmlControl control)
Overrides:
Assign in class HtmlControl

 o clone

 public final Object clone()
Overrides:
clone in class HtmlControl

 o getCols

 public final int getCols()

 o getRows

 public final int getRows()

 o getValue

 public final String getValue()
Overrides:
getValue in class HtmlControl

 o getValueAsBytes

 public final byte[] getValueAsBytes()

 o readAfterTag

 public int readAfterTag(byte b[],
                         int iFrom) throws BadTemplate
Overrides:
readAfterTag in class HtmlControl

 o readFromHtml

 public final boolean readFromHtml(HttpServletRequest req,
                                   IValidator validator)
Overrides:
readFromHtml in class HtmlControl

 o setCols

 public final void setCols(int iCols)

 o setProperty

 public final boolean setProperty(String sName,
                                  String sValue) throws BadTemplate
Overrides:
setProperty in class HtmlControl

 o setRows

 public final void setRows(int iRows)

 o setValue

 public final void setValue(byte value[])

 o setValue

 public final void setValue(String sValue)
Overrides:
setValue in class HtmlControl

 o writeToHtml

 public final void writeToHtml(HtmlWriter out) throws IOException
Overrides:
writeToHtml in class HtmlControl

All Packages  Class Hierarchy  This Package  Previous  Next  Index