Package org.refcodes.textual
Interface HorizAlignTextBuilder
-
- All Superinterfaces:
org.refcodes.mixin.ColumnWidthAccessor
,org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<HorizAlignTextBuilder>
,org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthMutator
,org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthProperty
,HorizAlignTextModeAccessor
,HorizAlignTextModeAccessor.HorizAlignTextModeBuilder<HorizAlignTextBuilder>
,HorizAlignTextModeAccessor.HorizAlignTextModeMutator
,HorizAlignTextModeAccessor.HorizAlignTextModeProperty
,Text<HorizAlignTextBuilder>
,TextAccessor
,TextAccessor.TextBuilder<Text<HorizAlignTextBuilder>>
,TextAccessor.TextMutator
,TextAccessor.TextProperty
,TextAccessor.TextProvider
- All Known Implementing Classes:
HorizAlignTextBuilderImpl
public interface HorizAlignTextBuilder extends org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<HorizAlignTextBuilder>, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthProperty, Text<HorizAlignTextBuilder>, HorizAlignTextModeAccessor.HorizAlignTextModeProperty, HorizAlignTextModeAccessor.HorizAlignTextModeBuilder<HorizAlignTextBuilder>
Fills a text up on by appending the given char to the left or to the the right or inbetween till the given length is reached. How the text is aligned depends on the setting of theHorizAlignTextMode
attribute.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.ColumnWidthAccessor
org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<B extends org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<B>>, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthMutator, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthProperty
-
Nested classes/interfaces inherited from interface org.refcodes.textual.HorizAlignTextModeAccessor
HorizAlignTextModeAccessor.HorizAlignTextModeBuilder<B extends HorizAlignTextModeAccessor.HorizAlignTextModeBuilder<B>>, HorizAlignTextModeAccessor.HorizAlignTextModeMutator, HorizAlignTextModeAccessor.HorizAlignTextModeProperty
-
Nested classes/interfaces inherited from interface org.refcodes.textual.TextAccessor
TextAccessor.TextBuilder<B extends TextAccessor.TextBuilder<B>>, TextAccessor.TextMutator, TextAccessor.TextProperty, TextAccessor.TextProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description char
getFillChar()
Retrieves the fill char from the fill char property.void
setFillChar(char aFillChar)
Sets the fill char for the fill char property.default HorizAlignTextBuilder
withFillChar(char aFillChar)
Sets the fill char for the fill char property.default HorizAlignTextBuilder
withHorizAlignTextMode(HorizAlignTextMode aHorizAlignTextMode)
Sets the align text mode for the align text mode property.-
Methods inherited from interface org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder
withColumnWidth
-
Methods inherited from interface org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthMutator
setColumnWidth
-
Methods inherited from interface org.refcodes.textual.HorizAlignTextModeAccessor
getHorizAlignTextMode
-
Methods inherited from interface org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeMutator
setHorizAlignTextMode
-
Methods inherited from interface org.refcodes.textual.TextAccessor
getText
-
Methods inherited from interface org.refcodes.textual.TextAccessor.TextBuilder
withText
-
Methods inherited from interface org.refcodes.textual.TextAccessor.TextMutator
setText, setText
-
Methods inherited from interface org.refcodes.textual.TextAccessor.TextProvider
toString, toStrings
-
-
-
-
Method Detail
-
getFillChar
char getFillChar()
Retrieves the fill char from the fill char property.- Returns:
- The fill char stored by the fill char property.
-
setFillChar
void setFillChar(char aFillChar)
Sets the fill char for the fill char property.- Parameters:
aFillChar
- The fill char to be stored by the align text mode property.
-
withFillChar
default HorizAlignTextBuilder withFillChar(char aFillChar)
Sets the fill char for the fill char property.- Parameters:
aFillChar
- The fill char to be stored by the align text mode property.- Returns:
- The builder for applying multiple build operations.
-
withHorizAlignTextMode
default HorizAlignTextBuilder withHorizAlignTextMode(HorizAlignTextMode aHorizAlignTextMode)
Sets the align text mode for the align text mode property.- Specified by:
withHorizAlignTextMode
in interfaceHorizAlignTextModeAccessor.HorizAlignTextModeBuilder<HorizAlignTextBuilder>
- Parameters:
aHorizAlignTextMode
- The align text mode to be stored by the align text mode property.- Returns:
- The builder for applying multiple build operations.
-
-