Examples of EventHandler


Examples of cli.System.EventHandler

        }
    }

    private static void registerShutdownHook()
    {
        AppDomain.get_CurrentDomain().add_ProcessExit(new EventHandler(new EventHandler.Method() {
            public void Invoke(Object sender, EventArgs e) {
                shutdown();
            }
        }));
    }
View Full Code Here

Examples of com.deadpan_gamez.event.EventHandler

  private EventHandler eventHandler;
  private CacheImpl cacheImpl;
 
  public ApplicationResourcesImpl() {
   
    eventHandler = new EventHandler();
    cacheImpl = new CacheImpl();
  }
View Full Code Here

Examples of com.forgeessentials.playerlogger.rollback.EventHandler

    private static Connection connection;

    public ModulePlayerLogger()
    {
        MinecraftForge.EVENT_BUS.register(new EventHandler());
    }
View Full Code Here

Examples of com.gargoylesoftware.htmlunit.javascript.host.EventHandler

        final String scriptCode = textNode.getData();
        if (ie && event != ATTRIBUTE_NOT_DEFINED && forr != ATTRIBUTE_NOT_DEFINED) {
            if ("window".equals(forr)) {
                // everything fine, accepted by IE and FF
                final Window window = (Window) getPage().getEnclosingWindow().getScriptObject();
                final BaseFunction function = new EventHandler(this, event, scriptCode);
                window.jsxFunction_attachEvent(event, function);
            }
            else {
                try {
                    final HtmlElement elt = ((HtmlPage) getPage()).getHtmlElementById(forr);
View Full Code Here

Examples of com.google.web.bindery.event.shared.binder.EventHandler

  void writeDoBindEventHandlers(JClassType target, SourceWriter writer, TypeOracle typeOracle)
      throws UnableToCompleteException {
    writeBindMethodHeader(writer, target.getQualifiedSourceName());
    for (JMethod method : target.getInheritableMethods()) {
      EventHandler annotation = method.getAnnotation(EventHandler.class);
      if (annotation != null) {
        writeHandlerForBindMethod(annotation, writer, method, typeOracle);
      }
    }
    writeBindMethodFooter(writer);
View Full Code Here

Examples of com.gwtmobile.phonegap.client.plugins.ChildBrowser.EventHandler

    @UiHandler("list")
  void onListSelectionChanged(SelectionChangedEvent e) {
      switch (e.getSelection()) {
      case 0:
        if (ChildBrowser.getEventHandler() == null) {
          ChildBrowser.setEventHandler(new EventHandler() {
          @Override
          public void onOpenExternal() {
            Window.alert("Child Browser onOpenExternal event fired.");
          }
          @Override
View Full Code Here

Examples of com.hazelcast.client.spi.EventHandler

    }

    private void addInvalidateListener() {
        try {
            ClientRequest request;
            EventHandler handler;
            if (cacheType == ClientNearCacheType.Map) {
                request = new MapAddEntryListenerRequest(mapName, false);
                handler = new EventHandler<PortableEntryEvent>() {
                    public void handle(PortableEntryEvent event) {
                        cache.remove(event.getKey());
View Full Code Here

Examples of com.hazelcast.client.spi.EventHandler

        public void run() {
            handleEvent(response, callId, conn);
        }

        private void handleEvent(Data event, int callId, ClientConnection conn) {
            final EventHandler eventHandler = conn.getEventHandler(callId);
            final Object eventObject = getSerializationService().toObject(event);
            if (eventHandler == null) {
                logger.warning("No eventHandler for callId: " + callId + ", event: " + eventObject + ", conn: " + conn);
                return;
            }
            eventHandler.handle(eventObject);
        }
View Full Code Here

Examples of com.jitcaforwin.basic.impl.internal.events.handler.EventHandler

    this.iTunesCOM = iTunesCOM;
    this.iTunes = iTunes;
  }

  public void addListener(IJitcaEventListener listener) {
    EventHandler handler = EventHandler.getHandler(this.iTunes, listener);
    DispatchEvents dispatchEvents = new DispatchEvents(this.iTunesCOM, handler);
    this.dispatchEvents.put(listener, dispatchEvents);
    this.eventHandler.put(listener, handler);
  }
View Full Code Here

Examples of com.jitcaforwin.basic.internal.events.handler.EventHandler

    this.iTunesCOM = iTunesCOM;
    this.iTunes = iTunes;
  }

  public void addListener(IJitcaEventListener listener) {
    EventHandler handler = EventHandler.getHandler(this.iTunes, listener);
    DispatchEvents dispatchEvents = new DispatchEvents(this.iTunesCOM, handler);
    this.dispatchEvents.put(listener, dispatchEvents);
    this.eventHandler.put(listener, handler);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.