|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PageBinder
Creates and binds the page objects to the page. Also supports special page navigation. Implementations should use any defined overrides in preference to passed class instances.
| Method Summary | ||
|---|---|---|
|
bind(Class<P> pageClass,
Object... args)
Builds and binds the page object to the page. |
|
|
delayedBind(Class<P> pageClass,
Object... args)
Creates a delayed binder that gives the caller full control over the lifecycle of the page object. |
|
|
navigateToAndBind(Class<P> pageClass,
Object... args)
Constructs the page object, changes the browser URL to the desired page URL, then binds the object to the page. |
|
|
override(Class<P> oldClass,
Class<? extends P> newClass)
Overrides a page object |
|
| Method Detail |
|---|
<P extends Page> P navigateToAndBind(Class<P> pageClass,
Object... args)
P - The page typepageClass - The page classargs - Arguments to pass to the page object constructor.
<P> P bind(Class<P> pageClass,
Object... args)
P - The page typepageClass - The page object classargs - Arguments to pass to the page object constructor.
<P> DelayedBinder<P> delayedBind(Class<P> pageClass,
Object... args)
DelayedBinder methods are called.
P - The page typepageClass - The page object classargs - The arguments to pass to the page object constructor
<P> void override(Class<P> oldClass,
Class<? extends P> newClass)
P - The old class typeoldClass - The old class that would have normally been constructednewClass - An subclass of the old class to be substituted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||