|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itmill.toolkit.terminal.web.AjaxApplicationManager
public class AjaxApplicationManager
Application manager processes changes and paints for single application instance.
| Nested Class Summary | |
|---|---|
class |
AjaxApplicationManager.URIHandlerErrorImpl
Implementation of URIHandler.ErrorEvent interface. |
| Constructor Summary | |
|---|---|
AjaxApplicationManager(Application application)
|
|
| Method Summary | |
|---|---|
void |
clearDirtyComponents()
Clears the Dirty Components. |
Set |
getDirtyComponents()
|
String |
getPaintableId(Paintable paintable)
Gets the Paintable Id. |
Set |
getRemovedWindows()
|
void |
handleUidlRequest(HttpServletRequest request,
HttpServletResponse response,
ThemeSource themeSource)
|
boolean |
isDirty(Paintable paintable)
|
void |
paintablePainted(Paintable p)
|
void |
releaseControl()
|
void |
repaintRequested(Paintable.RepaintRequestEvent event)
Receives repaint request events. |
void |
takeControl()
|
void |
windowAttached(Application.WindowAttachEvent event)
Window attached |
void |
windowDetached(Application.WindowDetachEvent event)
Window detached. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AjaxApplicationManager(Application application)
| Method Detail |
|---|
public void takeControl()
public void releaseControl()
public void handleUidlRequest(HttpServletRequest request,
HttpServletResponse response,
ThemeSource themeSource)
throws IOException
request - the HTTP Request.response - the HTTP Response.
IOException - if the writing failed due to input/output error.public String getPaintableId(Paintable paintable)
paintable -
public Set getDirtyComponents()
public void clearDirtyComponents()
public void repaintRequested(Paintable.RepaintRequestEvent event)
Paintable.RepaintRequestListener
repaintRequested in interface Paintable.RepaintRequestListenerevent - the repaint request event specifying the paintable source.Paintable.RepaintRequestListener.repaintRequested(com.itmill.toolkit.terminal.Paintable.RepaintRequestEvent)public void paintablePainted(Paintable p)
p - public boolean isDirty(Paintable paintable)
paintable -
public void windowAttached(Application.WindowAttachEvent event)
Application.WindowAttachListener
windowAttached in interface Application.WindowAttachListenerevent - the window attach event.Application.WindowAttachListener.windowAttached(com.itmill.toolkit.Application.WindowAttachEvent)public void windowDetached(Application.WindowDetachEvent event)
Application.WindowDetachListener
windowDetached in interface Application.WindowDetachListenerevent - the window detach event.Application.WindowDetachListener.windowDetached(com.itmill.toolkit.Application.WindowDetachEvent)public Set getRemovedWindows()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||