|
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 |
All the graphics properties (colors, fonts, images, etc) used by a CalendarComponent object are stored in the CalendarSkin.
Method Summary | |
void |
applyCalendarSkinStyle(CalendarSkinStyle calendarSkinStyle)
Apply the specified style to this skin. |
CalendarComponent |
getCalendarComponent()
Returns the calendarComponent associated. |
java.awt.Color |
getColorSkinProperty(CalendarProperty calendarProperty)
Get the value of the specified skin property as a Color object. |
java.awt.Font |
getFontSkinProperty(CalendarProperty calendarProperty)
Get the value of the specified property as a Font object. |
java.awt.Image |
getImageSkinProperty(CalendarProperty calendarProperty)
Get the value of the specified property as an Image object. |
java.lang.String |
getName()
Get the name of the skin. |
java.lang.Object |
getSkinProperty(CalendarProperty calendarProperty)
Get the value of the specified skin property. |
CalendarProperty[] |
getSupportedCalendarSkinProperties()
Get the list of properties suported. |
void |
setName(java.lang.String name)
Set the name of the skin. |
void |
setSkinProperty(CalendarProperty calendarProperty,
java.lang.Object value)
Set the specified skin property to the specified value. |
Field Detail |
public static final CalendarProperty CELL_TEXT_COLOR
public static final CalendarProperty CELL_FILL_COLOR
public static final CalendarProperty SELECTED_CELL_TEXT_COLOR
public static final CalendarProperty SELECTED_CELL_FILL_COLOR
public static final CalendarProperty EXTRA_MONTH_CELL_TEXT_COLOR
public static final CalendarProperty WEEKEND_CELL_TEXT_COLOR
public static final CalendarProperty TODAY_COLOR
public static final CalendarProperty DISABLED_COLOR
public static final CalendarProperty GRID_COLOR
public static final CalendarProperty WEEK_CELL_TEXT_COLOR
public static final CalendarProperty WEEK_CELL_FILL_COLOR
public static final CalendarProperty HEADER_CELL_TEXT_COLOR
public static final CalendarProperty HEADER_CELL_FILL_COLOR
public static final CalendarProperty HOVERED_CELL_TEXT_COLOR
public static final CalendarProperty HOVERED_CELL_FILL_COLOR
public static final CalendarProperty CELL_FONT
public static final CalendarProperty WEEKEND_CELL_FONT
public static final CalendarProperty EXTRA_MONTH_CELL_FONT
public static final CalendarProperty WEEK_CELL_FONT
public static final CalendarProperty HEADER_CELL_FONT
public static final CalendarProperty BACKGROUND_IMAGE
public static final CalendarProperty CELL_BACKGROUND_IMAGE
public static final CalendarProperty STATUS_PANEL_FONT
public static final CalendarProperty STATUS_PANEL_FILL_COLOR
public static final CalendarProperty STATUS_PANEL_TEXT_COLOR
public static final CalendarProperty STATUS_PANEL_HOVERED_TEXT_COLOR
Method Detail |
public java.lang.Object getSkinProperty(CalendarProperty calendarProperty)
calendarProperty
- The property for which the value must be returned.
public java.awt.Color getColorSkinProperty(CalendarProperty calendarProperty)
calendarProperty
- The property for which the value must be returned.
public java.awt.Font getFontSkinProperty(CalendarProperty calendarProperty)
calendarProperty
- The property for which the value must be returned.
public java.awt.Image getImageSkinProperty(CalendarProperty calendarProperty)
calendarProperty
- The property for which the value must be returned.
public void setSkinProperty(CalendarProperty calendarProperty, java.lang.Object value) throws CalendarPropertyException
calendarProperty
- The property to be set.value
- The value to set for the specified property.
CalendarPropertyException
public CalendarProperty[] getSupportedCalendarSkinProperties()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the skin.public void applyCalendarSkinStyle(CalendarSkinStyle calendarSkinStyle) throws CalendarPropertyException
calendarSkinStyle
- The style to be applied.
CalendarPropertyException
public CalendarComponent getCalendarComponent()
|
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 |