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
Afficher le fichier Open project: rggjan/Tomboy-Todo-List Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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

AddTask() public méthode

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

AddTask() public méthode

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 ///
Résultat void

DebugPrint() public méthode

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

Delete() public méthode

Delete all the metadata of the Tasklist.
public Delete ( ) : void
Résultat void

FixTitle() public méthode

Fix the title after merging or deleting operations.
public FixTitle ( ) : void
Résultat void

FixWithin() public méthode

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

LockEnd() public méthode

Locks the end of a tasklist.
public LockEnd ( ) : bool
Résultat bool

PlaceCursorAtEnd() public méthode

Places the cursor at the end of the TaskList.
public PlaceCursorAtEnd ( ) : void
Résultat void

RemoveDeletedTasks() public méthode

Remove deleted Tasks.
public RemoveDeletedTasks ( ) : List
Résultat List

StartDeleted() public méthode

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

TaskList() public méthode

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

TaskList() public méthode

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

TaskList() public méthode

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
Résultat System

TransferTasksTo() public méthode

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 ///
Résultat void

WasDeleted() public méthode

Returns true if the TaskList was deleted.
public WasDeleted ( ) : bool
Résultat bool