public class FrameSet extends Page
Usage
FrameSet set = new FrameSet("FrameTest","*,*","*,*"); set.frame(0,0).name("Frame1",req.getRequestPath()+"?Frame=1"); set.frame(0,1).name("Frame2",req.getRequestPath()+"?Frame=2"); set.frame(1,0).name("Frame3",req.getRequestPath()+"?Frame=3"); set.frame(1,1).name("Frame4",req.getRequestPath()+"?Frame=4"); set.write(new Writer(res.getOutputStream()));
Back, BaseUrl, BgColour, Content, ContentSize, FgColour, Footer, FooterSize, Header, HeaderSize, Heading, Help, HighlightColour, Home, LeftMargin, LeftMarginSize, Margin, MarginSize, Next, NoTitle, PageType, Prev, properties, Request, Response, RightMargin, RightMarginSize, Section, Target, Title, Up
Constructor and Description |
---|
FrameSet(String title,
String colSpec,
String rowSpec)
FrameSet constructor.
|
Modifier and Type | Method and Description |
---|---|
FrameSet |
border(boolean threeD,
int width,
String color) |
Frame |
frame(int col,
int row) |
Frame |
frame(String name) |
Enumeration |
namedFrames() |
Frame |
nameFrame(String name,
int col,
int row)
Name a frame.
|
void |
write(Writer out)
Write the entire page by calling:
writeHtmlHead(out) writeBodyTag(out) writeElements(out) writeHtmlEnd(out) |
addHeader, addSection, addTo, completeSections, flush, frameSet, getSection, properties, rewind, setBackGroundColor, setBackGroundImage, setBase, setSection, title, write, writeBodyTag, writeElements, writeHtmlEnd, writeHtmlHead
add, contents, nest, replace, reset, setNest, size, unnest
public Frame frame(int col, int row)
public Enumeration namedFrames()
public Frame nameFrame(String name, int col, int row)
public void write(Writer out) throws IOException
Page
write
in class Page
out
- Writer to write the element to.IOException
Copyright © 2013. All Rights Reserved.