|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.webmancer.widget.AbstractWidget
net.sf.webmancer.widget.AbstractContainer
net.sf.webmancer.widget.Page
public class Page
Field Summary | |
---|---|
static java.lang.String |
APPLICATION_TITLE_ATTRIBUTE
|
static java.lang.String |
APPLICATION_VERSION_ATTRIBUTE
|
static java.lang.String |
AUTHOR_ATTRIBUTE
|
static java.lang.String |
PAGE_ELEMENT
|
static java.lang.String |
PAGE_TITLE_ATTRIBUTE
|
Constructor Summary | |
---|---|
Page()
|
Method Summary | |
---|---|
void |
build(IModelBuilder builder)
|
protected Event |
createInitializationEvent()
|
protected Event |
createRequestEvent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
IApplicationInformation |
getApplicationInformation()
Returns the applicationInformation. |
java.lang.String |
getDescription()
Returns the description. |
protected IEventQueue |
getEventQueue()
Returns the eventQueue. |
java.lang.String |
getKeywords()
Returns the keywords. |
protected IModeler |
getModeler()
Returns the modeler. |
java.lang.String |
getTitle()
Gets the title. |
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
processEventLoop(Event event)
|
protected org.springframework.web.servlet.ModelAndView |
processModeling()
|
void |
putEvent(Event event)
Add the given event to the queue of events to be handled. |
void |
setApplicationInformation(IApplicationInformation applicationInformation)
Sets the applicationInformation. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setEventQueue(IEventQueue eventQueue)
Sets the eventQueue. |
void |
setKeywords(java.lang.String keywords)
Sets the keywords. |
void |
setModeler(IModeler modeler)
Sets the modeler. |
void |
setParent(IWidget parent)
Set the parent of this widget. |
void |
setTitle(java.lang.String title)
Sets the title. |
Methods inherited from class net.sf.webmancer.widget.AbstractContainer |
---|
addChild, buildChild, handleEvent, setChildren |
Methods inherited from class net.sf.webmancer.widget.AbstractWidget |
---|
getBeanName, getParent, setBeanName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PAGE_ELEMENT
public static final java.lang.String AUTHOR_ATTRIBUTE
public static final java.lang.String APPLICATION_VERSION_ATTRIBUTE
public static final java.lang.String APPLICATION_TITLE_ATTRIBUTE
public static final java.lang.String PAGE_TITLE_ATTRIBUTE
Constructor Detail |
---|
public Page()
id
- title
- Method Detail |
---|
public void setParent(IWidget parent)
IWidget
setParent
in interface IWidget
setParent
in class AbstractWidget
parent
- the parent widgetAbstractWidget.setParent(net.sf.webmancer.widget.IWidget)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description to setpublic java.lang.String getKeywords()
public void setKeywords(java.lang.String keywords)
keywords
- the keywords to setpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title to setpublic IApplicationInformation getApplicationInformation()
public void setApplicationInformation(IApplicationInformation applicationInformation)
applicationInformation
- the applicationInformation to setprotected IModeler getModeler()
public void setModeler(IModeler modeler)
modeler
- the modeler to setprotected IEventQueue getEventQueue()
public void setEventQueue(IEventQueue eventQueue)
eventQueue
- the eventQueue to setpublic void putEvent(Event event)
IWidget
putEvent
in interface IWidget
putEvent
in class AbstractWidget
event
- an event to be added to the queue of events.AbstractWidget.putEvent(net.sf.webmancer.base.Event)
public void build(IModelBuilder builder) throws ModelingException
build
in interface IModelable
build
in class AbstractContainer
ModelingException
AbstractContainer.build(net.sf.webmancer.model.IModelBuilder)
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
handleRequest
in interface org.springframework.web.servlet.mvc.Controller
java.lang.Exception
Controller.handleRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
protected void processEventLoop(Event event)
event
- protected org.springframework.web.servlet.ModelAndView processModeling() throws ModelingException
ModelingException
protected Event createInitializationEvent()
protected Event createRequestEvent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request
- response
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |