C# 클래스 Net.Bertware.Bukkitgui2.Controls.ConsoleInput.ConsoleInput

상속: MetroFramework.Controls.MetroTextBox
파일 보기 프로젝트 열기: Bertware/bukkitgui2

공개 메소드들

메소드 설명
AddAutocompleteSource ( AutoCompleteSourceDelegate d ) : void
ConsoleInput ( ) : System

Add event handlers on creation

보호된 메소드들

메소드 설명
OnCommandSent ( string s ) : void
ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Override default key handling to catch tab keys, and run autocompletion upon tab press.

비공개 메소드들

메소드 설명
AutoComplete ( ) : void

Auto complete a player name or command (if there's 1 option) or show a list of possibilities

AutoCompleteFromContextMenu ( object sender, EventArgs e ) : void

Auto complete a command or name from the context menu

HandleKeyUp ( object sender, KeyEventArgs e ) : void

Handle a keypress

HistoryGoDown ( ) : void
HistoryGoUp ( ) : void
ProcessHandler_ServerStarted ( ) : void

Gain focus on server start

ResetContextMenu ( ) : void

Reset the context menu

SubmitCommand ( ) : void

Raise the commandsent event and reset the text

getAutoCompleteContent ( ) : List

메소드 상세

AddAutocompleteSource() 공개 메소드

public AddAutocompleteSource ( AutoCompleteSourceDelegate d ) : void
d AutoCompleteSourceDelegate
리턴 void

ConsoleInput() 공개 메소드

Add event handlers on creation
public ConsoleInput ( ) : System
리턴 System

OnCommandSent() 보호된 메소드

protected OnCommandSent ( string s ) : void
s string
리턴 void

ProcessCmdKey() 보호된 메소드

Override default key handling to catch tab keys, and run autocompletion upon tab press.
protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg System.Windows.Forms.Message
keyData Keys
리턴 bool