Public 成员函数 | |
| CalendarHeader (Context context) | |
| CalendarHeader (Context context, AttributeSet attributeset) | |
| void | setHeaderBackgroundResource (int resid) |
| int | getTextSize () |
| void | setTextSize (int mTextSize) |
| String | getWeekDayName (int calendarDay) |
Protected 成员函数 | |
| void | onDraw (Canvas canvas) |
Private 成员函数 | |
| void | drawDayHeader (Canvas canvas) |
Private 属性 | |
| String | TAG = "CalendarHeader" |
| final Paint | mPaint |
| RectF | rect = new RectF() |
| int | weekDay = Calendar.SUNDAY |
| String[] | dayName = new String[10] |
| int | width = 320 |
| int | height = 480 |
| int | cellWidth = 40 |
| int | defaultTextColor = Color.rgb(86, 86, 86) |
| int | specialTextColor = Color.rgb(240, 140, 26) |
| int | defaultTextSize = 25 |
| boolean | defaultTextBold = false |
| boolean | hasBg = false |
© 2012 amsoft.cn 名称:CalendarHeader.java 描述:日历控件头部绘制类
|
inline |
日历头.
| context | the context |
|
inline |
Instantiates a new calendar header.
| context | the context |
| attributeset | the attributeset |
|
inlineprivate |
Draw day header.
| canvas | the canvas |
|
inline |
描述:文字大小.
|
inline |
描述:获取星期的文字描述.
| calendarDay | the calendar day |
|
inlineprotected |
描述:TODO.
| canvas | the canvas |
|
inline |
描述:设置背景.
| resid | the new header background resource |
|
inline |
描述:设置文字大小.
| mTextSize | the new text size |
|
private |
每个单元格的宽度.
|
private |
The day name.
|
private |
字体是否加粗.
|
private |
文字颜色.
|
private |
字体大小.
|
private |
是否有设置头部背景.
|
private |
The height.
|
private |
The m paint.
|
private |
The rect.
|
private |
特别文字颜色.
|
private |
The tag.
|
private |
The week day.
|
private |
The width.
1.8.8