public class RenderAppendable extends Object implements ScreenContext
| Constructor and Description |
|---|
RenderAppendable(ScreenContext context) |
| Modifier and Type | Method and Description |
|---|---|
Screenable |
append(char c) |
RenderAppendable |
append(CharSequence s) |
Screenable |
append(CharSequence csq,
int start,
int end) |
Screenable |
append(Style style) |
Screenable |
cls() |
void |
enterStyle(Style.Composite style) |
void |
flush()
Flush the stream.
|
int |
getHeight()
Returns the screen height in chars.
|
int |
getWidth()
Returns the screen width in chars.
|
Style.Composite |
leaveStyle() |
void |
styleOff() |
void |
styleOn() |
public RenderAppendable(ScreenContext context)
public RenderAppendable append(CharSequence s)
append in interface Appendablepublic Screenable append(char c)
append in interface Appendablepublic Screenable append(CharSequence csq, int start, int end)
append in interface Appendablepublic Screenable append(Style style)
append in interface Screenablepublic Screenable cls()
cls in interface Screenablepublic int getWidth()
ScreenContextgetWidth in interface ScreenContextpublic int getHeight()
ScreenContextgetHeight in interface ScreenContextpublic void flush()
throws IOException
ScreenContextflush in interface ScreenContextIOException - any io exceptionpublic void enterStyle(Style.Composite style)
public Style.Composite leaveStyle()
public void styleOff()
public void styleOn()
Copyright © 2015 eXo Platform SAS. All Rights Reserved.