org.apache.cocoon.faces.samples.components.components
Class AreaSelectedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.FacesEvent
          extended by javax.faces.event.ActionEvent
              extended by org.apache.cocoon.faces.samples.components.components.AreaSelectedEvent
All Implemented Interfaces:
Serializable

public class AreaSelectedEvent
extends javax.faces.event.ActionEvent

An ActionEvent indicating that the specified AreaComponent has just become the currently selected hotspot within the source MapComponent.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AreaSelectedEvent(MapComponent map)
          Construct a new AreaSelectedEvent from the specified source map.
 
Method Summary
 MapComponent getMapComponent()
          Return the MapComponent of the map for which an area was selected.
 
Methods inherited from class javax.faces.event.ActionEvent
isAppropriateListener, processListener
 
Methods inherited from class javax.faces.event.FacesEvent
getComponent, getPhaseId, queue, setPhaseId
 
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
 

Constructor Detail

AreaSelectedEvent

public AreaSelectedEvent(MapComponent map)

Construct a new AreaSelectedEvent from the specified source map.

Parameters:
map - The MapComponent originating this event
Method Detail

getMapComponent

public MapComponent getMapComponent()

Return the MapComponent of the map for which an area was selected.



Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.