| com.icesoft.faces.component.dragdrop.DndEvent
All known Subclasses: com.icesoft.faces.component.dragdrop.DragEvent, com.icesoft.faces.component.dragdrop.DropEvent,
DndEvent | public class DndEvent extends FacesEvent (Code) | | 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 | |
final public static int | DRAGGING | final public static int | DRAG_CANCEL Event type for when a Draggable panel has been dropped, but not on a drop
target. | final public static int | DRAG_START | final public static int | DROPPED Event type for when a Draggable panel has been dropped on a drop target. | final public static int | HOVER_END Event type for when a Drgabble panel is no longer hovering over a drop
target. | final public static int | HOVER_START Event type for when a Draggable panel is being hovered over a drop
target. | final public static String | MASK_ALL Mask to cover all DnD Events. | final public static String | MASK_ALL_BUT_DROPS |
Constructor Summary | |
public | DndEvent(UIComponent uiComponent, int eventType, String targetClentId, Object targetDragValue, Object targetDropValue) DnDEvent This constructor is called by Drag and Drop components in the
Decode method. |
DRAGGING | final public static int DRAGGING(Code) | | |
DRAG_CANCEL | final public static int DRAG_CANCEL(Code) | | Event type for when a Draggable panel has been dropped, but not on a drop
target.
|
DRAG_START | final public static int DRAG_START(Code) | | Event type for when a Draggable panel is starting to drag
|
DROPPED | final public static int DROPPED(Code) | | Event type for when a Draggable panel has been dropped on a drop target.
The dndComponent will be set to the drop target for this event
|
HOVER_END | final public static int HOVER_END(Code) | | Event type for when a Drgabble panel is no longer hovering over a drop
target.
|
HOVER_START | final public static int HOVER_START(Code) | | Event type for when a Draggable panel is being hovered over a drop
target. The dndComponent will be set to the drop target for this event
|
MASK_ALL | final public static String MASK_ALL(Code) | | Mask to cover all DnD Events.
|
MASK_ALL_BUT_DROPS | final public static String MASK_ALL_BUT_DROPS(Code) | | |
DndEvent | public DndEvent(UIComponent uiComponent, int eventType, String targetClentId, Object targetDragValue, Object targetDropValue)(Code) | | DnDEvent This constructor is called by Drag and Drop components in the
Decode method.
Parameters: uiComponent - Parameters: eventType - Parameters: targetClentId - Parameters: targetDragValue - Parameters: targetDropValue - |
getEventType | public int getEventType()(Code) | | Event type for the Event. Possible values are DRAG_START, DRAG_CANCEL,
DROPPED, HOVER_START HOVER_END
int eventType |
getTargetClientId | public String getTargetClientId()(Code) | | The clientId of the target Panel Group. Null for DRAG_START, DRAG_CANCEL,
and HOVER_END events
String targetClientId |
getTargetDragValue | public Object getTargetDragValue()(Code) | | The drag value assigned to the target PanelGroup Null for DRAG_START,
DRAG_CANCEL, and HOVER_END events
Object targetDragValue |
getTargetDropValue | public Object getTargetDropValue()(Code) | | The drop value assigned to the target PanelGroup Null for DRAG_START,
DRAG_CANCEL, and HOVER_END events
Object targetDropValue |
isAppropriateListener | public boolean isAppropriateListener(FacesListener facesListener)(Code) | | False
Parameters: facesListener - boolean |
parseMask | public static String parseMask(String mask)(Code) | | Parse a mask value to make its valid, Used in rendering.
Parameters: mask - String mask |
processListener | public void processListener(FacesListener facesListener)(Code) | | Not implemented
Parameters: facesListener - |
|
|