|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.text.LineRenderer
org.crsh.text.ui.TreeLineRenderer
class TreeLineRenderer
| Field Summary | |
|---|---|
private List<LineRenderer> |
children
. |
private LineRenderer |
value
. |
| Fields inherited from class org.crsh.text.LineRenderer |
|---|
NULL |
| Constructor Summary | |
|---|---|
TreeLineRenderer(TreeElement tree)
|
|
| Method Summary | |
|---|---|
int |
getActualHeight(int width)
Return the actual height for the specified with. |
int |
getActualWidth()
Returns the element actual width. |
int |
getMinHeight(int width)
Return the minimum height for the specified with. |
int |
getMinWidth()
Returns the element minimum width. |
LineReader |
reader(int width)
Create a renderer for the specified width or return null if the element does not provide any output. |
| Methods inherited from class org.crsh.text.LineRenderer |
|---|
reader, render, vertical |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final LineRenderer value
private final List<LineRenderer> children
| Constructor Detail |
|---|
TreeLineRenderer(TreeElement tree)
| Method Detail |
|---|
public int getActualWidth()
LineRenderer
getActualWidth in class LineRendererpublic int getMinWidth()
LineRenderer
getMinWidth in class LineRendererpublic int getActualHeight(int width)
LineRenderer
getActualHeight in class LineRendererwidth - the width
public int getMinHeight(int width)
LineRenderer
getMinHeight in class LineRendererwidth - the width
public LineReader reader(int width)
LineRenderer
reader in class LineRendererwidth - the width
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||