Examples of toggleVisible()


Examples of org.openstreetmap.josm.gui.layer.Layer.toggleVisible()

        }
        @Override
        public void actionPerformed(ActionEvent e) {
            final Layer l = model.getLayer(model.getRowCount() - layerIndex - 1);
            if(l != null) {
                l.toggleVisible();
            }
        }
    }

    private final Shortcut[] visibilityToggleShortcuts = new Shortcut[10];
View Full Code Here

Examples of org.openstreetmap.josm.gui.layer.Layer.toggleVisible()

        @Override
        public void executeMultikeyAction(int index, boolean repeat) {
            Layer l = LayerListDialog.getLayerForIndex(index);
            if (l != null) {
                l.toggleVisible();
                lastLayer = new WeakReference<>(l);
            } else if (repeat && lastLayer != null) {
                l = lastLayer.get();
                if (LayerListDialog.isLayerValid(l)) {
                    l.toggleVisible();
View Full Code Here

Examples of org.openstreetmap.josm.gui.layer.Layer.toggleVisible()

                l.toggleVisible();
                lastLayer = new WeakReference<>(l);
            } else if (repeat && lastLayer != null) {
                l = lastLayer.get();
                if (LayerListDialog.isLayerValid(l)) {
                    l.toggleVisible();
                }
            }
        }

        @Override
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.