public class PivotUIEvent
extends org.zkoss.zk.ui.event.Event
onPivotPopup, onPivotContext,
onPivotToolTip, onPivotNodeOpen
.Modifier and Type | Field and Description |
---|---|
static String |
ON_PIVOT_CONTEXT |
static String |
ON_PIVOT_NODE_OPEN |
static String |
ON_PIVOT_POPUP |
static String |
ON_PIVOT_TOOLTIP |
Constructor and Description |
---|
PivotUIEvent(String name,
org.zkoss.zk.ui.Component pivottable,
boolean open,
PivotField.Type pfType,
PivotHeaderContext colContext,
PivotHeaderContext rowContext,
PivotField dataField)
Construct PivotUIEvent for open event.
|
PivotUIEvent(String name,
org.zkoss.zk.ui.Component pivottable,
int x,
int y,
PivotField.Type pfType,
PivotHeaderContext colContext,
PivotHeaderContext rowContext,
PivotField dataField)
Construct PivotUIEvent for popup, tooltip, and context.
|
Modifier and Type | Method and Description |
---|---|
PivotHeaderContext |
getColumnContext()
Return the PivotHeaderContext corresponding to the column slot on which
the Event occurs, null if happens on rows.
|
static PivotHeaderContext |
getContext(PivotHeaderTree tree,
String key,
int dispIndex) |
PivotField |
getDataField()
Return the data field on which the Event occurs, null if not applicable.
|
PivotField.Type |
getFieldType()
Return the field type on which the Event occurs.
|
static PivotUIEvent |
getPivotUIEvent(org.zkoss.zk.au.AuRequest request)
Converts an AU request to an pivot UI event.
|
PivotHeaderContext |
getRowContext()
Return the PivotHeaderContext corresponding to the row slot on which
the Event occurs, null if happens on columns.
|
int |
getX()
Return the horizontal coordinate of the mouse pointer relative to
the component.
|
int |
getY()
Return the vertical coordinate of the mouse pointer relative to
the component.
|
boolean |
isOpen()
Returns whether the event indicates opening a node.
|
public static final String ON_PIVOT_POPUP
public static final String ON_PIVOT_CONTEXT
public static final String ON_PIVOT_TOOLTIP
public static final String ON_PIVOT_NODE_OPEN
public PivotUIEvent(String name, org.zkoss.zk.ui.Component pivottable, boolean open, PivotField.Type pfType, PivotHeaderContext colContext, PivotHeaderContext rowContext, PivotField dataField)
public PivotUIEvent(String name, org.zkoss.zk.ui.Component pivottable, int x, int y, PivotField.Type pfType, PivotHeaderContext colContext, PivotHeaderContext rowContext, PivotField dataField)
public static final PivotUIEvent getPivotUIEvent(org.zkoss.zk.au.AuRequest request)
public PivotField.Type getFieldType()
PivotField
public PivotHeaderContext getRowContext()
PivotHeaderContext
public PivotHeaderContext getColumnContext()
PivotHeaderContext
public PivotField getDataField()
public boolean isOpen()
public final int getX()
public final int getY()
public static PivotHeaderContext getContext(PivotHeaderTree tree, String key, int dispIndex)
Copyright © 2017. All rights reserved.