Uses of Class
org.zkoss.zk.ui.event.Event
Packages that use Event
Package
Description
-
Uses of Event in org.zkoss.zk.ui
Methods in org.zkoss.zk.ui with type parameters of type EventModifier and TypeMethodDescriptionstatic <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 EventModifier and TypeMethodDescriptionIterable<EventListener<? extends Event>>AbstractComponent.getEventListeners(String evtnm) Iterable<EventListener<? extends Event>>Component.getEventListeners(String evtnm) Returns an iterable collection of the event listeners for the given event.Iterable<EventListener<? extends Event>>Page.getEventListeners(String evtnm) Returns an iterable collection of the event listeners for the given event.Methods in org.zkoss.zk.ui with parameters of type EventModifier and TypeMethodDescriptionvoidQueues the give event for the specified target to this execution.voidQueues an event with the specified priority to this execution.voidQueues an event to this execution.voidMethod parameters in org.zkoss.zk.ui with type arguments of type EventModifier and TypeMethodDescriptionbooleanAbstractComponent.addEventListener(int priority, String evtnm, EventListener<? extends Event> listener) booleanAbstractComponent.addEventListener(String evtnm, EventListener<? extends Event> listener) booleanComponent.addEventListener(int priority, String evtnm, EventListener<? extends Event> listener) Adds an event listener to specified event name for this component with the given priority.booleanComponent.addEventListener(String evtnm, EventListener<? extends Event> listener) Adds an event listener to specified event name for this component.booleanPage.addEventListener(String evtnm, EventListener<? extends Event> listener) Adds an event listener to specified event for all components in this page.booleanAbstractComponent.removeEventListener(String evtnm, EventListener<? extends Event> listener) booleanComponent.removeEventListener(String evtnm, EventListener<? extends Event> listener) Removes an event listener.booleanPage.removeEventListener(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 EventModifier and TypeInterfaceDescriptioninterfaceCloneableEventListener<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.eventModifier and TypeClassDescriptionclassRepresents an event that resize a component and provides the new size of the component.classThe bookmark update event used withonBookmarkChangeto notify that user pressed BACK, FORWARD or others that causes the bookmark changed (but still in the same desktop).classRepresents an event cause by user's check a state at the client.classThe onClientInfo event is used to notify the client's information, such as time zone and screen resolutions.classUsed to notify a window that all its children are created and initialized.classRepresents an event caused by DOMException at client.classRepresents an event cause by user's dragging and dropping a component.classRepresents an event cause by user's entering a wrong data or clearing the last wrong data.classRepresents the event forwarded by the forward condition.classRepresents the fulfill condition has been applied.classThe 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).classRepresents an event cause by user's input something at the client.classRepresents a key pressed by the user.classRepresents an event caused by a component being maximized.classRepresents an event caused by a component being minimized.classRepresents an event cause by mouse activity.classRepresents an event caused by a component being moved.classRepresents an event cause by user's opening or closing something at the client.classA script error event used withonScriptErrorWhen using Clients.evalJavascript and any javascript error event happened, user can handle the error in the server side.classRepresents 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.classRepresents an event cause by user's the active selection which is a highlighted block of text.classRepresents an event caused by a component being re-sized.classRepresents an event cause by user's slidedown or slideup something at the client.classRepresents an event that indicates a sorting request to data.classRepresents an event that state of component was changed.classThe event sent from a stub component (StubComponent.classRepresents an event that indicates swipe on a component and provides information about the swipe displacement, duration and direction.classRepresents that user has uploaded one or several files from the client to the server.classThe URI update event used withonURIChangeto notify that the associated URI is changed by the user.classThe VisibilityChangeEvent is used to notify current page/tab's visibility state.classRepresents 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 EventModifier and TypeMethodDescriptionstatic <T extends Event>
EventQueue<T>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>Returns the desktop-level event queue with the specified name in the current desktop.static <T extends Event>
EventQueue<T>Returns the event queue with the specified name in the specified scope.static <T extends Event>
EventQueue<T>Returns the event queue with the specified name in the give session (i.e., the session scope).static <T extends Event>
EventQueue<T>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 EventModifier and TypeMethodDescriptionstatic EventCreates an instance ofEventbased on the specified request.ForwardEvent.getOrigin()Returns the original event.FulfillEvent.getOrigin()Returns the original event.static final EventEvents.getRealOrigin(ForwardEvent event) Returns the real origin event of a forwarded event.Methods in org.zkoss.zk.ui.event with parameters of type EventModifier and TypeMethodDescriptionvoidEventThreadResume.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, Object obj) Called before the event processing thread is suspended.voidCleans up the event processing thread.voidCalled in the serlvet thread to clean up.static final voidEchos an event.booleanInitialize the event processing thread before processing the event.voidstatic final voidQueues the give event for the specified target to this execution.static final voidPosts an event to the current execution with the specified priority.static final voidQueues the give event for the specified target to this execution.static final voidPosts an event to the current execution.voidPrepares the initialization at the servlet thread.static voidSends the event to the specified component and process it immediately.static voidSends the event to the target specified in the event, and processes it immediately.Constructors in org.zkoss.zk.ui.event with parameters of type EventModifierConstructorDescriptionForwardEvent(String name, Component target, Event origin) Constructs a forward event.ForwardEvent(String name, Component target, Event origin, Object data) Constructs a forward event.FulfillEvent(String name, Component target, Event origin) Constructs a fulfill event.FulfillEvent(String name, Component target, Event origin, 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 EventModifier and TypeClassDescriptionclassDesktopEventQueue<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 EventModifier and TypeMethodDescription<T extends Event>
EventQueue<T>Returns the event queue with the specified name in the specified scope.<T extends Event>
EventQueue<T>Returns the event queue with the specified name in the give session (i.e., the scope).<T extends Event>
EventQueue<T>Returns the event queue with the specified name in the give application (i.e., the scope).<T extends Event>
EventQueue<T><T extends Event>
EventQueue<T><T extends Event>
EventQueue<T> -
Uses of Event in org.zkoss.zk.ui.impl
Subclasses of Event in org.zkoss.zk.ui.implMethods in org.zkoss.zk.ui.impl with type parameters of type EventModifier and TypeMethodDescription<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 EventModifier and TypeMethodDescriptionDesktopImpl.beforePostEvent(Event event) EventInterceptors.beforePostEvent(Event event) DesktopImpl.beforeProcessEvent(Event event) EventInterceptors.beforeProcessEvent(Event event) DesktopImpl.beforeSendEvent(Event event) EventInterceptors.beforeSendEvent(Event event) final EventEventProcessingThreadImpl.getEvent()final EventEventProcessor.getEvent()Returns the event.AbstractExecution.getNextEvent()ProxyEvent.getProxiedEvent()Returns the proxied event.Methods in org.zkoss.zk.ui.impl that return types with arguments of type EventModifier and TypeMethodDescriptionIterable<EventListener<? extends Event>>PageImpl.getEventListeners(String evtnm) Methods in org.zkoss.zk.ui.impl with parameters of type EventModifier and TypeMethodDescriptionvoidDesktopImpl.afterProcessEvent(Event event) voidEventInterceptors.afterProcessEvent(Event event) DesktopImpl.beforePostEvent(Event event) EventInterceptors.beforePostEvent(Event event) DesktopImpl.beforeProcessEvent(Event event) EventInterceptors.beforeProcessEvent(Event event) DesktopImpl.beforeSendEvent(Event event) EventInterceptors.beforeSendEvent(Event event) voidvoidvoidbooleanEventProcessingThreadImpl.processEvent(Desktop desktop, Component comp, Event event) Ask this event thread to process the specified event.voidMethod parameters in org.zkoss.zk.ui.impl with type arguments of type EventModifier and TypeMethodDescriptionbooleanPageImpl.addEventListener(String evtnm, EventListener<? extends Event> listener) booleanPageImpl.removeEventListener(String evtnm, EventListener<? extends Event> listener) Constructors in org.zkoss.zk.ui.impl with parameters of type EventModifierConstructorDescriptionEventProcessor(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 -
Uses of Event in org.zkoss.zk.ui.sys
Classes in org.zkoss.zk.ui.sys with type parameters of type EventModifier and TypeInterfaceDescriptioninterfaceA scheduler that is able to schedule a task to execute asynchronously.Methods in org.zkoss.zk.ui.sys with type parameters of type EventModifier and TypeMethodDescription<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 EventModifier and TypeMethodDescriptionDesktopCtrl.beforePostEvent(Event event) DesktopCtrl.beforeProcessEvent(Event event) DesktopCtrl.beforeSendEvent(Event event) EventProcessingThread.getEvent()Returns the event being processed by this thread, or null if idle.ExecutionInfo.getEvent()Returns the event being served (never null).ExecutionCtrl.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 EventModifier and TypeMethodDescriptionEventListener<? 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 EventModifier and TypeMethodDescriptionvoidDesktopCtrl.afterProcessEvent(Event event) DesktopCtrl.beforePostEvent(Event event) DesktopCtrl.beforeProcessEvent(Event event) DesktopCtrl.beforeSendEvent(Event event) voidSends the specified component and event and processes the event synchronously.voidHandles an event.voidServices the event under the given page and scope.voidvoid -
Uses of Event in org.zkoss.zk.ui.util
Methods in org.zkoss.zk.ui.util that return EventModifier and TypeMethodDescriptionConfiguration.beforePostEvent(Event event) InvokesEventInterceptor.beforePostEvent(org.zkoss.zk.ui.event.Event)registered byConfiguration.addListener(java.lang.Class<?>)with a class implementingEventInterceptor.default EventEventInterceptor.beforePostEvent(Event event) Called before posting an event (withEvents.postEvent(org.zkoss.zk.ui.event.Event)).Configuration.beforeProcessEvent(Event event) InvokesEventInterceptor.beforeProcessEvent(org.zkoss.zk.ui.event.Event)registered byConfiguration.addListener(java.lang.Class<?>)with a class implementingEventInterceptor.default EventEventInterceptor.beforeProcessEvent(Event event) Called before processing an event.Configuration.beforeSendEvent(Event event) InvokesEventInterceptor.beforeSendEvent(org.zkoss.zk.ui.event.Event)registered byConfiguration.addListener(java.lang.Class<?>)with a class implementingEventInterceptor.default EventEventInterceptor.beforeSendEvent(Event event) Called before sending an event (withEvents.sendEvent(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event)).Methods in org.zkoss.zk.ui.util with parameters of type EventModifier and TypeMethodDescriptionvoidConfiguration.afterProcessEvent(Event event) InvokesEventInterceptor.afterProcessEvent(org.zkoss.zk.ui.event.Event)registered byConfiguration.addListener(java.lang.Class<?>)with a class implementingEventInterceptor.default voidEventInterceptor.afterProcessEvent(Event event) Called after processing an event.Configuration.beforePostEvent(Event event) InvokesEventInterceptor.beforePostEvent(org.zkoss.zk.ui.event.Event)registered byConfiguration.addListener(java.lang.Class<?>)with a class implementingEventInterceptor.default EventEventInterceptor.beforePostEvent(Event event) Called before posting an event (withEvents.postEvent(org.zkoss.zk.ui.event.Event)).Configuration.beforeProcessEvent(Event event) InvokesEventInterceptor.beforeProcessEvent(org.zkoss.zk.ui.event.Event)registered byConfiguration.addListener(java.lang.Class<?>)with a class implementingEventInterceptor.default EventEventInterceptor.beforeProcessEvent(Event event) Called before processing an event.Configuration.beforeSendEvent(Event event) InvokesEventInterceptor.beforeSendEvent(org.zkoss.zk.ui.event.Event)registered byConfiguration.addListener(java.lang.Class<?>)with a class implementingEventInterceptor.default EventEventInterceptor.beforeSendEvent(Event event) Called before sending an event (withEvents.sendEvent(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event)).voidExecutionMonitor.eventComplete(Event event) Called when the processing of the given event completes.voidExecutionMonitor.eventResume(Event event) Called when the processing of the given event resumes.voidExecutionMonitor.eventStart(Event event) Called when the processing of the given event starts.voidExecutionMonitor.eventSuspend(Event event) Called when the processing of the given event suspends.voidConfiguration.invokeEventThreadCompletes(List<EventThreadCleanup> cleanups, Component comp, Event evt, List<Throwable> errs, boolean silent) booleanConfiguration.invokeEventThreadInits(List<EventThreadInit> inits, Component comp, Event evt) voidConfiguration.invokeEventThreadResumeAborts(Component comp, Event evt) InvokesEventThreadResume.abortResume(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).voidConfiguration.invokeEventThreadResumes(List<EventThreadResume> resumes, Component comp, Event evt) voidConfiguration.invokeEventThreadSuspends(List<EventThreadSuspend> suspends, Component comp, Event evt) InvokesEventThreadSuspend.afterSuspend(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).Configuration.newEventThreadCleanups(Component comp, Event evt, List<Throwable> errs, boolean silent) InvokesEventThreadCleanup.cleanup(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event, java.util.List<java.lang.Throwable>)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).Configuration.newEventThreadInits(Component comp, Event evt) Constructs a list ofEventThreadInitinstances and invokesEventThreadInit.prepare(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).Configuration.newEventThreadResumes(Component comp, Event evt) Constructs a list ofEventThreadResumeinstances and invokesEventThreadResume.beforeResume(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).Configuration.newEventThreadSuspends(Component comp, Event evt, Object obj) Constructs a list ofEventThreadSuspendinstances and invokesEventThreadSuspend.beforeSuspend(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event, java.lang.Object)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).