C# Class SmartQuant.Controls.Data.DataObjectViewer

Show file Open project: fastquant/fastquant.dll Class Usage Examples

Protected Properties

Property Type Description
dataSeries SmartQuant.DataSeries
lastItem System.Windows.Forms.ListViewItem
priceFormat string

Public Methods

Method Description
GetColumnHeaders ( ) : System.Windows.Forms.ColumnHeader[]
GetEditor ( ) : DataObjectEditor
GetListViewItem ( int index ) : System.Windows.Forms.ListViewItem
GetViewer ( byte dataObjectType ) : DataObjectViewer
ResetLastItem ( ) : void
SetDataSeries ( SmartQuant.DataSeries dataSeries ) : void
SetPriceFormat ( string priceFormat ) : void

Protected Methods

Method Description
CreateColumnHeader ( string text, int width, HorizontalAlignment alignment ) : ColumnHeader
DataObjectViewer ( ) : SmartQuant
GetCustomColumnHeaders ( ) : System.Windows.Forms.ColumnHeader[]
GetCustomSubItems ( int index ) : string[]

Method Details

CreateColumnHeader() protected method

protected CreateColumnHeader ( string text, int width, HorizontalAlignment alignment ) : ColumnHeader
text string
width int
alignment HorizontalAlignment
return System.Windows.Forms.ColumnHeader

DataObjectViewer() protected method

protected DataObjectViewer ( ) : SmartQuant
return SmartQuant

GetColumnHeaders() public method

public GetColumnHeaders ( ) : System.Windows.Forms.ColumnHeader[]
return System.Windows.Forms.ColumnHeader[]

GetCustomColumnHeaders() protected abstract method

protected abstract GetCustomColumnHeaders ( ) : System.Windows.Forms.ColumnHeader[]
return System.Windows.Forms.ColumnHeader[]

GetCustomSubItems() protected abstract method

protected abstract GetCustomSubItems ( int index ) : string[]
index int
return string[]

GetEditor() public abstract method

public abstract GetEditor ( ) : DataObjectEditor
return DataObjectEditor

GetListViewItem() public method

public GetListViewItem ( int index ) : System.Windows.Forms.ListViewItem
index int
return System.Windows.Forms.ListViewItem

GetViewer() public static method

public static GetViewer ( byte dataObjectType ) : DataObjectViewer
dataObjectType byte
return DataObjectViewer

ResetLastItem() public method

public ResetLastItem ( ) : void
return void

SetDataSeries() public method

public SetDataSeries ( SmartQuant.DataSeries dataSeries ) : void
dataSeries SmartQuant.DataSeries
return void

SetPriceFormat() public method

public SetPriceFormat ( string priceFormat ) : void
priceFormat string
return void

Property Details

dataSeries protected property

protected DataSeries,SmartQuant dataSeries
return SmartQuant.DataSeries

lastItem protected property

protected ListViewItem,System.Windows.Forms lastItem
return System.Windows.Forms.ListViewItem

priceFormat protected property

protected string priceFormat
return string