Modifier and Type | Field and Description |
---|---|
(package private) BlockingDeque<KeyStroke> |
buffer
The buffer.
|
(package private) static int |
CLOSED
.
|
(package private) static int |
CLOSING
.
|
(package private) ConsoleDriver |
driver
.
|
(package private) Editor |
editor
.
|
(package private) AtomicReference<Plugin> |
handler
The current handler.
|
private static Logger |
log
The logger.
|
(package private) static int |
RUNNING
.
|
(package private) Shell |
shell
.
|
(package private) int |
status
.
|
Constructor and Description |
---|
Console(Shell shell,
ConsoleDriver driver) |
Modifier and Type | Method and Description |
---|---|
void |
addModeListener(Runnable runnable) |
(package private) void |
close() |
(package private) Editor |
edit()
Switch to edit.
|
Iterable<KeyStroke> |
getKeyBuffer() |
Mode |
getMode() |
void |
init()
Initiali
|
boolean |
isRunning() |
(package private) void |
iterate()
Process the state machine.
|
void |
on(KeyStroke keyStroke) |
void |
on(KeyStroke[] keyStrokes) |
void |
on(Operation operation,
int... buffer) |
void |
setMode(Mode mode) |
void |
toEmacs() |
void |
toInsert() |
void |
toMove() |
static final int RUNNING
static final int CLOSING
static final int CLOSED
final AtomicReference<Plugin> handler
final BlockingDeque<KeyStroke> buffer
final ConsoleDriver driver
int status
public Console(Shell shell, ConsoleDriver driver) throws NullPointerException
NullPointerException
public void toEmacs()
public void toMove()
public void toInsert()
public void addModeListener(Runnable runnable)
public boolean isRunning()
public void init()
public Iterable<KeyStroke> getKeyBuffer()
public void on(Operation operation, int... buffer)
void close()
void iterate()
Copyright © 2015 eXo Platform SAS. All Rights Reserved.