public abstract class AbstractDropTarget extends javax.faces.component.UIComponentBase implements AjaxProps, BypassProps, ImmediateProps
The <r:dropTarget> component can be added to a component so that the component can accept dragged items. The dragged items must be defined with a compatible drop type for the <r:dragSource> component.
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
| Constructor and Description |
|---|
AbstractDropTarget() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDropListener(DropListener listener) |
void |
broadcast(javax.faces.event.FacesEvent event) |
abstract Object |
getAcceptedTypes()
A list of drag zones types, which elements are accepted by a drop zone
|
abstract javax.el.MethodExpression |
getDropListener()
MethodExpression representing an action listener method that will be notified after drop operation.
|
DropListener[] |
getDropListeners() |
abstract Object |
getDropValue()
Data to be processed after a drop event
|
void |
queueEvent(javax.faces.event.FacesEvent event) |
void |
removeDropListener(DropListener listener) |
addClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getFamily, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetData, getExecute, getRender, getStatus, isLimitRendergetOnbeforedomupdate, getOnbegin, getOncompleteisBypassUpdatesisImmediatepublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public abstract Object getDropValue()
public abstract Object getAcceptedTypes()
public abstract javax.el.MethodExpression getDropListener()
public void addDropListener(DropListener listener)
public DropListener[] getDropListeners()
public void removeDropListener(DropListener listener)
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent in class javax.faces.component.UIComponentBasepublic void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class javax.faces.component.UIComponentBasejavax.faces.event.AbortProcessingExceptionCopyright © 2014 JBoss by Red Hat. All rights reserved.