@Generated(value={"RichFaces CDK","4.5.0-SNAPSHOT"}) public class UIDropTarget extends AbstractDropTarget implements javax.faces.component.behavior.ClientBehaviorHolder, AjaxProps, BypassProps, ImmediateProps
The <rich: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 <rich:dragSource> component.
Modifier and Type | Class and Description |
---|---|
protected static class |
UIDropTarget.Properties |
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
UIDropTarget() |
Modifier and Type | Method and Description |
---|---|
Object |
getAcceptedTypes()
A list of drag zones types, which elements are accepted by a drop zone
|
Object |
getData()
Serialized (on default with JSON) data passed to the client by a developer on an AJAX request.
|
String |
getDefaultEventName() |
javax.el.MethodExpression |
getDropListener()
MethodExpression representing an action listener method that will be notified after drop operation.
|
Object |
getDropValue()
Data to be processed after a drop event
|
Collection<String> |
getEventNames() |
Object |
getExecute()
IDs of components that will participate in the "execute" portion of the Request Processing Lifecycle.
|
String |
getFamily() |
String |
getOnbeforedomupdate()
The client-side script method to be called after the ajax response comes back, but before the DOM is updated
|
String |
getOnbegin()
The client-side script method to be called before an ajax request.
|
String |
getOncomplete()
The client-side script method to be called after the DOM is updated
|
Object |
getRender()
IDs of components that will participate in the "render" portion of the Request Processing Lifecycle.
|
String |
getStatus()
Name of the request status component that will indicate the status of the Ajax request
|
boolean |
isBypassUpdates()
If "true", after process validations phase it skips updates of model beans on a force render response.
|
boolean |
isImmediate()
Flag indicating that, if this component is activated by the user, notifications should be delivered to interested
listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until the
Invoke Application phase.
|
boolean |
isLimitRender()
If "true", render only those ids specified in the "render" attribute, forgoing the render of the auto-rendered panels
|
void |
setAcceptedTypes(Object acceptedTypes) |
void |
setBypassUpdates(boolean bypassUpdates) |
void |
setData(Object data) |
void |
setDropListener(javax.el.MethodExpression dropListener) |
void |
setDropValue(Object dropValue) |
void |
setExecute(Object execute) |
void |
setImmediate(boolean immediate) |
void |
setLimitRender(boolean limitRender) |
void |
setOnbeforedomupdate(String onbeforedomupdate) |
void |
setOnbegin(String onbegin) |
void |
setOncomplete(String oncomplete) |
void |
setRender(Object render) |
void |
setStatus(String status) |
addDropListener, broadcast, getDropListeners, queueEvent, removeDropListener
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, 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, visitTree
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UIComponent
public Collection<String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public String getDefaultEventName()
getDefaultEventName
in interface javax.faces.component.behavior.ClientBehaviorHolder
getDefaultEventName
in class javax.faces.component.UIComponentBase
public Object getAcceptedTypes()
AbstractDropTarget
getAcceptedTypes
in class AbstractDropTarget
public void setAcceptedTypes(Object acceptedTypes)
public boolean isBypassUpdates()
BypassProps
isBypassUpdates
in interface BypassProps
public void setBypassUpdates(boolean bypassUpdates)
public Object getData()
AjaxActivatorProps
getData
in interface AjaxActivatorProps
public void setData(Object data)
public javax.el.MethodExpression getDropListener()
AbstractDropTarget
getDropListener
in class AbstractDropTarget
public void setDropListener(javax.el.MethodExpression dropListener)
public Object getDropValue()
AbstractDropTarget
getDropValue
in class AbstractDropTarget
public void setDropValue(Object dropValue)
public Object getExecute()
AjaxProps
getExecute
in interface AjaxProps
public void setExecute(Object execute)
public boolean isImmediate()
ImmediateProps
isImmediate
in interface ImmediateProps
public void setImmediate(boolean immediate)
public boolean isLimitRender()
AjaxActivatorProps
isLimitRender
in interface AjaxActivatorProps
public void setLimitRender(boolean limitRender)
public String getOnbeforedomupdate()
AjaxActivatorProps
getOnbeforedomupdate
in interface AjaxActivatorProps
public void setOnbeforedomupdate(String onbeforedomupdate)
public String getOnbegin()
AjaxProps
getOnbegin
in interface AjaxProps
public void setOnbegin(String onbegin)
public String getOncomplete()
AjaxActivatorProps
getOncomplete
in interface AjaxActivatorProps
public void setOncomplete(String oncomplete)
public Object getRender()
AjaxActivatorProps
getRender
in interface AjaxActivatorProps
public void setRender(Object render)
public String getStatus()
AjaxProps
public void setStatus(String status)
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.