public class TodoRecord extends AbstractRecord implements DatedRecord
Record
implementation that contains a To-do record.ATTR_BUSY, ATTR_DELETE, ATTR_DIRTY, ATTR_SECRET
Constructor and Description |
---|
TodoRecord(int attribute)
Creates a new
MemoRecord . |
Modifier and Type | Method and Description |
---|---|
Calendar |
getDate()
Gets the due date.
|
String |
getDescription()
Gets the description.
|
String |
getNote()
Gets the note.
|
int |
getPriority()
Gets the priority.
|
Calendar |
getRecordDate()
Gets the date of this record.
|
boolean |
isCompleted()
Checks if this to-do is completed.
|
void |
setCompleted(boolean completed) |
void |
setDate(Calendar date) |
void |
setDescription(String description) |
void |
setNote(String note) |
void |
setPriority(int priority) |
String |
toString() |
getCategoryIndex, isBusy, isDelete, isDirty, isSecret
public TodoRecord(int attribute)
MemoRecord
.attribute
- Record attributepublic Calendar getDate()
public int getPriority()
public void setPriority(int priority)
public boolean isCompleted()
public void setCompleted(boolean completed)
public String getDescription()
public void setDescription(String description)
public Calendar getRecordDate()
DatedRecord
getRecordDate
in interface DatedRecord
Calendar
, or null
if this record has no date set.Copyright © 2009–2017. All rights reserved.