|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.primix.tapestry.AbstractComponent | +--com.primix.tapestry.BaseComponent | +--com.primix.tapestry.AbstractPage | +--com.primix.tapestry.BasePage | +--tutorial.hangman.Home
The home page for the hangman application, allows a new game to start after selecting the difficulty.
Field Summary | |
static int |
EASY
|
static int |
HARD
|
static int |
MEDIUM
|
Fields inherited from class com.primix.tapestry.AbstractPage |
engine, name |
Fields inherited from class com.primix.tapestry.BaseComponent |
outer, OUTER_INIT_SIZE, outerCount |
Fields inherited from class com.primix.tapestry.AbstractComponent |
id, page, specification, wrapped, wrappedCount |
Constructor Summary | |
Home()
|
Method Summary | |
void |
detach()
Prepares the page to be returned to the pool. |
void |
formSubmit(IRequestCycle cycle)
|
java.lang.String |
getError()
|
int |
getMisses()
|
void |
setMisses(int value)
|
Methods inherited from class com.primix.tapestry.BasePage |
getResponseWriter |
Methods inherited from class com.primix.tapestry.AbstractPage |
addPageCleanupListener, addPageDetachListener, addPageRenderListener, attach, beginResponse, cleanupPage, firePageBeginRender, firePageCleanup, firePageDetached, firePageEndRender, getChangeObserver, getEngine, getExtendedId, getIdPath, getLocale, getName, getNestedComponent, getPage, getRequestCycle, getVisit, renderPage, setChangeObserver, setLocale, setName, setRequestCycle, validate |
Methods inherited from class com.primix.tapestry.BaseComponent |
addOuter, finishLoad, readTemplate, render |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.primix.tapestry.IComponent |
addAsset, addComponent, addWrapped, finishLoad, getAsset, getAssets, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainer, getId, getSpecification, renderWrapped, setBinding, setContainer, setId, setPage, setSpecification |
Methods inherited from interface com.primix.tapestry.IRender |
render |
Field Detail |
public static final int EASY
public static final int MEDIUM
public static final int HARD
Constructor Detail |
public Home()
Method Detail |
public void detach()
AbstractPage
PageDetachListener.pageDetached(PageEvent)
on all listeners
Subclasses may override this method, but must invoke this implementation (usually, last).
detach
in class AbstractPage
com.primix.tapestry.IPage
IPageSource.releasePage(IPage)
public int getMisses()
public void setMisses(int value)
public java.lang.String getError()
public void formSubmit(IRequestCycle cycle)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |