|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XPageDisplay
An interface used by page containers to display a page. XApplet is a known implementation
Copyright (c) Xoetrope Ltd., 1998-2004
License: see license.txt $Revision: 2.5 $
Method Summary | |
---|---|
XContentHolder |
addTarget(java.lang.String name, java.lang.Object constraint, int preferredWidth, int preferredHeight, java.util.Hashtable params) Add a new frame or target area to a frameset |
java.lang.Object |
displayPage(PageSupport page) Called when a page needs to be displayed. |
java.lang.Object |
displayPage(PageSupport page, java.lang.String target) Called when a page needs to be displayed. |
java.lang.Object |
findTarget(java.lang.String name) Get a named frame/target from the current frameset |
int |
getNumTargets() Get the number of frame/target from the current frameset |
java.lang.Object |
getTarget(int idx) Get the target for a page display request |
void |
removeAllTargets() Remove all frames/targets from the current frameset |
Method Detail |
---|
java.lang.Object displayPage(PageSupport page)
page
- the new pagejava.lang.Object displayPage(PageSupport page, java.lang.String target)
page
- the new pagetarget
- the name of the target area to updateXContentHolder addTarget(java.lang.String name, java.lang.Object constraint, int preferredWidth, int preferredHeight, java.util.Hashtable params)
name
- the frame nameconstraint
- the BorderlayoutConstraintpreferredWidth
- the preferred widthpreferredHeight
- the preferred heightparams
- extra parameters for the targetvoid removeAllTargets()
java.lang.Object findTarget(java.lang.String name)
name
- the name of the framejava.lang.Object getTarget(int idx)
idx
- the target areaint getNumTargets()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |