Search
CalendarDrawEvent Members
Methods
 


Contains the arguments passed to handlers of the CalendarListener.draw event.

The following tables list the members exposed by the CalendarDrawEvent type.

 Public Methods

  Name Description

getBounds

Gets the bounding rectangle of the element being drawn.

getDate

Gets the date and time associated with the element being drawn.

getElement

Gets the type of the calendar element being drawn.

getEndTime

Gets the end time associated with the element being drawn.

getGraphics

Gets the Graphics2D instance whose methods can be used to perform custom drawing.

getHandled

Gets a value indicating whether the event was handled by the client.

getIndex

Gets the index associated with the element being drawn.

getIsShadow

Gets a value indicating whether the shadow of an item is being drawn.

getItem

Gets the item being custom drawn.

getPointed

Gets a value indicating whether the associated item (if any) is being pointed by the mouse.

getResource

Gets the resource related to the element being drawn.

getResources

Gets the resources related to the element being drawn.

getStartTime

Gets the start time associated with the element being drawn.

getStyle

Gets the style associated with the element being drawn.

getText

Gets the text associated with the element being drawn.

setHandled

Sets a value indicating whether the event was handled by the client.

 See Also