|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--brf.j2me.dynaworks.db.Record
|
+--brf.j2me.dynaworks.db.palm.PalmRec
|
+--brf.j2me.dynaworks.db.palm.TodoRec
A TodoRec refers to an entry in the Palm build-in ToDo list database.
TodoDB,
PalmRec| Field Summary | |
private int |
descLength
|
private int |
descStart
parameters to address the description in the record. |
private byte |
flags
flags coded as a bit-masked byte. |
private int |
noteLength
|
private int |
noteStart
parameters to address the note in the record. |
| Fields inherited from class brf.j2me.dynaworks.db.Record |
content, fields, sequence |
| Constructor Summary | |
TodoRec()
constructor. |
|
| Method Summary | |
java.lang.String |
getDescription()
Return the descriptive text for the task. |
Date |
getDueDate()
Get the date the task is scheduled for. |
java.lang.String |
getNote()
Get any attached note for this task. |
int |
getPriority()
Get the priority (1..5) for this task. |
boolean |
isDone()
Is the task already done? |
void |
update(boolean tomem)
Transfer the record content to the field variables. |
| Methods inherited from class brf.j2me.dynaworks.db.palm.PalmRec |
bitCount, intValue, shortValue |
| Methods inherited from class brf.j2me.dynaworks.db.Record |
addField, getBytes, getContent, getField, getInt, getShort, getString, readField, setBytes, setContent, setField, setInt, setShort, setString, size, writeField |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private int noteStart
These values are only valid if FLG_NOTE is set.
private int noteLength
private int descStart
These values are only valid if FLG_DESCRIPTION is set.
private int descLength
private byte flags
| Constructor Detail |
public TodoRec()
| Method Detail |
public void update(boolean tomem)
Although an MemoRecord is derived from a "normal" record, it's not using the RecordField mechanism to access its data but it stores and retreives its fields in a different way (directly from the content byte array).
update in class Recordtomem - boolean - direction of transferpublic Date getDueDate()
Datepublic java.lang.String getDescription()
public java.lang.String getNote()
public int getPriority()
public boolean isDone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||