|
PAJES 3.0.21 | ||||||||
| 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.Frame
public class Frame
Generates <frame> tags. Frame instances should be added to FrameSets.
FrameSet,
Serialized Form| Field Summary |
|---|
| Fields inherited from class org.pajes.html.Tag |
|---|
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT |
| Constructor Summary | |
|---|---|
Frame()
Creates a frame. |
|
Frame(java.lang.String frameName)
Creates a frame. |
|
Frame(java.lang.String frameName,
java.lang.String sourceURL)
Creates a frame. |
|
Frame(java.lang.String frameName,
java.lang.String sourceURL,
boolean showScrollBars)
Creates a frame. |
|
Frame(java.lang.String frameName,
java.lang.String sourceURL,
boolean showScrollBars,
boolean showFrameBorder,
boolean nonReSizeableFrame)
Creates a frame. |
|
Frame(java.lang.String frameName,
java.lang.String sourceURL,
boolean showScrollBars,
boolean showFrameBorder,
boolean nonReSizeableFrame,
int marginHeight,
int marginWidth)
Creates a frame. |
|
Frame(java.lang.String frameName,
java.lang.String sourceURL,
Color borderColor)
Creates a frame. |
|
Frame(java.lang.String frameName,
java.lang.String sourceURL,
Color borderColor,
boolean nonReSizeableFrame)
Creates a 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. |
protected void |
setAttribute(TagAttribute attribute)
Adds the specified attribute. |
Frame |
setBorder(boolean on)
Determines whether the border will be shown. |
Frame |
setBorder(java.lang.Boolean on)
Determines whether the border will be shown. |
Frame |
setBorderColor(Color color)
Determines the border colour. |
Frame |
setMarginHeight(int height)
Sets the frame top margin. |
Frame |
setMarginHeight(java.lang.Integer height)
Sets the frame top margin. |
Frame |
setMarginWidth(int width)
Sets the frame side margins. |
Frame |
setMarginWidth(java.lang.Integer width)
Sets the frame side margins. |
Frame |
setName(java.lang.String name)
Sets the name of this frame. |
Frame |
setNonResizableFrame(boolean on)
Determines whether the user may resize the frame. |
Frame |
setNonResizableFrame(java.lang.Boolean on)
Determines whether the user may resize the frame. |
Frame |
setScrollBars(boolean on)
Determines whether the scroll bars will be shown. |
Frame |
setScrollBars(java.lang.Boolean on)
Determines whether the scroll bars will be shown. |
Frame |
setURL(java.lang.String url)
Sets the URL to initially populate the frame. |
void |
write(Browser browser)
Writes the <frame%gt;tag to the browser. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Frame()
public Frame(java.lang.String frameName)
frameName - adds the named frame to the frameset.
public Frame(java.lang.String frameName,
java.lang.String sourceURL)
frameName - adds the named frame to the frameset.sourceURL - specifies the URL to initially populate the frame.
public Frame(java.lang.String frameName,
java.lang.String sourceURL,
boolean showScrollBars)
frameName - adds the named frame to the frameset.sourceURL - specifies the URL to initially populate the frame.showScrollBars - when true, scrollbars added to the frame eve if there is
nothing to scroll.
public Frame(java.lang.String frameName,
java.lang.String sourceURL,
boolean showScrollBars,
boolean showFrameBorder,
boolean nonReSizeableFrame)
frameName - adds the named frame to the frameset.sourceURL - specifies the URL to initially populate the frame.showScrollBars - when true, scrollbars added to the frame eve if there is
nothing to scroll.showFrameBorder - when true, the border will be shown. This over-rides the
setting of the entire frame set for this frame.nonReSizeableFrame - when true, the user may not resize the frame.
public Frame(java.lang.String frameName,
java.lang.String sourceURL,
boolean showScrollBars,
boolean showFrameBorder,
boolean nonReSizeableFrame,
int marginHeight,
int marginWidth)
frameName - adds the named frame to the frameset.sourceURL - specifies the URL to initially populate the frame.showScrollBars - when true, scrollbars added to the frame even if there is
nothing to scroll.showFrameBorder - when true, the border will be shown. This over-rides the
setting of the entire frame set for this frame.nonReSizeableFrame - when true, the user may not resize the frame.marginHeight - the number of pixels between the top and (when scrolled)
bottom of the content and the inner edge of the frame.marginWidth - the number of pixels between the left and right of the content
and the inner edge of the frame.
public Frame(java.lang.String frameName,
java.lang.String sourceURL,
Color borderColor)
frameName - adds the named frame to the frameset.sourceURL - specifies the URL to initially populate the frame.borderColor - specifies the colour of the border for this frame.
public Frame(java.lang.String frameName,
java.lang.String sourceURL,
Color borderColor,
boolean nonReSizeableFrame)
frameName - adds the named frame to the frameset.sourceURL - specifies the URL to initially populate the frame.borderColor - specifies the colour of the border for this frame.nonReSizeableFrame - when true, the user may not resize the frame.| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getURL()
public Frame setBorder(boolean on)
on - when true, the border will be shown.
public Frame setBorder(java.lang.Boolean on)
on - when true, the border will be shown. If null, resets to the
default browser setting.
public Frame setBorderColor(Color color)
color - specifies the colour of the border for this frame.
public Frame 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 Frame 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 Frame setMarginWidth(int width)
width - the number of pixels between the left and right of the content
and the inner edge of the frame.
public Frame 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 Frame setName(java.lang.String name)
name - the name of the frame.
public Frame setNonResizableFrame(boolean on)
on - when true, the user may not resize the frame.
public Frame setNonResizableFrame(java.lang.Boolean on)
on - when true, the user may not resize the frame. If null, resets
to the default browser setting.
public Frame setScrollBars(boolean on)
on - when true, scroll bars are added to the frame even if there is
nothing to scroll.
public Frame 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 Frame setURL(java.lang.String url)
url - specifies the URL to initially populate the 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)protected void setAttribute(TagAttribute attribute)
Tag
setAttribute in class Tagattribute - The attribute.Tag.setAttribute(org.pajes.html.TagAttribute)
|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||