C# 클래스 Tomboy.TaskManager.TaskList

A task list is a collection of tasks grouped together. It may have a title and a due date.
상속: AttributedTask
파일 보기 프로젝트 열기: rggjan/Tomboy-Todo-List 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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.

메소드 상세

AddFinishedTask() 공개 메소드

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

AddTask() 공개 메소드

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

AddTask() 공개 메소드

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 ///
리턴 void

DebugPrint() 공개 메소드

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

Delete() 공개 메소드

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

FixTitle() 공개 메소드

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

FixWithin() 공개 메소드

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

LockEnd() 공개 메소드

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

PlaceCursorAtEnd() 공개 메소드

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

RemoveDeletedTasks() 공개 메소드

Remove deleted Tasks.
public RemoveDeletedTasks ( ) : List
리턴 List

StartDeleted() 공개 메소드

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

TaskList() 공개 메소드

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

TaskList() 공개 메소드

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

TaskList() 공개 메소드

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
리턴 System

TransferTasksTo() 공개 메소드

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 ///
리턴 void

WasDeleted() 공개 메소드

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