Package org.zkoss.zkmax.zul.event
Class CellClickEvent
- java.lang.Object
-
- org.zkoss.zk.ui.event.Event
-
- org.zkoss.zk.ui.event.MouseEvent
-
- org.zkoss.zkmax.zul.event.CellClickEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class CellClickEvent extends org.zkoss.zk.ui.event.MouseEventRepresents an event that indicates a clicking on a cell data for a matrix data component likeBiglistbox, and provides more information about the row index and the column index.- Since:
- 6.0.1
- Author:
- jumperchen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CellClickEvent(java.lang.String name, org.zkoss.zk.ui.Component target, int x, int y, int pageX, int pageY, int keys, int columnIndex, int rowIndex)CellClickEvent(java.lang.String name, org.zkoss.zk.ui.Component target, java.lang.String area, int keys, int columnIndex, int rowIndex)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CellClickEventgetCellClickEvent(org.zkoss.zk.au.AuRequest request)intgetColumnIndex()Returns the column index.java.lang.ObjectgetData()Returns the data of the event, by default returning an integer array of column index and row index.intgetRowIndex()Returns the row index-
Methods inherited from class org.zkoss.zk.ui.event.MouseEvent
getArea, getAreaComponent, getKeys, getMouseEvent, getPageX, getPageY, getX, getY
-
-
-
-
Constructor Detail
-
CellClickEvent
public CellClickEvent(java.lang.String name, org.zkoss.zk.ui.Component target, int x, int y, int pageX, int pageY, int keys, int columnIndex, int rowIndex)
-
CellClickEvent
public CellClickEvent(java.lang.String name, org.zkoss.zk.ui.Component target, java.lang.String area, int keys, int columnIndex, int rowIndex)
-
-
Method Detail
-
getCellClickEvent
public static CellClickEvent getCellClickEvent(org.zkoss.zk.au.AuRequest request)
-
getData
public java.lang.Object getData()
Returns the data of the event, by default returning an integer array of column index and row index.- Overrides:
getDatain classorg.zkoss.zk.ui.event.Event
-
getColumnIndex
public int getColumnIndex()
Returns the column index.
-
getRowIndex
public int getRowIndex()
Returns the row index
-
-