org.apache.myfaces.html5.renderkit.behavior
Class DropTargetBehaviorRenderer
java.lang.Object
javax.faces.render.ClientBehaviorRenderer
org.apache.myfaces.html5.renderkit.behavior.DropTargetBehaviorRenderer
public class DropTargetBehaviorRenderer
- extends javax.faces.render.ClientBehaviorRenderer
Renderer of the fx:dropTarget behavior.
- Author:
- Ali Ok
|
Method Summary |
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.component.behavior.ClientBehavior behavior)
|
protected void |
dispatchBehaviorEvent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
DropTargetBehavior dropTargetBehavior)
Dispatches the DropEvent with appropriate parameter and data information. |
String |
getScript(javax.faces.component.behavior.ClientBehaviorContext behaviorContext,
javax.faces.component.behavior.ClientBehavior behavior)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_MYFACES_MIME_TYPE
public static final String DEFAULT_MYFACES_MIME_TYPE
- Mime type to define the source of the drag. If Javascript transfer data has a data set with this key, than we can
assume the source of the drag is a MyFaces Html5 component.
- See Also:
- Constant Field Values
DropTargetBehaviorRenderer
public DropTargetBehaviorRenderer()
decode
public void decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.component.behavior.ClientBehavior behavior)
- Overrides:
decode in class javax.faces.render.ClientBehaviorRenderer
dispatchBehaviorEvent
protected void dispatchBehaviorEvent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
DropTargetBehavior dropTargetBehavior)
- Dispatches the
DropEvent with appropriate parameter and data information.
getScript
public String getScript(javax.faces.component.behavior.ClientBehaviorContext behaviorContext,
javax.faces.component.behavior.ClientBehavior behavior)
- Overrides:
getScript in class javax.faces.render.ClientBehaviorRenderer
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.