|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--superwaba.ext.palm.io.builtin.ToDo
Provides a link to the standard Palm ToDo database.
Field Summary | |
boolean |
completed
Has this todo been completed? |
String |
description
A description for this todo |
Time |
dueDate
The time this todo item is to be completed - note only date information is used |
String |
note
A note giving extra information |
int |
priority
The priority of this todo from 1-5 |
Constructor Summary | |
ToDo()
Constructs a new empty todo |
Method Summary | |
static boolean |
addToDo(ToDo todo)
Adds a new ToDo to the database |
byte |
getID()
Gets a unique ID for this class. |
Storable |
getInstance()
Returns an object of the same class as this object. |
static ToDo |
getToDo(int i)
Gets a ToDo from the database |
static boolean |
getToDo(int i,
ToDo todo)
Gets a ToDo from the database and places it into the given ToDo. |
void |
loadState(DataStream ds)
Load state information from the given DataStream into this object If any Storable objects need to be loaded as part of the state, their loadState() method can be called too. |
void |
saveState(DataStream ds)
Send the state information of this object to the given object catalog using the given DataStream. |
static int |
todoCount()
Gets the number of ToDo's in the database |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
toString,
wait,
wait |
Field Detail |
public Time dueDate
public int priority
public boolean completed
public String description
public String note
Constructor Detail |
public ToDo()
Method Detail |
public static int todoCount()
public static ToDo getToDo(int i)
i
- the index to getpublic static boolean getToDo(int i, ToDo todo)
i
- the index to gettodo
- the todo object to place the todo into.public static boolean addToDo(ToDo todo)
todo
- the todo to addpublic void saveState(DataStream ds)
public void loadState(DataStream ds)
public byte getID()
public Storable getInstance()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |