C# Class Mono.Terminal.ListView

A Listview widget.
This widget renders a list of data. The actual rendering is implemented by an instance of the class IListProvider that must be supplied at construction time.
Inheritance: Widget
Afficher le fichier Open project: mono/mono-curses

Méthodes publiques

Méthode Description
ListView ( int x, int y, int w, int h, IListProvider provider ) : System

Public constructor.

PositionCursor ( ) : void
ProcessKey ( int c ) : bool
ProcessMouse ( Curses ev ) : void
ProviderChanged ( ) : void

This method can be invoked by the model to notify the view that the contents of the model have changed.

Invoke this method to invalidate the contents of the ListView and force the ListView to repaint the contents displayed.

Redraw ( ) : void

Private Methods

Méthode Description
SelectedChanged ( ) : void

Method Details

ListView() public méthode

Public constructor.
public ListView ( int x, int y, int w, int h, IListProvider provider ) : System
x int
y int
w int
h int
provider IListProvider
Résultat System

PositionCursor() public méthode

public PositionCursor ( ) : void
Résultat void

ProcessKey() public méthode

public ProcessKey ( int c ) : bool
c int
Résultat bool

ProcessMouse() public méthode

public ProcessMouse ( Curses ev ) : void
ev Curses
Résultat void

ProviderChanged() public méthode

This method can be invoked by the model to notify the view that the contents of the model have changed.
Invoke this method to invalidate the contents of the ListView and force the ListView to repaint the contents displayed.
public ProviderChanged ( ) : void
Résultat void

Redraw() public méthode

public Redraw ( ) : void
Résultat void