org.crsh.text.ui
Class TextElement
java.lang.Object
org.crsh.text.ui.Element
org.crsh.text.ui.TextElement
-
public class TextElement
- extends Element
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
stream
final Iterable<Chunk> stream
-
.
minWidth
final int minWidth
-
.
width
final int width
-
.
TextElement
public TextElement(Iterable<Chunk> stream,
int minWidth)
TextElement
public TextElement(Iterable<Chunk> stream)
width
private static int width(int width,
Iterator<Chunk> stream,
Text current,
Integer from)
-
renderer
public Renderer renderer()
-
- Specified by:
renderer
in class Element
-
toString
public String toString()
-
- Overrides:
toString
in class Object
-
style
public TextElement style(Style.Composite style)
-
- Overrides:
style
in class Element
-
Copyright © 2014 eXo Platform SAS. All Rights Reserved.