org.apache.myfaces.html5.event
Class DropEvent
java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
javax.faces.event.BehaviorEvent
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
| Methods inherited from class javax.faces.event.BehaviorEvent |
getBehavior |
| Methods inherited from class javax.faces.event.FacesEvent |
getComponent, getPhaseId, queue, setPhaseId |
DropEvent
public DropEvent(javax.faces.component.UIComponent component,
DropTargetBehavior behavior,
Map<String,String> dropDataMap,
String param)
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.
| Content-type |
Value |
- Returns:
getParam
public String getParam()
- Parameter of the drag and drop operation, which is specified with fx:dragSource behavior.
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.