C# Class MBC.App.Terminal.Layouts.ControlLayout

显示文件 Open project: aiclub/Mohawk_Battleship Class Usage Examples

Protected Properties

Property Type Description
controls List
displayLine int
module MBC.App.Terminal.Modules.TerminalModule

Public Methods

Method Description
Add ( UserControl ctrl ) : void
Display ( ) : void
Input ( string input ) : void
KeyPressed ( ConsoleKeyInfo key ) : bool
Select ( ) : void
SetDisplayLine ( int ln ) : void
SetModule ( TerminalModule mod ) : void

Protected Methods

Method Description
DrawAllUnselected ( ) : void
DrawSelected ( UserControl ctrl ) : void
DrawUnselected ( UserControl ctrl ) : void

Method Details

Add() public method

public Add ( UserControl ctrl ) : void
ctrl MBC.App.Terminal.Controls.UserControl
return void

Display() public method

public Display ( ) : void
return void

DrawAllUnselected() protected method

protected DrawAllUnselected ( ) : void
return void

DrawSelected() protected method

protected DrawSelected ( UserControl ctrl ) : void
ctrl MBC.App.Terminal.Controls.UserControl
return void

DrawUnselected() protected method

protected DrawUnselected ( UserControl ctrl ) : void
ctrl MBC.App.Terminal.Controls.UserControl
return void

Input() public method

public Input ( string input ) : void
input string
return void

KeyPressed() public method

public KeyPressed ( ConsoleKeyInfo key ) : bool
key System.ConsoleKeyInfo
return bool

Select() public method

public Select ( ) : void
return void

SetDisplayLine() public method

public SetDisplayLine ( int ln ) : void
ln int
return void

SetModule() public method

public SetModule ( TerminalModule mod ) : void
mod MBC.App.Terminal.Modules.TerminalModule
return void

Property Details

controls protected_oe property

protected List controls
return List

displayLine protected_oe property

protected int displayLine
return int

module protected_oe property

protected TerminalModule,MBC.App.Terminal.Modules module
return MBC.App.Terminal.Modules.TerminalModule