C# 클래스 Tomboy.Note

Contains all pure note data, like the note title and note text.
파일 보기 프로젝트 열기: GNOME/tomboy 1 사용 예제들

공개 메소드들

메소드 설명
AddChildWidget ( Gtk childAnchor, Gtk widget ) : void
AddTag ( Tag tag ) : void
ContainsTag ( Tag tag ) : bool
CreateExistingNote ( NoteData data, string filepath, NoteManager manager ) : Note
CreateNewNote ( string title, string filepath, NoteManager manager ) : Note

Creates a New Note with the given values.

Delete ( ) : void
GetCompleteNoteXml ( ) : string

Return the complete contents of this note's .note XML file In case of any error, null is returned.

GetHashCode ( ) : int
Load ( string read_file, NoteManager manager ) : Note
LoadForeignNoteXml ( string foreignNoteXml, ChangeType changeType ) : void
QueueSave ( ChangeType changeType ) : void

Set a timeout to execute the save. Possibly invalidate the text, which causes a re-serialize when the timeout is called...

RemoveTag ( Tag tag ) : void
RenameWithoutLinkUpdate ( string newTitle ) : void
Save ( ) : void
SetTitle ( string new_title, bool from_user_action ) : void

비공개 메소드들

메소드 설명
BufferTagApplied ( object sender, Gtk args ) : void
BufferTagRemoved ( object sender, Gtk args ) : void
ContainsText ( string text ) : bool
DebugSave ( string format ) : void
HandleLinkRename ( string old_title, Note renamed, bool rename_links ) : void
Note ( NoteData data, string filepath, NoteManager manager ) : System
OnBufferChanged ( object sender, EventArgs args ) : void
OnBufferMarkSet ( object sender, Gtk args ) : void
ParseTags ( XmlNode tagNodes ) : List
ProcessChildWidgetQueue ( ) : void
ProcessRenameLinkUpdate ( string old_title ) : void
RemoveLinks ( string old_title, Note renamed ) : void
RenameLinks ( string old_title, Note renamed ) : void
SaveTimeout ( object sender, EventArgs args ) : void
UrlFromPath ( string filepath ) : string

Returns a Tomboy URL from the given path.

WindowConfigureEvent ( object sender, Gtk args ) : void
WindowDestroyed ( object sender, EventArgs args ) : void

메소드 상세

AddChildWidget() 공개 메소드

public AddChildWidget ( Gtk childAnchor, Gtk widget ) : void
childAnchor Gtk
widget Gtk
리턴 void

AddTag() 공개 메소드

public AddTag ( Tag tag ) : void
tag Tag
리턴 void

ContainsTag() 공개 메소드

public ContainsTag ( Tag tag ) : bool
tag Tag
리턴 bool

CreateExistingNote() 공개 정적인 메소드

public static CreateExistingNote ( NoteData data, string filepath, NoteManager manager ) : Note
data NoteData
filepath string
manager NoteManager
리턴 Note

CreateNewNote() 공개 정적인 메소드

Creates a New Note with the given values.
public static CreateNewNote ( string title, string filepath, NoteManager manager ) : Note
title string /// A ///
filepath string /// A ///
manager NoteManager /// A ///
리턴 Note

Delete() 공개 메소드

public Delete ( ) : void
리턴 void

GetCompleteNoteXml() 공개 메소드

Return the complete contents of this note's .note XML file In case of any error, null is returned.
public GetCompleteNoteXml ( ) : string
리턴 string

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Load() 공개 정적인 메소드

public static Load ( string read_file, NoteManager manager ) : Note
read_file string
manager NoteManager
리턴 Note

LoadForeignNoteXml() 공개 메소드

public LoadForeignNoteXml ( string foreignNoteXml, ChangeType changeType ) : void
foreignNoteXml string
changeType ChangeType
리턴 void

QueueSave() 공개 메소드

Set a timeout to execute the save. Possibly invalidate the text, which causes a re-serialize when the timeout is called...
public QueueSave ( ChangeType changeType ) : void
changeType ChangeType
리턴 void

RemoveTag() 공개 메소드

public RemoveTag ( Tag tag ) : void
tag Tag
리턴 void

RenameWithoutLinkUpdate() 공개 메소드

public RenameWithoutLinkUpdate ( string newTitle ) : void
newTitle string
리턴 void

Save() 공개 메소드

public Save ( ) : void
리턴 void

SetTitle() 공개 메소드

public SetTitle ( string new_title, bool from_user_action ) : void
new_title string
from_user_action bool
리턴 void