C# Class Tomboy.TaskManager.TaskList

A task list is a collection of tasks grouped together. It may have a title and a due date.
Inheritance: AttributedTask
Datei anzeigen Open project: rggjan/Tomboy-Todo-List Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddFinishedTask ( Task task ) : void

Add an existing task to this list.

AddTask ( Gtk position ) : void

Creates a new Task and add it to the `Tasks` list.

AddTask ( Gtk position, TaskTag tag ) : void

Add a new task to this tasklist

DebugPrint ( ) : void

Print the structure of the TaskList to the console, only if debugging!

Delete ( ) : void

Delete all the metadata of the Tasklist.

FixTitle ( ) : void

Fix the title after merging or deleting operations.

FixWithin ( int line ) : TaskList

Fix the TaskList, for example after heavy deletion operations.

LockEnd ( ) : bool

Locks the end of a tasklist.

PlaceCursorAtEnd ( ) : void

Places the cursor at the end of the TaskList.

RemoveDeletedTasks ( ) : List

Remove deleted Tasks.

StartDeleted ( ) : bool

Returns true if the start of the TaskList was deleted.

TaskList ( Note note ) : System

Sets up the TaskList at cursor position.

TaskList ( Note note, Gtk start, TaskListTag tag ) : System

Creates a new task list with existing tags.

TaskList ( Note note, List tasks, String name, Gtk start ) : System

Creates a new tasklists including all the given tasks.

TransferTasksTo ( TaskList tasklist ) : void

Transfer all the tasks to another tasklist, used for merging

WasDeleted ( ) : bool

Returns true if the TaskList was deleted.

Method Details

AddFinishedTask() public method

Add an existing task to this list.
public AddFinishedTask ( Task task ) : void
task Task /// A to add. ///
return void

AddTask() public method

Creates a new Task and add it to the `Tasks` list.
public AddTask ( Gtk position ) : void
position Gtk
return void

AddTask() public method

Add a new task to this tasklist
public AddTask ( Gtk position, TaskTag tag ) : void
position Gtk /// A , where to insert the task ///
tag TaskTag /// A , what tag to give the new task ///
return void

DebugPrint() public method

Print the structure of the TaskList to the console, only if debugging!
public DebugPrint ( ) : void
return void

Delete() public method

Delete all the metadata of the Tasklist.
public Delete ( ) : void
return void

FixTitle() public method

Fix the title after merging or deleting operations.
public FixTitle ( ) : void
return void

FixWithin() public method

Fix the TaskList, for example after heavy deletion operations.
public FixWithin ( int line ) : TaskList
line int /// A , the line on which fixing is needed. ///
return TaskList

LockEnd() public method

Locks the end of a tasklist.
public LockEnd ( ) : bool
return bool

PlaceCursorAtEnd() public method

Places the cursor at the end of the TaskList.
public PlaceCursorAtEnd ( ) : void
return void

RemoveDeletedTasks() public method

Remove deleted Tasks.
public RemoveDeletedTasks ( ) : List
return List

StartDeleted() public method

Returns true if the start of the TaskList was deleted.
public StartDeleted ( ) : bool
return bool

TaskList() public method

Sets up the TaskList at cursor position.
public TaskList ( Note note ) : System
note Tomboy.Note /// where the TaskLists is located. ///
return System

TaskList() public method

Creates a new task list with existing tags.
public TaskList ( Note note, Gtk start, TaskListTag tag ) : System
note Tomboy.Note
start Gtk
tag TaskListTag
return System

TaskList() public method

Creates a new tasklists including all the given tasks.
public TaskList ( Note note, List tasks, String name, Gtk start ) : System
note Tomboy.Note
tasks List /// A ///
name String
start Gtk
return System

TransferTasksTo() public method

Transfer all the tasks to another tasklist, used for merging
public TransferTasksTo ( TaskList tasklist ) : void
tasklist TaskList /// The other tasklist to send the tasks to ///
return void

WasDeleted() public method

Returns true if the TaskList was deleted.
public WasDeleted ( ) : bool
return bool