public class ColumnSetupMetricsImpl extends ColumnFormatMetricsImpl implements ColumnSetupMetrics
ColumnFormatMetrics
interface.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
Constructor and Description |
---|
ColumnSetupMetricsImpl()
Instantiates a new column setup metrics impl.
|
ColumnSetupMetricsImpl(int aWidth,
ColumnWidthType aWidthType)
Constructs a column's width, either in percent (%) or in number of chars.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
boolean |
isVisible() |
void |
setName(String aName) |
void |
setVisible(boolean isVisible) |
ColumnSetupMetrics |
withColumnWidth(int aColumnWidth) |
getHeaderEscapeCode, getHeaderEscapeCodeFactory, getHeaderHorizAlignTextMode, getHeaderMoreTextMode, getHeaderSplitTextMode, getHeaderTextFormatMode, getRowEscapeCode, getRowEscapeCodeFactory, getRowHorizAlignTextMode, getRowMoreTextMode, getRowSplitTextMode, getRowTextFormatMode, setEscapeCode, setHeaderEscapeCode, setHeaderEscapeCodeFactory, setHeaderHorizAlignTextMode, setHeaderMoreTextMode, setHeaderSplitTextMode, setHeaderTextFormatMode, setMoreTextMode, setRowEscapeCode, setRowEscapeCodeFactory, setRowHorizAlignTextMode, setRowMoreTextMode, setRowSplitTextMode, setRowTextFormatMode, toHeaderEscapeCode, toRowEscapeCode
getColumnWidth, getColumnWidthType, setColumnWidth, setColumnWidthType, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fromColumnSetupMetrics, withColumnWidthType, withEscapeCode, withEscapeCodeFactory, withHeaderEscapeCode, withHeaderEscapeCodeFactory, withHeaderHorizAlignTextMode, withHeaderMoreTextMode, withHeaderSplitTextMode, withHeaderTextFormatMode, withHide, withHorizAlignTextMode, withMoreTextMode, withName, withRowEscapeCode, withRowEscapeCodeFactory, withRowHorizAlignTextMode, withRowMoreTextMode, withRowSplitTextMode, withRowTextFormatMode, withShow, withSplitTextMode, withTextFormatMode, withVisible
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
public ColumnSetupMetricsImpl()
public ColumnSetupMetricsImpl(int aWidth, ColumnWidthType aWidthType)
aWidth
- The width for the column, either in percent (%) or in
number of chars, depending on the provided ColumnWidthType
.aWidthType
- The type of the width being provided, either percent
(%) or number of chars.public boolean isVisible()
isVisible
in interface org.refcodes.graphical.VisibleAccessor
public void setVisible(boolean isVisible)
setVisible
in interface org.refcodes.graphical.VisibleAccessor.VisibleMutator
public void setName(String aName)
setName
in interface org.refcodes.mixin.NameAccessor.NameMutator
public String getName()
getName
in interface org.refcodes.mixin.NameAccessor
public ColumnSetupMetrics withColumnWidth(int aColumnWidth)
withColumnWidth
in interface org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<ColumnWidthMetrics>
withColumnWidth
in interface ColumnFormatMetrics
withColumnWidth
in interface ColumnSetupMetrics
withColumnWidth
in class ColumnFormatMetricsImpl
Copyright © 2018. All rights reserved.