Uses of Class
org.zkoss.zk.ui.event.Event
-
Packages that use Event Package Description org.zkoss.zk.ui org.zkoss.zk.ui.event org.zkoss.zk.ui.event.impl org.zkoss.zk.ui.impl org.zkoss.zk.ui.select org.zkoss.zk.ui.sys org.zkoss.zk.ui.util -
-
Uses of Event in org.zkoss.zk.ui
Methods in org.zkoss.zk.ui with type parameters of type Event Modifier and Type Method Description 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.Methods in org.zkoss.zk.ui that return types with arguments of type Event Modifier and Type Method Description java.lang.Iterable<EventListener<? extends Event>>AbstractComponent. getEventListeners(java.lang.String evtnm)java.lang.Iterable<EventListener<? extends Event>>Component. getEventListeners(java.lang.String evtnm)Returns an iterable collection of the event listeners for the given event.java.lang.Iterable<EventListener<? extends Event>>Page. getEventListeners(java.lang.String evtnm)Returns an iterable collection of the event listeners for the given event.Methods in org.zkoss.zk.ui with parameters of type Event Modifier and Type Method Description voidExecution. postEvent(int priority, Component realTarget, Event evt)Queues the give event for the specified target to this execution.voidExecution. postEvent(int priority, Event evt)Queues an event with the specified priority to this execution.voidExecution. postEvent(Event evt)Queues an event to this execution.voidAbstractComponent. service(Event event, Scope scope)Method parameters in org.zkoss.zk.ui with type arguments of type Event Modifier and Type Method Description booleanAbstractComponent. addEventListener(int priority, java.lang.String evtnm, EventListener<? extends Event> listener)booleanAbstractComponent. addEventListener(java.lang.String evtnm, EventListener<? extends Event> listener)booleanComponent. addEventListener(int priority, java.lang.String evtnm, EventListener<? extends Event> listener)Adds an event listener to specified event name for this component with the given priority.booleanComponent. addEventListener(java.lang.String evtnm, EventListener<? extends Event> listener)Adds an event listener to specified event name for this component.booleanPage. addEventListener(java.lang.String evtnm, EventListener<? extends Event> listener)Adds an event listener to specified event for all components in this page.booleanAbstractComponent. removeEventListener(java.lang.String evtnm, EventListener<? extends Event> listener)booleanComponent. removeEventListener(java.lang.String evtnm, EventListener<? extends Event> listener)Removes an event listener.booleanPage. removeEventListener(java.lang.String evtnm, EventListener<? extends Event> listener)Removes an event listener. -
Uses of Event in org.zkoss.zk.ui.event
Classes in org.zkoss.zk.ui.event with type parameters of type Event Modifier and Type Interface Description interfaceCloneableEventListener<T extends Event>A cloneable event listener that will be notified when an event occurs, if it is registered toComponent.addEventListener(int, java.lang.String, org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event>).interfaceEventListener<T extends Event>An event listener that will be notified when an event occurs, if it is registered toComponent.addEventListener(int, java.lang.String, org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event>).interfaceEventQueue<T extends Event>An event queue.classGenericEventListener<T extends Event>An abstract event listener that you can extend and write intuitive onXxx event handler methods; this class dispatch event to the implemented onXxx event handler methods automatically.interfaceSerializableEventListener<T extends Event>A serializable event listener that will be notified when an event occurs, if it is registered toComponent.addEventListener(int, java.lang.String, org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event>).Subclasses of Event in org.zkoss.zk.ui.event Modifier and Type Class Description classAfterSizeEventRepresents an event that resize a component and provides the new size of the component.classBookmarkEventThe bookmark update event used withonBookmarkChangeto notify that user pressed BACK, FORWARD or others that causes the bookmark changed (but still in the same desktop).classCheckEventRepresents an event cause by user's check a state at the client.classClientInfoEventThe onClientInfo event is used to notify the client's information, such as time zone and screen resolutions.classCreateEventUsed to notify a window that all its children are created and initialized.classDOMExceptionEventRepresents an event caused by DOMException at client.classDropEventRepresents an event cause by user's dragging and dropping a component.classErrorEventRepresents an event cause by user's entering a wrong data or clearing the last wrong data.classForwardEventRepresents the event forwarded by the forward condition.classFulfillEventRepresents the fulfill condition has been applied.classHistoryPopStateEventThe history pop state event used withonHistoryPopStateto notify that user pressed BACK, FORWARD or others that causes the history changed (but still in the same desktop).classInputEventRepresents an event cause by user's input something at the client.classKeyEventRepresents a key pressed by the user.classMaximizeEventRepresents an event caused by a component being maximized.classMinimizeEventRepresents an event caused by a component being minimized.classMouseEventRepresents an event cause by mouse activity.classMoveEventRepresents an event caused by a component being moved.classOpenEventRepresents an event cause by user's opening or closing something at the client.classScriptErrorEventA script error event used withonScriptErrorWhen using Clients.evalJavascript and any javascript error event happened, user can handle the error in the server side.classScrollEventRepresents an event caused by that user is scrolling or has scrolled at the client.classSelectEvent<T extends Component,E>Represents an event cause by user's the list selection is changed at the client.classSelectionEventRepresents an event cause by user's the active selection which is a highlighted block of text.classSizeEventRepresents an event caused by a component being re-sized.classSlideEventRepresents an event cause by user's slidedown or slideup something at the client.classSortEventRepresents an event that indicates a sorting request to data.classStateChangeEventRepresents an event that state of component was changed.classStubEventThe event sent from a stub component (StubComponent.classSwipeEventRepresents an event that indicates swipe on a component and provides information about the swipe displacement, duration and direction.classUploadEventRepresents that user has uploaded one or several files from the client to the server.classURIEventThe URI update event used withonURIChangeto notify that the associated URI is changed by the user.classVisibilityChangeEventThe VisibilityChangeEvent is used to notify current page/tab's visibility state.classZIndexEventRepresents an event caused by a component whose z-index is modified by the client.Methods in org.zkoss.zk.ui.event with type parameters of type Event Modifier and Type Method Description static <T extends Event>
EventQueue<T>EventQueues. lookup(java.lang.String name)Returns the desktop-level event queue with the specified name in the current desktop, or if no such event queue, create one.static <T extends Event>
EventQueue<T>EventQueues. lookup(java.lang.String name, boolean autoCreate)Returns the desktop-level event queue with the specified name in the current desktop.static <T extends Event>
EventQueue<T>EventQueues. lookup(java.lang.String name, java.lang.String scope, boolean autoCreate)Returns the event queue with the specified name in the specified scope.static <T extends Event>
EventQueue<T>EventQueues. lookup(java.lang.String name, Session sess, boolean autoCreate)Returns the event queue with the specified name in the give session (i.e., the session scope).static <T extends Event>
EventQueue<T>EventQueues. lookup(java.lang.String name, WebApp wapp, boolean autoCreate)Returns the event queue with the specified name in the give application (i.e., the application scope).Methods in org.zkoss.zk.ui.event that return Event Modifier and Type Method Description static EventEvent. getEvent(AuRequest request)Creates an instance ofEventbased on the specified request.EventForwardEvent. getOrigin()Returns the original event.EventFulfillEvent. getOrigin()Returns the original event.static EventEvents. getRealOrigin(ForwardEvent event)Returns the real origin event of a forwarded event.Methods in org.zkoss.zk.ui.event with parameters of type Event Modifier and Type Method Description voidEventThreadResume. abortResume(Component comp, Event evt)Called when the suspended event thread is aborted.voidEventThreadResume. afterResume(Component comp, Event evt)Called after the suspended event thread is resumed.voidEventThreadSuspend. afterSuspend(Component comp, Event evt)Called in the servlet thread after the event processing thread has been suspended.voidEventThreadResume. beforeResume(Component comp, Event evt)Called just before the suspended event thread is resumed.voidEventThreadSuspend. beforeSuspend(Component comp, Event evt, java.lang.Object obj)Called before the event processing thread is suspended.voidEventThreadCleanup. cleanup(Component comp, Event evt, java.util.List<java.lang.Throwable> errs)Cleans up the event processing thread.voidEventThreadCleanup. complete(Component comp, Event evt)Called in the serlvet thread to clean up.static voidEvents. echoEvent(Event event)Echos an event.booleanEventThreadInit. init(Component comp, Event event)Initialize the event processing thread before processing the event.voidGenericEventListener. onEvent(Event evt)static voidEvents. postEvent(int priority, Component realTarget, Event event)Queues the give event for the specified target to this execution.static voidEvents. postEvent(int priority, Event event)Posts an event to the current execution with the specified priority.static voidEvents. postEvent(Component realTarget, Event event)Queues the give event for the specified target to this execution.static voidEvents. postEvent(Event event)Posts an event to the current execution.voidEventThreadInit. prepare(Component comp, Event event)Prepares the initialization at the servlet thread.static voidEvents. sendEvent(Component comp, Event event)Sends the event to the specified component and process it immediately.static voidEvents. sendEvent(Event event)Sends the event to the target specified in the event, and processes it immediately.Constructors in org.zkoss.zk.ui.event with parameters of type Event Constructor Description ForwardEvent(java.lang.String name, Component target, Event origin)Constructs a forward event.ForwardEvent(java.lang.String name, Component target, Event origin, java.lang.Object data)Constructs a forward event.FulfillEvent(java.lang.String name, Component target, Event origin)Constructs a fulfill event.FulfillEvent(java.lang.String name, Component target, Event origin, java.lang.Object data)Constructs a fulfill event. -
Uses of Event in org.zkoss.zk.ui.event.impl
Classes in org.zkoss.zk.ui.event.impl with type parameters of type Event Modifier and Type Class Description classDesktopEventQueue<T extends Event>The default implementation of the desktop-scoped event queue (EventQueue).classServerPushEventQueue<T extends Event>The default implementation of the server-push based event queue (EventQueue).Methods in org.zkoss.zk.ui.event.impl with type parameters of type Event Modifier and Type Method Description <T extends Event>
EventQueue<T>EventQueueProvider. lookup(java.lang.String name, java.lang.String scope, boolean autoCreate)Returns the event queue with the specified name in the specified scope.<T extends Event>
EventQueue<T>EventQueueProvider. lookup(java.lang.String name, Session sess, boolean autoCreate)Returns the event queue with the specified name in the give session (i.e., the scope).<T extends Event>
EventQueue<T>EventQueueProvider. lookup(java.lang.String name, WebApp wapp, boolean autoCreate)Returns the event queue with the specified name in the give application (i.e., the scope).<T extends Event>
EventQueue<T>EventQueueProviderImpl. lookup(java.lang.String name, java.lang.String scope, boolean autoCreate)<T extends Event>
EventQueue<T>EventQueueProviderImpl. lookup(java.lang.String name, Session sess, boolean autoCreate)<T extends Event>
EventQueue<T>EventQueueProviderImpl. lookup(java.lang.String name, WebApp wapp, boolean autoCreate) -
Uses of Event in org.zkoss.zk.ui.impl
Subclasses of Event in org.zkoss.zk.ui.impl Modifier and Type Class Description classProxyEventUsed to proxy another event.Methods in org.zkoss.zk.ui.impl with type parameters of type Event Modifier and Type Method Description <T extends Event>
voidPollingServerPush. schedule(EventListener<T> listener, T event, Scheduler<T> scheduler)<T extends Event>
voidDesktopImpl. scheduleServerPush(EventListener<T> listener, T event)Methods in org.zkoss.zk.ui.impl that return Event Modifier and Type Method Description EventDesktopImpl. beforePostEvent(Event event)EventEventInterceptors. beforePostEvent(Event event)EventDesktopImpl. beforeProcessEvent(Event event)EventEventInterceptors. beforeProcessEvent(Event event)EventDesktopImpl. beforeSendEvent(Event event)EventEventInterceptors. beforeSendEvent(Event event)EventEventProcessingThreadImpl. getEvent()EventEventProcessor. getEvent()Returns the event.EventAbstractExecution. getNextEvent()EventProxyEvent. getProxiedEvent()Returns the proxied event.Methods in org.zkoss.zk.ui.impl that return types with arguments of type Event Modifier and Type Method Description java.lang.Iterable<EventListener<? extends Event>>PageImpl. getEventListeners(java.lang.String evtnm)Methods in org.zkoss.zk.ui.impl with parameters of type Event Modifier and Type Method Description voidDesktopImpl. afterProcessEvent(Event event)voidEventInterceptors. afterProcessEvent(Event event)EventDesktopImpl. beforePostEvent(Event event)EventEventInterceptors. beforePostEvent(Event event)EventDesktopImpl. beforeProcessEvent(Event event)EventEventInterceptors. beforeProcessEvent(Event event)EventDesktopImpl. beforeSendEvent(Event event)EventEventInterceptors. beforeSendEvent(Event event)voidAbstractExecution. postEvent(int priority, Component realTarget, Event evt)voidAbstractExecution. postEvent(int priority, Event evt)voidAbstractExecution. postEvent(Event evt)booleanEventProcessingThreadImpl. processEvent(Desktop desktop, Component comp, Event event)Ask this event thread to process the specified event.voidEventProcessingThreadImpl. sendEvent(Component comp, Event event)Method parameters in org.zkoss.zk.ui.impl with type arguments of type Event Modifier and Type Method Description booleanPageImpl. addEventListener(java.lang.String evtnm, EventListener<? extends Event> listener)booleanPageImpl. removeEventListener(java.lang.String evtnm, EventListener<? extends Event> listener)Constructors in org.zkoss.zk.ui.impl with parameters of type Event Constructor Description EventProcessor(Desktop desktop, Component comp, Event event)ProxyEvent(Component realTarget, Event event)Constructor. -
Uses of Event in org.zkoss.zk.ui.select
Methods in org.zkoss.zk.ui.select with parameters of type Event Modifier and Type Method Description voidSelectors.ComposerEventListener. onEvent(Event event) -
Uses of Event in org.zkoss.zk.ui.sys
Classes in org.zkoss.zk.ui.sys with type parameters of type Event Modifier and Type Interface Description interfaceScheduler<T extends Event>A scheduler that is able to schedule a task to execute asynchronously.Methods in org.zkoss.zk.ui.sys with type parameters of type Event Modifier and Type Method Description <T extends Event>
voidServerPush. schedule(EventListener<T> task, T event, Scheduler<T> scheduler)Called by the associated desktop to schedule a task to execute asynchronously.<T extends Event>
voidDesktopCtrl. scheduleServerPush(EventListener<T> task, T event)Schedules a task to run under the server push of the given desktop asynchronously.Methods in org.zkoss.zk.ui.sys that return Event Modifier and Type Method Description EventDesktopCtrl. beforePostEvent(Event event)EventDesktopCtrl. beforeProcessEvent(Event event)EventDesktopCtrl. beforeSendEvent(Event event)EventEventProcessingThread. getEvent()Returns the event being processed by this thread, or null if idle.EventExecutionInfo. getEvent()Returns the event being served (never null).EventExecutionCtrl. getNextEvent()Returns the next event queued byExecution.postEvent(org.zkoss.zk.ui.event.Event), or null if no event queued.Methods in org.zkoss.zk.ui.sys that return types with arguments of type Event Modifier and Type Method Description EventListener<? extends Event>ExecutionInfo. getEventListener()Returns the listener that serves the event, or null if it is served by a method (ExecutionInfo.getEventMethod()), or a zscript (ExecutionInfo.getEventZScript()).Methods in org.zkoss.zk.ui.sys with parameters of type Event Modifier and Type Method Description voidDesktopCtrl. afterProcessEvent(Event event)EventDesktopCtrl. beforePostEvent(Event event)EventDesktopCtrl. beforeProcessEvent(Event event)EventDesktopCtrl. beforeSendEvent(Event event)voidEventProcessingThread. sendEvent(Component comp, Event event)Sends the specified component and event and processes the event synchronously.voidComponentCtrl. service(Event event, Scope scope)Handles an event.voidEventListenerMap. service(Event event, Scope scope, Component comp, java.lang.String cmd)Services the event under the given page and scope.voidStubComponent. service(Event event, Scope scope)voidStubsComponent. service(Event event, Scope scope) -
Uses of Event in org.zkoss.zk.ui.util
-