|
ICEfaces ICE Components 3.3.0 Java API Documentation |
|||||||||
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
com.icesoft.faces.component.dragdrop.DndEvent
public class DndEvent
A DnDEvent is passed to Drag and Drop Event listeners. It contains all the information on the type of event, and the components involved.
Field Summary | |
---|---|
static int |
DRAG_CANCEL
Event type for when a Draggable panel has been dropped, but not on a drop target. |
static int |
DRAG_START
Event type for when a Draggable panel is starting to drag |
static int |
DRAGGING
|
static int |
DROPPED
Event type for when a Draggable panel has been dropped on a drop target. |
static int |
HOVER_END
Event type for when a Drgabble panel is no longer hovering over a drop target. |
static int |
HOVER_START
Event type for when a Draggable panel is being hovered over a drop target. |
static java.lang.String |
MASK_ALL
Mask to cover all DnD Events. |
static java.lang.String |
MASK_ALL_BUT_DROPS
|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
DndEvent(javax.faces.component.UIComponent uiComponent,
int eventType,
java.lang.String targetClentId,
java.lang.Object targetDragValue,
java.lang.Object targetDropValue)
DnDEvent This constructor is called by Drag and Drop components in the Decode method. |
Method Summary | |
---|---|
static java.lang.String |
getEventName(int i)
|
int |
getEventType()
Event type for the Event. |
java.lang.String |
getTargetClientId()
The clientId of the target Panel Group. |
java.lang.Object |
getTargetDragValue()
The drag value assigned to the target PanelGroup Null for DRAG_START, DRAG_CANCEL, and HOVER_END events |
java.lang.Object |
getTargetDropValue()
The drop value assigned to the target PanelGroup Null for DRAG_START, DRAG_CANCEL, and HOVER_END events |
boolean |
isAppropriateListener(javax.faces.event.FacesListener facesListener)
False |
static java.lang.String |
parseMask(java.lang.String mask)
Parse a mask value to make its valid, Used in rendering. |
void |
processListener(javax.faces.event.FacesListener facesListener)
Not implemented |
Methods inherited from class javax.faces.event.FacesEvent |
---|
getComponent, getPhaseId, queue, setPhaseId |
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 |
Field Detail |
---|
public static final int DRAG_START
public static final int DRAGGING
public static final int DRAG_CANCEL
public static final int DROPPED
public static final int HOVER_START
public static final int HOVER_END
public static final java.lang.String MASK_ALL
public static final java.lang.String MASK_ALL_BUT_DROPS
Constructor Detail |
---|
public DndEvent(javax.faces.component.UIComponent uiComponent, int eventType, java.lang.String targetClentId, java.lang.Object targetDragValue, java.lang.Object targetDropValue)
uiComponent
- eventType
- targetClentId
- targetDragValue
- targetDropValue
- Method Detail |
---|
public boolean isAppropriateListener(javax.faces.event.FacesListener facesListener)
isAppropriateListener
in class javax.faces.event.FacesEvent
facesListener
-
public void processListener(javax.faces.event.FacesListener facesListener)
processListener
in class javax.faces.event.FacesEvent
facesListener
- public int getEventType()
public java.lang.Object getTargetDropValue()
public java.lang.Object getTargetDragValue()
public java.lang.String getTargetClientId()
public static java.lang.String getEventName(int i)
public static java.lang.String parseMask(java.lang.String mask)
mask
-
|
ICEfaces ICE Components 3.3.0 Java API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |