public class CalendarDropEvent
extends org.zkoss.zk.ui.event.DropEvent
The component being dragged can be retrieved by DropEvent.getDragged()
.
The component that received the dragged component is Event.getTarget()
.
Constructor and Description |
---|
CalendarDropEvent(java.lang.String name,
org.zkoss.zk.ui.Component target,
org.zkoss.zk.ui.Component dragged,
int x,
int y,
int pageX,
int pageY,
int keys,
java.util.Date date,
CalendarItem ce) |
Modifier and Type | Method and Description |
---|---|
static CalendarDropEvent |
getCalendarDropEvent(org.zkoss.zk.au.AuRequest request)
Converts an AU request to a drop event.
|
CalendarItem |
getCalendarEvent()
Returns the calendar event.
|
java.util.Date |
getDate()
Returns the date of drop area.
|
getAreaComponent, getKeys, getMouseEvent, getPageX, getPageY, getX, getY
public CalendarDropEvent(java.lang.String name, org.zkoss.zk.ui.Component target, org.zkoss.zk.ui.Component dragged, int x, int y, int pageX, int pageY, int keys, java.util.Date date, CalendarItem ce)
public static CalendarDropEvent getCalendarDropEvent(org.zkoss.zk.au.AuRequest request)
public java.util.Date getDate()
public CalendarItem getCalendarEvent()
Copyright © 2021. All Rights Reserved.