|
Forge - Shell API 1.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BufferManager
A BufferManager is responsible for managing a shell buffer in Forge.
| Method Summary | |
|---|---|
void |
bufferOnlyMode()
Set the buffer into buffering-only mode. |
void |
directWrite(String s)
|
void |
directWriteMode()
Direct-write mode. |
void |
flushBuffer()
Flush data to the lower-level buffer immediately. |
int |
getHeight()
Get height in lines |
int |
getWidth()
Get width in lines |
void |
setBufferPosition(int row,
int col)
Set buffer position. |
void |
write(byte b)
Write a single byte to the buffer. |
void |
write(byte[] b)
Write a byte array to the buffer. |
void |
write(byte[] b,
int offset,
int length)
Write a byte array to the buffer with offset |
void |
write(int b)
|
void |
write(String s)
|
| Method Detail |
|---|
void bufferOnlyMode()
void directWriteMode()
void flushBuffer()
void write(int b)
void write(byte b)
b - void write(byte[] b)
b -
void write(byte[] b,
int offset,
int length)
b - offset - length - void write(String s)
void directWrite(String s)
void setBufferPosition(int row,
int col)
int getHeight()
int getWidth()
|
Forge - Shell API 1.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||