org.geotools.event
Class GTEvent.Type

java.lang.Object
  extended byorg.geotools.event.GTEvent.Type
Enclosing class:
GTEvent

public static class GTEvent.Type
extends java.lang.Object

Constants used to indicate the type of StyleChangedEvent


Field Summary
static GTEvent.Type POST_CHANGE
          Event type indicating an after-the-fact report of creations, deletions, and modifications to one or more constructs expressed as a hierarchical delta as returned by getDelta.
static GTEvent.Type PRE_CLOSE
          Event type indicating a before-the-fact report of the impending closure of a single construct.
static GTEvent.Type PRE_DELETE
          Event type indicating a before-the-fact report of the impending deletion of a single construct.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POST_CHANGE

public static final GTEvent.Type POST_CHANGE
Event type indicating an after-the-fact report of creations, deletions, and modifications to one or more constructs expressed as a hierarchical delta as returned by getDelta.

See Also:
GTEvent.getType()

PRE_DELETE

public static final GTEvent.Type PRE_DELETE
Event type indicating a before-the-fact report of the impending deletion of a single construct.

The data is being removed, if you were keeping any metadata about this information it is time to throw away.

See Also:
GTEvent.getType()

PRE_CLOSE

public static final GTEvent.Type PRE_CLOSE
Event type indicating a before-the-fact report of the impending closure of a single construct.

This is applicable when manging system resources, such as network connections and icons.

We are simply tearing dow the data structure because the system is shutting down, you can keep metadata but be sure to return any resources you were using!

See Also:
GTEvent.getType()


Copyright © GeoTools. All Rights Reserved.