Package org.refcodes.textual
Class TextLineBuilderImpl
- java.lang.Object
-
- org.refcodes.textual.TextLineBuilderImpl
-
- All Implemented Interfaces:
org.refcodes.mixin.ColumnWidthAccessor
,org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<TextLineBuilder>
,org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthMutator
,org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthProperty
,TextLineBuilder
public class TextLineBuilderImpl extends java.lang.Object implements TextLineBuilder
The Class TextLineBuilderImpl.- Author:
- steiner
-
-
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
-
-
Constructor Summary
Constructors Constructor Description TextLineBuilderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnWidth()
char
getLineChar()
Retrieves the line char from the line char property.void
setColumnWidth(int aColumnWidth)
void
setLineChar(char aLineChar)
Sets the line char for the line char property.java.lang.String
toString()
TheString
being build by the builder upon the settings of the attributes.TextLineBuilder
withColumnWidth(int aColumnWidth)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.refcodes.textual.TextLineBuilder
toString, withLineChar
-
-
-
-
Method Detail
-
withColumnWidth
public TextLineBuilder withColumnWidth(int aColumnWidth)
- Specified by:
withColumnWidth
in interfaceorg.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<TextLineBuilder>
-
setColumnWidth
public void setColumnWidth(int aColumnWidth)
- Specified by:
setColumnWidth
in interfaceorg.refcodes.mixin.ColumnWidthAccessor.ColumnWidthMutator
-
getColumnWidth
public int getColumnWidth()
- Specified by:
getColumnWidth
in interfaceorg.refcodes.mixin.ColumnWidthAccessor
-
getLineChar
public char getLineChar()
Retrieves the line char from the line char property.- Specified by:
getLineChar
in interfaceTextLineBuilder
- Returns:
- The line char stored by the line char property.
-
setLineChar
public void setLineChar(char aLineChar)
Sets the line char for the line char property.- Specified by:
setLineChar
in interfaceTextLineBuilder
- Parameters:
aLineChar
- The line char to be stored by the line char property.
-
toString
public java.lang.String toString()
TheString
being build by the builder upon the settings of the attributes.- Specified by:
toString
in interfaceTextLineBuilder
- Overrides:
toString
in classjava.lang.Object
- Returns:
- The according resulting
String
-
-