|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pajes.html.Tag
org.pajes.html.TraversableElement
org.pajes.html.Container
org.pajes.html.IFrame
Generates <iframe> inline frame tags.
| Field Summary |
| Fields inherited from class org.pajes.html.Tag |
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT |
| Constructor Summary | |
IFrame()
Creates an inline frame. |
|
IFrame(java.lang.String frameName)
Creates an inline frame. |
|
IFrame(java.lang.String frameName,
java.lang.String sourceURL)
Creates an inline frame. |
|
| Method Summary | |
java.lang.String |
getName()
Returns the name of this frame. |
java.lang.String |
getURL()
Returns the URL to initially populate the frame. |
IFrame |
setBorder(boolean on)
Determines whether the border will be shown. |
IFrame |
setBorder(java.lang.Boolean on)
Determines whether the border will be shown. |
IFrame |
setHeight(int height)
Sets the frame height. |
IFrame |
setHeight(java.lang.Integer height)
Sets the frame height. |
IFrame |
setHeight(java.lang.String height)
Sets the frame height. |
IFrame |
setMarginHeight(int height)
Sets the frame top margin. |
IFrame |
setMarginHeight(java.lang.Integer height)
Sets the frame top margin. |
IFrame |
setMarginWidth(int width)
Sets the frame side margins. |
IFrame |
setMarginWidth(java.lang.Integer width)
Sets the frame side margins. |
IFrame |
setName(java.lang.String name)
Sets the name of this frame. |
IFrame |
setScrollBars(boolean on)
Determines whether the scroll bars will be shown. |
IFrame |
setScrollBars(java.lang.Boolean on)
Determines whether the scroll bars will be shown. |
IFrame |
setURL(java.lang.String url)
Sets the URL to initially populate the frame. |
IFrame |
setWidth(int width)
Sets the frame width. |
IFrame |
setWidth(java.lang.Integer width)
Sets the frame width. |
IFrame |
setWidth(java.lang.String width)
Sets the frame width. |
void |
write(Browser browser)
Writes the <iframe%gt;tag to the browser. |
| Methods inherited from class org.pajes.html.Container |
add, add, add, add, addContent, clear, clone, delete, delete, destroy, get, getContent, getContents, getPosition, insert, replace, set, setContent, setContent, size, writeContent |
| Methods inherited from class org.pajes.html.TraversableElement |
dump, dump, getAll, getFieldByName, getFirstFieldByName, getFirstTagByAttribute, getFirstTagByClass, getFirstTagByID, getFirstTagByName, getTagByAttribute, getTagByClass, getTagByID, getTagByName, setWritable |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public IFrame()
public IFrame(java.lang.String frameName)
frameName - the name of the frame.
public IFrame(java.lang.String frameName,
java.lang.String sourceURL)
frameName - the name of the frame.sourceURL - specifies the URL to initially populate the frame.| Method Detail |
public IFrame setBorder(boolean on)
on - when true, the border will be shown.
public IFrame setBorder(java.lang.Boolean on)
on - when true, the border will be shown. If null, resets to the
default browser setting.
public IFrame setHeight(int height)
height - the height of the inline frame.
public IFrame setHeight(java.lang.Integer height)
height - the height of the inline frame.
public IFrame setHeight(java.lang.String height)
height - the height of the inline frame.
public IFrame setMarginHeight(int height)
height - the number of pixels between the top and (when scrolled)
bottom of the content and the inner edge of the frame.
public IFrame setMarginHeight(java.lang.Integer height)
height - the number of pixels between the top and (when scrolled)
bottom of the content and the inner edge of the frame. If null,
resets to the default browser setting.
public IFrame setMarginWidth(int width)
width - the number of pixels between the left and right of the
content and the inner edge of the frame.
public IFrame setMarginWidth(java.lang.Integer width)
width - the number of pixels between the left and right of the
content and the inner edge of the frame. If null, resets to the
default browser setting.
public IFrame setName(java.lang.String name)
name - the name of the frame.
public java.lang.String getName()
public IFrame setScrollBars(boolean on)
on - when true, scroll bars are added to the frame even if there is
nothing to scroll.
public IFrame setScrollBars(java.lang.Boolean on)
on - when true, scroll bars are added to the frame even if there is
nothing to scroll. If null, resets to the default browser
setting.
public IFrame setURL(java.lang.String url)
url - specifies the URL to initially populate the frame.
public java.lang.String getURL()
public IFrame setWidth(int width)
width - the width of the inline frame.
public IFrame setWidth(java.lang.Integer width)
width - the width of the inline frame.
public IFrame setWidth(java.lang.String width)
width - the width of the inline frame.
public void write(Browser browser)
throws java.io.IOException
write in interface HTMLwrite in class Tagbrowser - the browser to which the results are to be output.
java.io.IOException - if an I/O error occurs writing to the browser.Tag.setWriteEndTag(boolean),
Tag.writeContent(org.pajes.servlet.Browser)
|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||