C# Класс kOS.Screen.Interpreter

Наследование: TextEditor, IInterpreter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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