info.informatica.ui.html.tag
Class FormTextAreaField

java.lang.Object
  extended by info.informatica.doc.DocumentFragment
      extended by info.informatica.html.tag.HTMLTag
          extended by info.informatica.ui.html.tag.FormData
              extended by info.informatica.ui.html.tag.FormField
                  extended by info.informatica.ui.html.tag.FormTextAreaField
All Implemented Interfaces:
info.informatica.doc.DocumentElement, info.informatica.html.tag.AttributeListener, info.informatica.html.tag.BodyTag, DataControl, DataValue, Comparable<info.informatica.doc.DocumentFragment>

public final class FormTextAreaField
extends FormField

HTML form text area field.

Author:
amengual at informatica dot info

Nested Class Summary
 
Nested classes/interfaces inherited from class info.informatica.doc.DocumentFragment
info.informatica.doc.DocumentFragment.FragmentComp, info.informatica.doc.DocumentFragment.NotFragmentComp
 
Constructor Summary
FormTextAreaField(String tagid, ControlName nameattr, info.informatica.doc.FragmentPosition pos)
           
 
Method Summary
 String getName()
          Gets the name of the tag.
 DataField guessDataField()
          Try to guess the DataType from the default value, and return a temptative DataField representing this field.
 void init(DataField de)
          Inicializa el valor del campo
 String toString()
           
 String toXml()
          Gives an XHTML representation of this tag.
 
Methods inherited from class info.informatica.ui.html.tag.FormField
setValue, startTag
 
Methods inherited from class info.informatica.ui.html.tag.FormData
createField, createField, getAttributes, getControlName, getFieldname, getFieldSize, getFormat, getStringValues, getValue, mapDataToUI, mapInputField, setFieldname, setFormat, setValue, setValue, setValue, toString, toString
 
Methods inherited from class info.informatica.html.tag.HTMLTag
align, endTag, getAlignment, getBlockPosition, getId, getParent, getStyle, getStyleClass, getTagData, isSelfClosing, length, onAttributeRemoved, onAttributes, onAttributeStringSet, onDummyAttributes, setAttributes, setId, setParent, setSelfClosing, setSelfClosing, setTagData, setTagData, toString, vAlign
 
Methods inherited from class info.informatica.doc.DocumentFragment
adjustWidth, compareTo, getCurrentPosition, getPosition, setPosition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface info.informatica.html.tag.BodyTag
getStyle, getStyleClass
 

Constructor Detail

FormTextAreaField

public FormTextAreaField(String tagid,
                         ControlName nameattr,
                         info.informatica.doc.FragmentPosition pos)
Method Detail

init

public void init(DataField de)
          throws DataFieldException
Description copied from class: FormData
Inicializa el valor del campo

Specified by:
init in interface DataControl
Overrides:
init in class FormData
Throws:
DataFieldException

getName

public String getName()
Gets the name of the tag.

Overrides:
getName in class FormField
Returns:
tag name

guessDataField

public DataField guessDataField()
Description copied from class: FormData
Try to guess the DataType from the default value, and return a temptative DataField representing this field.

Overrides:
guessDataField in class FormData
Returns:
a guessed DataField for this form field.

toXml

public String toXml()
Gives an XHTML representation of this tag.

It is useful for cases where you need a tag representation as <tagname attributes/>.

Overrides:
toXml in class info.informatica.html.tag.HTMLTag
Returns:
the XHTML representation of this tag.

toString

public String toString()
Overrides:
toString in class info.informatica.html.tag.HTMLTag