C# 클래스 Mono.Terminal.Container

상속: Widget
파일 보기 프로젝트 열기: mono/mono-curses 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Border int
ContainerColorFocus int
ContainerColorHotFocus int
ContainerColorHotNormal int
ContainerColorNormal int
Running bool

공개 메소드들

메소드 설명
Add ( Widget w ) : void

Adds a widget to this container.

Container ( int x, int y, int w, int h ) : System

Public constructor.

ContainerBaseMove ( int row, int col ) : void
ContainerMove ( int row, int col ) : void
DoSizeChanged ( ) : void
EnsureFocus ( ) : void

Focuses the first possible focusable widget in the contained widgets.

FocusFirst ( ) : void

Focuses the first widget in the contained widgets.

FocusLast ( ) : void

Focuses the last widget in the contained widgets.

FocusNext ( ) : bool

Focuses the next widget.

FocusPrev ( ) : bool

Focuses the previous widget.

GetBase ( int &row, int &col ) : void

Returns the base position for child widgets to paint on.

This method is typically overwritten by containers that want to have some padding (like Frames or Dialogs).

GetEnumerator ( ) : IEnumerator
PositionCursor ( ) : void
Prepare ( ) : void

Called on top-level container before starting up.

ProcessColdKey ( int key ) : bool
ProcessHotKey ( int key ) : bool
ProcessKey ( int key ) : bool
ProcessMouse ( Curses ev ) : void
Redraw ( ) : void
RedrawChildren ( ) : void

Used to redraw all the children in this container.

Remove ( Widget w ) : void

Removes a widget from this container.

RemoveAll ( ) : void

Removes all the widgets from this container.

SetFocus ( Widget w ) : void

Focuses the specified widget in this container.

Focuses the specified widge, taking the focus away from any previously focused widgets. This method only works if the widget specified supports being focused.

SizeChanged ( ) : void

This method is invoked when the size of this container changes.

비공개 메소드들

메소드 설명
Container ( ) : System

메소드 상세

Add() 공개 메소드

Adds a widget to this container.
public Add ( Widget w ) : void
w Widget
리턴 void

Container() 공개 메소드

Public constructor.
public Container ( int x, int y, int w, int h ) : System
x int
y int
w int
h int
리턴 System

ContainerBaseMove() 공개 메소드

public ContainerBaseMove ( int row, int col ) : void
row int
col int
리턴 void

ContainerMove() 공개 메소드

public ContainerMove ( int row, int col ) : void
row int
col int
리턴 void

DoSizeChanged() 공개 메소드

public DoSizeChanged ( ) : void
리턴 void

EnsureFocus() 공개 메소드

Focuses the first possible focusable widget in the contained widgets.
public EnsureFocus ( ) : void
리턴 void

FocusFirst() 공개 메소드

Focuses the first widget in the contained widgets.
public FocusFirst ( ) : void
리턴 void

FocusLast() 공개 메소드

Focuses the last widget in the contained widgets.
public FocusLast ( ) : void
리턴 void

FocusNext() 공개 메소드

Focuses the next widget.
public FocusNext ( ) : bool
리턴 bool

FocusPrev() 공개 메소드

Focuses the previous widget.
public FocusPrev ( ) : bool
리턴 bool

GetBase() 공개 메소드

Returns the base position for child widgets to paint on.
This method is typically overwritten by containers that want to have some padding (like Frames or Dialogs).
public GetBase ( int &row, int &col ) : void
row int
col int
리턴 void

GetEnumerator() 공개 메소드

public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

PositionCursor() 공개 메소드

public PositionCursor ( ) : void
리턴 void

Prepare() 공개 메소드

Called on top-level container before starting up.
public Prepare ( ) : void
리턴 void

ProcessColdKey() 공개 메소드

public ProcessColdKey ( int key ) : bool
key int
리턴 bool

ProcessHotKey() 공개 메소드

public ProcessHotKey ( int key ) : bool
key int
리턴 bool

ProcessKey() 공개 메소드

public ProcessKey ( int key ) : bool
key int
리턴 bool

ProcessMouse() 공개 메소드

public ProcessMouse ( Curses ev ) : void
ev Curses
리턴 void

Redraw() 공개 메소드

public Redraw ( ) : void
리턴 void

RedrawChildren() 공개 메소드

Used to redraw all the children in this container.
public RedrawChildren ( ) : void
리턴 void

Remove() 공개 메소드

Removes a widget from this container.
public Remove ( Widget w ) : void
w Widget
리턴 void

RemoveAll() 공개 메소드

Removes all the widgets from this container.
public RemoveAll ( ) : void
리턴 void

SetFocus() 공개 메소드

Focuses the specified widget in this container.
Focuses the specified widge, taking the focus away from any previously focused widgets. This method only works if the widget specified supports being focused.
public SetFocus ( Widget w ) : void
w Widget
리턴 void

SizeChanged() 공개 메소드

This method is invoked when the size of this container changes.
public SizeChanged ( ) : void
리턴 void

프로퍼티 상세

Border 공개적으로 프로퍼티

public int Border
리턴 int

ContainerColorFocus 공개적으로 프로퍼티

public int ContainerColorFocus
리턴 int

ContainerColorHotFocus 공개적으로 프로퍼티

public int ContainerColorHotFocus
리턴 int

ContainerColorHotNormal 공개적으로 프로퍼티

public int ContainerColorHotNormal
리턴 int

ContainerColorNormal 공개적으로 프로퍼티

public int ContainerColorNormal
리턴 int

Running 공개적으로 프로퍼티

public bool Running
리턴 bool