public class RenderAppendable extends Object implements ScreenContext
| 构造器和说明 |
|---|
RenderAppendable(ScreenContext context) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 Appendablepublic Screenable append(char c)
append 在接口中 Appendablepublic Screenable append(CharSequence csq, int start, int end)
append 在接口中 Appendablepublic Screenable append(Style style)
append 在接口中 Screenablepublic Screenable cls()
cls 在接口中 Screenablepublic int getWidth()
ScreenContextgetWidth 在接口中 ScreenContextpublic int getHeight()
ScreenContextgetHeight 在接口中 ScreenContextpublic void flush()
throws IOException
ScreenContextflush 在接口中 ScreenContextIOException - any io exceptionpublic void enterStyle(Style.Composite style)
public Style.Composite leaveStyle()
public void styleOff()
public void styleOn()
Copyright © 2018. All rights reserved.