Uses of Enum Class
org.springframework.shell.tui.geom.HorizontalAlign
Packages that use HorizontalAlign
Package
Description
-
Uses of HorizontalAlign in org.springframework.shell.tui.component.view.control
Methods in org.springframework.shell.tui.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) voidBoxView.setTitleAlign(HorizontalAlign titleAlign) Sets a title align.Constructors in org.springframework.shell.tui.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.tui.component.view.control.cell
Methods in org.springframework.shell.tui.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.voidAbstractTextCell.setHorizontalAlign(HorizontalAlign hAlign) voidTextCell.setHorizontalAlign(HorizontalAlign hAlign) Sets horizontal align for a text to draw.Constructors in org.springframework.shell.tui.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.tui.component.view.screen
Methods in org.springframework.shell.tui.component.view.screen with parameters of type HorizontalAlignModifier and TypeMethodDescriptionvoidScreen.Writer.text(String text, Rectangle rect, HorizontalAlign hAlign, VerticalAlign vAlign) Write aligned text within a bounds. -
Uses of HorizontalAlign in org.springframework.shell.tui.geom
Methods in org.springframework.shell.tui.geom that return HorizontalAlignModifier and TypeMethodDescriptionstatic HorizontalAlignReturns 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.