|
||||||||||
| 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.ContentWrapperTag
com.ge.research.html.FontTag
Encapsulates all the attributes of an HTML "FONT" 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 | |
FontTag()
Default constructor. |
|
FontTag(java.lang.Object contents)
Calls the default constructor. |
|
| Method Summary | |
java.lang.String |
getColor()
Returns the value of the HTML Tag COLOR attribute. |
java.lang.String |
getFace()
Returns the value of the HTML Tag FACE attribute. |
java.lang.String |
getSize()
Returns the value of the HTML Tag SIZE attribute. |
protected void |
resetTagSpecificInformation()
Resets the tag attributes and content of the HTML Tag to their default values. |
void |
setColor(java.lang.String attribute)
Sets the HTML Tag COLOR attribute. |
void |
setFace(java.lang.String attribute)
Sets the HTML Tag FACE attribute. |
void |
setSize(java.lang.String attribute)
Sets the HTML Tag SIZE attribute. |
protected void |
writeTagSpecificAttributes()
Adds the tag specific attribute information to the HTML Tag. |
| Methods inherited from class com.ge.research.html.ContentWrapperTag |
getContentEditable, getContents, getNowrap, setContentEditable, setContents, setNowrap, writeTagSpecificData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FontTag()
TagPropertyConstants.FONT_TAG).
TagPropertyConstants.FONT_TAGpublic FontTag(java.lang.Object contents)
ContentWrapper.setContents(java.lang.Object)| Method Detail |
public java.lang.String getColor()
public java.lang.String getFace()
public java.lang.String getSize()
public void setColor(java.lang.String attribute)
HTMLTag.reconstructTag to true.
attribute - the new value for the HTML Tag COLOR attributeHTMLTag.reconstructTagpublic void setFace(java.lang.String attribute)
HTMLTag.reconstructTag to true.
attribute - the new value for the HTML Tag FACE attributeHTMLTag.reconstructTagpublic void setSize(java.lang.String attribute)
HTMLTag.reconstructTag to true.
attribute - the new value for the HTML Tag SIZE attributeHTMLTag.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 ContentWrapperTagprotected 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 ContentWrapperTag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||