|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
javax.faces.event.FacesEvent
org.richfaces.component.UITreeNode.DnDEventWrapper
protected static final class UITreeNode.DnDEventWrapper
Helper inner class used to wrap drag and drop events to suspend them to ensure that events will processed last. Note: We should ensure that all drag & drop events will be processed after all other events to avoid problems with removed while drop operation tree nodes and their event handlers.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
UITreeNode.DnDEventWrapper(javax.faces.component.UIComponent owner,
javax.faces.event.FacesEvent target,
java.lang.Object key)
Construct a new event object that wrap original event and store target node row key to be processed in future. |
Method Summary | |
---|---|
java.lang.Object |
getKey()
Get target component row key |
javax.faces.event.PhaseId |
getPhaseId()
Return the identifier of the request processing phase during which this event should be delivered. |
javax.faces.event.FacesEvent |
getTarget()
Get wrapped event |
boolean |
isAppropriateListener(javax.faces.event.FacesListener listener)
|
void |
processListener(javax.faces.event.FacesListener listener)
|
void |
setKey(java.lang.Object key)
Set target component row key |
void |
setPhaseId(javax.faces.event.PhaseId phaseId)
Set the PhaseId during which this event will be delivered. |
Methods inherited from class javax.faces.event.FacesEvent |
---|
getComponent, queue |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UITreeNode.DnDEventWrapper(javax.faces.component.UIComponent owner, javax.faces.event.FacesEvent target, java.lang.Object key)
owner
- event owner componenttarget
- wrapped eventkey
- target tree node row keyMethod Detail |
---|
public javax.faces.event.PhaseId getPhaseId()
Return the identifier of the request processing phase during which this event should be delivered.
getPhaseId
in class javax.faces.event.FacesEvent
public void setPhaseId(javax.faces.event.PhaseId phaseId)
Set the PhaseId
during which this event will be delivered.
setPhaseId
in class javax.faces.event.FacesEvent
java.lang.IllegalArgumentException
- phaseId is null.public javax.faces.event.FacesEvent getTarget()
public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
isAppropriateListener
in class javax.faces.event.FacesEvent
public void processListener(javax.faces.event.FacesListener listener)
processListener
in class javax.faces.event.FacesEvent
public java.lang.Object getKey()
public void setKey(java.lang.Object key)
key
- the row key to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |