Uses of Enum Class
org.springframework.shell.geom.HorizontalAlign
Packages that use HorizontalAlign
Package
Description
-
Uses of HorizontalAlign in org.springframework.shell.component.view.control
Methods in org.springframework.shell.component.view.control with parameters of type HorizontalAlignModifier and TypeMethodDescriptionProgressView.ProgressViewItem.ofPercent
(int size, HorizontalAlign hAligh) ProgressView.ProgressViewItem.ofSpinner
(int size, HorizontalAlign hAligh) ProgressView.ProgressViewItem.ofText
(int size, HorizontalAlign hAligh) void
BoxView.setTitleAlign
(HorizontalAlign titleAlign) Sets a title align.Constructors in org.springframework.shell.component.view.control with parameters of type HorizontalAlignModifierConstructorDescriptionProgressViewItem
(Function<ProgressView.ProgressContext, TextCell<ProgressView.ProgressContext>> factory, int size, HorizontalAlign align) -
Uses of HorizontalAlign in org.springframework.shell.component.view.control.cell
Methods in org.springframework.shell.component.view.control.cell with parameters of type HorizontalAlignModifier and TypeMethodDescriptionstatic <T> TextCell<T>
TextCell.of
(T item, Function<T, String> itemFunction, HorizontalAlign hAlign, VerticalAlign vAlign) Helper method to build aTextCell
.void
AbstractTextCell.setHorizontalAlign
(HorizontalAlign hAlign) void
TextCell.setHorizontalAlign
(HorizontalAlign hAlign) Sets horizontal align for a text to draw.Constructors in org.springframework.shell.component.view.control.cell with parameters of type HorizontalAlignModifierConstructorDescriptionAbstractTextCell
(T item, Function<T, String> itemFunction, HorizontalAlign hAlign, VerticalAlign vAlign) -
Uses of HorizontalAlign in org.springframework.shell.component.view.screen
Methods in org.springframework.shell.component.view.screen with parameters of type HorizontalAlignModifier and TypeMethodDescriptionvoid
Screen.Writer.text
(String text, Rectangle rect, HorizontalAlign hAlign, VerticalAlign vAlign) Write aligned text within a bounds. -
Uses of HorizontalAlign in org.springframework.shell.geom
Methods in org.springframework.shell.geom that return HorizontalAlignModifier and TypeMethodDescriptionstatic HorizontalAlign
Returns the enum constant of this class with the specified name.static HorizontalAlign[]
HorizontalAlign.values()
Returns an array containing the constants of this enum class, in the order they are declared.