|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ge.research.html.HTMLTag
com.ge.research.html.TextAreaTag
Encapsulates all the attributes of an HTML "INPUT" element, its accessors, validations, and default values.
| Field Summary |
| Fields inherited from class com.ge.research.html.HTMLTag |
HORIZONTAL_LINE, LINEBREAK, reconstructTag, tag, WHITESPACE |
| Constructor Summary | |
TextAreaTag()
Default constructor. |
|
| Method Summary | |
double |
getCols()
Returns the value of the HTML Tag COLS attribute. |
boolean |
getDisabled()
Returns the value of the HTML Tag DISABLED attribute. |
java.lang.String |
getName()
Returns the value of the HTML Tag NAME attribute. |
java.lang.String |
getOnChange()
Returns the value of the HTML Tag ONCHANGE behavior. |
double |
getRows()
Returns the value of the HTML Tag ROWS attribute. |
java.lang.String |
getText()
Returns the contents of the tag. |
java.lang.String |
getWrap()
Returns the value of the HTML Tag WRAP attribute. |
protected void |
resetTagSpecificInformation()
Resets the tag attributes and content of the HTML Tag to their default values. |
void |
setCols(double attribute)
Sets the HTML Tag COLS attribute. |
void |
setDisabled(boolean attribute)
Sets the HTML Tag DISABLED attribute. |
void |
setName(java.lang.String attribute)
Sets the HTML Tag NAME attribute. |
void |
setOnChange(java.lang.String attribute)
Sets the HTML Tag ONCHANGE behavior. |
void |
setRows(double attribute)
Sets the HTML Tag ROWS attribute. |
void |
setText(java.lang.String text)
Sets the contents of this tag. |
void |
setWrap(java.lang.String attribute)
Sets the WRAP attribute and validates its value. |
protected void |
writeTagSpecificAttributes()
Adds the tag specific attribute information to the HTML Tag. |
protected void |
writeTagSpecificData()
Adds the tag content to the HTML Tag. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TextAreaTag()
TagPropertyConstants.TEXTAREA_TAG).
TagPropertyConstants.TEXTAREA_TAG| Method Detail |
public double getCols()
public boolean getDisabled()
true if the tag is disabled;
false if the tag is enabledpublic java.lang.String getName()
public java.lang.String getOnChange()
public double getRows()
public java.lang.String getText()
public java.lang.String getWrap()
public void setCols(double attribute)
HTMLTag.reconstructTag to true.
attribute - the new value for the HTML Tag COLS attributeHTMLTag.reconstructTagpublic void setDisabled(boolean attribute)
HTMLTag.reconstructTag to true.
attribute - true if this HTML Tag should be disabled;
false if this HTML Tag should be enabled.HTMLTag.reconstructTagpublic void setName(java.lang.String attribute)
HTMLTag.reconstructTag to true.
attribute - the new value for the HTML Tag NAME attributeHTMLTag.reconstructTagpublic void setOnChange(java.lang.String attribute)
HTMLTag.reconstructTag to true.
attribute - the new value for the HTML Tag ONCHANGE behaviorHTMLTag.reconstructTagpublic void setRows(double attribute)
HTMLTag.reconstructTag to true.
attribute - the new value for the HTML Tag ROWS attributeHTMLTag.reconstructTagpublic void setText(java.lang.String text)
HTMLTag.reconstructTag value to true.
text - the content for this tagHTMLTag.reconstructTagpublic void setWrap(java.lang.String attribute)
TagPropertyConstants.WRAP_SOFT.
Sets the HTMLTag.reconstructTag value to true.
attribute - the new WRAP valueTagPropertyConstants.isWrapType(java.lang.String),
HTMLTag.reconstructTagprotected void resetTagSpecificInformation()
HTMLTagHTMLTag.reset().
This method is not implemented in HTMLTag.
Subclasses that contain tag content information should implement this method to set their information to their default values.
resetTagSpecificInformation in class HTMLTagHTMLTag.reset()protected void writeTagSpecificAttributes()
HTMLTagHTMLTag.toString().
This method is not implemented in HTMLTag.
Subclasses that contain additional attribute information should implement this method to write those attributes in the inline tag.
writeTagSpecificAttributes in class HTMLTagHTMLTag.toString()protected void writeTagSpecificData()
HTMLTagHTMLTag.toString().
This method is not implemented in HTMLTag.
Subclasses that contain tag content information should implement this method to writeout that content in between the opening and closing tags.
writeTagSpecificData in class HTMLTagHTMLTag.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||