C# 클래스 kOS.Screen.Interpreter

상속: TextEditor, IInterpreter
파일 보기 프로젝트 열기: KSP-KOS/KOS 1 사용 예제들

공개 메소드들

메소드 설명
GetCommandHistoryAbsolute ( int absoluteIndex ) : string
Interpreter ( SharedObjects shared ) : System
IsAtStartOfCommand ( ) : bool

Detect if the interpreter happens to be right at the start of a new command line.

IsWaitingForCommand ( ) : bool
PrintAt ( string textToPrint, int row, int column ) : void
Reset ( ) : void
SetInputLock ( bool isLocked ) : void
SpecialKey ( char key ) : bool
Type ( char ch ) : void

보호된 메소드들

메소드 설명
CompileCommand ( string commandText ) : void
NewLine ( ) : void
ProcessCommand ( string commandText ) : void

비공개 메소드들

메소드 설명
AddCommandHistoryEntry ( string commandText ) : void
ShowCommandHistoryEntry ( int deltaIndex ) : void

메소드 상세

CompileCommand() 보호된 메소드

protected CompileCommand ( string commandText ) : void
commandText string
리턴 void

GetCommandHistoryAbsolute() 공개 메소드

public GetCommandHistoryAbsolute ( int absoluteIndex ) : string
absoluteIndex int
리턴 string

Interpreter() 공개 메소드

public Interpreter ( SharedObjects shared ) : System
shared SharedObjects
리턴 System

IsAtStartOfCommand() 공개 메소드

Detect if the interpreter happens to be right at the start of a new command line.
public IsAtStartOfCommand ( ) : bool
리턴 bool

IsWaitingForCommand() 공개 메소드

public IsWaitingForCommand ( ) : bool
리턴 bool

NewLine() 보호된 메소드

protected NewLine ( ) : void
리턴 void

PrintAt() 공개 메소드

public PrintAt ( string textToPrint, int row, int column ) : void
textToPrint string
row int
column int
리턴 void

ProcessCommand() 보호된 메소드

protected ProcessCommand ( string commandText ) : void
commandText string
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

SetInputLock() 공개 메소드

public SetInputLock ( bool isLocked ) : void
isLocked bool
리턴 void

SpecialKey() 공개 메소드

public SpecialKey ( char key ) : bool
key char
리턴 bool

Type() 공개 메소드

public Type ( char ch ) : void
ch char
리턴 void