- java.lang.Object
-
- me.tongfei.progressbar.ProgressBarStyle
-
public class ProgressBarStyle extends java.lang.ObjectRepresents the display style of a progress bar.- Since:
- 0.5.1
- Author:
- Tongfei Chen
-
-
Field Summary
Fields Modifier and Type Field Description static ProgressBarStyleASCIIUse only ASCII characters to draw the progress bar.static ProgressBarStyleCOLORFUL_UNICODE_BARstatic ProgressBarStyleCOLORFUL_UNICODE_BLOCKstatic ProgressBarStyleUNICODE_BLOCKUse Unicode block characters to draw the progress bar.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProgressBarStyleBuilderbuilder()Creates a builder to build a custom progress bar style.
-
-
-
Field Detail
-
COLORFUL_UNICODE_BLOCK
public static ProgressBarStyle COLORFUL_UNICODE_BLOCK
-
COLORFUL_UNICODE_BAR
public static ProgressBarStyle COLORFUL_UNICODE_BAR
-
UNICODE_BLOCK
public static ProgressBarStyle UNICODE_BLOCK
Use Unicode block characters to draw the progress bar.
-
ASCII
public static ProgressBarStyle ASCII
Use only ASCII characters to draw the progress bar.
-
-
Method Detail
-
builder
public static ProgressBarStyleBuilder builder()
Creates a builder to build a custom progress bar style.
-
-