C# Class TreeViewEvent, chronojump

Show file Open project: GNOME/chronojump Class Usage Examples

Public Properties

Property Type Description
expandState ExpandStates

Protected Properties

Property Type Description
allEventsName string
columnsString string[]
dataLineNamePosition int
dataLineTypePosition int
descriptionName string
eventIDColumn int
pDN int
preferences Preferences,
store TreeStore
treeview Gtk.TreeView
treeviewHasTwoLevels bool
weightPercentPreferred bool

Public Methods

Method Description
Add ( string personName, System newEvent ) : void
DelEvent ( int eventID ) : void
ExpandOptimal ( ) : void
Fill ( string myEvents, string filter ) : void
RemoveColumns ( ) : void
SelectEvent ( int uniqueID ) : void
SelectHeaderLine ( ) : void
TreeViewEvent ( ) : System
TreeViewEvent ( Gtk treeview, int newPrefsDigitsNumber, ExpandStates expandState ) : System
Unselect ( ) : void
Update ( Event, myEvent ) : void
ZoomChange ( ExpandStates myExpand ) : ExpandStates

Protected Methods

Method Description
addStatisticInfo ( Gtk.TreeIter iterDeep, System myObject ) : void
getColsNum ( ) : int
getLineToStore ( System myObject ) : string[]
getNumOfSubEvents ( System myObject ) : int
getObjectFromString ( string myStringOfData ) : Object
getStore ( int columns ) : TreeStore
getSubLineToStore ( System myObject, int lineCount ) : string[]
prepareHeaders ( string columnsString ) : void
printAVG ( System myObject, int cols ) : string[]
printSD ( System myObject, int cols ) : string[]
printTotal ( System myObject, int cols ) : string[]

Private Methods

Method Description
deleteParentIfEmpty ( Gtk.TreeIter iter ) : void

Method Details

Add() public method

public Add ( string personName, System newEvent ) : void
personName string
newEvent System
return void

DelEvent() public method

public DelEvent ( int eventID ) : void
eventID int
return void

ExpandOptimal() public method

public ExpandOptimal ( ) : void
return void

Fill() public method

public Fill ( string myEvents, string filter ) : void
myEvents string
filter string
return void

RemoveColumns() public method

public RemoveColumns ( ) : void
return void

SelectEvent() public method

public SelectEvent ( int uniqueID ) : void
uniqueID int
return void

SelectHeaderLine() public method

public SelectHeaderLine ( ) : void
return void

TreeViewEvent() public method

public TreeViewEvent ( ) : System
return System

TreeViewEvent() public method

public TreeViewEvent ( Gtk treeview, int newPrefsDigitsNumber, ExpandStates expandState ) : System
treeview Gtk
newPrefsDigitsNumber int
expandState ExpandStates
return System

Unselect() public method

public Unselect ( ) : void
return void

Update() public method

public Update ( Event, myEvent ) : void
myEvent Event,
return void

ZoomChange() public method

public ZoomChange ( ExpandStates myExpand ) : ExpandStates
myExpand ExpandStates
return ExpandStates

addStatisticInfo() protected method

protected addStatisticInfo ( Gtk.TreeIter iterDeep, System myObject ) : void
iterDeep Gtk.TreeIter
myObject System
return void

getColsNum() protected method

protected getColsNum ( ) : int
return int

getLineToStore() protected method

protected getLineToStore ( System myObject ) : string[]
myObject System
return string[]

getNumOfSubEvents() protected method

protected getNumOfSubEvents ( System myObject ) : int
myObject System
return int

getObjectFromString() protected method

protected getObjectFromString ( string myStringOfData ) : Object
myStringOfData string
return System.Object

getStore() protected method

protected getStore ( int columns ) : TreeStore
columns int
return TreeStore

getSubLineToStore() protected method

protected getSubLineToStore ( System myObject, int lineCount ) : string[]
myObject System
lineCount int
return string[]

prepareHeaders() protected method

protected prepareHeaders ( string columnsString ) : void
columnsString string
return void

printAVG() protected method

protected printAVG ( System myObject, int cols ) : string[]
myObject System
cols int
return string[]

printSD() protected method

protected printSD ( System myObject, int cols ) : string[]
myObject System
cols int
return string[]

printTotal() protected method

protected printTotal ( System myObject, int cols ) : string[]
myObject System
cols int
return string[]

Property Details

allEventsName protected property

protected string allEventsName
return string

columnsString protected property

protected string[] columnsString
return string[]

dataLineNamePosition protected property

protected int dataLineNamePosition
return int

dataLineTypePosition protected property

protected int dataLineTypePosition
return int

descriptionName protected property

protected string descriptionName
return string

eventIDColumn protected property

protected int eventIDColumn
return int

expandState public property

public ExpandStates expandState
return ExpandStates

pDN protected property

protected int pDN
return int

preferences protected property

protected Preferences, preferences
return Preferences,

store protected property

protected TreeStore store
return TreeStore

treeview protected property

protected TreeView,Gtk treeview
return Gtk.TreeView

treeviewHasTwoLevels protected property

protected bool treeviewHasTwoLevels
return bool

weightPercentPreferred protected property

protected bool weightPercentPreferred
return bool