public class VirtualScreen extends Object implements ScreenContext
| Constructor and Description |
|---|
VirtualScreen(ScreenContext out) |
| Modifier and Type | Method and Description |
|---|---|
Screenable |
append(char c) |
Screenable |
append(CharSequence s) |
Screenable |
append(CharSequence csq,
int start,
int end) |
Screenable |
append(Style style) |
Screenable |
cls() |
void |
flush()
Flush the stream.
|
int |
getHeight()
Returns the screen height in chars.
|
int |
getWidth()
Returns the screen width in chars.
|
boolean |
isPainted() |
boolean |
isPainting() |
boolean |
isRefresh() |
int |
nextPage() |
boolean |
nextRow() |
VirtualScreen |
paint()
Pain the underlying screen context.
|
boolean |
previousRow() |
boolean |
update() |
public VirtualScreen(ScreenContext out)
public int getWidth()
ScreenContextgetWidth in interface ScreenContextpublic int getHeight()
ScreenContextgetHeight in interface ScreenContextpublic Screenable append(CharSequence s) throws IOException
append in interface AppendableIOExceptionpublic Screenable append(char c) throws IOException
append in interface AppendableIOExceptionpublic Screenable append(CharSequence csq, int start, int end) throws IOException
append in interface AppendableIOExceptionpublic Screenable append(Style style) throws IOException
append in interface ScreenableIOExceptionpublic Screenable cls() throws IOException
cls in interface ScreenableIOExceptionpublic VirtualScreen paint() throws IOException
IOException - any io exceptionpublic boolean previousRow()
throws IOException
IOExceptionpublic boolean isPainted()
public boolean isRefresh()
public boolean isPainting()
public boolean nextRow()
throws IOException
IOExceptionpublic int nextPage()
throws IOException
IOExceptionpublic boolean update()
throws IOException
IOExceptionpublic void flush()
throws IOException
ScreenContextflush in interface ScreenContextIOException - any io exceptionCopyright © 2015 eXo Platform SAS. All Rights Reserved.