|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.fruitioninc.jwc.Component | +--com.fruitioninc.jwc.Container | +--com.fruitioninc.jwc.Page
A web page. This is the outermost container in a web application.
Field Summary |
Fields inherited from class com.fruitioninc.jwc.Component |
NAME_DELIMITER |
Constructor Summary | |
Page(Application application)
Creates page with a default name, model, and title. |
|
Page(Application application,
java.lang.String title)
|
|
Page(Application application,
java.lang.String name,
java.lang.String title)
|
|
Page(PageModel model,
Application application)
|
Method Summary | |
void |
addPageListener(PageListener listener)
|
Application |
getApplication()
Returns this Page's enclosing Application. |
static java.lang.String |
getDefaultName(java.lang.Class pageClass)
Returns the default name a page. |
PageModel |
getPageModel()
Returns this Page's model. |
java.lang.String |
getTitle()
Returns the title of this Page. |
void |
setTitle(java.lang.String title)
Sets the title of this Page. |
Methods inherited from class com.fruitioninc.jwc.Container |
add, getChildComponent, getChildren, getComponents, getPathName |
Methods inherited from class com.fruitioninc.jwc.Component |
addComponentListener, addMouseListener, fireComponentSerialize, fireMouseClicked, getComponentListenerCount, getComponentListeners, getContainer, getModel, getMouseListenerCount, getMouseListeners, getName, getPathName, getView, setModel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Page(Application application)
public Page(PageModel model, Application application)
public Page(Application application, java.lang.String title)
public Page(Application application, java.lang.String name, java.lang.String title)
Method Detail |
public PageModel getPageModel()
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public Application getApplication()
getApplication
in class Component
public void addPageListener(PageListener listener)
public static java.lang.String getDefaultName(java.lang.Class pageClass)
pageClass
- the class of the page
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |