public final class CalendarTextEvent
extends java.util.EventObject
customizeText event.| Constructor and Description |
|---|
CalendarTextEvent(java.lang.Object source,
CalendarTextElements element,
java.lang.String text,
int index,
DateTime date,
Duration startTime,
Duration endTime,
Resource[] resources)
Initializes a new instance of the
CalendarTextEvent class. |
| Modifier and Type | Method and Description |
|---|---|
DateTime |
getDate()
Gets the date and time associated with the element being customized.
|
CalendarTextElements |
getElement()
Gets the type of the calendar element related to the event.
|
Duration |
getEndTime()
Gets the end time (if any) associated with the element being customized.
|
int |
getIndex()
Gets the index associated with the element being customized.
|
Resource |
getResource()
Gets the resource related to the element being customized.
|
Resource[] |
getResources()
Gets the resources related to the element being drawn.
|
Duration |
getStartTime()
Gets the start time (if any) associated with the element being customized.
|
java.lang.String |
getText()
Gets the associated text.
|
void |
setText(java.lang.String value)
Sets the associated text.
|
public CalendarTextEvent(java.lang.Object source,
CalendarTextElements element,
java.lang.String text,
int index,
DateTime date,
Duration startTime,
Duration endTime,
Resource[] resources)
CalendarTextEvent class.public CalendarTextElements getElement()
CalendarTextElements values.public java.lang.String getText()
public void setText(java.lang.String value)
public int getIndex()
This property specifies the index of a view column or cell. If there is no index associated with the element, the return value is 0.
public DateTime getDate()
If there is no time associated with the element, the return value is DateTime.MinValue.
public Duration getStartTime()
public Duration getEndTime()
public Resource getResource()
This could be null when no resources are related to the element.
public Resource[] getResources()