Calendar Component v5.1
www.calendarcomponent.com

com.imagine.component.calendar.events
Class CalendarEventInputAction

java.lang.Object
  extended bycom.imagine.component.calendar.events.CalendarEvent
      extended bycom.imagine.component.calendar.events.CalendarEventInputAction
Direct Known Subclasses:
CalendarEventKeyAction, CalendarEventMouseAction, CalendarEventMouseMotionAction

public abstract class CalendarEventInputAction
extends CalendarEvent

Abstract class for describing an input event such as: a key event, a mouse event or a mouse motion event.


Constructor Summary
CalendarEventInputAction(CalendarComponent calendarComponent, CalendarPartInfo calendarPartInfo)
          Create a CalendarEventCalendarPartAction event.
 
Method Summary
 CalendarPartInfo getRelatedCalendarPartInfo()
          Get the CalendarPartInfo associated.
 
Methods inherited from class com.imagine.component.calendar.events.CalendarEvent
consume, getCalendarComponent, isConsumed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarEventInputAction

public CalendarEventInputAction(CalendarComponent calendarComponent,
                                CalendarPartInfo calendarPartInfo)
Create a CalendarEventCalendarPartAction event.

Parameters:
calendarComponent - The parent CalendarComponent object.
calendarPartInfo - The calendarPartInfo related to the event.
Method Detail

getRelatedCalendarPartInfo

public CalendarPartInfo getRelatedCalendarPartInfo()
Get the CalendarPartInfo associated. This is one of the types CalendarTableCellInfo, CalendarWeekCellInfo, CalendarHeaderCellInfo, CalendarStatusPanelInfo and contains informations about the calendar part related to the event.
For example if a mouse motion event is performed over a calendar part, then that calendar is the one related to the event.

Returns:
The CalendarPartInfo related to the event.

Calendar Component v5.1
www.calendarcomponent.com