borland Packages  Class Hierarchy  internetbeans Package 

IxTextArea class

java.lang.Object
   +----com.borland.internetbeans.IxComponent
           +----com.borland.internetbeans.AbstractIxDataWidget
                   +----com.borland.internetbeans.AbstractIxControl
                           +----com.borland.internetbeans.IxTextArea

About the IxTextArea class

Variables  Properties  Methods  

Implements ColumnAware, DataSetAware, Renderable, Serializable, Cloneable

Note: This package is a feature of JBuilder Professional and Enterprise.

Represents a text area.

XHTML: <textarea>


IxTextArea variables

Variables implemented in this class

Variables implemented in com.borland.internetbeans.AbstractIxControl

Variables implemented in com.borland.internetbeans.AbstractIxDataWidget

Variables implemented in com.borland.internetbeans.IxComponent

IxTextArea properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in com.borland.internetbeans.AbstractIxControl

Properties implemented in com.borland.internetbeans.AbstractIxDataWidget

Properties implemented in com.borland.internetbeans.IxComponent

Properties implemented in java.lang.Object

IxTextArea methods

Methods implemented in this class

Methods implemented in com.borland.internetbeans.AbstractIxControl

Methods implemented in com.borland.internetbeans.AbstractIxDataWidget

Methods implemented in com.borland.internetbeans.IxComponent

Methods implemented in java.lang.Object


IxTextArea variables

TAG_NAME

  public static final String TAG_NAME = "textarea"
Tag name for this type of element.

IxTextArea properties

cols

 public int getCols()
 public void setCols(int newTextCols)
The number of columns of text to display in the control. Use zero to let the user agent decide.

rows

 public int getRows()
 public void setRows(int newTextRows)
The number of rows of text to display in the control. Use zero to let the user agent decide.

IxTextArea methods

assembleElementBody(outWrap)

  protected void assembleElementBody(OutputWrapper outWrap)
Renders the value from the data model as the element body.

Overrides: com.borland.internetbeans.IxComponent.assembleElementBody(outWrap)

assembleTagAttributes(outWrap)

  protected void assembleTagAttributes(OutputWrapper outWrap)
Overrides AbstractIxControl.assembleTagAttributes and generates the NAME attribute (but not the VALUE, because that's in the element body), then the ROWS and COLS attributes.

Parameters:

outWrap
The stream-like output into which the content goes

Overrides: com.borland.internetbeans.AbstractIxControl.assembleTagAttributes(outWrap)

getClosureTags()

  protected String[] getClosureTags()
TEXTAREA elements require a matching end tag. As a precaution, other form control tag names and the FORM tag name itself are included in case the source markup is malformed.

Overrides: com.borland.internetbeans.IxComponent.getClosureTags()

getElementType()

  protected String getElementType()
Returns the tag name "select".

Overrides: com.borland.internetbeans.IxComponent.getElementType()

isElementEmpty()

  protected boolean isElementEmpty()
TEXTAREA elements are never empty

Overrides: com.borland.internetbeans.IxComponent.isElementEmpty()

mergeTag(java.lang.String, java.util.Map, boolean)

  public void mergeTag(String tagName, Map attributes, boolean empty)
Called by PageProducer; do not call directly. Reads and stores the values of the ROWS and COLS attributes, then calls super.

Parameters:

tagName
Name of the matching tag, e.g. INPUT, SELECT
attributes
Map of attribute values
empty
Whether the source tag was empty

Overrides: com.borland.internetbeans.AbstractIxControl.mergeTag(java.lang.String, java.util.Map, boolean)