C# Class TreeViewPersons, chronojump

Show file Open project: GNOME/chronojump Class Usage Examples

Public Properties

Property Type Description
RestSecondsMark int

Protected Properties

Property Type Description
store TreeStore
treeview Gtk.TreeView

Public Methods

Method Description
Add ( string jumperID, string jumperName ) : void
CountRows ( ) : int
Fill ( ArrayList myPersons, RestTime, rt ) : void
FindRow ( int uniqueID ) : int
IsThereAnyRecord ( ) : bool
RemoveColumns ( ) : void
SelectNextRow ( int personID ) : void
SelectPreviousRow ( int personID ) : void
SelectRow ( int rowNumber ) : void
TreeViewPersons ( ) : System
TreeViewPersons ( Gtk treeview, int restSeconds ) : System
UpdateRestTimes ( RestTime, restTime ) : void

Protected Methods

Method Description
getStore ( int columns ) : TreeStore
prepareHeaders ( string columnsString ) : void

Private Methods

Method Description
RenderRestTime ( Gtk column, Gtk cell, Gtk model, Gtk iter ) : void

Method Details

Add() public method

public Add ( string jumperID, string jumperName ) : void
jumperID string
jumperName string
return void

CountRows() public method

public CountRows ( ) : int
return int

Fill() public method

public Fill ( ArrayList myPersons, RestTime, rt ) : void
myPersons ArrayList
rt RestTime,
return void

FindRow() public method

public FindRow ( int uniqueID ) : int
uniqueID int
return int

IsThereAnyRecord() public method

public IsThereAnyRecord ( ) : bool
return bool

RemoveColumns() public method

public RemoveColumns ( ) : void
return void

SelectNextRow() public method

public SelectNextRow ( int personID ) : void
personID int
return void

SelectPreviousRow() public method

public SelectPreviousRow ( int personID ) : void
personID int
return void

SelectRow() public method

public SelectRow ( int rowNumber ) : void
rowNumber int
return void

TreeViewPersons() public method

public TreeViewPersons ( ) : System
return System

TreeViewPersons() public method

public TreeViewPersons ( Gtk treeview, int restSeconds ) : System
treeview Gtk
restSeconds int
return System

UpdateRestTimes() public method

public UpdateRestTimes ( RestTime, restTime ) : void
restTime RestTime,
return void

getStore() protected method

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

prepareHeaders() protected method

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

Property Details

RestSecondsMark public property

public int RestSecondsMark
return int

store protected property

protected TreeStore store
return TreeStore

treeview protected property

protected TreeView,Gtk treeview
return Gtk.TreeView