Uses of Class
org.apache.commons.cli.help.TextStyle.Builder
Packages that use TextStyle.Builder
-
Uses of TextStyle.Builder in org.apache.commons.cli.help
Methods in org.apache.commons.cli.help that return TextStyle.BuilderModifier and TypeMethodDescriptionstatic TextStyle.Builder
TextStyle.builder()
Creates a new builder.TextHelpAppendable.getTextStyleBuilder()
Gets the style builder used to format text that is not otherwise formatted.protected TextStyle.Builder
TextHelpAppendable.resize
(TextStyle.Builder builder, double fraction) Resizes a TextStyle builder based on the fractional size.TextStyle.Builder.setAlignment
(TextStyle.Alignment alignment) Sets the alignment.TextStyle.Builder.setIndent
(int indent) Sets the indent value.TextStyle.Builder.setLeftPad
(int leftPad) Sets the left padding.TextStyle.Builder.setMaxWidth
(int maxWidth) Sets the currently specified minimum width.TextStyle.Builder.setMinWidth
(int minWidth) Sets the currently specified minimum width.TextStyle.Builder.setScalable
(boolean scalable) Sets whether the column can be made wider or to narrower width to fit constraints of the HelpAppendable and formatting.TextStyle.Builder.setTextStyle
(TextStyle style) Sets all properties from the given text style.Methods in org.apache.commons.cli.help with parameters of type TextStyle.BuilderModifier and TypeMethodDescriptionprotected TextStyle.Builder
TextHelpAppendable.resize
(TextStyle.Builder builder, double fraction) Resizes a TextStyle builder based on the fractional size.