Package org.gwtopenmaps.openlayers.client.event

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


    public void addVectorFeatureUnselectedListener(
            final VectorFeatureUnselectedListener listener) {
        eventListeners.addListener(this, listener,
                EventType.VECTOR_FEATURE_UNSELECTED,
                new EventHandler() {

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


    public void addVectorBeforeFeatureAddedListener(
            final VectorBeforeFeatureAddedListener listener) {
        eventListeners.addListener(this, listener,
                EventType.VECTOR_BEFORE_FEATURE_ADDED,
                new EventHandler() {

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

     */
    public void addVectorAfterFeatureModifiedListener(
            final VectorAfterFeatureModifiedListener listener) {
        eventListeners.addListener(this, listener,
                EventType.VECTOR_AFTER_FEATURE_MODIFIED,
                new EventHandler() {

                    @Override
                    public void onHandle(EventObject eventObject) {
                        // TODO Auto-generated method stub
                        AfterFeatureModifiedEvent e = new AfterFeatureModifiedEvent(
View Full Code Here

     */
    public void addVectorBeforeFeatureModifiedListener(
            final VectorBeforeFeatureModifiedListener listener) {
        eventListeners.addListener(this, listener,
                EventType.VECTOR_BEFORE_FEATURE_MODIFIED,
                new EventHandler() {

                    @Override
                    public void onHandle(EventObject eventObject) {
                        // TODO Auto-generated method stub
                        BeforeFeatureModifiedEvent e = new BeforeFeatureModifiedEvent(
View Full Code Here

     */
    public void addVectorVertexModifiedListener(
            final VectorVertexModifiedListener listener) {
        eventListeners.addListener(this, listener,
                EventType.VECTOR_FEATURE_VERTEX_MODIFIED,
                new EventHandler() {

                    @Override
                    public void onHandle(EventObject eventObject) {
                        // TODO Auto-generated method stub
                        VertexModifiedEvent e = new VertexModifiedEvent(
View Full Code Here

        return Bounds.narrowToBounds(BoxImpl.getBounds(getJSObject()));
    }

    public void addBoxEventListener(String Event, final BoxEventListener listener)
    {
        eventListeners.addListener(this, listener, Event, new EventHandler()
            {
                public void onHandle(EventObject eventObject)
                {
                    BoxEvents e = new BoxEvents(eventObject);
                    listener.onBox(e);
View Full Code Here

        MeasureImpl.setPersist(getJSObject(), persist);
    }

    public void addMeasureListener(final MeasureListener listener)
    {
        eventListeners.addListener(this, listener, EventType.CONTROL_MEASURE, new EventHandler()
            {
                public void onHandle(EventObject eventObject)
                {
                    MeasureEvent e = new MeasureEvent(eventObject);
                    listener.onMeasure(e);
View Full Code Here

            });
    }

    public void addMeasurePartialListener(final MeasurePartialListener listener)
    {
        eventListeners.addListener(this, listener, EventType.CONTROL_MEASURE_PARTIAL, new EventHandler()
            {
                public void onHandle(EventObject eventObject)
                {
                    MeasureEvent e = new MeasureEvent(eventObject);
                    listener.onMeasurePartial(e);
View Full Code Here

        return narrowToLayer(LayerImpl.clone(getJSObject()));
    }

    public void addLayerLoadStartListener(final LayerLoadStartListener listener) {
        eventListeners.addListener(this, listener, EventType.LAYER_LOADSTART,
                new EventHandler() {

                    public void onHandle(EventObject eventObject) {
                        LoadStartEvent e = new LoadStartEvent(eventObject);
                        listener.onLoadStart(e);
                    }
View Full Code Here

                });
    }

    public void addLayerLoadEndListener(final LayerLoadEndListener listener) {
        eventListeners.addListener(this, listener, EventType.LAYER_LOADEND,
                new EventHandler() {

                    public void onHandle(EventObject eventObject) {
                        LoadEndEvent e = new LoadEndEvent(eventObject);
                        listener.onLoadEnd(e);
                    }
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.