|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.text.ui.Element
org.crsh.text.ui.LabelElement
public class LabelElement
| Field Summary | |
|---|---|
(package private) int |
actualHeight
. |
(package private) int |
actualWidth
. |
(package private) int |
minWidth
. |
(package private) CharSlicer |
slicer
. |
(package private) String |
value
. |
| Constructor Summary | |
|---|---|
LabelElement(Object value)
|
|
LabelElement(Object value,
int minWidth)
|
|
LabelElement(String value)
|
|
LabelElement(String value,
int minWidth)
|
|
| Method Summary | |
|---|---|
String |
getValue()
|
Renderer |
renderer()
|
LabelElement |
style(Style.Composite style)
|
String |
toString()
|
| Methods inherited from class org.crsh.text.ui.Element |
|---|
getStyle, header, label, render, row, setStyle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
final String value
final int minWidth
final int actualWidth
final int actualHeight
final CharSlicer slicer
| Constructor Detail |
|---|
public LabelElement(String value,
int minWidth)
public LabelElement(String value)
public LabelElement(Object value,
int minWidth)
public LabelElement(Object value)
| Method Detail |
|---|
public String getValue()
public Renderer renderer()
renderer in class Elementpublic String toString()
toString in class Objectpublic LabelElement style(Style.Composite style)
style in class Element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||