Package org.geotools.map.event

Examples of org.geotools.map.event.MapLayerListEvent


        monitor.readLock().lock();
        try {
            if (mapListeners == null) {
                return;
            }
            MapLayerListEvent event = new MapLayerListEvent(this, element, fromIndex, toIndex);
            for (MapLayerListListener mapLayerListListener : mapListeners) {
                try {
                    mapLayerListListener.layerAdded(event);
                } catch (Throwable t) {
                    if (LOGGER.isLoggable(Level.FINER)) {
View Full Code Here


        monitor.readLock().lock();
        try {
            if (mapListeners == null) {
                return;
            }
            MapLayerListEvent event = new MapLayerListEvent(this, element, fromIndex, toIndex);
            for (MapLayerListListener mapLayerListListener : mapListeners) {
                try {
                    mapLayerListListener.layerRemoved(event);
                } catch (Throwable t) {
                    if (LOGGER.isLoggable(Level.FINER)) {
View Full Code Here

        monitor.readLock().lock();
        try {
            if (mapListeners == null) {
                return;
            }
            MapLayerListEvent event = new MapLayerListEvent(this, element, toIndex);
            for (MapLayerListListener mapLayerListListener : mapListeners) {
                try {
                    mapLayerListListener.layerMoved(event);
                } catch (Throwable t) {
                    if (LOGGER.isLoggable(Level.FINER)) {
View Full Code Here

        monitor.readLock().lock();
        try {
            if (mapListeners == null) {
                return;
            }
            MapLayerListEvent event = new MapLayerListEvent(this, element, toIndex);
            for (MapLayerListListener mapLayerListListener : mapListeners) {
                try {
                    mapLayerListListener.layerPreDispose(event);
                } catch (Throwable t) {
                    if (LOGGER.isLoggable(Level.FINER)) {
View Full Code Here

        monitor.readLock().lock();
        try {
            if (mapListeners == null) {
                return;
            }
            MapLayerListEvent mapEvent = new MapLayerListEvent(this, element, index, layerEvent);
            for (MapLayerListListener mapLayerListListener : mapListeners) {
                try {
                    switch (layerEvent.getReason()) {
                        case MapLayerEvent.PRE_DISPOSE:
                            mapLayerListListener.layerPreDispose(mapEvent);
View Full Code Here

TOP

Related Classes of org.geotools.map.event.MapLayerListEvent

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.