Calendar Component v5.1
www.calendarcomponent.com

com.imagine.component.calendar.data
Interface CalendarPartInfo

All Known Subinterfaces:
CalendarBackgroundInfo, CalendarHeaderCellInfo, CalendarStatusPanelInfo, CalendarTableCellInfo, CalendarWeekCellInfo

public interface CalendarPartInfo

Contains informations about a calendar part.


Method Summary
 int getHeight()
          Returns the height of the calendar part.
 int getLocationOnScreenX()
           
 int getLocationOnScreenY()
           
 int getModifiers()
          Wraper for the function InputEvent.getModifiers().
 int getModifiersEx()
          Wraper for the function InputEvent.getModifiersEx().
 int getMouseClickCount()
          Wraper for the function MouseEvent.getClickCount().
 int getMouseX()
           
 int getMouseY()
           
 int getTableX()
           
 int getTableY()
           
 int getWidth()
          Returns the width of the calendar part.
 boolean isHovered()
           
 

Method Detail

getLocationOnScreenX

public int getLocationOnScreenX()
Returns:
Returns the x location of this calendar part on screen.

getLocationOnScreenY

public int getLocationOnScreenY()
Returns:
Returns the y location of this calendar part on screen.

getTableX

public int getTableX()
Returns:
Returns the x location of this calendar part on the table.

getTableY

public int getTableY()
Returns:
Returns the y location of this calendar part on the table.

getMouseX

public int getMouseX()
Returns:
Returns the mousex.

getMouseY

public int getMouseY()
Returns:
Returns the mousey.

getMouseClickCount

public int getMouseClickCount()
Wraper for the function MouseEvent.getClickCount().


getModifiers

public int getModifiers()
Wraper for the function InputEvent.getModifiers().


getModifiersEx

public int getModifiersEx()
Wraper for the function InputEvent.getModifiersEx().


isHovered

public boolean isHovered()
Returns:
Returns true if the calendar part is hovered. False otherwise.

getWidth

public int getWidth()
Returns the width of the calendar part.

Returns:
Returns the width of the calendar part.

getHeight

public int getHeight()
Returns the height of the calendar part.

Returns:
Returns the height of the calendar part.

Calendar Component v5.1
www.calendarcomponent.com