Class CellMouseEvent

java.lang.Object
org.zkoss.zk.ui.event.Event
org.zkoss.zk.ui.event.MouseEvent
io.keikai.ui.event.CellMouseEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CellFilterEvent, CellHyperlinkEvent

public class CellMouseEvent extends org.zkoss.zk.ui.event.MouseEvent
A class from handle event which about mouse event on a cell
Author:
Dennis.Chen
See Also:
  • Field Summary

    Fields inherited from class org.zkoss.zk.ui.event.MouseEvent

    ALT_KEY, CTRL_KEY, LEFT_CLICK, META_KEY, MIDDLE_CLICK, RIGHT_CLICK, SHIFT_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
    CellMouseEvent(String name, org.zkoss.zk.ui.Component target, Sheet sheet, int row, int col, int x, int y, int keys, int clientx, int clienty)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    get x position of client
    int
    get y position of client
    int
    get column index
    int
    get row index
    get Sheet
     

    Methods inherited from class org.zkoss.zk.ui.event.MouseEvent

    getArea, getAreaComponent, getKeys, getMouseEvent, getPageX, getPageY, getX, getY

    Methods inherited from class org.zkoss.zk.ui.event.Event

    getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CellMouseEvent

      public CellMouseEvent(String name, org.zkoss.zk.ui.Component target, Sheet sheet, int row, int col, int x, int y, int keys, int clientx, int clienty)
      Since:
      3.0.0
  • Method Details

    • getSheet

      public Sheet getSheet()
      get Sheet
      Returns:
      sheet the related sheet
    • getRow

      public int getRow()
      get row index
      Returns:
      row index
    • getColumn

      public int getColumn()
      get column index
      Returns:
      column index
    • getClientx

      public int getClientx()
      get x position of client
      Returns:
      x position
    • getClienty

      public int getClienty()
      get y position of client
      Returns:
      y position
    • toString

      public String toString()
      Overrides:
      toString in class org.zkoss.zk.ui.event.Event