Class AtomicEvent

java.lang.Object
org.gvsig.fmap.mapcontext.events.FMapEventBase
org.gvsig.fmap.mapcontext.events.AtomicEvent
All Implemented Interfaces:
FMapEvent

public class AtomicEvent extends FMapEventBase

An atomic event represents a group of events that will be attended without any interruption.

This kind of events are created by the buffer of events of the MapContext.

  • Constructor Details

    • AtomicEvent

      public AtomicEvent(List fmapEvents)

      Creates a new instance of this kind of event.

      Parameters:
      fmapEvents - events that will constitute this one
  • Method Details

    • getEvent

      public FMapEvent getEvent(int index)

      Returns the event at the specified position in the internal list.

      Parameters:
      index - index of event to return
      Returns:
      event at the specified position in this list
    • getEventCount

      public int getEventCount()

      Returns the number of events that constitute this one.

      Returns:
      number of events that constitute this one
    • getLegendEvents

      public LegendEvent[] getLegendEvents()

      Returns all legend events that constitute this one.

      Returns:
      an array with all legend events that constitute this one
    • getLayerCollectionEvents

      public LayerCollectionEvent[] getLayerCollectionEvents()

      Returns all layer collection events that constitute this one.

      Returns:
      an array with all layer collection events that constitute this one
    • getSelectionEvents

      public SelectionEvent[] getSelectionEvents()

      Returns all vector layer selection events that constitute this one.

      Returns:
      an array with all vector layer selection events that constitute this one
    • getExtentEvents

      public ExtentEvent[] getExtentEvents()

      Returns all extent events that constitute this one.

      Returns:
      an array with all extent events that constitute this one
    • getLayerEvents

      public LayerEvent[] getLayerEvents()

      Returns all layer events that constitute this one.

      Returns:
      an array with all layer events that constitute this one
    • getColorEvents

      public ColorEvent[] getColorEvents()

      Returns all color events that constitute this one.

      Returns:
      an array with all color events that constitute this one
    • getProjectionEvents

      public ProjectionEvent[] getProjectionEvents()

      Returns all projection events that constitute this one.

      Returns:
      an array with all projection events that constitute this one