@Generated(value={"RichFaces CDK","4.5.0-SNAPSHOT"}) public class UIDragSource extends AbstractDragSource
The <rich:dragSource> component can be added to a component to indicate it is capable of being dragged by the user. The dragged item can then be dropped into a compatible drop area, designated using the <rich:dropTarget> component.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
UIDragSource.Properties |
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
| Constructor and Description |
|---|
UIDragSource() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDragIndicator()
Component ID of a dragIndicator component that is used as drag pointer during the drag operation
|
Object |
getDragValue()
Data to be sent to a drop zone after a drop event
|
String |
getFamily() |
String |
getType()
A drag zone type that is used for zone definition, which elements can be accepted by a drop zone
|
void |
setDragIndicator(String dragIndicator) |
void |
setDragValue(Object dragValue) |
void |
setType(String type) |
addClientBehavior, addFacesListener, broadcast, 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, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreepublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily in class javax.faces.component.UIComponentpublic String getDragIndicator()
AbstractDragSourcegetDragIndicator in class AbstractDragSourcepublic void setDragIndicator(String dragIndicator)
public Object getDragValue()
AbstractDragSourcegetDragValue in class AbstractDragSourcepublic void setDragValue(Object dragValue)
public String getType()
AbstractDragSourcegetType in class AbstractDragSourcepublic void setType(String type)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.