Package | Description |
---|---|
org.zkoss.bind.impl |
Core Implementation for ZK Bind
|
org.zkoss.zhtml |
ZHTML component set.
|
org.zkoss.zhtml.impl |
Classes used to implement ZHTML component set.
|
org.zkoss.zk.device |
Device (such as Ajax browsers and mobile devices) relevant classes.
|
org.zkoss.zk.ui | |
org.zkoss.zk.ui.http |
HTTP relevant utilities and servlets for implementing
user interfaces (implementation only).
|
org.zkoss.zk.ui.impl |
Implementation of user interfaces and factories (implementation only).
|
org.zkoss.zk.ui.metainfo |
Metainfo representing pages and languages (implementation only).
|
org.zkoss.zk.ui.sys |
Internal interfaces of user interfaces and factories (behind the scene).
|
org.zkoss.zk.ui.util |
Utilities to handle user interfaces.
|
org.zkoss.zk.xel.impl |
XEL utilities for implementation only.
|
org.zkoss.zkex.theme | |
org.zkoss.zkex.ui.comet |
ZK comet implementation.
|
org.zkoss.zkmax.init |
Initialization of zkmax
|
org.zkoss.zkmax.theme | |
org.zkoss.zkmax.ui.comet |
ZK comet 2 implementation that is based on Servlet 3 asynchronous
processing support.
|
org.zkoss.zkmax.ui.util |
ZK EE utilities, such as utility to recycle desktops.
|
org.zkoss.zkplus.cluster | |
org.zkoss.zkplus.embed |
Utilities to embed ZK components into the 3rd party framework.
|
org.zkoss.zkplus.hibernate |
Utilities to support Hibernate.
|
org.zkoss.zkplus.jpa |
Utilities to support JPA
|
org.zkoss.zml.impl |
ZML implementation classes
|
org.zkoss.zul.impl |
Classes used to implement ZUL Component Set (implementation only).
|
org.zkoss.zul.theme |
Modifier and Type | Method and Description |
---|---|
void |
ParamCall.setExecution(Execution exec) |
Modifier and Type | Method and Description |
---|---|
protected void |
Textarea.redrawChildrenDirectly(TagRenderContext rc,
Execution exec,
java.io.Writer out) |
Modifier and Type | Method and Description |
---|---|
static void |
PageRenderer.afterRenderHtml(Execution exec,
Page page,
java.io.Writer out,
java.lang.Object param)
Ends and cleans up the rendering of a complete ZHTML page.
|
static void |
PageRenderer.afterRenderTag(Execution exec,
java.lang.Object param)
Ends and cleans up the rendering of a ZHTML tag.
|
static java.lang.Object |
PageRenderer.beforeRenderHtml(Execution exec,
Page page,
java.io.Writer out)
Prepares for rendering a complete ZHTML page.
|
static java.lang.Object |
PageRenderer.beforeRenderTag(Execution exec)
Prepares for rendering a ZHTML tag.
|
static TagRenderContext |
PageRenderer.getTagRenderContext(Execution exec)
Returns the render context, or null if not available.
|
protected void |
ContentTag.redrawChildrenDirectly(TagRenderContext rc,
Execution exec,
java.io.Writer out) |
protected void |
AbstractTag.redrawChildrenDirectly(TagRenderContext rc,
Execution exec,
java.io.Writer out)
Renders the children directly to the given output.
|
protected void |
PageRenderer.renderComplete(Execution exec,
Page page,
java.io.Writer out)
Renders the page if
Page.isComplete() is true. |
protected void |
PageRenderer.renderPage(Execution exec,
Page page,
java.io.Writer out,
boolean au)
Renders the page if
Page.isComplete() is false. |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Devices.loadJavaScript(Execution exec,
java.lang.String path)
Loads the content of a javascript file as a String.
|
Modifier and Type | Field and Description |
---|---|
protected static java.lang.ThreadLocal<Execution> |
Executions._exec
Stores the current
Execution . |
Modifier and Type | Method and Description |
---|---|
static Execution |
Executions.getCurrent()
Returns the current execution.
|
Execution |
Desktop.getExecution()
Returns the execution, or null if this desktop is not
serving any execution (a.k.a., not locked).
|
Modifier and Type | Class and Description |
---|---|
class |
ExecutionImpl
An
Execution implementation for HTTP request
and response. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractExecution
A skeletal implementation of
Execution . |
Modifier and Type | Method and Description |
---|---|
Execution |
DesktopImpl.getExecution() |
Modifier and Type | Method and Description |
---|---|
void |
UiEngineImpl.activate(Execution exec) |
boolean |
UiEngineImpl.activate(Execution exec,
int timeout) |
void |
UiEngineImpl.beginUpdate(Execution exec) |
Component[] |
UiEngineImpl.createComponents(Execution exec,
PageDefinition pagedef,
Page page,
Component parent,
Component insertBefore,
VariableResolver resolver,
java.util.Map<?,?> arg) |
void |
UiEngineImpl.deactivate(Execution exec) |
void |
UiEngineImpl.endUpdate(Execution exec) |
void |
UiEngineImpl.execNewPage(Execution exec,
PageDefinition pagedef,
Page page,
java.io.Writer out) |
void |
UiEngineImpl.execNewPage(Execution exec,
Richlet richlet,
Page page,
java.io.Writer out) |
void |
UiEngineImpl.execRecover(Execution exec,
FailoverManager failover) |
void |
UiEngineImpl.execUpdate(Execution exec,
java.util.List<AuRequest> requests,
AuWriter out) |
void |
DesktopImpl.invokeExecutionCleanups(Execution exec,
Execution parent,
java.util.List<java.lang.Throwable> errs) |
void |
DesktopImpl.invokeExecutionInits(Execution exec,
Execution parent) |
void |
UiEngineImpl.recycleDesktop(Execution exec,
Page page,
java.io.Writer out) |
static boolean |
DesktopRecycles.removeDesktop(Execution exec)
Called to remove the desktop.
|
void |
DesktopImpl.setExecution(Execution exec) |
java.lang.Object |
UiEngineImpl.startUpdate(Execution exec) |
Constructor and Description |
---|
RequestInfoImpl(Execution exec,
Locator locator)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageLoader.load(java.lang.StringBuffer out,
Execution exec)
Load the message to output StringBuffer.
|
Modifier and Type | Method and Description |
---|---|
Execution |
Visualizer.getExecution()
Returns the execution that this visualizer is associated with.
|
Modifier and Type | Method and Description |
---|---|
void |
UiEngine.activate(Execution exec)
Activates an execution such that you can access a component.
|
boolean |
UiEngine.activate(Execution exec,
int timeout)
Activates an execution such that you can access a component.
|
void |
UiEngine.beginUpdate(Execution exec)
Activates and prepare for asynchronous update
|
Component[] |
UiEngine.createComponents(Execution exec,
PageDefinition pagedef,
Page page,
Component parent,
Component insertBefore,
VariableResolver resolver,
java.util.Map<?,?> arg)
Creates components from the specified page and definition.
|
void |
UiEngine.deactivate(Execution exec)
Deactivates an execution, such that other threads could activate
and access components.
|
void |
UiEngine.endUpdate(Execution exec)
Executes posted events, deactivate and ends the asynchronous update.
|
void |
UiEngine.execNewPage(Execution exec,
PageDefinition pagedef,
Page page,
java.io.Writer out)
Creates components specified in the given page definition.
|
void |
UiEngine.execNewPage(Execution exec,
Richlet richlet,
Page page,
java.io.Writer out)
Invoke
Richlet.service(org.zkoss.zk.ui.Page) , when a new page is creates upon
visiting a richlet. |
void |
UiEngine.execRecover(Execution exec,
FailoverManager failover)
Executes the recovering.
|
void |
UiEngine.execUpdate(Execution exec,
java.util.List<AuRequest> requests,
AuWriter out)
Executes an asynchronous update to a component (or page).
|
static java.lang.String |
ExecutionsCtrl.getPageRedrawControl(Execution exec)
Returns the page redraw control.
|
static HtmlPageRenders.RenderContext |
HtmlPageRenders.getRenderContext(Execution exec)
Returns the render context, or null if not available.
|
static java.util.List<StyleSheet> |
HtmlPageRenders.getStyleSheets(Execution exec,
WebApp wapp,
java.lang.String deviceType)
Returns a list of
StyleSheet that shall be generated
to the client for the specified execution. |
void |
DesktopCtrl.invokeExecutionCleanups(Execution exec,
Execution parent,
java.util.List<java.lang.Throwable> errs)
Invokes
ExecutionCleanup.cleanup(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Execution, java.util.List<java.lang.Throwable>) for each relevant
listener registered by Desktop.addListener(java.lang.Object) . |
void |
DesktopCtrl.invokeExecutionInits(Execution exec,
Execution parent)
Invokes
ExecutionInit.init(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Execution) for each relevant
listener registered by Desktop.addListener(java.lang.Object) . |
static boolean |
HtmlPageRenders.isDirectContent(Execution exec)
Returns whether a component can directly generate HTML tags
to the output.
|
static boolean |
HtmlPageRenders.isZkTagsGenerated(Execution exec)
Returns if the ZK specific HTML tags are generated.
|
static java.lang.String |
HtmlPageRenders.outDocType(Execution exec,
Page page)
Returns the doc type, or null if not available.
|
static java.lang.String |
HtmlPageRenders.outFirstLine(Execution exec,
Page page)
Returns the first line to be generated to the output,
or null if no special first line.
|
static java.lang.String |
HtmlPageRenders.outHeaders(Execution exec,
Page page,
boolean before)
Returns the content of the specified condition
that will be placed inside the header element of the specified page,
or null if it was generated before.
|
static java.lang.String |
HtmlPageRenders.outHeaderZkTags(Execution exec,
Page page)
Generates and returns the ZK specific HTML tags including
the headers defined in the specified page, or null if it was
generated before.
|
static java.lang.String |
HtmlPageRenders.outInitCrashScript(Execution exec,
WebApp wapp)
Returns Script tag to include init-crash-script and init-crash-timeout defined in zk.xml
It will be placed before all JavaScript files and codes generated by
HtmlPageRenders.outLangJavaScripts(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.WebApp, java.lang.String) |
static java.lang.String |
HtmlPageRenders.outLangJavaScripts(Execution exec,
WebApp wapp,
java.lang.String deviceType)
Returns HTML tags to include all JavaScript files and codes that are
required when loading a ZUML page (never null).
|
static java.lang.String |
HtmlPageRenders.outLangStyleSheets(Execution exec,
WebApp wapp,
java.lang.String deviceType)
Returns HTML tags to include all style sheets that are
defined in all languages of the specified device (never null).
|
static void |
HtmlPageRenders.outPageContent(Execution exec,
Page page,
java.io.Writer out,
boolean au)
Returns the HTML content representing a page.
|
static java.lang.String |
HtmlPageRenders.outResponseJavaScripts(Execution exec)
Generates the AU responses that are part of a page rendering.
|
static java.lang.String |
HtmlPageRenders.outResponseJavaScripts(Execution exec,
boolean directJS)
Generates the AU responses that are part of a page rendering.
|
static void |
HtmlPageRenders.outStandalone(Execution exec,
Component comp,
java.io.Writer out)
Generates the content of a standalone component that
the peer widget is not a child of the page widget at the client.
|
static java.lang.String |
HtmlPageRenders.outUnavailable(Execution exec)
Generates the unavailable message in HTML tags, if any.
|
static java.lang.String |
HtmlPageRenders.outZkTags(Execution exec,
WebApp wapp,
java.lang.String deviceType)
Generates and returns the ZK specific HTML tags such as stylesheet
and JavaScript.
|
void |
FailoverManager.recover(Session sess,
Execution exec,
Desktop desktop)
Recovers the specified desktop.
|
void |
UiEngine.recycleDesktop(Execution exec,
Page page,
java.io.Writer out)
Reuse the desktop and generate the output.
|
static void |
HtmlPageRenders.setContentType(Execution exec,
Page page)
Sets the content type to the specified execution for the given page.
|
static void |
ExecutionsCtrl.setCurrent(Execution exec)
Sets the execution for the current thread.
|
static boolean |
HtmlPageRenders.setDirectContent(Execution exec,
boolean direct)
Sets whether a component can directly generate HTML tags
to the output.
|
void |
DesktopCtrl.setExecution(Execution exec)
Sets the execution (used to represent a lock).
|
java.lang.Object |
UiEngine.startUpdate(Execution exec)
Activates an execution that will allow developers to update
the state of components.
|
Modifier and Type | Field and Description |
---|---|
protected Execution |
GenericAutowireComposer.execution
Implicit Object; the current execution.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DesktopRecycle.beforeRemove(Execution exec,
Desktop desktop,
int cause)
Called when the client asks the server to remove a desktop
because of the user's navigating to other URL or refreshing the page.
|
Desktop |
DesktopRecycle.beforeService(Execution exec,
java.lang.String uri)
Called when an user requests the content of a page.
|
java.lang.String |
ThemeProvider.beforeWCS(Execution exec,
java.lang.String uri)
Called when a WCS (Widget CSS descriptor) file is about to be loaded.
|
java.lang.String |
ThemeProvider.beforeWidgetCSS(Execution exec,
java.lang.String uri)
Called when a WCS (Widget CSS descriptor) file is about to load the CSS file associated
with a widget.
|
void |
ExecutionCleanup.cleanup(Execution exec,
Execution parent,
java.util.List<java.lang.Throwable> errs)
called when an execution is about to be destroyed.
|
void |
ExecutionMonitor.executionAbort(Execution exec,
Desktop desktop,
java.lang.Throwable t)
Called when the activation of the given execution is aborted.
|
void |
ExecutionMonitor.executionActivate(Execution exec,
Desktop desktop)
Called when an execution is activated.
|
void |
ExecutionMonitor.executionDeactivate(Execution exec,
Desktop desktop)
Called when an activated execution completes and is deactivated.
|
void |
ExecutionMonitor.executionWait(Execution exec,
Desktop desktop)
Called when an execution fails to activate and then being waiting
for activation.
|
java.util.Collection<java.lang.Object> |
ThemeProvider.getThemeURIs(Execution exec,
java.util.List<java.lang.Object> uris)
Returns a list of the theme's URIs of the specified execution,
or null if no theme shall be generated.
|
int |
ThemeProvider.getWCSCacheControl(Execution exec,
java.lang.String uri)
Returns the number of hours that the specified WCS
(Widget CSS descriptor) file won't be changed.
|
void |
ExecutionInit.init(Execution exec,
Execution parent)
Called when an execution is created and initialized.
|
void |
Configuration.invokeExecutionCleanups(Execution exec,
Execution parent,
java.util.List<java.lang.Throwable> errs)
Invokes
ExecutionCleanup.cleanup(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Execution, java.util.List<java.lang.Throwable>) for each relevant
listener registered by Configuration.addListener(java.lang.Class<?>) . |
void |
Configuration.invokeExecutionInits(Execution exec,
Execution parent)
Invokes
ExecutionInit.init(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Execution) for each relevant
listener registered by Configuration.addListener(java.lang.Class<?>) . |
void |
PerformanceMeter.requestCompleteAtClient(java.lang.String requestId,
Execution exec,
long time)
Called to notify when the client has completed the processing of
the response.
|
void |
PerformanceMeter.requestCompleteAtServer(java.lang.String requestId,
Execution exec,
long time)
Called to notify when the server has completed the processing of
the request.
|
void |
PerformanceMeter.requestReceiveAtClient(java.lang.String requestId,
Execution exec,
long time)
Called to notify when the client has received the response
(but not processed yet).
|
void |
PerformanceMeter.requestStartAtClient(java.lang.String requestId,
Execution exec,
long time)
Called to notify when the client starts to send the request
to server.
|
void |
PerformanceMeter.requestStartAtServer(java.lang.String requestId,
Execution exec,
long time)
Called to notify when the server receives the request.
|
Constructor and Description |
---|
ExecutionResolver(Execution exec,
VariableResolver parent)
Constructs a resolver with a parent and a page.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
StandardThemeProvider.beforeWidgetCSS(Execution exec,
java.lang.String uri) |
Modifier and Type | Method and Description |
---|---|
protected void |
CometServerPush.processRequest(Execution exec,
CometServerPush.AsyncInfo ai)
Called when receiving the comet request from the client.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
TabletThemeProvider.beforeWCS(Execution exec,
java.lang.String uri)
Deprecated.
|
java.lang.String |
TabletThemeProvider.beforeWidgetCSS(Execution exec,
java.lang.String uri)
Deprecated.
|
java.util.Collection<java.lang.Object> |
TabletThemeProvider.getThemeURIs(Execution exec,
java.util.List<java.lang.Object> uris)
Deprecated.
|
int |
TabletThemeProvider.getWCSCacheControl(Execution exec,
java.lang.String uri)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
StandardThemeProvider.beforeWidgetCSS(Execution exec,
java.lang.String uri) |
java.util.Collection<java.lang.Object> |
StandardThemeProvider.getThemeURIs(Execution exec,
java.util.List<java.lang.Object> uris) |
Modifier and Type | Method and Description |
---|---|
protected void |
CometServerPush.processRequest(Execution exec,
CometServerPush.AsyncInfo ai)
Called when receiving the comet request from the client.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DesktopRecycle.beforeRemove(Execution exec,
Desktop desktop,
int cause) |
Desktop |
DesktopRecycle.beforeService(Execution exec,
java.lang.String uri) |
Modifier and Type | Method and Description |
---|---|
void |
ClusterSessionPatch.cleanup(Execution exec,
Execution parent,
java.util.List errs) |
Modifier and Type | Method and Description |
---|---|
Execution |
Bridge.getExecution()
Returns the execution.
|
Constructor and Description |
---|
Renders.PageRenderer(Execution exec) |
Renders.PageRenderer(Execution exec,
boolean pageDOM) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateSessionContextListener.cleanup(Execution exec,
Execution parent,
java.util.List errs)
Deprecated.
|
void |
OpenSessionInViewListener.cleanup(Execution exec,
Execution parent,
java.util.List errs)
Deprecated.
|
protected void |
OpenSessionInViewListener.handleOtherException(Execution exec,
java.lang.Throwable ex)
Deprecated.
Default other exception (other than StaleObjectStateException) handler.
|
protected void |
OpenSessionInViewListener.handleStaleObjectStateException(Execution exec,
org.hibernate.StaleObjectStateException ex)
Deprecated.
Default StaleObjectStateException handler.
|
void |
HibernateSessionContextListener.init(Execution exec,
Execution parent)
Deprecated.
|
void |
OpenSessionInViewListener.init(Execution exec,
Execution parent)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
OpenEntityManagerInViewListener.cleanup(Execution exec,
Execution parent,
java.util.List errs) |
protected void |
OpenEntityManagerInViewListener.handleException(Execution exec,
java.lang.Throwable ex)
Default exception handler.
|
void |
OpenEntityManagerInViewListener.init(Execution exec,
Execution parent) |
Modifier and Type | Method and Description |
---|---|
protected void |
PageRenderer.renderComplete(Execution exec,
Page page,
java.io.Writer out)
Renders the page if
Page.isComplete() is true. |
protected void |
PageRenderer.renderPage(Execution exec,
Page page,
java.io.Writer out)
Renders the page if
Page.isComplete() is false. |
Modifier and Type | Method and Description |
---|---|
void |
ZulMessageLoader.load(java.lang.StringBuffer out,
Execution exec) |
protected void |
PageRenderer.renderComplete(Execution exec,
Page page,
java.io.Writer out)
Renders the page if
Page.isComplete() is true. |
protected void |
PageRenderer.renderDesktop(Execution exec,
Page page,
java.io.Writer out)
Renders the desktop and the page.
|
protected void |
PageRenderer.renderPage(Execution exec,
Page page,
java.io.Writer out,
boolean au)
Renders the page if
Page.isComplete() is false. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
StandardThemeProvider.beforeWCS(Execution exec,
java.lang.String uri) |
java.lang.String |
StandardThemeProvider.beforeWidgetCSS(Execution exec,
java.lang.String uri) |
static java.lang.String |
Themes.getTheme(Execution exe)
Returns the theme specified using the current theme resolution strategy
Default strategy is to use cookies
|
java.util.Collection<java.lang.Object> |
StandardThemeProvider.getThemeURIs(Execution exec,
java.util.List<java.lang.Object> uris) |
int |
StandardThemeProvider.getWCSCacheControl(Execution exec,
java.lang.String uri) |
static void |
Themes.setTheme(Execution exe,
java.lang.String themeName)
Sets the theme name using the current theme resolution strategy
Default strategy is to use cookies
|
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.