public class HeaderMouseEvent
extends org.zkoss.zk.ui.event.MouseEvent
Constructor and Description |
---|
HeaderMouseEvent(String name,
org.zkoss.zk.ui.Component target,
int x,
int y,
int keys,
SSheet sheet,
HeaderType type,
int index,
int clientx,
int clienty) |
Modifier and Type | Method and Description |
---|---|
int |
getClientx()
get x position of client
|
int |
getClienty()
get y position of client
|
int |
getIndex()
get index of the header, if the
getType() return @link HeaderEvent#TOP_HEADER} then it is column index, otherwise it is row index |
SSheet |
getSheet()
get Sheet
|
HeaderType |
getType()
get type of this event, it will be
HeaderUpdateEvent#TOP_HEADER or (@link HeaderEvent#LEFT_HEADER} |
String |
toString() |
getArea, getAreaComponent, getKeys, getMouseEvent, getPageX, getPageY, getX, getY
public HeaderMouseEvent(String name, org.zkoss.zk.ui.Component target, int x, int y, int keys, SSheet sheet, HeaderType type, int index, int clientx, int clienty)
public SSheet getSheet()
public int getIndex()
getType()
return @link HeaderEvent#TOP_HEADER} then it is column index, otherwise it is row indexpublic HeaderType getType()
HeaderUpdateEvent#TOP_HEADER
or (@link HeaderEvent#LEFT_HEADER}public int getClientx()
public int getClienty()
public String toString()
toString
in class org.zkoss.zk.ui.event.Event
Copyright © 2020. All rights reserved.