C# Class LabelPlus.LabelFileManager

Mostrar archivo Open project: noodlefighter/LabelPlus Class Usage Examples

Public Properties

Property Type Description
FileListChanged EventHandler
GroupListChanged EventHandler
LabelItemListChanged EventHandler
LabelItemTextChanged EventHandler

Public Methods

Method Description
AddFile ( string file ) : bool
AddLabelItem ( string file, LabelItem item, int insertIndex = -1 ) : bool
DelAllLabelInFile ( string file ) : bool
DelFile ( string file ) : bool
DelLabelItem ( string file, int index ) : bool
FromFile ( string path ) : void
LabelFileManager ( ) : System
NewLabelFile ( string groups ) : bool
ToFile ( string path ) : bool
UpdateLabelCategory ( string file, int index, int category ) : bool
UpdateLabelItemText ( string file, int index, string text ) : bool
this ( string file, int index ) : LabelItem
this ( string file ) : List

Private Methods

Method Description
OnFileListChanged ( ) : void
OnGroupListChanged ( ) : void
OnLabelItemListChanged ( ) : void
OnLabelItemTextChanged ( ) : void
addFile ( string file ) : bool
addFilenameToStore ( string nowFilename ) : bool
addLabelItem ( string file, LabelItem item, int insertIndex = -1 ) : bool
addLabelToStore ( string nowText, string nowLabelResultValues, string nowFilename ) : void
getLabelFileStartBlocksString ( ) : string
getStrlineType ( string str ) : getStrlineTypeResult
readLabelFileStartBlocks ( string nowText ) : void

Method Details

AddFile() public method

public AddFile ( string file ) : bool
file string
return bool

AddLabelItem() public method

public AddLabelItem ( string file, LabelItem item, int insertIndex = -1 ) : bool
file string
item LabelItem
insertIndex int
return bool

DelAllLabelInFile() public method

public DelAllLabelInFile ( string file ) : bool
file string
return bool

DelFile() public method

public DelFile ( string file ) : bool
file string
return bool

DelLabelItem() public method

public DelLabelItem ( string file, int index ) : bool
file string
index int
return bool

FromFile() public method

public FromFile ( string path ) : void
path string
return void

LabelFileManager() public method

public LabelFileManager ( ) : System
return System

NewLabelFile() public method

public NewLabelFile ( string groups ) : bool
groups string
return bool

ToFile() public method

public ToFile ( string path ) : bool
path string
return bool

UpdateLabelCategory() public method

public UpdateLabelCategory ( string file, int index, int category ) : bool
file string
index int
category int
return bool

UpdateLabelItemText() public method

public UpdateLabelItemText ( string file, int index, string text ) : bool
file string
index int
text string
return bool

this() public method

public this ( string file, int index ) : LabelItem
file string
index int
return LabelItem

this() public method

public this ( string file ) : List
file string
return List

Property Details

FileListChanged public_oe static_oe property

public static EventHandler FileListChanged
return EventHandler

GroupListChanged public_oe static_oe property

public static EventHandler GroupListChanged
return EventHandler

LabelItemListChanged public_oe static_oe property

public static EventHandler LabelItemListChanged
return EventHandler

LabelItemTextChanged public_oe static_oe property

public static EventHandler LabelItemTextChanged
return EventHandler