C# Class Ohana3DS_Transfigured.GUI.OList

Show file Open project: Quibilia/Ohana3DS-Transfigured

Public Methods

Method Description
OList ( ) : System
addColumn ( columnHeader column ) : void

Adds a new column to the list.

addItem ( listItem item ) : void

Adds a item to the list.

addItem ( listItemGroup item ) : void

Adds a item to the list. At least one column is necessary.

addItem ( string text ) : void

Adds a text to the list.

addRange ( IEnumerable itemList ) : void

Adds a Collection of listItemGroup to the list.

addRange ( listItem itemList ) : void

Adds a Array of listItem to the list.

addRange ( string itemList ) : void

Adds a Array of String to the list.

changeItem ( int index, listItemGroup newItem ) : void

Changes the Item at the given Index.

changeItem ( int index, string newText ) : void

Changes the Text of a Item at the given Index.

flush ( bool keepColumns = false ) : void

Erase the list.

itemAt ( int index ) : string

Returns the text of the Item at the given Index.

removeItem ( int index ) : void

Removes the item at given index.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Limpar os recursos que estão sendo usados.

OnLayout ( LayoutEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Private Methods

Method Description
InitializeComponent ( ) : void

Método necessário para o suporte do Designer - não modifique o conteúdo deste método com o editor de código.

ListScroll_ScrollChanged ( object sender, EventArgs e ) : void
recalcScroll ( ) : void
updateScroll ( ) : void

Method Details

Dispose() protected method

Limpar os recursos que estão sendo usados.
protected Dispose ( bool disposing ) : void
disposing bool verdade se for necessário descartar os recursos gerenciados; caso contrário, falso.
return void

OList() public method

public OList ( ) : System
return System

OnLayout() protected method

protected OnLayout ( LayoutEventArgs e ) : void
e LayoutEventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseWheel() protected method

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

ProcessCmdKey() protected method

protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg Message
keyData Keys
return bool

addColumn() public method

Adds a new column to the list.
public addColumn ( columnHeader column ) : void
column columnHeader
return void

addItem() public method

Adds a item to the list.
public addItem ( listItem item ) : void
item listItem
return void

addItem() public method

Adds a item to the list. At least one column is necessary.
public addItem ( listItemGroup item ) : void
item listItemGroup The item with one or more columns
return void

addItem() public method

Adds a text to the list.
public addItem ( string text ) : void
text string
return void

addRange() public method

Adds a Collection of listItemGroup to the list.
public addRange ( IEnumerable itemList ) : void
itemList IEnumerable The Collection
return void

addRange() public method

Adds a Array of listItem to the list.
public addRange ( listItem itemList ) : void
itemList listItem The Array
return void

addRange() public method

Adds a Array of String to the list.
public addRange ( string itemList ) : void
itemList string The Array
return void

changeItem() public method

Changes the Item at the given Index.
public changeItem ( int index, listItemGroup newItem ) : void
index int Index number of the item
newItem listItemGroup
return void

changeItem() public method

Changes the Text of a Item at the given Index.
public changeItem ( int index, string newText ) : void
index int Index number of the item
newText string New text
return void

flush() public method

Erase the list.
public flush ( bool keepColumns = false ) : void
keepColumns bool Set to true to keep the columns (optional, default = false)
return void

itemAt() public method

Returns the text of the Item at the given Index.
public itemAt ( int index ) : string
index int Index where the item is located
return string

removeItem() public method

Removes the item at given index.
public removeItem ( int index ) : void
index int Item index
return void