C# Class Stat, chronojump

显示文件 Open project: GNOME/chronojump Class Usage Examples

Public Properties

Property Type Description
fakeButtonNoRowsSelected Gtk.Button
fakeButtonRowCheckedUnchecked Gtk.Button
fakeButtonRowsSelected Gtk.Button

Protected Properties

Property Type Description
CurrentGraphData GraphData,
GraphSeries ArrayList,
allValuesString string
avgValuesString string
dataColumns int
gRO GraphROptions
graphTranslate bool
heightPreferred bool
isRjEvolution bool
isRunIntervalEvolution bool
iter TreeIter
jumpType string
limit int
markedRows ArrayList
numContinuous int
onlyUsefulForNotBeingGarbageCollected ArrayList
pDN int
reportString string
sessionUniqueID int
sessions ArrayList
showSex bool
statsJumpsType int
store TreeStore
toReport bool
treeview Gtk.TreeView
useHeightsOnJumpIndexes bool
weightStatsPercent bool

Public Methods

Method Description
CreateGraphR ( string fileName, bool show, int graphNum ) : bool
CreateOrUpdateAVGAndSD ( ) : void
ItemToggled ( object o, ToggledArgs args ) : void
MarkSelected ( string selected ) : void
PrepareData ( ) : void
RemoveColumns ( ) : void
ReportString ( ) : string
Stat ( ) : System
createCheckboxes ( TreeView tv ) : void

Protected Methods

Method Description
acceptCheckedData ( int myData ) : bool
calculateRowAVGSD ( string rowData ) : string[]
cleanDontWanted ( ArrayList startJumps, int statsJumpsType, int limit ) : ArrayList
completeConstruction ( StatTypeStruct myStatTypeStruct, Gtk treeview ) : void
getStore ( int columns ) : TreeStore
makeSquare ( string myValueStr ) : double
nFoundInArray ( string searching, ArrayList myArray, int limit ) : bool
obtainSessionSqlString ( ArrayList sessions, string tableName ) : string
obtainSessionSqlStringTwoTests ( ArrayList sessions ) : string
prepareHeaders ( string columnsString ) : void
prepareHeadersReport ( string columnsString ) : string
printData ( string statValues ) : void
processDataMultiSession ( ArrayList arrayFromSql, bool makeAVGSD, int sessionsNum ) : void
processDataSimpleSession ( ArrayList arrayFromSql, bool makeAVGSD, int dataColumns ) : void
recordStatValues ( string statValues ) : void
translateYesNo ( string str ) : string

Private Methods

Method Description
addRowToMarkedRows ( string rowToAdd ) : void
convertDataToR ( GraphROptions gro, Sides side ) : string
convertDataToROnRjEvolution ( GraphROptions gro, Sides side ) : string
deleteRowFromMarkedRows ( string rowToDelete ) : void
divideAndRoundDown ( int myData ) : int
fetchNameOnStatsData ( string nameWithMoreData ) : string
getRBarplotString ( GraphROptions gro, string fileName, Sides side ) : string
getRBoxplotString ( GraphROptions gro, string fileName, Sides side ) : string
getRDotchartString ( GraphROptions gro, string fileName ) : string
getRHistogramString ( GraphROptions gro, string fileName ) : string
getRLinesString ( GraphROptions gro, string fileName, Sides side ) : string
getRStripchartString ( GraphROptions gro, string fileName, Sides side ) : string
getRXYString ( GraphROptions gro, string fileName ) : string
getTitle ( string graphType, string subTitle ) : string
hasTwoAxis ( ) : bool
isNotAVGOrSD ( Gtk iter ) : bool
isThereAnyRowSelected ( TreeStore myStore ) : bool
isThisRowMarked ( int rowNum ) : bool

Method Details

CreateGraphR() public method

public CreateGraphR ( string fileName, bool show, int graphNum ) : bool
fileName string
show bool
graphNum int
return bool

CreateOrUpdateAVGAndSD() public method

public CreateOrUpdateAVGAndSD ( ) : void
return void

ItemToggled() public method

public ItemToggled ( object o, ToggledArgs args ) : void
o object
args ToggledArgs
return void

MarkSelected() public method

public MarkSelected ( string selected ) : void
selected string
return void

PrepareData() public method

public PrepareData ( ) : void
return void

RemoveColumns() public method

public RemoveColumns ( ) : void
return void

ReportString() public method

public ReportString ( ) : string
return string

Stat() public method

public Stat ( ) : System
return System

acceptCheckedData() protected method

protected acceptCheckedData ( int myData ) : bool
myData int
return bool

