|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject org.geotools.map.event.MapLayerEvent
Event fired when some property changes.
Layer
,
LayerListener
,
Serialized FormField Summary | |
static int |
DATA_CHANGED
Flag set when the data attached to this layer changed. |
static int |
FILTER_CHANGED
Flag set when the definition query attached to this layer changed. |
static int |
METADATA_CHANGED
Flag set when the some metadata (like the title) changes |
static int |
STYLE_CHANGED
Flag set when the style attached to this layer changed. |
static int |
VISIBILITY_CHANGED
Flag 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 LayerEvent with 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 ValuesConstructor 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 |