public interface ColumnWidthMetrics extends org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthProperty, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<ColumnWidthMetrics>
ColumnWidthMetrics
are applied to the header as well as to the
columns. In such cases we cannot use the additional formatting attributes
(such as #getHorizAlignTextMode()
provided by the
ColumnMetrics
as them may differ between the header and the columns!
This is the case for the TableBuilder
!org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<B extends org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<B>>, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthMutator, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthProperty
Modifier and Type | Method and Description |
---|---|
default void |
fromColumnWidthMetrics(ColumnWidthMetrics aColumnWidthMetrics) |
ColumnWidthType |
getColumnWidthType()
The type of the width being provided, either percent (%) or number of
chars.
|
void |
setColumnWidthType(ColumnWidthType aColumnWidthType) |
default ColumnWidthMetrics |
withColumnWidthType(ColumnWidthType aColumnWidthType) |
ColumnWidthType getColumnWidthType()
void setColumnWidthType(ColumnWidthType aColumnWidthType)
default ColumnWidthMetrics withColumnWidthType(ColumnWidthType aColumnWidthType)
default void fromColumnWidthMetrics(ColumnWidthMetrics aColumnWidthMetrics)
Copyright © 2017. All rights reserved.