Class FrameWindow

An application frame window component. This component implements a window that contains a hierarchical set of frames. Each frame can contain a web-page, window or a set of frames that divides the space horizontally or vertically.

A FrameWindow can't contain any components directly (as it contains only a set of frames) and thus the container interface methods do nothing.

FrameWindow()

Constructs a new frame window.

FrameWindow(String)

Parameters

caption

title of the window

Constructs a new frame window.

addComponent(Component)

Exceptions

UnsupportedOperationException

if invoked.

Frame window does not support adding components directly.

To add component to frame window, normal window must be first created and then attached to frame window as a frame.

getFrameset()

Parameters

return

top-level frame set of this frame window

Gets the main frameset of the window. This set contains all the top-level frames of the window. New contents are added by adding frames to this frameset.

getTag()

Parameters

return

window's UIDL tag as String

Gets the window's UIDL tag.

isScrollable()

Frame windows does not support scrolling.

paintContent(PaintTarget)

Parameters

target

A paint target event

Exceptions

PaintException

if the paint operation fails

Paints the window contents.

setApplication(Application)

Setting the application for frame window also sets the application for all the frames.

setScrollable(boolean)

Frame windows does not support scrolling.

setScrollOffsetX(int)

Frame windows does not support scrolling.

setScrollOffsetY(int)

Frame windows does not support scrolling.