org.primefaces.component.dnd
Class Droppable

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.primefaces.component.dnd.Droppable
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, Widget

public class Droppable
extends javax.faces.component.UIComponentBase
implements Widget, javax.faces.component.behavior.ClientBehaviorHolder


Nested Class Summary
protected static class Droppable.PropertyKeys
           
 
Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Constructor Summary
Droppable()
           
 
Method Summary
protected  javax.faces.component.UIData findDatasource(javax.faces.context.FacesContext context, Droppable droppable, String datasourceId)
           
 String getAccept()
           
 String getActiveStyleClass()
           
 String getDatasource()
           
 String getDefaultEventName()
           
 Collection<String> getEventNames()
           
 String getFamily()
           
 String getFor()
           
 String getHoverStyleClass()
           
 String getOnDrop()
           
 String getScope()
           
 String getTolerance()
           
 String getWidgetVar()
           
 boolean isDisabled()
           
 void queueEvent(javax.faces.event.FacesEvent event)
           
 String resolveWidgetVar()
           
 void setAccept(String _accept)
           
 void setActiveStyleClass(String _activeStyleClass)
           
 void setDatasource(String _datasource)
           
 void setDisabled(boolean _disabled)
           
 void setFor(String _for)
           
 void setHoverStyleClass(String _hoverStyleClass)
           
 void setOnDrop(String _onDrop)
           
 void setScope(String _scope)
           
 void setTolerance(String _tolerance)
           
 void setWidgetVar(String _widgetVar)
           
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, 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, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

Droppable

public Droppable()
Method Detail

getFamily

public String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent

getWidgetVar

public String getWidgetVar()

setWidgetVar

public void setWidgetVar(String _widgetVar)

getFor

public String getFor()

setFor

public void setFor(String _for)

isDisabled

public boolean isDisabled()

setDisabled

public void setDisabled(boolean _disabled)

getHoverStyleClass

public String getHoverStyleClass()

setHoverStyleClass

public void setHoverStyleClass(String _hoverStyleClass)

getActiveStyleClass

public String getActiveStyleClass()

setActiveStyleClass

public void setActiveStyleClass(String _activeStyleClass)

getOnDrop

public String getOnDrop()

setOnDrop

public void setOnDrop(String _onDrop)

getAccept

public String getAccept()

setAccept

public void setAccept(String _accept)

getScope

public String getScope()

setScope

public void setScope(String _scope)

getTolerance

public String getTolerance()

setTolerance

public void setTolerance(String _tolerance)

getDatasource

public String getDatasource()

setDatasource

public void setDatasource(String _datasource)

queueEvent

public void queueEvent(javax.faces.event.FacesEvent event)
Overrides:
queueEvent in class javax.faces.component.UIComponentBase

getEventNames

public Collection<String> getEventNames()
Specified by:
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHolder
Overrides:
getEventNames in class javax.faces.component.UIComponentBase

getDefaultEventName

public String getDefaultEventName()
Specified by:
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHolder
Overrides:
getDefaultEventName in class javax.faces.component.UIComponentBase

findDatasource

protected javax.faces.component.UIData findDatasource(javax.faces.context.FacesContext context,
                                                      Droppable droppable,
                                                      String datasourceId)

resolveWidgetVar

public String resolveWidgetVar()
Specified by:
resolveWidgetVar in interface Widget


Copyright © 2013. All rights reserved.