public interface ColumnSetupMetrics extends ColumnFormatMetrics, org.refcodes.graphical.VisibleAccessor.VisibleProperty, org.refcodes.graphical.VisibleAccessor.VisibleBuilder<ColumnSetupMetrics>, org.refcodes.mixin.NameAccessor.NameProperty, org.refcodes.mixin.NameAccessor.NameBuilder<ColumnSetupMetrics>
org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<B extends org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<B>>, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthMutator, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthProperty
org.refcodes.graphical.VisibleAccessor.VisibleBuilder<B extends org.refcodes.graphical.VisibleAccessor.VisibleBuilder<B>>, org.refcodes.graphical.VisibleAccessor.VisibleMutator, org.refcodes.graphical.VisibleAccessor.VisibleProperty
Modifier and Type | Method and Description |
---|---|
default void |
fromColumnSetupMetrics(ColumnSetupMetrics aColumnSetupMetrics)
From column setup metrics.
|
default ColumnSetupMetrics |
withColumnWidth(int aColumnWidth) |
default ColumnSetupMetrics |
withColumnWidthType(ColumnWidthType aColumnWidthType)
With column width type.
|
default ColumnSetupMetrics |
withEscapeCode(String aEscapeCode)
Sets an ANSI Escape-Code for the header and the rows and returns this
ColumnFormatMetrics instance as of the Builder-Pattern. |
default ColumnSetupMetrics |
withEscapeCodeFactory(EscapeCodeFactory aEscapeCodeFactory)
Sets an ANSI Escape-Code factory for the header and the rows and returns
this
ColumnFormatMetrics instance as of the Builder-Pattern. |
default ColumnSetupMetrics |
withHeaderEscapeCode(String aEscapeCode)
Sets an ANSI Escape-Code for the header and returns this
ColumnFormatMetrics instance as of the Builder-Pattern. |
default ColumnSetupMetrics |
withHeaderEscapeCodeFactory(EscapeCodeFactory aEscapeCodeFactory)
Sets an ANSI Escape-Code factory for the header and the rows and returns
this
ColumnFormatMetrics instance as of the Builder-Pattern. |
default ColumnSetupMetrics |
withHeaderHorizAlignTextMode(HorizAlignTextMode aHorizAlignTextMode)
Sets an alignment mode for the header and returns this
ColumnFormatMetrics instance as of the Builder-Pattern. |
default ColumnSetupMetrics |
withHeaderMoreTextMode(MoreTextMode aMoreTextMode)
Sets a more-text mode for the header and returns this
ColumnFormatMetrics instance as of the Builder-Pattern. |
default ColumnSetupMetrics |
withHeaderSplitTextMode(SplitTextMode aSplitTextMode)
Sets the
SplitTextMode for the header and returns this
ColumnFormatMetrics instance as of the Builder-Pattern. |
default ColumnSetupMetrics |
withHeaderTextFormatMode(TextFormatMode aTextFormatMode)
Sets the
TextFormatMode for the header and returns this
ColumnFormatMetrics instance as of the Builder-Pattern. |
default ColumnSetupMetrics |
withHide() |
default ColumnSetupMetrics |
withHorizAlignTextMode(HorizAlignTextMode aHorizAlignTextMode)
Sets the horizontal align text mode for the horizontal align text
mode property.
|
default ColumnSetupMetrics |
withMoreTextMode(MoreTextMode aMoreTextMode)
Sets the more-text mode for the more-text mode property.
|
default ColumnSetupMetrics |
withName(String aName) |
default ColumnSetupMetrics |
withRowEscapeCode(String aEscapeCode)
Sets an ANSI Escape-Code for the rows and returns this
ColumnFormatMetrics instance as of the Builder-Pattern. |
default ColumnSetupMetrics |
withRowEscapeCodeFactory(EscapeCodeFactory aEscapeCodeFactory)
Sets an ANSI Escape-Code factory for the row and the rows and returns
this
ColumnFormatMetrics instance as of the Builder-Pattern. |
default ColumnSetupMetrics |
withRowHorizAlignTextMode(HorizAlignTextMode aHorizAlignTextMode)
Sets an alignment mode for the row and returns this
ColumnFormatMetrics instance as of the Builder-Pattern. |
default ColumnSetupMetrics |
withRowMoreTextMode(MoreTextMode aMoreTextMode)
Sets a more-text mode for the row and returns this
ColumnFormatMetrics instance as of the Builder-Pattern. |
default ColumnSetupMetrics |
withRowSplitTextMode(SplitTextMode aSplitTextMode)
Sets the
SplitTextMode for the row and returns this
ColumnFormatMetrics instance as of the Builder-Pattern. |
default ColumnSetupMetrics |
withRowTextFormatMode(TextFormatMode aTextFormatMode)
Sets the
TextFormatMode for the row and returns this
ColumnFormatMetrics instance as of the Builder-Pattern. |
default ColumnSetupMetrics |
withShow() |
default ColumnSetupMetrics |
withSplitTextMode(SplitTextMode aSplitTextMode)
Sets the split-text mode for the split-text mode property.
|
default ColumnSetupMetrics |
withTextFormatMode(TextFormatMode aTextFormatMode)
Sets the text-format mode for the text-format mode property.
|
default ColumnSetupMetrics |
withVisible(boolean isVisible) |
fromColumnFormatMetrics, getHeaderEscapeCode, getHeaderEscapeCodeFactory, getHeaderHorizAlignTextMode, getHeaderMoreTextMode, getHeaderSplitTextMode, getHeaderTextFormatMode, getRowEscapeCode, getRowEscapeCodeFactory, getRowHorizAlignTextMode, getRowMoreTextMode, getRowSplitTextMode, getRowTextFormatMode, setEscapeCode, setEscapeCodeFactory, setHeaderEscapeCode, setHeaderEscapeCodeFactory, setHeaderHorizAlignTextMode, setHeaderMoreTextMode, setHeaderSplitTextMode, setHeaderTextFormatMode, setHorizAlignTextMode, setMoreTextMode, setRowEscapeCode, setRowEscapeCodeFactory, setRowHorizAlignTextMode, setRowMoreTextMode, setRowSplitTextMode, setRowTextFormatMode, setSplitTextMode, setTextFormatMode, toHeaderEscapeCode, toRowEscapeCode
fromColumnWidthMetrics, getColumnWidthType, setColumnWidthType
setColumnWidth
default ColumnSetupMetrics withVisible(boolean isVisible)
withVisible
in interface org.refcodes.graphical.VisibleAccessor.VisibleBuilder<ColumnSetupMetrics>
default ColumnSetupMetrics withName(String aName)
withName
in interface org.refcodes.mixin.NameAccessor.NameBuilder<ColumnSetupMetrics>
default ColumnSetupMetrics withColumnWidth(int aColumnWidth)
withColumnWidth
in interface ColumnFormatMetrics
withColumnWidth
in interface org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<ColumnWidthMetrics>
default ColumnSetupMetrics withShow()
withShow
in interface org.refcodes.graphical.VisibleAccessor.VisibleBuilder<ColumnSetupMetrics>
default ColumnSetupMetrics withHide()
withHide
in interface org.refcodes.graphical.VisibleAccessor.VisibleBuilder<ColumnSetupMetrics>
default ColumnSetupMetrics withEscapeCode(String aEscapeCode)
ColumnFormatMetrics
instance as of the Builder-Pattern. In case
an ANSI Escape-Code is set, then the ANSI Escape-Code is prepended and an
ANSI Reset-Code is appended to the according text being printed.withEscapeCode
in interface ColumnFormatMetrics
aEscapeCode
- The String
to be used for ANSI escaping.ColumnFormatMetrics
instance to continue
configuration.default ColumnSetupMetrics withHeaderEscapeCode(String aEscapeCode)
ColumnFormatMetrics
instance as of the Builder-Pattern. In case
an ANSI Escape-Code is set, then the ANSI Escape-Code is prepended and an
ANSI Reset-Code is appended to the according text being printed.withHeaderEscapeCode
in interface ColumnFormatMetrics
aEscapeCode
- The String
to be used for ANSI escaping.ColumnFormatMetrics
instance to continue
configuration.default ColumnSetupMetrics withRowEscapeCode(String aEscapeCode)
ColumnFormatMetrics
instance as of the Builder-Pattern. The
latest ANSI Escape-Code being set wins.withRowEscapeCode
in interface ColumnFormatMetrics
aEscapeCode
- The String
to be used for ANSI escaping.ColumnFormatMetrics
instance to continue
configuration.default ColumnSetupMetrics withColumnWidthType(ColumnWidthType aColumnWidthType)
withColumnWidthType
in interface ColumnFormatMetrics
withColumnWidthType
in interface ColumnWidthMetrics
aColumnWidthType
- the column width typedefault ColumnSetupMetrics withHorizAlignTextMode(HorizAlignTextMode aHorizAlignTextMode)
withHorizAlignTextMode
in interface ColumnFormatMetrics
withHorizAlignTextMode
in interface HorizAlignTextModeAccessor.HorizAlignTextModeBuilder<ColumnFormatMetrics>
aHorizAlignTextMode
- The horizontal align text mode to be
stored by the font style property.default ColumnSetupMetrics withHeaderHorizAlignTextMode(HorizAlignTextMode aHorizAlignTextMode)
ColumnFormatMetrics
instance as of the Builder-Pattern.withHeaderHorizAlignTextMode
in interface ColumnFormatMetrics
aHorizAlignTextMode
- The HorizAlignTextMode
to be used for
aligning the text.TableBuilder
instance to continue configuration.default ColumnSetupMetrics withRowHorizAlignTextMode(HorizAlignTextMode aHorizAlignTextMode)
ColumnFormatMetrics
instance as of the Builder-Pattern.withRowHorizAlignTextMode
in interface ColumnFormatMetrics
aHorizAlignTextMode
- The HorizAlignTextMode
to be used for
aligning the text.TableBuilder
instance to continue configuration.default ColumnSetupMetrics withMoreTextMode(MoreTextMode aMoreTextMode)
withMoreTextMode
in interface ColumnFormatMetrics
withMoreTextMode
in interface MoreTextModeAccessor.MoreTextModeBuilder<ColumnFormatMetrics>
aMoreTextMode
- The more-text mode to be stored by the more-text
mode property.default ColumnSetupMetrics withHeaderMoreTextMode(MoreTextMode aMoreTextMode)
ColumnFormatMetrics
instance as of the Builder-Pattern.withHeaderMoreTextMode
in interface ColumnFormatMetrics
aMoreTextMode
- The MoreTextMode
to be used for truncating
the text.TableBuilder
instance to continue configuration.default ColumnSetupMetrics withRowMoreTextMode(MoreTextMode aMoreTextMode)
ColumnFormatMetrics
instance as of the Builder-Pattern.withRowMoreTextMode
in interface ColumnFormatMetrics
aMoreTextMode
- The MoreTextMode
to be used for truncating
the text.TableBuilder
instance to continue configuration.default ColumnSetupMetrics withTextFormatMode(TextFormatMode aTextFormatMode)
withTextFormatMode
in interface ColumnFormatMetrics
withTextFormatMode
in interface TextFormatModeAccessor.TextFormatModeBuilder<ColumnFormatMetrics>
aTextFormatMode
- The text-format mode to be stored by the
text-format mode property.default ColumnSetupMetrics withSplitTextMode(SplitTextMode aSplitTextMode)
withSplitTextMode
in interface ColumnFormatMetrics
withSplitTextMode
in interface SplitTextModeAccessor.SplitTextModeBuilder<ColumnFormatMetrics>
aSplitTextMode
- The split-text mode to be stored by the
split-text mode property.default ColumnSetupMetrics withHeaderSplitTextMode(SplitTextMode aSplitTextMode)
SplitTextMode
for the header and returns this
ColumnFormatMetrics
instance as of the Builder-Pattern.withHeaderSplitTextMode
in interface ColumnFormatMetrics
aSplitTextMode
- The SplitTextMode
to be set for the header;TableBuilder
instance to continue configuration.default ColumnSetupMetrics withRowSplitTextMode(SplitTextMode aSplitTextMode)
SplitTextMode
for the row and returns this
ColumnFormatMetrics
instance as of the Builder-Pattern.withRowSplitTextMode
in interface ColumnFormatMetrics
aSplitTextMode
- The SplitTextMode
to be set for the row;TableBuilder
instance to continue configuration.default ColumnSetupMetrics withHeaderTextFormatMode(TextFormatMode aTextFormatMode)
TextFormatMode
for the header and returns this
ColumnFormatMetrics
instance as of the Builder-Pattern.withHeaderTextFormatMode
in interface ColumnFormatMetrics
aTextFormatMode
- The TextFormatMode
to be set for the
header;TableBuilder
instance to continue configuration.default ColumnSetupMetrics withRowTextFormatMode(TextFormatMode aTextFormatMode)
TextFormatMode
for the row and returns this
ColumnFormatMetrics
instance as of the Builder-Pattern.withRowTextFormatMode
in interface ColumnFormatMetrics
aTextFormatMode
- The TextFormatMode
to be set for the row;TableBuilder
instance to continue configuration.default ColumnSetupMetrics withEscapeCodeFactory(EscapeCodeFactory aEscapeCodeFactory)
ColumnFormatMetrics
instance as of the Builder-Pattern. In
case an ANSI Escape-Code has been determined by the
EscapeCodeFactory
, then the ANSI Escape-Code is prepended and an
ANSI Reset-Code is appended to the according text being printed.withEscapeCodeFactory
in interface ColumnFormatMetrics
aEscapeCodeFactory
- The EscapeCodeFactory
to be used for
determining ANSI escaping.ColumnFormatMetrics
instance to continue
configuration.default ColumnSetupMetrics withHeaderEscapeCodeFactory(EscapeCodeFactory aEscapeCodeFactory)
ColumnFormatMetrics
instance as of the Builder-Pattern. In
case an ANSI Escape-Code has been determined by the
EscapeCodeFactory
, then the ANSI Escape-Code is prepended and an
ANSI Reset-Code is appended to the according text being printed.withHeaderEscapeCodeFactory
in interface ColumnFormatMetrics
aEscapeCodeFactory
- The EscapeCodeFactory
to be used for
determining ANSI escaping.default ColumnSetupMetrics withRowEscapeCodeFactory(EscapeCodeFactory aEscapeCodeFactory)
ColumnFormatMetrics
instance as of the Builder-Pattern. In
case an ANSI Escape-Code has been determined by the
EscapeCodeFactory
, then the ANSI Escape-Code is prepended and an
ANSI Reset-Code is appended to the according text being printed.withRowEscapeCodeFactory
in interface ColumnFormatMetrics
aEscapeCodeFactory
- The EscapeCodeFactory
to be used for
determining ANSI escaping.default void fromColumnSetupMetrics(ColumnSetupMetrics aColumnSetupMetrics)
aColumnSetupMetrics
- the column setup metricsCopyright © 2018. All rights reserved.