Uses of Interface
org.zkoss.zk.ui.event.EventListener
-
-
Uses of EventListener in org.zkoss.stateless.ui.util
Methods in org.zkoss.stateless.ui.util that return types with arguments of type EventListener Modifier and Type Method Description java.lang.Iterable<EventListener<? extends Event>>VolatileComponent. getEventListeners(java.lang.String s)java.util.Iterator<EventListener<? extends Event>>VolatileComponent. getListenerIterator(java.lang.String s)Methods in org.zkoss.stateless.ui.util with parameters of type EventListener Modifier and Type Method Description booleanVolatileComponent. addEventListener(int i, java.lang.String s, EventListener<? extends Event> eventListener)booleanVolatileComponent. addEventListener(java.lang.String s, EventListener<? extends Event> eventListener)booleanVolatileComponent. removeEventListener(java.lang.String s, EventListener<? extends Event> eventListener) -
Uses of EventListener in org.zkoss.zk.ui
Methods in org.zkoss.zk.ui that return types with arguments of type EventListener 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 EventListener 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.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 EventListener in org.zkoss.zk.ui.event
Subinterfaces of EventListener in org.zkoss.zk.ui.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>).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>).Classes in org.zkoss.zk.ui.event that implement EventListener Modifier and Type Class Description 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.Methods in org.zkoss.zk.ui.event with parameters of type EventListener Modifier and Type Method Description booleanEventQueue. isSubscribed(EventListener<T> listener)Returns if an event listener is subscribed.voidEventQueue. subscribe(EventListener<T> listener)Subscribes a listener to this queue.voidEventQueue. subscribe(EventListener<T> listener, boolean async)Subscribes a synchronous or asynchronous listener to this event queue.voidEventQueue. subscribe(EventListener<T> listener, EventListener<T> callback)Subscribes a synchronous or asynchronous listener to this event queue.booleanEventQueue. unsubscribe(EventListener<T> listener)Unsubscribes a listener from the queue. -
Uses of EventListener in org.zkoss.zk.ui.event.impl
Methods in org.zkoss.zk.ui.event.impl with parameters of type EventListener Modifier and Type Method Description booleanDesktopEventQueue. isSubscribed(EventListener<T> listener)booleanServerPushEventQueue. isSubscribed(EventListener<T> listener)voidDesktopEventQueue. subscribe(EventListener<T> listener)voidDesktopEventQueue. subscribe(EventListener<T> listener, boolean async)voidDesktopEventQueue. subscribe(EventListener<T> listener, EventListener<T> callback)voidServerPushEventQueue. subscribe(EventListener<T> listener)voidServerPushEventQueue. subscribe(EventListener<T> listener, boolean async)voidServerPushEventQueue. subscribe(EventListener<T> listener, EventListener<T> callback)booleanDesktopEventQueue. unsubscribe(EventListener<T> listener)booleanServerPushEventQueue. unsubscribe(EventListener<T> listener) -
Uses of EventListener in org.zkoss.zk.ui.impl
Methods in org.zkoss.zk.ui.impl that return types with arguments of type EventListener 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 EventListener 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)<T extends Event>
voidPollingServerPush. schedule(EventListener<T> listener, T event, Scheduler<T> scheduler)<T extends Event>
voidDesktopImpl. scheduleServerPush(EventListener<T> listener, T event) -
Uses of EventListener in org.zkoss.zk.ui.script
Classes in org.zkoss.zk.ui.script that implement EventListener Modifier and Type Class Description classDefaultScriptErrorListenerA Default Event Listener for handling client javascript error -
Uses of EventListener in org.zkoss.zk.ui.select
Classes in org.zkoss.zk.ui.select that implement EventListener Modifier and Type Class Description static classSelectors.ComposerEventListener -
Uses of EventListener in org.zkoss.zk.ui.sys
Methods in org.zkoss.zk.ui.sys that return EventListener 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 EventListener Modifier and Type Method Description voidScheduler. schedule(EventListener<T> task, T event)Schedules the task to execute asynchronously.<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. -
Uses of EventListener in org.zkoss.zk.ui.util
Classes in org.zkoss.zk.ui.util that implement EventListener Modifier and Type Class Description classGenericAutowireComposer<T extends Component>A skeletal composer that you can extend and write intuitive onXxx event handler methods with "auto-wired" accessible variable objects such as implicit objects, components, and external resolvable variables in a ZK zuml page.classGenericComposer<T extends Component>A skeletal composer that you can extend and write intuitive onXxx event handler methods; this class will registers onXxx events to the supervised component automatically.classGenericForwardComposer<T extends Component>A skeletal composer that you can extend and write intuitive onXxx$myid event handler methods with auto event forwarding and "auto-wired" accessible variable objects such as embedded objects, components, and external resolvable variables in a ZK zuml page; this class will add forward condition to the myid source component and forward source onXxx event received by the source myid component to the target onXxx$myid event (as defined in this composer) of the supervised target component; of course it will also registers onXxx$myid events to the supervised component and wire all accessible variable objects to this composer by calling setXxx() method or set xxx field value directly per the variable name. -
Uses of EventListener in org.zkoss.zkex.ui.comet
Methods in org.zkoss.zkex.ui.comet with parameters of type EventListener Modifier and Type Method Description <T extends Event>
voidCometServerPush. schedule(EventListener<T> listener, T event, Scheduler<T> scheduler) -
Uses of EventListener in org.zkoss.zkmax.au.websocket
Methods in org.zkoss.zkmax.au.websocket with parameters of type EventListener Modifier and Type Method Description <T extends Event>
voidWebSocketServerPush. schedule(EventListener<T> listener, T event, Scheduler<T> scheduler) -
Uses of EventListener in org.zkoss.zkmax.ui.event.impl
Methods in org.zkoss.zkmax.ui.event.impl with parameters of type EventListener Modifier and Type Method Description booleanGroupEventQueue. isSubscribed(EventListener<T> listener)voidGroupEventQueue. subscribe(EventListener<T> listener)voidGroupEventQueue. subscribe(EventListener<T> listener, boolean async)voidGroupEventQueue. subscribe(EventListener<T> listener, EventListener<T> callback)booleanGroupEventQueue. unsubscribe(EventListener<T> listener) -
Uses of EventListener in org.zkoss.zul
Methods in org.zkoss.zul with parameters of type EventListener Modifier and Type Method Description booleanChart. addEventListener(java.lang.String evtnm, EventListener<? extends Event> listener)static Media[]Fileupload. get(int max, EventListener<UploadEvent> listener)Opens a modal dialog to upload multiple files with the default message and title.static Media[]Fileupload. get(java.util.Map<java.lang.String,java.lang.Object> params, java.lang.String message, java.lang.String title, int max, int maxsize, boolean alwaysNative, EventListener<UploadEvent> listener)Opens a modal dialog to upload multiple files with the specified message, title and options.static Media[]Fileupload. get(java.util.Map<java.lang.String,java.lang.Object> params, java.lang.String message, java.lang.String title, java.lang.String accept, int max, int maxsize, boolean alwaysNative, EventListener<UploadEvent> listener)Opens a modal dialog to upload multiple files with the specified message, title and options.static Media[]Fileupload. get(EventListener<UploadEvent> listener)Opens a modal dialog to upload multiple files with the default message and title.static intMessagebox. show(int messageCode, int titleCode, int buttons, java.lang.String icon, int focus, EventListener<Event> listener)Shows a message box by specifying a message code, and returns what button is pressed.static intMessagebox. show(int messageCode, java.lang.Object[] args, int titleCode, int buttons, java.lang.String icon, int focus, EventListener<Event> listener)Shows a message box by specifying a message code, and returns what button is pressed.static intMessagebox. show(int messageCode, java.lang.Object arg, int titleCode, int buttons, java.lang.String icon, int focus, EventListener<Event> listener)Shows a message box by specifying a message code, and returns what button is pressed.static intMessagebox. show(java.lang.String message, java.lang.String title, int buttons, java.lang.String icon, int focus, EventListener<Event> listener)Shows a message box and returns what button is pressed.static intMessagebox. show(java.lang.String message, java.lang.String title, int buttons, java.lang.String icon, EventListener<Event> listener)Shows a message box and returns what button is pressed.static Messagebox.ButtonMessagebox. show(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String[] btnLabels, java.lang.String icon, Messagebox.Button focus, EventListener<Messagebox.ClickEvent> listener)Shows a message box and returns what button is pressed.static Messagebox.ButtonMessagebox. show(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String[] btnLabels, java.lang.String icon, Messagebox.Button focus, EventListener<Messagebox.ClickEvent> listener, java.util.Map<java.lang.String,java.lang.String> params)Shows a message box and returns what button is pressed.static Messagebox.ButtonMessagebox. show(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String icon, EventListener<Messagebox.ClickEvent> listener)Shows a message box and returns what button is pressed.static Messagebox.ButtonMessagebox. show(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String icon, Messagebox.Button focus, EventListener<Messagebox.ClickEvent> listener)Shows a message box and returns what button is pressed.static Messagebox.ButtonMessagebox. show(java.lang.String message, Messagebox.Button[] buttons, EventListener<Messagebox.ClickEvent> listener)Shows a message box and returns what button is pressed. -
Uses of EventListener in org.zkoss.zul.event
Subinterfaces of EventListener in org.zkoss.zul.event Modifier and Type Interface Description interfacePagingListenerProvide a shortcut for PagingEventListener -
Uses of EventListener in org.zkoss.zul.ext
Methods in org.zkoss.zul.ext with parameters of type EventListener Modifier and Type Method Description booleanPaginal. addEventListener(java.lang.String evtnm, EventListener<? extends Event> listener)Adds an event listener to specified event for this component.booleanPaginal. removeEventListener(java.lang.String evtnm, EventListener<? extends Event> listener)Removes an event listener. -
Uses of EventListener in org.zkoss.zul.impl
Methods in org.zkoss.zul.impl with parameters of type EventListener Modifier and Type Method Description voidMessageboxDlg. setEventListener(EventListener<Messagebox.ClickEvent> listener)Sets the event listener.voidFileuploadDlg. setUploadListener(EventListener<UploadEvent> listener)Set the upload call back event listener -
Uses of EventListener in org.zkoss.zuti.zul
Methods in org.zkoss.zuti.zul with parameters of type EventListener Modifier and Type Method Description voidNavigationModel. addEventListener(EventListener<NavigationEvent<T>> listener)Adds a listener to the list that's notified each time a change to the model occurs.voidNavigationModel. removeEventListener(EventListener<NavigationEvent<T>> listener)Removes a listener from the list that's notified each time a change to the model occurs.
-