Class PivotUIEvent

  • All Implemented Interfaces:
    Serializable

    public class PivotUIEvent
    extends org.zkoss.zk.ui.event.Event
    UI Event on a Pivottable, including onPivotPopup, onPivotContext, onPivotToolTip, onPivotNodeOpen.
    Author:
    jumperchen
    See Also:
    Serialized Form
    • Method Detail

      • getPivotUIEvent

        public static final PivotUIEvent getPivotUIEvent​(org.zkoss.zk.au.AuRequest request)
        Converts an AU request to an pivot UI event.
      • getRowContext

        public PivotHeaderContext getRowContext()
        Return the PivotHeaderContext corresponding to the row slot on which the Event occurs, null if happens on columns.
        See Also:
        PivotHeaderContext
      • getColumnContext

        public PivotHeaderContext getColumnContext()
        Return the PivotHeaderContext corresponding to the column slot on which the Event occurs, null if happens on rows.
        See Also:
        PivotHeaderContext
      • getDataField

        public PivotField getDataField()
        Return the data field on which the Event occurs, null if not applicable.
      • isOpen

        public boolean isOpen()
        Returns whether the event indicates opening a node. Return false if the event is not a node open event.
      • getX

        public final int getX()
        Return the horizontal coordinate of the mouse pointer relative to the component.
      • getY

        public final int getY()
        Return the vertical coordinate of the mouse pointer relative to the component.