Class BarText
java.lang.Object
org.apache.juneau.console.widgets.BarText
- All Implemented Interfaces:
BarWidget
A static contextual label widget in a
BarSlot.- Since:
- 10.0.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
The stable widget id, unique within itsBarSlot. Required, non-blank. -
text
The label text painted astextContent. Required, non-blank.
-
-
Constructor Details
-
BarText
public BarText()
-
-
Method Details
-
of
Creates a bar text widget.- Parameters:
id- The stable widget id. Must not benull or blank.text- The label text. Must not benull or blank.- Returns:
- A new
BarText.
-