Package org.gwtopenmaps.openlayers.client.event

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


    }

    public void addLayerLoadCancelListener(
            final LayerLoadCancelListener listener) {
        eventListeners.addListener(this, listener, EventType.LAYER_LOADCANCEL,
                new EventHandler() {

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


    }

    public void addLayerVisibilityChangedListener(
            final LayerVisibilityChangedListener listener) {
        eventListeners.addListener(this, listener,
                EventType.LAYER_VISIBILITYCHANGED, new EventHandler() {

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

     */
    public void addBeforeFeatureHighlightedListener(
            final BeforeFeatureHighlightedListener beforeFeatureHighlightedListener) {
        eventListeners.addListener(this, beforeFeatureHighlightedListener,
                                   EventType.CONTROL_SELECT_FEATURE_BEFORE_HIGHLIGHTED,
                                   new EventHandler() {
            @Override
            public void onHandle(EventObject eventObject) {

                VectorFeature vectorFeature = getFeatureFromEventObject(
                        eventObject);
View Full Code Here

     */
    public void addFeatureUnhighlightedListener(
            final FeatureUnhighlightedListener featureUnhighlightedListener) {
        eventListeners.addListener(this, featureUnhighlightedListener,
                                   EventType.CONTROL_SELECT_FEATURE_UNHIGHLIGHTED,
                                   new EventHandler() {
            @Override
            public void onHandle(EventObject eventObject) {

                VectorFeature vectorFeature = getFeatureFromEventObject(
                        eventObject);
View Full Code Here

     */
    public void addFeatureHighlightedListener(
            final FeatureHighlightedListener featureHighlightedListener) {
        eventListeners.addListener(this, featureHighlightedListener,
                                   EventType.CONTROL_SELECT_FEATURE_HIGHLIGHTED,
                                   new EventHandler() {
            @Override
            public void onHandle(EventObject eventObject) {

                VectorFeature vectorFeature = getFeatureFromEventObject(
                        eventObject);
View Full Code Here

  /**
   * Add a listener that is triggered after dragging.
   */
    public void addTransformCompleteListener(final TransformCompleteListener listener)
    {
        eventListeners.addListener(this, listener, "transformcomplete", new EventHandler()
        {
            @Override
            public void onHandle(EventObject eventObject)
            {
                TransformCompleteEvent e = new TransformCompleteEvent(eventObject);
View Full Code Here

    /**
     * Triggered before a feature is set for tranformation.
     */
    public void addBeforeSetFeatureListener(final TransformBeforeSetFeatureListener listener)
    {
        eventListeners.addListener(this, listener, "beforesetfeature", new EventHandler()
        {
            @Override
            public void onHandle(EventObject eventObject)
            {
                BeforeSetFeatureEvent e = new BeforeSetFeatureEvent(eventObject);
View Full Code Here

    /**
     * Triggered when a feature is set for tranformation.
     */
    public void addSetFeatureListener(final TransformSetFeatureListener listener)
    {
        eventListeners.addListener(this, listener, "setfeature", new EventHandler()
        {
            @Override
            public void onHandle(EventObject eventObject)
            {
                SetFeatureEvent e = new SetFeatureEvent(eventObject);
View Full Code Here

    public void addBeforeFeatureSelectedListener(
            final BeforeFeatureSelectedListener listener) {

        eventListeners.addListener(this, listener,
                EventType.BEFORE_FEATURE_SELECTED, new EventHandler() {

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

    public void addFeatureSelectedListener(
            final FeatureSelectedListener listener) {

        eventListeners.addListener(this, listener, EventType.FEATURE_SELECTED,
                new EventHandler() {

            @Override
            public void onHandle(EventObject eventObject) {
                FeatureSelectedEvent event = 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.