Uses of Interface
org.zkoss.zk.ui.Desktop
-
Packages that use Desktop Package Description org.zkoss.zk.au org.zkoss.zk.au.http org.zkoss.zk.au.out org.zkoss.zk.device org.zkoss.zk.ui org.zkoss.zk.ui.http org.zkoss.zk.ui.impl org.zkoss.zk.ui.sys org.zkoss.zk.ui.util -
-
Uses of Desktop in org.zkoss.zk.au
Methods in org.zkoss.zk.au that return Desktop Modifier and Type Method Description DesktopAuRequest. getDesktop()Returns the desktop; never null.Methods in org.zkoss.zk.au with parameters of type Desktop Modifier and Type Method Description static <T extends Component>
java.util.Set<T>AuRequests. convertToItems(Desktop desktop, java.util.List<java.lang.String> uuids)Converts the data of the specified request to a set of Component.java.util.List<AuRequest>AuDecoder. decode(java.lang.Object request, Desktop desktop)Returns a list ofAuRequestby decoding the request.Constructors in org.zkoss.zk.au with parameters of type Desktop Constructor Description AuRequest(Desktop desktop, java.lang.String uuid, java.lang.String cmd, java.util.Map<java.lang.String,java.lang.Object> data)Constructor for a request sent from a component.AuRequest(Desktop desktop, java.lang.String cmd, java.util.Map<java.lang.String,java.lang.Object> data)Constructor for a general request sent from client. -
Uses of Desktop in org.zkoss.zk.au.http
Methods in org.zkoss.zk.au.http that return Desktop Modifier and Type Method Description protected DesktopDHtmlUpdateServlet. getDesktop(Session sess, java.lang.String dtid)Returns the desktop of the specified ID, or null if not found.protected DesktopDHtmlUpdateServlet. recoverDesktop(Session sess, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, WebAppCtrl wappc, java.lang.String dtid)Recovers the desktop if possible. -
Uses of Desktop in org.zkoss.zk.au.out
Constructors in org.zkoss.zk.au.out with parameters of type Desktop Constructor Description AuClientInfo(Desktop desktop)Constructs a client-info response with the specified desktop.AuEcho(Desktop desktop)Constructs an echo response with the specified desktop.AuEchoGlobal(java.lang.String evtnm, java.lang.String data, Desktop dt)Constructor parameters in org.zkoss.zk.au.out with type arguments of type Desktop Constructor Description AuEchoGlobal(java.lang.String evtnm, java.lang.String data, java.util.Collection<Desktop> dts) -
Uses of Desktop in org.zkoss.zk.device
Methods in org.zkoss.zk.device with parameters of type Desktop Modifier and Type Method Description voidDevice. sessionDidActivate(Desktop desktop)Notification that the desktop, which owns this device, has just been activated (a.k.a., deserialized) by the Web container.voidGenericDevice. sessionDidActivate(Desktop desktop)voidDevice. sessionWillPassivate(Desktop desktop)Notification that the desktop, which owns this device, is about to be passivated (a.k.a., serialized) by the Web container.voidGenericDevice. sessionWillPassivate(Desktop desktop) -
Uses of Desktop in org.zkoss.zk.ui
Methods in org.zkoss.zk.ui that return Desktop Modifier and Type Method Description DesktopAbstractComponent. getDesktop()DesktopComponent. getDesktop()Returns the desktop of this component, or null if this component doesn't belong to any desktop.DesktopExecution. getDesktop()Returns the desktop associated with this execution.DesktopPage. getDesktop()Returns the desktop that this page belongs to.Methods in org.zkoss.zk.ui with parameters of type Desktop Modifier and Type Method Description static voidExecutions. activate(Desktop desktop)Activates a thread to allow it access the given desktop synchronously.static booleanExecutions. activate(Desktop desktop, long timeout)Activates a thread to allow it access the given desktop synchronously, or until a certain amount of time has elapsed.static voidExecutions. deactivate(Desktop desktop)Deactivates a thread that has invokedExecutions.activate(org.zkoss.zk.ui.Desktop)successfully.static voidExecutions. notify(Desktop desktop, java.lang.Object mutex)Wakes up a single event processing thread for the specified desktop that is waiting on the specified object.static voidExecutions. notifyAll(Desktop desktop, java.lang.Object mutex)Wakes up all event processing threads for the specified desktop that are waiting on the specified object.static <T extends Event>
voidExecutions. schedule(Desktop desktop, EventListener<T> task, T event)Schedules a task to run under the server push of the given desktop asynchronously. -
Uses of Desktop in org.zkoss.zk.ui.http
Methods in org.zkoss.zk.ui.http that return Desktop Modifier and Type Method Description static DesktopDesktopRecycles. beforeService(DesktopRecycle dtrc, jakarta.servlet.ServletContext ctx, Session sess, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, java.lang.String path)Called before serving a HTTP request.DesktopWebManager. getDesktop(Session sess, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, java.lang.String path, boolean autocreate)Returns the desktop of the specified request, or null if not found and autocreate is false, or it has been redirect or forward to other page.static DesktopZKWebSocket. getDesktop(jakarta.websocket.Session wsession)Returns the desktop from the given websocket session.Methods in org.zkoss.zk.ui.http with parameters of type Desktop Modifier and Type Method Description static voidDesktopRecycles. afterService(DesktopRecycle dtrc, Desktop desktop)Called after serving a HTTP request.static voidWebManager. setDesktop(jakarta.servlet.http.HttpServletRequest request, Desktop desktop)Sets the desktop to the specified request.Constructors in org.zkoss.zk.ui.http with parameters of type Desktop Constructor Description ExecutionImpl(jakarta.servlet.ServletContext ctx, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Desktop desktop, Page creating)Constructs an execution for the given HTTP request. -
Uses of Desktop in org.zkoss.zk.ui.impl
Classes in org.zkoss.zk.ui.impl that implement Desktop Modifier and Type Class Description classDesktopImplThe implementation ofDesktop.Methods in org.zkoss.zk.ui.impl that return Desktop Modifier and Type Method Description DesktopAbstractExecution. getDesktop()DesktopEventProcessor. getDesktop()Returns the desktop.DesktopPageImpl. getDesktop()DesktopRequestInfoImpl. getDesktop()DesktopSimpleDesktopCache. getDesktop(java.lang.String desktopId)DesktopSimpleDesktopCache. getDesktopIfAny(java.lang.String desktopId)DesktopAbstractUiFactory. newDesktop(RequestInfo ri, java.lang.String updateURI, java.lang.String path)DesktopAbstractUiFactory. newDesktop(RequestInfo ri, java.lang.String updateURI, java.lang.String resourceURI, java.lang.String path)Methods in org.zkoss.zk.ui.impl that return types with arguments of type Desktop Modifier and Type Method Description java.util.List<Desktop>SimpleDesktopCache. getAllDesktops()Methods in org.zkoss.zk.ui.impl with parameters of type Desktop Modifier and Type Method Description voidSimpleDesktopCache. addDesktop(Desktop desktop)booleanUiEngineImpl. ceaseSuspendedThread(Desktop desktop, EventProcessingThread evtthd, java.lang.String cause)voidUiEngineImpl. desktopDestroyed(Desktop desktop)java.util.Collection<EventProcessingThread>UiEngineImpl. getSuspendedThreads(Desktop desktop)static booleanUtils. markClientInfoPerDesktop(Desktop desktop, java.lang.String key)Marks the per-desktop information of the given key will be generated, and returns true if the information is not generated yet (i.e., this method is NOT called with the given key).ServerPushAbstractUiFactory. newServerPush(Desktop desktop, java.lang.Class klass)Instantiates a server push of the given class.java.lang.StringStaticIdGenerator. nextComponentUuid(Desktop desktop, Component comp, ComponentInfo compInfo)java.lang.StringLegacyDesktopIdGenerator. nextDesktopId(Desktop desktop)java.lang.StringStaticIdGenerator. nextDesktopId(Desktop desktop)voidUiEngineImpl. notify(Desktop desktop, java.lang.Object mutex)voidUiEngineImpl. notifyAll(Desktop desktop, java.lang.Object mutex)booleanEventProcessingThreadImpl. processEvent(Desktop desktop, Component comp, Event event)Ask this event thread to process the specified event.voidSimpleDesktopCache. removeDesktop(Desktop desktop)voidPageImpl. sessionDidActivate(Desktop desktop)voidPageImpl. sessionWillPassivate(Desktop desktop)voidAbstractExecution. setDesktop(Desktop desktop)voidPollingServerPush. start(Desktop desktop)Constructors in org.zkoss.zk.ui.impl with parameters of type Desktop Constructor Description AbstractExecution(Desktop desktop, Page creating)Constructs an execution.EventProcessor(Desktop desktop, Component comp, Event event)ExecutionCarryOver(Desktop desktop)RequestInfoImpl(Desktop desktop, java.lang.Object request, org.zkoss.util.resource.Locator locator)Constructor.RequestInfoImpl(WebApp wapp, Session sess, Desktop desktop, java.lang.Object request, org.zkoss.util.resource.Locator locator)Constructor -
Uses of Desktop in org.zkoss.zk.ui.sys
Methods in org.zkoss.zk.ui.sys that return Desktop Modifier and Type Method Description DesktopDesktopCache. getDesktop(java.lang.String desktopId)Returns the desktop for the specified desktop ID.DesktopRequestInfo. getDesktop()Returns the desktop, or null if not created yet.DesktopDesktopCache. getDesktopIfAny(java.lang.String desktopId)Returns the desktop for the specified desktop ID, or null if not found.DesktopUiFactory. newDesktop(RequestInfo ri, java.lang.String updateURI, java.lang.String path)Creates an instance ofDesktop.default DesktopUiFactory. newDesktop(RequestInfo ri, java.lang.String updateURI, java.lang.String resourceURI, java.lang.String path)Creates an instance ofDesktop.Methods in org.zkoss.zk.ui.sys that return types with arguments of type Desktop Modifier and Type Method Description java.util.List<Desktop>DesktopCache. getAllDesktops()Returns all the desktops in this cache.Methods in org.zkoss.zk.ui.sys with parameters of type Desktop Modifier and Type Method Description voidDesktopCache. addDesktop(Desktop desktop)Adds a desktop to this session.booleanUiEngine. ceaseSuspendedThread(Desktop desktop, EventProcessingThread evtthd, java.lang.String cause)Ceases the specified event thread.voidUiEngine. desktopDestroyed(Desktop desktop)Called when a desktop is being removed.java.util.Collection<EventProcessingThread>UiEngine. getSuspendedThreads(Desktop desktop)Returns a collection of suspended event processing threads belonging to the specified desktop, or empty if no suspended thread at all.ServerPushUiFactory. newServerPush(Desktop desktop, java.lang.Class klass)Creates and initializes the server push of the given class and desktop.default java.lang.StringIdGenerator. nextComponentUuid(Desktop desktop, Component comp, ComponentInfo compInfo)Returns the next component UUID for the specified component, or null to generate the default UUID.default java.lang.StringIdGenerator. nextDesktopId(Desktop desktop)Returns the next desktop ID for the specified desktop, or null to generate the default ID.voidUiEngine. notify(Desktop desktop, java.lang.Object obj)Wakes up a single event processing thread for the specified desktop that is waiting on the specified object.voidUiEngine. notifyAll(Desktop desktop, java.lang.Object obj)Wakes up all event processing threads for the specified desktop that are waiting on the specified object.static java.lang.StringHtmlPageRenders. outSpecialJS(Desktop desktop)Generates the special JavaScript code, such as the application's name.voidFailoverManager. recover(Session sess, Execution exec, Desktop desktop)Recovers the specified desktop.voidDesktopCache. removeDesktop(Desktop desktop)Removes a desktop from this session.voidPageCtrl. sessionDidActivate(Desktop desktop)Notification that the session, which owns this page, has just been activated (a.k.a., deserialized).voidPageCtrl. sessionWillPassivate(Desktop desktop)Notification that the session, which owns this page, is about to be passivated (a.k.a., serialized).voidExecutionCtrl. setDesktop(Desktop desktop)Sets the desktop associated with this execution.voidServerPush. start(Desktop desktop)Starts and initializes the server-push controller. -
Uses of Desktop in org.zkoss.zk.ui.util
Fields in org.zkoss.zk.ui.util declared as Desktop Modifier and Type Field Description protected DesktopGenericAutowireComposer. desktopImplicit Object; the desktop.Methods in org.zkoss.zk.ui.util that return Desktop Modifier and Type Method Description DesktopDesktopRecycle. beforeService(Execution exec, java.lang.String uri)Called when an user requests the content of a page.Methods in org.zkoss.zk.ui.util with parameters of type Desktop Modifier and Type Method Description voidConfiguration. afterPageAttached(Page page, Desktop desktop)InvokesUiLifeCycle.afterPageAttached(org.zkoss.zk.ui.Page, org.zkoss.zk.ui.Desktop)when a compnent's parent is changed.voidUiLifeCycle. afterPageAttached(Page page, Desktop desktop)Called after a page is attached to a desktop.voidConfiguration. afterPageDetached(Page page, Desktop prevdesktop)InvokesUiLifeCycle.afterPageDetached(org.zkoss.zk.ui.Page, org.zkoss.zk.ui.Desktop)when a compnent's parent is changed.voidUiLifeCycle. afterPageDetached(Page page, Desktop prevdesktop)Called after a page is detached to a desktop.voidDesktopRecycle. afterRemove(Session sess, Desktop desktop)Called after a desktop is removed.voidDesktopRecycle. afterService(Desktop desktop)Called after the request is served.voidMonitor. afterUpdate(Desktop desktop)Called when an asynchronous updated has been processed.voidStatistic. afterUpdate(Desktop desktop)booleanDesktopRecycle. 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.voidMonitor. beforeUpdate(Desktop desktop, java.util.List<AuRequest> requests)Called when an asynchronous updated is called (and not yet processed).voidStatistic. beforeUpdate(Desktop desktop, java.util.List<AuRequest> requests)voidDesktopCleanup. cleanup(Desktop desktop)called when a desktop is about to be destroyed.voidMonitor. desktopCreated(Desktop desktop)Called when a desktop is created.voidStatistic. desktopCreated(Desktop desktop)voidExecutionMonitor. desktopDestroy(Desktop desktop)Called when a desktop is destroyed.voidMonitor. desktopDestroyed(Desktop desktop)Called when a desktop is being destroyed.voidStatistic. desktopDestroyed(Desktop desktop)voidDesktopActivationListener. didActivate(Desktop desktop)Called when a session has just been activated (and its value has been deserialized).voidDesktopSerializationListener. didDeserialize(Desktop desktop)Called when a desktop has de-serialized this object back.voidExecutionMonitor. executionAbort(Execution exec, Desktop desktop, java.lang.Throwable t)Called when the activation of the given execution is aborted.voidExecutionMonitor. executionActivate(Execution exec, Desktop desktop)Called when an execution is activated.voidExecutionMonitor. executionDeactivate(Execution exec, Desktop desktop)Called when an activated execution completes and is deactivated.voidExecutionMonitor. executionWait(Execution exec, Desktop desktop)Called when an execution fails to activate and then being waiting for activation.voidDesktopInit. init(Desktop desktop, java.lang.Object request)Called when a desktop is created and initialized.voidConfiguration. invokeDesktopCleanups(Desktop desktop)InvokesDesktopCleanup.cleanup(org.zkoss.zk.ui.Desktop)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).voidConfiguration. invokeDesktopInits(Desktop desktop, java.lang.Object request)InvokesDesktopInit.init(org.zkoss.zk.ui.Desktop, java.lang.Object)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).voidDesktopActivationListener. willPassivate(Desktop desktop)Called when a session is about to be passivated (and then serialize its value).voidDesktopSerializationListener. willSerialize(Desktop desktop)Called when a desktop is going to serialize this object.
-