public class TooltipEvent
extends java.util.EventObject
tooltipDisplaying
event.Modifier and Type | Method and Description |
---|---|
CalendarElement |
getElement()
Gets the element whose tooltip is being displayed.
|
Resource |
getResource()
Gets the resource associated with the calendar element or null if none.
|
DateTime |
getTime()
Gets the time associated with the calendar element or
DateTime.MinValue if none. |
java.lang.String |
getTooltip()
Gets the tooltip of the element.
|
void |
setTooltip(java.lang.String value)
Sets the tooltip of the element.
|
public CalendarElement getElement()
CalendarElement
constants identifying the calendar element
whose tooltip is about to be displayed.public java.lang.String getTooltip()
public void setTooltip(java.lang.String value)
value
- The text of the tooltip.public Resource getResource()
public DateTime getTime()
DateTime.MinValue
if none.DateTime
object representing the date and time associated with the element
whose tooltip is being displayed or DateTime.MinValue
if no time is related with the element.