Package me.tongfei.progressbar
Class ProgressBarStyle
java.lang.Object
me.tongfei.progressbar.ProgressBarStyle
Represents the display style of a progress bar.
- Since:
- 0.5.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic ProgressBarStyleUse only ASCII characters to draw the progress bar.(package private) charstatic ProgressBarStylestatic ProgressBarStyle(package private) String(package private) String(package private) String(package private) String(package private) String(package private) char(package private) charstatic ProgressBarStyleUse Unicode block characters to draw the progress bar. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProgressBarStyleBuilderbuilder()Creates a builder to build a custom progress bar style.
-
Field Details
-
refreshPrompt
String refreshPrompt -
leftBracket
String leftBracket -
delimitingSequence
String delimitingSequence -
rightBracket
String rightBracket -
block
char block -
space
char space -
fractionSymbols
String fractionSymbols -
rightSideFractionSymbol
char rightSideFractionSymbol -
COLORFUL_UNICODE_BLOCK
-
COLORFUL_UNICODE_BAR
-
UNICODE_BLOCK
Use Unicode block characters to draw the progress bar. -
ASCII
Use only ASCII characters to draw the progress bar.
-
-
Constructor Details
-
ProgressBarStyle
-
-
Method Details
-
builder
Creates a builder to build a custom progress bar style.
-