|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.barracudamvc.core.event.DefaultBaseEventListener
org.barracudamvc.core.event.helper.DefaultViewHandler
org.barracudamvc.contrib.dbroggisch.page.AbstractPage
public abstract class AbstractPage
Field Summary |
---|
Fields inherited from class org.barracudamvc.core.event.helper.DefaultViewHandler |
---|
recycleChildren, vc |
Fields inherited from class org.barracudamvc.core.event.DefaultBaseEventListener |
---|
idStr, localLogger |
Constructor Summary | |
---|---|
AbstractPage()
|
Method Summary | |
---|---|
void |
createDefaultModels(ControlEventContext ctx)
Describe createDefaultModels method here. |
static void |
filterEvents(ControlEventContext ctx,
List defaultEvents)
Describe filterEvents method here. |
abstract Document |
getDocument(Locale iLocale)
Return a Document instance. |
Document |
handleViewEvent(BComponent root)
Describe handleViewEvent method here. |
abstract void |
render(BComponent root,
ViewContext vec,
Document doc)
Overload this method to perform the actual process of rendering. |
void |
render(ViewEventContext vec)
Describe render method here. |
void |
setDefaultEvents(List events)
Describe setDefaultEvents method here. |
Methods inherited from class org.barracudamvc.core.event.helper.DefaultViewHandler |
---|
cleanup, getDOMWriter, getIterator, getViewContext, handleViewEvent, postCompRender, preCompRender, setViewContext |
Methods inherited from class org.barracudamvc.core.event.DefaultBaseEventListener |
---|
getListenerID, handleControlEvent, handleEvent, handleOtherEvent, isHandled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.barracudamvc.contrib.dbroggisch.page.Page |
---|
handOver |
Constructor Detail |
---|
public AbstractPage()
Method Detail |
---|
public void setDefaultEvents(List events)
setDefaultEvents
method here.
events
- a List
valuepublic void createDefaultModels(ControlEventContext ctx)
createDefaultModels
method here.
createDefaultModels
in interface Page
ctx
- a ControlEventContext
valuepublic abstract Document getDocument(Locale iLocale)
iLocale
- the Locale
of the client for locale specific documents
Document
valuepublic Document handleViewEvent(BComponent root) throws EventException, javax.servlet.ServletException, IOException
handleViewEvent
method here.
handleViewEvent
in class DefaultViewHandler
root
- a BComponent
value
Document
value
EventException
- if an error occurs
javax.servlet.ServletException
- if an error occurs
IOException
- if an error occurspublic void render(ViewEventContext vec) throws EventException, javax.servlet.ServletException, IOException
render
method here.
render
in interface Page
vec
- a ViewEventContext
value
EventException
- if an error occurs
javax.servlet.ServletException
- if an error occurs
IOException
- if an error occurspublic abstract void render(BComponent root, ViewContext vec, Document doc) throws EventException, javax.servlet.ServletException, IOException
root
- a BComponent
value you have to add your BComponents to.vec
- a ViewContext
valuedoc
- a Document
value which is obtained by calling getDocument(Locale)
EventException
- if an error occurs
javax.servlet.ServletException
- if an error occurs
IOException
- if an error occurspublic static void filterEvents(ControlEventContext ctx, List defaultEvents)
filterEvents
method here.
ctx
- a ControlEventContext
valuedefaultEvents
- a List
value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |