|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.borg.model.undo.UndoItem<Task>
net.sf.borg.model.undo.TaskUndoItem
public class TaskUndoItem
Task Undo Item.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.sf.borg.model.undo.UndoItem |
|---|
UndoItem.actionType |
| Field Summary |
|---|
| Fields inherited from class net.sf.borg.model.undo.UndoItem |
|---|
action, item |
| Method Summary | |
|---|---|
(package private) void |
addSubtask(SubtaskUndoItem st)
Adds a subtask undo item to this task undo item. |
void |
executeUndo()
execute the undo action on the item. |
(package private) static TaskUndoItem |
getLastTaskItem()
Gets the last task item. |
static TaskUndoItem |
recordAdd(Task task)
Record a Task add. |
static TaskUndoItem |
recordDelete(Task task)
Record a Task delete. |
static TaskUndoItem |
recordUpdate(Task task)
Record a Task update. |
| Methods inherited from class net.sf.borg.model.undo.UndoItem |
|---|
getDescription, setDescription |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void executeUndo()
UndoItem
executeUndo in class UndoItem<Task>public static TaskUndoItem recordUpdate(Task task)
task - the task
public static TaskUndoItem recordAdd(Task task)
task - the task
public static TaskUndoItem recordDelete(Task task)
task - the task
static TaskUndoItem getLastTaskItem()
void addSubtask(SubtaskUndoItem st)
st - the subtask
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||