C# Class SadConsole.Controls.RadioButton

Inheritance: ControlBase
ファイルを表示 Open project: Thraka/SadConsole Class Usage Examples

Protected Properties

Property Type Description
_currentAppearanceButton CellAppearance
_currentAppearanceText CellAppearance
_isMouseDown bool

Public Methods

Method Description
Compose ( ) : void
DetermineAppearance ( ) : void

Determines the appearance of the control based on its current state.

ProcessKeyboard ( Input info ) : bool

Called when the control should process keyboard information.

RadioButton ( int width, int height ) : System

Creates a new radio button control with the specified width and height.

Protected Methods

Method Description
OnLeftMouseClicked ( Input info ) : void
OnMouseExit ( Input info ) : void
OnMouseIn ( Input info ) : void

Private Methods

Method Description
AfterDeserialized ( StreamingContext context ) : void

Method Details

Compose() public method

public Compose ( ) : void
return void

DetermineAppearance() public method

Determines the appearance of the control based on its current state.
public DetermineAppearance ( ) : void
return void

OnLeftMouseClicked() protected method

protected OnLeftMouseClicked ( Input info ) : void
info Input
return void

OnMouseExit() protected method

protected OnMouseExit ( Input info ) : void
info Input
return void

OnMouseIn() protected method

protected OnMouseIn ( Input info ) : void
info Input
return void

ProcessKeyboard() public method

Called when the control should process keyboard information.
public ProcessKeyboard ( Input info ) : bool
info Input The keyboard information.
return bool

RadioButton() public method

Creates a new radio button control with the specified width and height.
public RadioButton ( int width, int height ) : System
width int Width of the control.
height int Height of the control.
return System

Property Details

_currentAppearanceButton protected_oe property

protected CellAppearance _currentAppearanceButton
return CellAppearance

_currentAppearanceText protected_oe property

protected CellAppearance _currentAppearanceText
return CellAppearance

_isMouseDown protected_oe property

protected bool _isMouseDown
return bool