Class ProgressView.ProgressViewItem
java.lang.Object
org.springframework.shell.component.view.control.ProgressView.ProgressViewItem
- Enclosing class:
- ProgressView
Defines an item within a progress view. Allows to set item's factory, size
and horizontal alignment.
-
Constructor Summary
ConstructorDescriptionProgressViewItem
(Function<ProgressView.ProgressContext, TextCell<ProgressView.ProgressContext>> factory, int size, HorizontalAlign align) -
Method Summary
Modifier and TypeMethodDescriptionofPercent
(int size, HorizontalAlign hAligh) ofSpinner
(int size, HorizontalAlign hAligh) ofText()
ofText
(int size, HorizontalAlign hAligh)
-
Constructor Details
-
ProgressViewItem
public ProgressViewItem(Function<ProgressView.ProgressContext, TextCell<ProgressView.ProgressContext>> factory, int size, HorizontalAlign align)
-
-
Method Details
-
ofText
-
ofText
-
ofSpinner
-
ofSpinner
-
ofPercent
-
ofPercent
-