Package org.gwtopenmaps.openlayers.client.event

Examples of org.gwtopenmaps.openlayers.client.event.EventHandler


  public void setImageUrl(String imageUrl) {
    MarkerImpl.setImageUrl(getJSObject(), imageUrl);
  }

  public void addBrowserEventListener(String browserEvent, final MarkerBrowserEventListener listener) {
    eventListeners.addListener(this, listener, browserEvent, new EventHandler() {
      public void onHandle(EventObject eventObject) {
        MarkerBrowserEvent e = new MarkerBrowserEvent(eventObject);
        listener.onBrowserEvent(e);
      }
    });
View Full Code Here


        this(WMSGetFeatureInfoImpl.create(o.getJSObject()));
    }

    public void addBeforeGetFeatureListener(final BeforeGetFeatureInfoListener listener)
    {
        eventListeners.addListener(this, listener, EventType.CONTROL_GET_FEATURE_INFO_BEFORE, new EventHandler()
            {
                @Override
                public void onHandle(EventObject eventObject)
                {
                    BeforeGetFeatureInfoEvent e = new BeforeGetFeatureInfoEvent(eventObject);
View Full Code Here

            });
    }

    public void addGetFeatureListener(final GetFeatureInfoListener listener)
    {
        eventListeners.addListener(this, listener, EventType.CONTROL_GET_FEATURE_INFO, new EventHandler()
            {
                @Override
                public void onHandle(EventObject eventObject)
                {
                    GetFeatureInfoEvent e = new GetFeatureInfoEvent(eventObject);
View Full Code Here

            });
    }

    public void addNoGetFeatureListener(final NoGetFeatureInfoListener listener)
    {
        eventListeners.addListener(this, listener, EventType.CONTROL_NO_GET_FEATURE_INFO, new EventHandler()
            {

                @Override
                public void onHandle(EventObject eventObject)
                {
View Full Code Here

    }

    public void addControlActivateListener(
            final ControlActivateListener listener) {
        eventListeners.addListener(this, listener, EventType.CONTROL_ACTIVATE,
                new EventHandler() {

                    public void onHandle(EventObject eventObject) {
                        ControlActivateEvent e = new ControlActivateEvent(
                                eventObject);
                        listener.onActivate(e);
View Full Code Here

    }

    public void addControlDeactivateListener(
            final ControlDeactivateListener listener) {
        eventListeners.addListener(this, listener, EventType.CONTROL_DEACTIVATE,
                new EventHandler() {

                    public void onHandle(EventObject eventObject) {
                        ControlDeactivateEvent e = new ControlDeactivateEvent(
                                eventObject);
                        listener.onDeactivate(e);
View Full Code Here

    public void addVectorFeatureModifiedListener(
            final VectorFeatureModifiedListener listener) {
        eventListeners.addListener(this, listener,
                EventType.VECTOR_FEATURE_MODIFIED,
                new EventHandler() {

                    @Override
                    public void onHandle(EventObject eventObject) {
                        FeatureModifiedEvent e = new FeatureModifiedEvent(
                                eventObject);
View Full Code Here

    public void addVectorFeatureAddedListener(
            final VectorFeatureAddedListener listener) {
        eventListeners.addListener(this, listener,
                EventType.VECTOR_FEATURE_ADDED,
                new EventHandler() {

                    @Override
                    public void onHandle(EventObject eventObject) {
                        FeatureAddedEvent e = new FeatureAddedEvent(eventObject);
                        listener.onFeatureAdded(e);
View Full Code Here

    public void addVectorFeatureRemovedListener(
            final VectorFeatureRemovedListener listener) {
        eventListeners.addListener(this, listener,
                EventType.VECTOR_FEATURE_REMOVED,
                new EventHandler() {

                    @Override
                    public void onHandle(EventObject eventObject) {
                        FeatureRemovedEvent e = new FeatureRemovedEvent(
                                eventObject);
View Full Code Here

    public void addVectorFeatureSelectedListener(
            final VectorFeatureSelectedListener listener) {
        eventListeners.addListener(this, listener,
                EventType.VECTOR_FEATURE_SELECTED,
                new EventHandler() {

                    @Override
                    public void onHandle(EventObject eventObject) {
                        FeatureSelectedEvent e = new FeatureSelectedEvent(
                                eventObject);
View Full Code Here

TOP

Related Classes of org.gwtopenmaps.openlayers.client.event.EventHandler

Copyright © 2018 www.massapicom. 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.