org.opengis.display.container
Class ContainerEvent

Show UML class diagram
Object
  extended by EventObject
      extended by ContainerEvent
All Implemented Interfaces:
Serializable

public abstract class ContainerEvent
extends EventObject

Event sent to container listeners when a graphics changed.

Since:
GeoAPI 2.2
See Also:
Serialized Form

Field Summary
 
Fields inherited from class EventObject
source
 
Constructor Summary
ContainerEvent(GraphicsContainer source)
          Creates an event emitted by the given source.
 
Method Summary
abstract  Collection<Graphic> getGraphics()
          Returns the graphics affected by this event
 GraphicsContainer getSource()
          Returns the source of thie event.
 
Methods inherited from class EventObject
toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContainerEvent

public ContainerEvent(GraphicsContainer source)
Creates an event emitted by the given source.

Parameters:
source - The source, or null if unknown.
Method Detail

getSource

public GraphicsContainer getSource()
Returns the source of thie event.

Overrides:
getSource in class EventObject
Returns:
The source of this event, or null if unknown.

getGraphics

public abstract Collection<Graphic> getGraphics()
Returns the graphics affected by this event

Returns:
The graphics affected by this event.


Copyright © 1994-2012 Open Geospatial Consortium. All Rights Reserved.