|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.crsh.text.ui.LabelReader
class LabelReader
Field Summary | |
---|---|
private LabelElement |
element . |
private int |
height . |
private int |
index . |
private Pair<Integer,Integer>[] |
lines . |
private int |
width . |
Constructor Summary | |
---|---|
LabelReader(LabelElement element, Pair<Integer,Integer>[] lines, int width, int height) |
Method Summary | |
---|---|
boolean |
hasLine() Returns true if the renderer has a next line to render. |
void |
renderLine(RenderAppendable to) Renders the element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final LabelElement element
private final Pair<Integer,Integer>[] lines
private final int width
private final int height
private int index
Constructor Detail |
---|
LabelReader(LabelElement element, Pair<Integer,Integer>[] lines, int width, int height)
Method Detail |
---|
public boolean hasLine()
LineReader
hasLine
in interface LineReader
public void renderLine(RenderAppendable to)
LineReader
renderLine
in interface LineReader
to
- the buffer for rendering
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |