public class ResourceDateEvent extends DateEvent
| Constructor and Description |
|---|
ResourceDateEvent(java.lang.Object source,
Resource[] resources,
DateTime date,
int index,
int button,
int clicks,
java.awt.Rectangle bounds)
Initializes a new instance of the
ResourceDateEvent class. |
| Modifier and Type | Method and Description |
|---|---|
Resource |
getResource()
Gets the resource associated with the clicked cell.
|
Resource[] |
getResourcePath()
Gets the resources associated with the clicked cell.
|
public ResourceDateEvent(java.lang.Object source,
Resource[] resources,
DateTime date,
int index,
int button,
int clicks,
java.awt.Rectangle bounds)
ResourceDateEvent class.source - The Calendar that raises this event.resources - The resources associated with the clicked cell.date - The date and time associated with this event.index - Index of the calendar cell related to this event.button - The pressed mouse button.clicks - The number of clicks.bounds - Bounding rectangle of the clicked date cell.