HATS 7.5.1 Web API Reference

Publicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product.

com.ibm.hats.transform.html
Class TextAreaElement

java.lang.Object
  extended by com.ibm.hats.transform.html.HTMLElement
      extended by com.ibm.hats.transform.html.InputElement
          extended by com.ibm.hats.transform.html.TextInputElement
              extended by com.ibm.hats.transform.html.TextAreaElement

Deprecated. Should be rewritten, does not follow model

public class TextAreaElement
extends TextInputElement

TextInputElement is the HTMLElement which represents an HTML form text area.


Field Summary
static String ATTR_COLS
          Deprecated.  
static String CLASSNAME
          Deprecated.  
 
Fields inherited from class com.ibm.hats.transform.html.TextInputElement
IME_ACTIVE, IME_AUTO, IME_DISABLED, IME_INACTIVE
 
Fields inherited from class com.ibm.hats.transform.html.HTMLElement
ATTR_ACCESS_KEY, ATTR_ACTION, ATTR_ALT, ATTR_CLASS_NAME, ATTR_DIR, ATTR_FOR, ATTR_HREF, ATTR_ID, ATTR_IMG_ALT, ATTR_MAX_LENGTH, ATTR_NAME, ATTR_ON_BLUR, ATTR_ON_CHANGE, ATTR_ON_CLICK, ATTR_ON_CUT, ATTR_ON_DROP, ATTR_ON_FOCUS, ATTR_ON_KEY_DOWN, ATTR_ON_KEY_PRESS, ATTR_ON_KEY_UP, ATTR_ON_MOUSEDOWN, ATTR_ON_MOUSEOVER, ATTR_ON_PASTE, ATTR_SIZE, ATTR_SRC, ATTR_STYLE, ATTR_TARGET, ATTR_TYPE, ATTR_VALUE, FLAG_CHECKED, FLAG_DISABLED, FLAG_MULTIPLE, FLAG_READ_ONLY, FLAG_SELECTED, tagName
 
Constructor Summary
TextAreaElement(boolean screenOrientation, boolean isNumeric, boolean oppositeToScreen, ContextAttributes contextAttributes)
          Deprecated.  
TextAreaElement(boolean screenOrientation, boolean isNumeric, boolean oppositeToScreen, Hashtable contextAttributes)
          Deprecated.  
 
Method Summary
 void buildTag(StringBuffer buffer, boolean closeTag)
          Deprecated. Builds HTML output from the current state.
 int getSize()
          Deprecated. Returns the size of this input field.
 String getValue()
          Deprecated. Gets the initialValue.
 void setMaxLength(int maxLength)
          Deprecated. Sets the maximum length for this input field.
 void setSize(int size)
          Deprecated. Sets the size of this input field.
 void setStyle(String style)
          Deprecated. Sets the style attribute.
 void setValue(String value)
          Deprecated. Sets the initialValue.
 
Methods inherited from class com.ibm.hats.transform.html.TextInputElement
getAlt, getMaxLength, getOnChange, getOnCut, getOnDrop, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnPaste, setAlt, setOnChange, setOnCut, setOnDrop, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnPaste
 
Methods inherited from class com.ibm.hats.transform.html.InputElement
getOnBlur, getOnClick, getOnFocus, getType, isDisabled, renderEndTag, setDisabled, setOnBlur, setOnClick, setOnFocus, setType
 
Methods inherited from class com.ibm.hats.transform.html.HTMLElement
addFlag, appendClassName, appendStyle, buildTag, getAttribute, getClassName, getDir, getId, getName, getStyle, getTagName, hasFlag, removeFlag, render, render, render, render, renderEndTag, setAlign, setAttribute, setClassName, setDir, setId, setName, setTagName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

public static final String CLASSNAME
Deprecated. 
See Also:
Constant Field Values

ATTR_COLS

public static final String ATTR_COLS
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

TextAreaElement

public TextAreaElement(boolean screenOrientation,
                       boolean isNumeric,
                       boolean oppositeToScreen,
                       ContextAttributes contextAttributes)
Deprecated. 

TextAreaElement

public TextAreaElement(boolean screenOrientation,
                       boolean isNumeric,
                       boolean oppositeToScreen,
                       Hashtable contextAttributes)
Deprecated. 

Method Detail

buildTag

public void buildTag(StringBuffer buffer,
                     boolean closeTag)
Deprecated. 
Description copied from class: HTMLElement
Builds HTML output from the current state. Used as a shared method between rendering to a String or rendering to a StringBuffer.

Overrides:
buildTag in class HTMLElement
closeTag - terminate the built tag with a "/>" instead of just a ">"

setSize

public void setSize(int size)
Deprecated. 
Description copied from class: TextInputElement
Sets the size of this input field.

Overrides:
setSize in class TextInputElement
Parameters:
size - The size to set

getSize

public int getSize()
Deprecated. 
Description copied from class: TextInputElement
Returns the size of this input field.

Overrides:
getSize in class TextInputElement
Returns:
int field size, or -1 if the attribute is not parseable

setMaxLength

public void setMaxLength(int maxLength)
Deprecated. 
Description copied from class: TextInputElement
Sets the maximum length for this input field.

Overrides:
setMaxLength in class TextInputElement
Parameters:
maxLength - The maxLength to set

setValue

public void setValue(String value)
Deprecated. 
Description copied from class: InputElement
Sets the initialValue.

Overrides:
setValue in class InputElement
Parameters:
value - The initialValue to set.

getValue

public String getValue()
Deprecated. 
Description copied from class: InputElement
Gets the initialValue.

Overrides:
getValue in class InputElement
Returns:
String

setStyle

public void setStyle(String style)
Deprecated. 
Description copied from class: HTMLElement
Sets the style attribute. Replaces an existing value, if any.

Overrides:
setStyle in class HTMLElement
Parameters:
style - The style to set

HATS 7.5.1 (201005110649)