Search results

From Documentation

Page title matches

  • #REDIRECT [[Small Talks/2009/August/ZK 5: Chat with Event Queue]]
    65 bytes (9 words) - 01:36, 21 September 2010
  • ...he use of server push in form of event firing and listening, and the event queue (introduced in ZK 3.5) is a good candidate. Here is the result: application-scope event queue (<code>org.zkoss.zk.ui.event.EventQueue</code>).
    9 KB (1,349 words) - 04:17, 20 January 2022

Page text matches

  • #REDIRECT [[Small Talks/2009/August/ZK 5: Chat with Event Queue]]
    65 bytes (9 words) - 01:36, 21 September 2010
  • An event queue is an event-based publish-subscribe solution for the application information delivery a ....event.EventQueues</javadoc> (or <javadoc method="SESSION">org.zkoss.zk.ui.event.EventQueues</javadoc>, but rare). For example,
    2 KB (229 words) - 03:21, 1 February 2024
  • There are three ways to trigger an event: post, send and echo. = Post an Event =
    4 KB (643 words) - 09:50, 26 January 2024
  • ...default a binder subscribes to a desktop-scoped event queue''', thus event queue is a common communication mechanism among binders. There are 2 features: [[ ...der subscribes. You can separate binders into different groups by changing queue's name and scope upon your requirement.The syntax is as follows:
    2 KB (322 words) - 07:35, 8 July 2022
  • ...ave to use [[ZK Developer's Reference/Event Handling/Event Queues|an event queue]] with a proper scope, such as group, session or application -- depending o ...event queue with the group scope (<javadoc method="GROUP">org.zkoss.zk.ui.event.EventQueues</javadoc>).
    3 KB (453 words) - 05:54, 6 February 2024
  • ...per's Reference/MVVM/Data Binding/Binder| binder sending events into event queue]], hence, ViewModels attached with binders are able to communicate with eac ...ShoppingCartViewModel's binder (receiver) subscribes to the default event queue.
    5 KB (724 words) - 07:35, 8 July 2022
  • org.zkoss.zk.ui.event.EventQueueProvider.class Default: <i>none</i> (it implies <javadoc>org.zkoss.zk.ui.event.impl.EventQueueProviderImpl</javadoc>)
    490 bytes (58 words) - 09:30, 14 March 2022
  • ...he use of server push in form of event firing and listening, and the event queue (introduced in ZK 3.5) is a good candidate. Here is the result: application-scope event queue (<code>org.zkoss.zk.ui.event.EventQueue</code>).
    9 KB (1,349 words) - 04:17, 20 January 2022
  • In addition to receiving events, an application could communicate among event listeners by posting or sending events to them. ...his method returns immediately after placing the event into the queue. The event will be processed later after all events preceding it have been processed.
    3 KB (407 words) - 10:40, 19 January 2022
  • It specifies the timeout (in minutes) of each ServerPush event in a queue to purge.
    451 bytes (51 words) - 10:09, 4 December 2023
  • ...event.EventListener</javadoc> or <javadoc type="interface">org.zkoss.zk.ui.event.SerializableEventListener</javadoc>). ....zk.ui.Desktop, org.zkoss.zk.ui.event.EventListener, org.zkoss.zk.ui.event.Event)">org.zkoss.zk.ui.Executions</javadoc>.
    3 KB (365 words) - 07:37, 8 July 2022
  • ...n't block the user from accessing other functions even if the asynchronous event listener takes a lot of time to execute. The event queue starts a working thread to invoke the asynchronous event listener, though it is transparent to the caller. Thus, it cannot be used i
    6 KB (877 words) - 05:54, 6 February 2024
  • EventQueue<Event> eq = EventQueues.lookup("queue1", EventQueues.DESKTOP, true); eq.publish(new Event("onMyEvent", component, data));
    4 KB (552 words) - 07:17, 29 January 2024
  • An event queue is an event-based publish-subscriber solution for application information delivery and The purpose of event queues are two folds:
    15 KB (2,200 words) - 03:06, 2 February 2024
  • ...lifies the GUI programming and component development. However, it means an event handler that spends a lot of time to execute will block any following handl #Handle everything in an event thread and have the user wait but show a more visible message to notify the
    1 KB (239 words) - 06:53, 31 January 2024
  • ...vent Queue]], Tom Yeh explains how to create a chat program with the event Queue. Now with MVVM we can do that way also, or say, we use a more MVVM complia ...el's root view component or its child component. By default we can bind an event to any ViewModel's global command within the same desktop. A method can be
    5 KB (734 words) - 04:07, 2 April 2014
  • ...s root view component or its child component. '''By default we can bind an event to any ViewModel's global command within the same desktop'''. When we trigg ...tton (add a new item). We can achieve it by binding "Add" button's onClick event to a global command of list area's ViewModel and in that global command we
    10 KB (1,469 words) - 07:35, 8 July 2022
  • ...n how components are manipulated by the application. This is the so-called event-driven programming model. #ZK Client engine sits at the browser to detect any event triggered by user's activity such as moving mouse or changing a value. Once
    6 KB (940 words) - 10:36, 19 January 2022
  • ...is the same. The [[ZK Developer's Reference/Server Push/Event Queues|Event Queue]] is the high-level API, and this is a suggested approach for its simplicit
    2 KB (248 words) - 09:21, 14 September 2023
  • ...fine the range affected by and action. For example, when creating an event queue, we need to define the scope of listeners affected by its events. ...educed memory consumption. It’s also worth remembering that using an event queue with any scope except Desktop will automatically activate server push.
    8 KB (1,285 words) - 04:44, 22 March 2016

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)

Google Custom Wiki Search