org.apache.myfaces.html5.event
Class DropEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.FacesEvent
          extended by javax.faces.event.BehaviorEvent
              extended by org.apache.myfaces.html5.event.DropEvent
All Implemented Interfaces:
Serializable

public class DropEvent
extends javax.faces.event.BehaviorEvent

This event is fired when a successful drop is done.
Holds the parameter and content-type <=> value map sent with the event.

Author:
Ali Ok
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DropEvent(javax.faces.component.UIComponent component, DropTargetBehavior behavior, Map<String,String> dropDataMap, String param)
           
 
Method Summary
 Map<String,String> getDropDataMap()
          Returns the values sent received from the client after a successful drop.
 String getParam()
          Parameter of the drag and drop operation, which is specified with fx:dragSource behavior.
 boolean isAppropriateListener(javax.faces.event.FacesListener faceslistener)
           
 void processListener(javax.faces.event.FacesListener faceslistener)
           
 
Methods inherited from class javax.faces.event.BehaviorEvent
getBehavior
 
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

DropEvent

public DropEvent(javax.faces.component.UIComponent component,
                 DropTargetBehavior behavior,
                 Map<String,String> dropDataMap,
                 String param)
Method Detail

isAppropriateListener

public boolean isAppropriateListener(javax.faces.event.FacesListener faceslistener)
Specified by:
isAppropriateListener in class javax.faces.event.FacesEvent

processListener

public void processListener(javax.faces.event.FacesListener faceslistener)
Specified by:
processListener in class javax.faces.event.FacesEvent

getDropDataMap

public Map<String,String> getDropDataMap()
Returns the values sent received from the client after a successful drop.
ie.

Returns:

getParam

public String getParam()
Parameter of the drag and drop operation, which is specified with fx:dragSource behavior.


Content-type Value

Copyright © 2011 The Apache Software Foundation. All Rights Reserved.