calculateRowAVGSD() protected method

protected calculateRowAVGSD ( string rowData ) : string[]
rowData string
return string[]

cleanDontWanted() protected method

protected cleanDontWanted ( ArrayList startJumps, int statsJumpsType, int limit ) : ArrayList
startJumps ArrayList
statsJumpsType int
limit int
return ArrayList

completeConstruction() protected method

protected completeConstruction ( StatTypeStruct myStatTypeStruct, Gtk treeview ) : void
myStatTypeStruct StatTypeStruct
treeview Gtk
return void

createCheckboxes() public method

public createCheckboxes ( TreeView tv ) : void
tv TreeView
return void

getStore() protected method

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

makeSquare() protected static method

protected static makeSquare ( string myValueStr ) : double
myValueStr string
return double

nFoundInArray() protected static method

protected static nFoundInArray ( string searching, ArrayList myArray, int limit ) : bool
searching string
myArray ArrayList
limit int
return bool

obtainSessionSqlString() protected method

protected obtainSessionSqlString ( ArrayList sessions, string tableName ) : string
sessions ArrayList
tableName string
return string

obtainSessionSqlStringTwoTests() protected method

protected obtainSessionSqlStringTwoTests ( ArrayList sessions ) : string
sessions ArrayList
return string

prepareHeaders() protected method

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

prepareHeadersReport() protected method

protected prepareHeadersReport ( string columnsString ) : string
columnsString string
return string

printData() protected method

protected printData ( string statValues ) : void
statValues string
return void

processDataMultiSession() protected method

protected processDataMultiSession ( ArrayList arrayFromSql, bool makeAVGSD, int sessionsNum ) : void
arrayFromSql ArrayList
makeAVGSD bool
sessionsNum int
return void

processDataSimpleSession() protected method

protected processDataSimpleSession ( ArrayList arrayFromSql, bool makeAVGSD, int dataColumns ) : void
arrayFromSql ArrayList
makeAVGSD bool
dataColumns int
return void

recordStatValues() protected method

protected recordStatValues ( string statValues ) : void
statValues string
return void

translateYesNo() protected method

protected translateYesNo ( string str ) : string
str string
return string

Property Details

CurrentGraphData protected_oe property

protected GraphData, CurrentGraphData
return GraphData,

GraphSeries protected_oe property

protected ArrayList, GraphSeries
return ArrayList,

allValuesString protected_oe property

protected string allValuesString
return string

avgValuesString protected_oe property

protected string avgValuesString
return string

dataColumns protected_oe property

protected int dataColumns
return int

fakeButtonNoRowsSelected public_oe property

public Button,Gtk fakeButtonNoRowsSelected
return Gtk.Button

fakeButtonRowCheckedUnchecked public_oe property

public Button,Gtk fakeButtonRowCheckedUnchecked
return Gtk.Button

fakeButtonRowsSelected public_oe property

public Button,Gtk fakeButtonRowsSelected
return Gtk.Button

gRO protected_oe property

protected GraphROptions gRO
return GraphROptions

graphTranslate protected_oe property

protected bool graphTranslate
return bool

heightPreferred protected_oe property

protected bool heightPreferred
return bool

isRjEvolution protected_oe property

protected bool isRjEvolution
return bool

isRunIntervalEvolution protected_oe property

protected bool isRunIntervalEvolution
return bool

iter protected_oe property

protected TreeIter iter
return TreeIter

jumpType protected_oe property

protected string jumpType
return string

limit protected_oe property

protected int limit
return int

markedRows protected_oe property

protected ArrayList markedRows
return ArrayList

numContinuous protected_oe property

protected int numContinuous
return int

onlyUsefulForNotBeingGarbageCollected protected_oe static_oe property

protected static ArrayList onlyUsefulForNotBeingGarbageCollected
return ArrayList

pDN protected_oe static_oe property

protected static int pDN
return int

reportString protected_oe property

protected string reportString
return string

sessionUniqueID protected_oe property

protected int sessionUniqueID
return int

sessions protected_oe property

protected ArrayList sessions
return ArrayList

showSex protected_oe property

protected bool showSex
return bool

statsJumpsType protected_oe property

protected int statsJumpsType
return int

store protected_oe property

protected TreeStore store
return TreeStore

toReport protected_oe property

protected bool toReport
return bool

treeview protected_oe property

protected TreeView,Gtk treeview
return Gtk.TreeView

useHeightsOnJumpIndexes protected_oe property

protected bool useHeightsOnJumpIndexes
return bool

weightStatsPercent protected_oe property

protected bool weightStatsPercent
return bool