|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.fruitioninc.jwc.AbstractApplication
Partial implementation of the Application interface.
Field Summary | |
static char |
NAME_DELIMITER
|
Constructor Summary | |
AbstractApplication()
|
|
AbstractApplication(java.lang.String visiblePageName)
|
Method Summary | |
protected void |
addPage(Page page)
|
Component |
getComponent(java.lang.String pathName)
Returns a component given a path name. |
Page |
getPage(java.lang.String name)
Returns a web page with a given name. |
java.util.Iterator |
getPages()
Returns an iteration of the pages in this application. |
Page |
getVisiblePage()
Returns the currently visible page. |
protected abstract void |
loadPages()
Called at construction time to add all pages into the application. |
void |
setVisiblePage(Page page)
Sets the currently visible page. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final char NAME_DELIMITER
Constructor Detail |
public AbstractApplication()
public AbstractApplication(java.lang.String visiblePageName)
Method Detail |
protected abstract void loadPages()
public Page getPage(java.lang.String name)
Application
getPage
in interface Application
public Component getComponent(java.lang.String pathName)
Application
getComponent
in interface Application
RequestParameterNameMarshaller
public java.util.Iterator getPages()
getPages
in interface Application
protected void addPage(Page page)
public Page getVisiblePage()
Application
getVisiblePage
in interface Application
public void setVisiblePage(Page page)
Application
setVisiblePage
in interface Application
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |