public class PortalDropEvent extends Event
preventDefault()
otherwise the result may not be as expected.
Available in ZK EE
Constructor and Description |
---|
PortalDropEvent(java.lang.String evtnm,
Component target,
Portalchildren from,
Portalchildren to,
Panel dragged,
int droppedIndex)
Constructs a PortalDrop event.
|
Modifier and Type | Method and Description |
---|---|
Panel |
getDragged()
Returns the panel being dragged.
|
int |
getDraggedColumnIndex()
Returns the index of the column which dragged happened.
|
int |
getDraggedIndex()
Returns the dragged index.
|
int |
getDroppedColumnIndex()
Returns the index of the column which dropped happened.
|
int |
getDroppedIndex()
Returns the dropped index.
|
Portalchildren |
getFrom()
Returns the portalchildren from the dragged panel.
|
static PortalDropEvent |
getPortalDropEvent(AuRequest request)
Converts an AU request to a portal-drop event.
|
Portalchildren |
getTo()
Returns the portalchildren where the dragged panel drops to.
|
boolean |
isDefaultPrevented()
Returns whether to process the default behavior(move the portal) after portal drop.
|
void |
preventDefault()
Stop the default behavior(move the portal) after portal drop.
|
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
public PortalDropEvent(java.lang.String evtnm, Component target, Portalchildren from, Portalchildren to, Panel dragged, int droppedIndex)
public static final PortalDropEvent getPortalDropEvent(AuRequest request)
public Portalchildren getFrom()
public Portalchildren getTo()
public final Panel getDragged()
public int getDroppedIndex()
public int getDraggedIndex()
public int getDroppedColumnIndex()
public int getDraggedColumnIndex()
public boolean isDefaultPrevented()
public void preventDefault()
Copyright © 2005-2021 Potix Corporation. All Rights Reserved.