public interface Term extends java.io.Closeable, ScreenContext
| Modifier and Type | Method and Description |
|---|---|
void |
addToHistory(java.lang.CharSequence line)
Append a line to the term history.
|
java.lang.CharSequence |
getBuffer()
Returns the current buffer content to the cursor;
|
java.lang.Appendable |
getDirectBuffer()
Returns the direct buffer, any char appended in the returned appendable will translate into an
insertion in the buffer.
|
java.lang.String |
getProperty(java.lang.String name)
Retrieves the value of a property specified by this Term
|
TermEvent |
read()
Read the next term event.
|
boolean |
releaseAlternateBuffer()
Release control of the alternate buffer.
|
void |
setEcho(boolean echo)
Set the echo mode on the term.
|
boolean |
takeAlternateBuffer()
Take control of the alternate buffer.
|
getHeight, getWidth, writejava.lang.String getProperty(java.lang.String name)
name - name of the term propertyboolean takeAlternateBuffer()
throws java.io.IOException
Flushable.flush() method
is invoked.java.io.IOExceptionboolean releaseAlternateBuffer()
throws java.io.IOException
Flushable.flush() method
is invoked.java.io.IOExceptionvoid setEcho(boolean echo)
echo - the echo modeTermEvent read() throws java.io.IOException
java.io.IOException - any io exceptionjava.lang.Appendable getDirectBuffer()
java.lang.CharSequence getBuffer()
void addToHistory(java.lang.CharSequence line)
line - the history line to appendCopyright © 2014 eXo Platform SAS. All Rights Reserved.