public abstract class DroppableBase extends javax.faces.component.UIComponentBase implements IDroppable, IceClientBehaviorHolder
For more information, see the Droppable Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DroppableBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
DroppableBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
java.lang.String |
getAccept()
Return the value of the
accept property. |
java.lang.String |
getActiveStyleClass()
Return the value of the
activeStyleClass property. |
java.lang.String |
getDatasource()
Return the value of the
datasource property. |
java.lang.String |
getDefaultEventName() |
java.lang.String |
getDefaultExecute(java.lang.String event) |
java.lang.String |
getDefaultRender(java.lang.String event) |
javax.el.MethodExpression |
getDropListener()
Return the value of the
dropListener property. |
java.util.Collection<java.lang.String> |
getEventNames() |
java.lang.String |
getFamily() |
java.lang.String |
getFor()
Return the value of the
for property. |
java.lang.String |
getHoverStyleClass()
Return the value of the
hoverStyleClass property. |
java.lang.String |
getListenerArgument(java.lang.String event) |
java.lang.String |
getScope()
Return the value of the
scope property. |
java.lang.String |
getTolerance()
Return the value of the
tolerance property. |
boolean |
isDisabled()
Return the value of the
disabled property. |
protected boolean |
isPropertySet(java.lang.String finder) |
void |
setAccept(java.lang.String accept)
Set the value of the
accept property. |
void |
setActiveStyleClass(java.lang.String activeStyleClass)
Set the value of the
activeStyleClass property. |
void |
setDatasource(java.lang.String datasource)
Set the value of the
datasource property. |
void |
setDisabled(boolean disabled)
Set the value of the
disabled property. |
void |
setDropListener(javax.el.MethodExpression dropListener)
Set the value of the
dropListener property. |
void |
setFor(java.lang.String forValue)
Set the value of the
for property. |
void |
setHoverStyleClass(java.lang.String hoverStyleClass)
Set the value of the
hoverStyleClass property. |
void |
setScope(java.lang.String scope)
Set the value of the
scope property. |
void |
setTolerance(java.lang.String tolerance)
Set the value of the
tolerance property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, 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, visitTreepublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIComponentpublic void setAccept(java.lang.String accept)
Set the value of the accept property.
Contents: JQuery selector to define the set of acceptable draggables.
setAccept in interface IDroppablepublic java.lang.String getAccept()
Return the value of the accept property.
Contents: JQuery selector to define the set of acceptable draggables.
getAccept in interface IDroppablepublic void setActiveStyleClass(java.lang.String activeStyleClass)
Set the value of the activeStyleClass property.
Contents: Class to apply to the droppable component when an acceptable draggable is dropped.
setActiveStyleClass in interface IDroppablepublic java.lang.String getActiveStyleClass()
Return the value of the activeStyleClass property.
Contents: Class to apply to the droppable component when an acceptable draggable is dropped.
getActiveStyleClass in interface IDroppablepublic void setDatasource(java.lang.String datasource)
Set the value of the datasource property.
Contents: Allows you to set the ID of an ACE UIData component and that will provide a Java object as input for the drop event. That object is defined by matching the sibling index of the droppable to an object at that index in the UIData component backing.
setDatasource in interface IDroppablepublic java.lang.String getDatasource()
Return the value of the datasource property.
Contents: Allows you to set the ID of an ACE UIData component and that will provide a Java object as input for the drop event. That object is defined by matching the sibling index of the droppable to an object at that index in the UIData component backing.
getDatasource in interface IDroppablepublic void setDisabled(boolean disabled)
Set the value of the disabled property.
Contents: If enabled, no draggables will activate this droppable.
setDisabled in interface IDroppablepublic boolean isDisabled()
Return the value of the disabled property.
Contents: If enabled, no draggables will activate this droppable.
isDisabled in interface IDroppablepublic void setDropListener(javax.el.MethodExpression dropListener)
Set the value of the dropListener property.
Contents: MethodExpression reference to a method called whenever a draggable is moved into this droppable. The method receives a single argument, DragDropEvent.
setDropListener in interface IDroppablepublic javax.el.MethodExpression getDropListener()
Return the value of the dropListener property.
Contents: MethodExpression reference to a method called whenever a draggable is moved into this droppable. The method receives a single argument, DragDropEvent.
getDropListener in interface IDroppablepublic void setFor(java.lang.String forValue)
Set the value of the for property.
Contents: Id of the component to add the droppable behavior to.
setFor in interface IDroppablepublic java.lang.String getFor()
Return the value of the for property.
Contents: Id of the component to add the droppable behavior to.
getFor in interface IDroppablepublic void setHoverStyleClass(java.lang.String hoverStyleClass)
Set the value of the hoverStyleClass property.
Contents: Class to apply to the droppable component when an acceptable draggable is hovering.
setHoverStyleClass in interface IDroppablepublic java.lang.String getHoverStyleClass()
Return the value of the hoverStyleClass property.
Contents: Class to apply to the droppable component when an acceptable draggable is hovering.
getHoverStyleClass in interface IDroppablepublic void setScope(java.lang.String scope)
Set the value of the scope property.
Contents: This keyword allows sets of dragabbles and droppables with the same keyword to be associated with each other exclusively.
setScope in interface IDroppablepublic java.lang.String getScope()
Return the value of the scope property.
Contents: This keyword allows sets of dragabbles and droppables with the same keyword to be associated with each other exclusively.
getScope in interface IDroppablepublic void setTolerance(java.lang.String tolerance)
Set the value of the tolerance property.
Contents: This arbitrary keyword specifies the method of checking if a draggable is 'over' the droppable, possible values include: fit (drag must be smaller), intersect (drag must cover > 50%). pointer (cursor must be inside drop) and touch (any of the drop touches).
setTolerance in interface IDroppablepublic java.lang.String getTolerance()
Return the value of the tolerance property.
Contents: This arbitrary keyword specifies the method of checking if a draggable is 'over' the droppable, possible values include: fit (drag must be smaller), intersect (drag must cover > 50%). pointer (cursor must be inside drop) and touch (any of the drop touches).
getTolerance in interface IDroppableprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentpublic java.util.Collection<java.lang.String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender in interface IceClientBehaviorHolderpublic java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute in interface IceClientBehaviorHolderpublic java.lang.String getListenerArgument(java.lang.String event)
getListenerArgument in interface IceClientBehaviorHolderpublic void addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.UIComponentBaseCopyright 2017 ICEsoft Technologies Canada Corp., All Rights Reserved.