org.crsh.text.ui
Class LabelElement
java.lang.Object
org.crsh.text.ui.Element
org.crsh.text.ui.LabelElement
public class LabelElement
- extends Element
LabelElement
public LabelElement(Object value,
int minWidth)
throws IllegalArgumentException
- Create a new label element
- Parameters:
value - the label valueminWidth - the label minimum width
- Throws:
IllegalArgumentException - if the minimum width is negative
LabelElement
public LabelElement(String value)
LabelElement
public LabelElement(String value,
int minWidth)
LabelElement
public LabelElement(Object value)
getValue
public String getValue()
renderer
public LineRenderer renderer()
- Specified by:
renderer in class Element
toString
public String toString()
- Overrides:
toString in class Object
style
public LabelElement style(Style.Composite style)
- Overrides:
style in class Element
Copyright © 2015 eXo Platform SAS. All Rights Reserved.