Examples of addListener()


Examples of org.wicketstuff.gmap.api.GCircle.addListener()

                feedback.success("Radius (in meters): " + radius);
                feedback.success("Coordinates: " + center);
                target.add(feedback);
            }
        };
        circle.addListener(GEvent.radius_changed, eventHandler);
        circle.addListener(GEvent.center_changed, eventHandler);
        map.addOverlay(circle);
        map.setZoom(9);
        add(map);
    }
View Full Code Here

Examples of org.wicketstuff.gmap.api.GInfoWindow.addListener()

                    {
                        feedback.info("InfoWindow which was opened via a button was closed");
                        target.add(feedback);
                    }
                };
                tmpInfoWindow.addListener(GEvent.closeclick, closeClickHandler);
                feedback.info("InfoWindow was opened via button");
                target.add(feedback);
            }
        });
        add(lbInfoWindow);
View Full Code Here

Examples of org.wicketstuff.gmap.api.GMarker.addListener()

        GMarkerOptions options = new GMarkerOptions(topMap, topMap.getCenter()).draggable(true);
        final GMarker marker = new GMarker(options);
        final Label label = new Label("label", new PropertyModel<GLatLng>(marker, "latLng"));
        label.setOutputMarkupId(true);
        add(label);
        marker.addListener(GEvent.dragend, new GEventHandler()
        {
            private static final long serialVersionUID = 1L;

            @Override
            public void onEvent(AjaxRequestTarget target)
View Full Code Here

Examples of org.wicketstuff.gmap.api.GRectangle.addListener()

      }
    };
    // we want to get notified when the user changes the bounds of the rectangle
    // or after he stopped draging the rectangle around or clicking with the mouse
    // on it
    rectangle.addListener(GEvent.dragend, eventHandler);
    rectangle.addListener(GEvent.bounds_changed, eventHandler);
    rectangle.addListener(GEvent.mousedown, eventHandler);
    rectangle.addListener(GEvent.mouseup, eventHandler);

    map.addOverlay(rectangle);
View Full Code Here

Examples of org.wicketstuff.push.examples.chatservice.ChatRoom.addListener()

        });

    /*
     * connect to chat room
     */
    chatRoom.addListener(new IChatListener()
    {
      @Override
      public void onMessage(final Message msg)
      {
        if (pushService.isConnected(pushChannel))
View Full Code Here

Examples of org.wikipediacleaner.api.check.CheckWiki.addListener()

   */
  @Override
  protected void afterFinishedReloadWorker() {
    super.afterFinishedReloadWorker();
    CheckWiki checkWiki = APIFactory.getCheckWiki();
    checkWiki.addListener(this);
    analyzeCheckWiki();
  }

  /**
   * Analyze the Check Wiki page contents.
View Full Code Here

Examples of org.xlightweb.server.HttpServer.addListener()

     
      public void onDestroy() throws IOException {
        httpClient.close();
      }
    };
    proxy.addListener(sl);

   
     
    proxy.setWorkerpool(Executors.newFixedThreadPool(10));
    proxy.setMaxTransactions(50);
View Full Code Here

Examples of org.xtext.tortoiseshell.lib.Tortoise.addListener()

          }
          if (_and) {
            boolean _xblockexpression = false;
            {
              final Tortoise tortoise = new Tortoise();
              tortoise.addListener(TortoiseView.this);
              IResourceServiceProvider _resourceServiceProvider = it.getResourceServiceProvider();
              final ITortoiseInterpreter interpreter = _resourceServiceProvider.<ITortoiseInterpreter>get(ITortoiseInterpreter.class);
              boolean _and_1 = false;
              boolean _notEquals_1 = (!Objects.equal(interpreter, null));
              if (!_notEquals_1) {
View Full Code Here

Examples of org.xvr.xvrengine.process.ProcessExitHandler.addListener()

    if(this.stream)
      this.c_streamer.setStream(p.getStreamsProxy().getOutputStreamMonitor());


    ProcessExitHandler ph = new ProcessExitHandler(process);
    ph.addListener(new IProcessExitListener() {

      @Override
      public void processFinished() {
        if(stream)
          c_streamer.removeStreamMonitor();
View Full Code Here

Examples of org.zkoss.zk.ui.Desktop.addListener()

    final Desktop desktop = exec.getDesktop();
    synchronized (_dts) {
      boolean startRequired = false;
      DesktopThread dtthd = (DesktopThread)_dts.get(desktop);
      if (dtthd == null) {
        desktop.addListener(new EQCleanup());
          //OK to call addListener since it is the current desktop
        _dts.put(desktop, dtthd = new DesktopThread(desktop));
        startRequired = true;
      }
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.