|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.util.MonthDisplayHelper
android.util.DayOfMonthCursor
public class DayOfMonthCursor
Helps control and display a month view of a calendar that has a current selected day.
| Constructor Summary | |
|---|---|
DayOfMonthCursor(int year,
int month,
int dayOfMonth,
int weekStartDay)
|
|
| Method Summary | |
|---|---|
boolean |
down()
Move down one box, potentially flipping to the next month. |
int |
getSelectedColumn()
|
int |
getSelectedDayOfMonth()
|
int |
getSelectedRow()
|
boolean |
isSelected(int row,
int column)
|
boolean |
left()
Move left one box, potentially flipping to the previous month. |
boolean |
right()
Move right one box, potentially flipping to the next month. |
void |
setSelectedDayOfMonth(int dayOfMonth)
|
void |
setSelectedRowColumn(int row,
int col)
|
boolean |
up()
Move up one box, potentially flipping to the previous month. |
| Methods inherited from class android.util.MonthDisplayHelper |
|---|
getColumnOf, getDayAt, getDigitsForRow, getFirstDayOfMonth, getMonth, getNumberOfDaysInMonth, getOffset, getRowOf, getWeekStartDay, getYear, isWithinCurrentMonth, nextMonth, previousMonth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DayOfMonthCursor(int year,
int month,
int dayOfMonth,
int weekStartDay)
year - The initial year.month - The initial month.dayOfMonth - The initial dayOfMonth.weekStartDay - What dayOfMonth of the week the week should start,
in terms of Calendar constants such as
Calendar.SUNDAY.| Method Detail |
|---|
public int getSelectedRow()
public int getSelectedColumn()
public void setSelectedRowColumn(int row,
int col)
public int getSelectedDayOfMonth()
public void setSelectedDayOfMonth(int dayOfMonth)
public boolean isSelected(int row,
int column)
public boolean up()
public boolean down()
public boolean left()
public boolean right()
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||