Package | Description |
---|---|
com.googlecode.lanterna.gui2 |
Modifier and Type | Class and Description |
---|---|
class |
AnimatedLabel
This is a special label that contains not just a single text to display but a number of frames that are cycled
through.
|
Modifier and Type | Method and Description |
---|---|
Label |
Label.addStyle(SGR sgr)
Adds an additional SGR style to use when drawing the label, in case it wasn't enabled by the theme
|
Label |
Label.removeStyle(SGR sgr)
Removes an additional SGR style used when drawing the label, previously added by
addStyle(..) . |
Label |
Label.setBackgroundColor(TextColor backgroundColor)
Overrides the current theme's background color and use the one specified.
|
Label |
Label.setForegroundColor(TextColor foregroundColor)
Overrides the current theme's foreground color and use the one specified.
|
Label |
Label.setLabelWidth(Integer labelWidth)
Use this method to limit how wide the label can grow.
|
Modifier and Type | Method and Description |
---|---|
protected ComponentRenderer<Label> |
Label.createDefaultRenderer() |
Copyright © 2016. All rights reserved.