public class SelectionCount
extends java.lang.Object
implements org.gvsig.fmap.mapcontext.layers.LayerListener, org.gvsig.tools.observer.Observer
| Constructor and Description |
|---|
SelectionCount(org.gvsig.gui.beans.controls.IControl control)
Listens the map control to show the count through the control in the status bar
|
| Modifier and Type | Method and Description |
|---|---|
void |
activationChanged(org.gvsig.fmap.mapcontext.layers.LayerEvent e) |
void |
clean()
Cleans the text shown in the control
|
void |
doAtomicEvent(org.gvsig.fmap.mapcontext.MapContext mapContext,
org.gvsig.fmap.mapcontext.events.AtomicEvent e) |
void |
drawValueChanged(org.gvsig.fmap.mapcontext.layers.LayerEvent e) |
void |
editionChanged(org.gvsig.fmap.mapcontext.layers.LayerEvent e) |
void |
nameChanged(org.gvsig.fmap.mapcontext.layers.LayerEvent e) |
void |
showFeatureCount()
Gets the features from the selected layers and shows them through the control
|
void |
update(org.gvsig.tools.observer.Observable observable,
java.lang.Object notification) |
void |
visibilityChanged(org.gvsig.fmap.mapcontext.layers.LayerEvent e) |
public SelectionCount(org.gvsig.gui.beans.controls.IControl control)
mapControl - control - public void activationChanged(org.gvsig.fmap.mapcontext.layers.LayerEvent e)
activationChanged in interface org.gvsig.fmap.mapcontext.layers.LayerListenerpublic void clean()
public void doAtomicEvent(org.gvsig.fmap.mapcontext.MapContext mapContext,
org.gvsig.fmap.mapcontext.events.AtomicEvent e)
public void drawValueChanged(org.gvsig.fmap.mapcontext.layers.LayerEvent e)
drawValueChanged in interface org.gvsig.fmap.mapcontext.layers.LayerListenerpublic void editionChanged(org.gvsig.fmap.mapcontext.layers.LayerEvent e)
editionChanged in interface org.gvsig.fmap.mapcontext.layers.LayerListenerpublic void nameChanged(org.gvsig.fmap.mapcontext.layers.LayerEvent e)
nameChanged in interface org.gvsig.fmap.mapcontext.layers.LayerListenerpublic void showFeatureCount()
mapControl - public void update(org.gvsig.tools.observer.Observable observable,
java.lang.Object notification)
update in interface org.gvsig.tools.observer.Observerpublic void visibilityChanged(org.gvsig.fmap.mapcontext.layers.LayerEvent e)
visibilityChanged in interface org.gvsig.fmap.mapcontext.layers.LayerListenerCopyright © 2026 gvSIG Association. All rights reserved.