C# Class Ohana3DS_Transfigured.GUI.OList

Afficher le fichier Open project: Quibilia/Ohana3DS-Transfigured

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode 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 méthode

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.
Résultat void

OList() public méthode

public OList ( ) : System
Résultat System

OnLayout() protected méthode

protected OnLayout ( LayoutEventArgs e ) : void
e LayoutEventArgs
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseWheel() protected méthode

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

ProcessCmdKey() protected méthode

protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg Message
keyData Keys
Résultat bool

addColumn() public méthode

Adds a new column to the list.
public addColumn ( columnHeader column ) : void
column columnHeader
Résultat void

addItem() public méthode

Adds a item to the list.
public addItem ( listItem item ) : void
item listItem
Résultat void

addItem() public méthode

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
Résultat void

addItem() public méthode

Adds a text to the list.
public addItem ( string text ) : void
text string
Résultat void

addRange() public méthode

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

addRange() public méthode

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

addRange() public méthode

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

changeItem() public méthode

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

changeItem() public méthode

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
Résultat void

flush() public méthode

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

itemAt() public méthode

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

removeItem() public méthode

Removes the item at given index.
public removeItem ( int index ) : void
index int Item index
Résultat void