|
||||||||||
| 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.LayerTag
com.ge.research.html.IFrameTag
Encapsulates all the attributes of an HTML "IFRAME" 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 | |
IFrameTag()
Default constructor. |
|
IFrameTag(java.lang.Object contents)
Calls the default constructor. |
|
| Method Summary | |
java.lang.String |
getFrameborder()
Returns the value of the HTML Tag FRAMEBORDER attribute. |
java.lang.String |
getHeight()
Returns the value of the HTML Tag HEIGHT attribute. |
java.lang.String |
getName()
Returns the value of the HTML Tag NAME attribute. |
java.lang.String |
getOnLoad()
Returns the value of the HTML Tag ONLOAD behavior. |
java.lang.String |
getScrolling()
Returns the value of the HTML Tag SCROLLING attribute. |
java.lang.String |
getSrc()
Returns the value of the HTML Tag SRC attribute. |
java.lang.String |
getWidth()
Returns the value of the HTML Tag WIDTH attribute. |
protected void |
resetTagSpecificInformation()
Resets the tag attributes and content of the HTML Tag to their default values. |
void |
setFrameborder(java.lang.String attribute)
Sets the HTML Tag FRAMEBORDER attribute. |
void |
setHeight(int attribute,
boolean asPercent)
Sets the HTML Tag HEIGHT attribute. |
void |
setName(java.lang.String attribute)
Sets the HTML Tag NAME attribute. |
void |
setOnLoad(java.lang.String attribute)
Sets the HTML Tag ONLOAD behavior. |
void |
setScrolling(java.lang.String attribute)
Sets the scrolling attribute and validates its value. |
void |
setSrc(java.lang.String attribute)
Sets the HTML Tag SRC attribute. |
void |
setWidth(int attribute,
boolean asPercent)
Sets the HTML Tag WIDTH attribute. |
protected void |
writeTagSpecificAttributes()
Adds the tag specific attribute information to the HTML Tag. |
| Methods inherited from class com.ge.research.html.LayerTag |
getAlign, getOnScroll, setAlign, setOnScroll |
| 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 IFrameTag()
TagPropertyConstants.IFRAME_TAG).
TagPropertyConstants.IFRAME_TAGpublic IFrameTag(java.lang.Object contents)
ContentWrapper.setContents(java.lang.Object)| Method Detail |
public java.lang.String getFrameborder()
public java.lang.String getHeight()
public java.lang.String getName()
public java.lang.String getOnLoad()
public java.lang.String getScrolling()
public java.lang.String getSrc()
public java.lang.String getWidth()
public void setFrameborder(java.lang.String attribute)
HTMLTag.reconstructTag to true.
attribute - the new value for the HTML Tag FRAMEBORDER attributeHTMLTag.reconstructTag
public void setHeight(int attribute,
boolean asPercent)
HTMLTag.reconstructTag to true.
attribute - the new height valueasPercent - true if the value of attribute should be treated as a percentage, and thus append a percent sign after the height value;
false if the value should be treated as an absolute pixel specification, and written as isHTMLTag.reconstructTagpublic void setName(java.lang.String attribute)
HTMLTag.reconstructTag to true.
attribute - the new value for the HTML Tag NAME attributeHTMLTag.reconstructTagpublic void setOnLoad(java.lang.String attribute)
HTMLTag.reconstructTag to true.
attribute - the new value for the HTML Tag ONLOAD behaviorHTMLTag.reconstructTagpublic void setScrolling(java.lang.String attribute)
null.
Sets the HTMLTag.reconstructTag value to true.
attribute - the new scrolling valueTagPropertyConstants.isScrollingType(java.lang.String),
HTMLTag.reconstructTagpublic void setSrc(java.lang.String attribute)
HTMLTag.reconstructTag to true.
attribute - the new value for the HTML Tag SRC attributeHTMLTag.reconstructTag
public void setWidth(int attribute,
boolean asPercent)
HTMLTag.reconstructTag to true.
attribute - the new width valueasPercent - true if the value of attribute should be treated as a percentage, and thus append a percent sign after the width value;
false if the value should be treated as an absolute pixel specification, and written as isHTMLTag.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 LayerTagprotected 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 LayerTag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||