|
Calendar Component v5.1 www.calendarcomponent.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.CalendarStatusPanelRendererTodayLabelCentered
Defines a status panel renderer which displays the today label centered.
| Constructor Summary | |
CalendarStatusPanelRendererTodayLabelCentered()
|
|
| 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 CalendarStatusPanelRendererTodayLabelCentered()
| Method Detail |
public void paint(java.awt.Graphics g,
CalendarComponent calendarComponent,
CalendarStatusPanelInfo calendarStatusPanelInfo)
CalendarStatusPanelRenderer
paint in interface CalendarStatusPanelRendererg - 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 CalendarStatusPanelRendererg - 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 CalendarStatusPanelRendererg - The graphics object used.calendarComponent - The parent calendarComponent.calendarStatusPanelInfo - The calendarStatusPanelInfo containing the informations needed.public int getLeftPadding()
getLeftPadding in interface CalendarStatusPanelRendererpublic void setLeftPadding(int leftPadding)
setLeftPadding in interface CalendarStatusPanelRendererleftPadding - 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 CalendarStatusPanelRendererpublic void setRightPadding(int rightPadding)
setRightPadding in interface CalendarStatusPanelRendererrightPadding - The right padding. This is the distance between the right side of panel and the end of painting the "None" label.
|
Calendar Component v5.1 www.calendarcomponent.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||