|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Term
Method Summary | |
---|---|
void |
addToHistory(CharSequence line)
Append a line to the term history. |
CharSequence |
getBuffer()
Returns the current buffer content to the cursor; |
Appendable |
getDirectBuffer()
Returns the direct buffer, any char appended in the returned appendable will translate into an insertion in the buffer. |
String |
getProperty(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. |
Methods inherited from interface java.io.Closeable |
---|
close |
Methods inherited from interface org.crsh.text.ScreenContext |
---|
flush, getHeight, getWidth |
Methods inherited from interface org.crsh.text.Screenable |
---|
append, cls |
Methods inherited from interface java.lang.Appendable |
---|
append, append, append |
Method Detail |
---|
String getProperty(String name)
name
- name of the term property
boolean takeAlternateBuffer() throws IOException
ScreenContext.flush()
method
is invoked.
IOException
boolean releaseAlternateBuffer() throws IOException
ScreenContext.flush()
method
is invoked.
IOException
void setEcho(boolean echo)
echo
- the echo modeTermEvent read() throws IOException
IOException
- any io exceptionAppendable getDirectBuffer()
CharSequence getBuffer()
void addToHistory(CharSequence line)
line
- the history line to append
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |