|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The underlying model of the UISchedule component. You should implement this interface when creating real implementations, which would typically be backed by a database.
| Field Summary | |
static int |
DAY
|
static int |
MONTH
|
static int |
WEEK
|
static int |
WORKWEEK
|
| Method Summary | |
boolean |
containsDate(java.util.Date date)
Check if the schedule contains the specified date |
java.lang.Object |
get(int index)
Get the day at position index. |
int |
getMode()
|
java.util.Date |
getSelectedDate()
|
ScheduleEntry |
getSelectedEntry()
|
boolean |
isEmpty()
|
java.util.Iterator |
iterator()
|
void |
setMode(int mode)
|
void |
setSelectedDate(java.util.Date date)
|
void |
setSelectedEntry(ScheduleEntry selectedEntry)
|
int |
size()
|
| Field Detail |
public static final int DAY
public static final int WORKWEEK
public static final int WEEK
public static final int MONTH
| Method Detail |
public boolean isEmpty()
public void setMode(int mode)
mode - the mode: DAY, WORKWEEK, WEEK or MONTHpublic int getMode()
public void setSelectedDate(java.util.Date date)
date - the date to selectpublic java.util.Date getSelectedDate()
public void setSelectedEntry(ScheduleEntry selectedEntry)
selectedEntry - the entry to selectpublic ScheduleEntry getSelectedEntry()
public boolean containsDate(java.util.Date date)
Check if the schedule contains the specified date
date - the date to check
public java.lang.Object get(int index)
Get the day at position index.
index - the index
public java.util.Iterator iterator()
public int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||