Class PortalMoveEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class PortalMoveEvent
    extends Event
    Represents an event caused by a portal being moved.

    Available in ZK EE

    Since:
    5.0.0
    Author:
    jumperchen
    See Also:
    Serialized Form
    • Constructor Detail

      • PortalMoveEvent

        public PortalMoveEvent​(java.lang.String evtnm,
                               Component target,
                               Portalchildren from,
                               Portalchildren to,
                               Panel dragged,
                               int droppedIndex)
        Constructs a ColumnMoved event.
        Since:
        5.0.0
    • Method Detail

      • getPortalMoveEvent

        public static final PortalMoveEvent getPortalMoveEvent​(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 Panel getDragged()
        Returns the panel being dragged.
      • getDroppedIndex

        public int getDroppedIndex()
        Returns the dropped index.
        Since:
        3.6.0