public class NotepadRecord extends AbstractRecord implements DatedRecord
Record
implementation that contains a Notepad entry.ATTR_BUSY, ATTR_DELETE, ATTR_DIRTY, ATTR_SECRET
Constructor and Description |
---|
NotepadRecord(int attribute)
Creates a new
NotepadRecord . |
Modifier and Type | Method and Description |
---|---|
Calendar |
getAlarm()
Get the date and time of the notepad alarm.
|
Calendar |
getCreated()
Get the date and time when the note was created.
|
byte[] |
getImagePng()
Gets the image data.
|
Calendar |
getModified()
Get the date and time when the note was modified.
|
Calendar |
getRecordDate()
Gets the date of this record.
|
String |
getTitle()
Get the title of the note.
|
void |
setAlarm(Calendar alarm) |
void |
setCreated(Calendar created) |
void |
setImagePng(byte[] imagePng) |
void |
setModified(Calendar modified) |
void |
setTitle(String title) |
String |
toString() |
getCategoryIndex, isBusy, isDelete, isDirty, isSecret
public NotepadRecord(int attribute)
NotepadRecord
.attribute
- Record attributepublic Calendar getCreated()
public void setCreated(Calendar created)
public Calendar getModified()
null
.public void setModified(Calendar modified)
public Calendar getAlarm()
null
when no alarm is set.public byte[] getImagePng()
public void setImagePng(byte[] imagePng)
public Calendar getRecordDate()
DatedRecord
getRecordDate
in interface DatedRecord
Calendar
, or null
if this record has no date set.Copyright © 2009–2017. All rights reserved.