org.zkoss.zkmax.zul.event
Class CellClickEvent

java.lang.Object
  extended by org.zkoss.zk.ui.event.Event
      extended by org.zkoss.zk.ui.event.MouseEvent
          extended by org.zkoss.zkmax.zul.event.CellClickEvent
All Implemented Interfaces:
java.io.Serializable

public class CellClickEvent
extends MouseEvent

Represents an event that indicates a clicking on a cell data for a matrix data component like Biglistbox, and provides more information about the row index and the column index.

Since:
6.0.1
Author:
jumperchen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.zkoss.zk.ui.event.MouseEvent
ALT_KEY, CTRL_KEY, LEFT_CLICK, MIDDLE_CLICK, RIGHT_CLICK, SHIFT_KEY
 
Constructor Summary
CellClickEvent(java.lang.String name, Component target, int x, int y, int pageX, int pageY, int keys, int columnIndex, int rowIndex)
           
CellClickEvent(java.lang.String name, Component target, java.lang.String area, int keys, int columnIndex, int rowIndex)
           
 
Method Summary
static CellClickEvent getCellClickEvent(AuRequest request)
           
 int getColumnIndex()
          Returns the column index.
 java.lang.Object getData()
          Returns the data of the event, by default returning an integer array of column index and row index.
 int getRowIndex()
          Returns the row index
 
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
getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CellClickEvent

public CellClickEvent(java.lang.String name,
                      Component target,
                      int x,
                      int y,
                      int pageX,
                      int pageY,
                      int keys,
                      int columnIndex,
                      int rowIndex)

CellClickEvent

public CellClickEvent(java.lang.String name,
                      Component target,
                      java.lang.String area,
                      int keys,
                      int columnIndex,
                      int rowIndex)
Method Detail

getCellClickEvent

public static CellClickEvent getCellClickEvent(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:
getData in class Event

getColumnIndex

public int getColumnIndex()
Returns the column index.


getRowIndex

public int getRowIndex()
Returns the row index



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo