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
ファイルを表示 Open project: mono/mono-curses

Public Methods

Method 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

Method Description
SelectedChanged ( ) : void

Method Details

ListView() public method

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
return System

PositionCursor() public method

public PositionCursor ( ) : void
return void

ProcessKey() public method

public ProcessKey ( int c ) : bool
c int
return bool

ProcessMouse() public method

public ProcessMouse ( Curses ev ) : void
ev Curses
return void

ProviderChanged() public method

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
return void

Redraw() public method

public Redraw ( ) : void
return void