public class VirtualScreen extends Object implements ScreenContext
| 构造器和说明 |
|---|
VirtualScreen(ScreenContext out) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 ScreenContextpublic int getHeight()
ScreenContextgetHeight 在接口中 ScreenContextpublic Screenable append(CharSequence s) throws IOException
append 在接口中 AppendableIOExceptionpublic Screenable append(char c) throws IOException
append 在接口中 AppendableIOExceptionpublic Screenable append(CharSequence csq, int start, int end) throws IOException
append 在接口中 AppendableIOExceptionpublic Screenable append(Style style) throws IOException
append 在接口中 ScreenableIOExceptionpublic Screenable cls() throws IOException
cls 在接口中 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 在接口中 ScreenContextIOException - any io exceptionCopyright © 2018. All rights reserved.