| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.EventObject
org.geotools.map.event.MapLayerEvent
Event fired when some property changes.
Layer, 
LayerListener, 
Serialized Form| Field Summary | |
| static int | DATA_CHANGEDFlag set when the data attached to this layer changed. | 
| static int | FILTER_CHANGEDFlag set when the definition query attached to this layer changed. | 
| static int | METADATA_CHANGEDFlag set when the some metadata (like the title) changes | 
| static int | STYLE_CHANGEDFlag set when the style attached to this layer changed. | 
| static int | VISIBILITY_CHANGEDFlag set when the layer visibility changed. | 
| Fields inherited from class java.util.EventObject | 
| source | 
| Constructor Summary | |
| MapLayerEvent(java.lang.Object source,
              int reason)Creates a new instance of LayerEventwith the specified reason. | |
| Method Summary | |
|  int | getReason()Returns the reason why this event is fired. | 
| Methods inherited from class java.util.EventObject | 
| getSource, toString | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
public static final int VISIBILITY_CHANGED
getReason(), 
Constant Field Valuespublic static final int METADATA_CHANGED
getReason(), 
Constant Field Valuespublic static final int DATA_CHANGED
getReason(), 
Constant Field Valuespublic static final int STYLE_CHANGED
getReason(), 
Constant Field Valuespublic static final int FILTER_CHANGED
getReason(), 
Constant Field Values| Constructor Detail | 
public MapLayerEvent(java.lang.Object source,
                     int reason)
              throws java.lang.IllegalArgumentException
LayerEvent with the specified reason.
source - The source of the event change.reason - Why the event was fired.
java.lang.IllegalArgumentException - If the reason is not a valid enum.| Method Detail | 
public int getReason()
VISIBILITY_CHANGED or
 #TITLE_CHANGED constants.
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||