public class DndEvent
extends javax.faces.event.FacesEvent
| Modifier and Type | Field and Description |
|---|---|
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 |
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
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
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 - public boolean isAppropriateListener(javax.faces.event.FacesListener facesListener)
isAppropriateListener in class javax.faces.event.FacesEventfacesListener - public void processListener(javax.faces.event.FacesListener facesListener)
processListener in class javax.faces.event.FacesEventfacesListener - 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 - Copyright 2025 ICEsoft Technologies Canada, Corp. All Rights Reserved.