|
Java Calendar Component v3.1 www.java-calendar.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.imagine.component.calendar.renderers.statuspanelrenderers.CalendarStatusPanelRendererDefault
Defines the default status panel renderer.
Constructor Summary | |
CalendarStatusPanelRendererDefault()
|
Method Summary | |
int |
getLeftPadding()
Get the left padding. |
int |
getRightPadding()
Get the right padding. |
boolean |
isNoneLabelHovered(java.awt.Graphics g,
CalendarComponent calendarComponent,
CalendarStatusPanelInfo calendarStatusPanelInfo)
Determines if the none label is hovered. |
boolean |
isTodayLabelHovered(java.awt.Graphics g,
CalendarComponent calendarComponent,
CalendarStatusPanelInfo calendarStatusPanelInfo)
Determines if the today label is hovered. |
void |
paint(java.awt.Graphics g,
CalendarComponent calendarComponent,
CalendarStatusPanelInfo calendarStatusPanelInfo)
This method is efectively called to paint the content of the status panel. |
void |
setLeftPadding(int leftPadding)
Set the left padding. |
void |
setRightPadding(int rightPadding)
Set the right padding. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CalendarStatusPanelRendererDefault()
Method Detail |
public void paint(java.awt.Graphics g, CalendarComponent calendarComponent, CalendarStatusPanelInfo calendarStatusPanelInfo)
CalendarStatusPanelRenderer
paint
in interface CalendarStatusPanelRenderer
g
- The graphics object used for painting.calendarComponent
- The calendarComponent on which it will be performed the painting.calendarStatusPanelInfo
- The calendarStatusPanelInfo containing the informations needed for performing the paint.public boolean isTodayLabelHovered(java.awt.Graphics g, CalendarComponent calendarComponent, CalendarStatusPanelInfo calendarStatusPanelInfo)
CalendarStatusPanelRenderer
isTodayLabelHovered
in interface CalendarStatusPanelRenderer
g
- The graphics object used.calendarComponent
- The parent calendarComponent.calendarStatusPanelInfo
- The calendarStatusPanelInfo containing the informations needed.public boolean isNoneLabelHovered(java.awt.Graphics g, CalendarComponent calendarComponent, CalendarStatusPanelInfo calendarStatusPanelInfo)
CalendarStatusPanelRenderer
isNoneLabelHovered
in interface CalendarStatusPanelRenderer
g
- The graphics object used.calendarComponent
- The parent calendarComponent.calendarStatusPanelInfo
- The calendarStatusPanelInfo containing the informations needed.public int getLeftPadding()
getLeftPadding
in interface CalendarStatusPanelRenderer
public void setLeftPadding(int leftPadding)
setLeftPadding
in interface CalendarStatusPanelRenderer
leftPadding
- The left padding. This is the distance between the left side of panel and the start of painting the "Today" label.public int getRightPadding()
getRightPadding
in interface CalendarStatusPanelRenderer
public void setRightPadding(int rightPadding)
setRightPadding
in interface CalendarStatusPanelRenderer
rightPadding
- The right padding. This is the distance between the right side of panel and the end of painting the "None" label.
|
Java Calendar Component v3.1 www.java-calendar.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |