|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.imp.AppointmentImp com.cc.framework.ui.model.imp.CheckableAppointmentImp
This Class adds checkability to simple appointments
Field Summary | |
private java.util.Map |
checkState
Checked Appointments |
Fields inherited from class com.cc.framework.ui.model.imp.AppointmentImp |
|
Constructor Summary | |
CheckableAppointmentImp()
Creates a simple appointment |
|
CheckableAppointmentImp(java.lang.String id,
java.lang.String subject,
java.util.Calendar startTime,
AppointmentPriority priority)
Creates a simple allday event |
|
CheckableAppointmentImp(java.lang.String id,
java.lang.String subject,
java.util.Calendar startTime,
java.util.Calendar endTime,
AppointmentPriority priority)
Creates a simple appointment |
|
CheckableAppointmentImp(java.lang.String id,
java.lang.String subject,
java.util.Calendar startTime,
int duration,
AppointmentPriority priority)
Creates a simple appointment |
Method Summary | |
int |
getCheckState(long timeInMillis)
Returns the check state of an object. |
void |
setCheckState(long timeInMillis,
int newState)
Sets the check state of the object |
Methods inherited from class com.cc.framework.ui.model.imp.AppointmentImp |
getEndTime, getImageRef, getLink, getPriority, getRecurrencePattern, getStartTime, getSubject, getText, getUniqueId, isAllDayEvent, isMultiDayEvent, isRecurring, match, setAllDayEvent, setEndTime, setImageRef, setLink, setPriority, setRecurrencePattern, setStartTime, setSubject, setText, setUniqueId, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.util.Map checkState
Constructor Detail |
public CheckableAppointmentImp()
public CheckableAppointmentImp(java.lang.String id, java.lang.String subject, java.util.Calendar startTime, java.util.Calendar endTime, AppointmentPriority priority)
id
- The unique Id of this appointmentsubject
- The Appointments SubjectstartTime
- Start TimeendTime
- End Time or null
priority
- Prioritypublic CheckableAppointmentImp(java.lang.String id, java.lang.String subject, java.util.Calendar startTime, int duration, AppointmentPriority priority)
id
- The unique Id of this appointmentsubject
- The Appointments SubjectstartTime
- Start Timeduration
- Durationpriority
- Prioritypublic CheckableAppointmentImp(java.lang.String id, java.lang.String subject, java.util.Calendar startTime, AppointmentPriority priority)
id
- The unique Id of this appointmentsubject
- The Appointments SubjectstartTime
- Start Timepriority
- PriorityMethod Detail |
public int getCheckState(long timeInMillis)
CheckableAppointment
getCheckState
in interface CheckableAppointment
timeInMillis
- The Timestamp (for recurring appointments)
CheckableAppointment.getCheckState(long)
public void setCheckState(long timeInMillis, int newState)
CheckableAppointment
setCheckState
in interface CheckableAppointment
timeInMillis
- The Timestamp (for recurring appointments)newState
- New stateCheckableAppointment.setCheckState(long, int)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |