Package org.zkoss.zkmax.ui.event
Class PortalMoveEvent
- java.lang.Object
-
- org.zkoss.zk.ui.event.Event
-
- org.zkoss.zkmax.ui.event.PortalMoveEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class PortalMoveEvent extends org.zkoss.zk.ui.event.EventRepresents an event caused by a portal being moved.Available in ZK EE
- Since:
- 5.0.0
- Author:
- jumperchen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PortalMoveEvent(java.lang.String evtnm, org.zkoss.zk.ui.Component target, Portalchildren from, Portalchildren to, org.zkoss.zul.Panel dragged, int droppedIndex)Constructs a ColumnMoved event.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.zkoss.zul.PanelgetDragged()Returns the panel being dragged.intgetDroppedIndex()Returns the dropped index.PortalchildrengetFrom()Returns the portalchildren from the dragged panel.static PortalMoveEventgetPortalMoveEvent(org.zkoss.zk.au.AuRequest request)Converts an AU request to a portal-move event.PortalchildrengetTo()Returns the portalchildren where the dragged panel drops to.
-
-
-
Constructor Detail
-
PortalMoveEvent
public PortalMoveEvent(java.lang.String evtnm, org.zkoss.zk.ui.Component target, Portalchildren from, Portalchildren to, org.zkoss.zul.Panel dragged, int droppedIndex)Constructs a ColumnMoved event.- Since:
- 5.0.0
-
-
Method Detail
-
getPortalMoveEvent
public static final PortalMoveEvent getPortalMoveEvent(org.zkoss.zk.au.AuRequest request)
Converts an AU request to a portal-move event.- Since:
- 5.0.0
-
getFrom
public Portalchildren getFrom()
Returns the portalchildren from the dragged panel.
-
getTo
public Portalchildren getTo()
Returns the portalchildren where the dragged panel drops to.
-
getDragged
public final org.zkoss.zul.Panel getDragged()
Returns the panel being dragged.
-
getDroppedIndex
public int getDroppedIndex()
Returns the dropped index.- Since:
- 3.6.0
-
-