|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Pages
The Pages
interface acts as a parent object for all pages within an interactive form.
Individual pages are accessed using their page name.
When the name is not a valid Java identifier e.g. it begins with a numeric, the page can only be
accessed using the getPage(String)
method.
When running an event that forms part of a deployed component, only pages from the component can be accessed.
All included pages can be iterated using the following code, pages are presented in the same order as they appear in the designer:
for ( var page in Iterator(pages.iterator()) ) { log(page.elementName); }Examples:
var p1 = pages.PAGE1; var p10 = pages.getPage("10PAGE");
Method Summary | |
---|---|
Page |
getPage(java.lang.String pageName)
Returns the Page with name pageName . |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
Page getPage(java.lang.String pageName)
Page
with name pageName
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |