T
- The type managed by the Column
.public class FormattedColumnDecorator<T> extends Object implements FormattedColumn<T>
org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K>, org.refcodes.mixin.KeyAccessor.KeyProperty<K>
org.refcodes.mixin.TypeAccessor.TypeMutator<T>, org.refcodes.mixin.TypeAccessor.TypeProperty<T>
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 | Constructor and Description |
---|---|
|
FormattedColumnDecorator(Column<T> aColumn)
Wrapper for the provided
Column decorating it with additional
ColumnSetupMetrics functionality. |
|
FormattedColumnDecorator(Column<T> aColumn,
org.refcodes.textual.ColumnSetupMetrics aColumnSetupMetrics)
Wrapper for the provided
Column and the provided
ColumnSetupMetrics decorating it with each other's additional
functionality. |
protected |
FormattedColumnDecorator(String aKey,
Class<T> aType)
Instantiates a new formatted column decorator.
|
|
FormattedColumnDecorator(String aKey,
Class<T> aType,
org.refcodes.textual.ColumnSetupMetrics aColumnSetupMetrics)
Wrapper for the provided
ColumnSetupMetrics decorating it with
additional Column functionality. |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Record<?> aRecord)
Contains.
|
void |
fromColumnFormatMetrics(org.refcodes.textual.ColumnFormatMetrics aColumnFormatMetrics)
From column format metrics.
|
void |
fromColumnSetupMetrics(org.refcodes.textual.ColumnSetupMetrics aColumnSetupMetrics)
From column setup metrics.
|
void |
fromColumnWidthMetrics(org.refcodes.textual.ColumnWidthMetrics aColumnWidthMetrics)
From column width metrics.
|
T |
fromStorageString(String aStringValue)
From storage string.
|
T |
fromStorageStrings(String[] aStringArray)
From storage strings.
|
T |
get(Record<?> aRecord)
Gets the.
|
int |
getColumnWidth()
Gets the column width.
|
org.refcodes.textual.ColumnWidthType |
getColumnWidthType()
Gets the column width type.
|
String |
getHeaderEscapeCode()
Gets the header escape code.
|
org.refcodes.textual.EscapeCodeFactory |
getHeaderEscapeCodeFactory()
Gets the header escape code factory.
|
org.refcodes.textual.HorizAlignTextMode |
getHeaderHorizAlignTextMode()
Gets the header horiz align text mode.
|
org.refcodes.textual.MoreTextMode |
getHeaderMoreTextMode()
Gets the header more text mode.
|
org.refcodes.textual.SplitTextMode |
getHeaderSplitTextMode()
Gets the header split text mode.
|
org.refcodes.textual.TextFormatMode |
getHeaderTextFormatMode()
Gets the header text format mode.
|
String |
getKey()
Gets the key.
|
String |
getName()
Gets the name.
|
String |
getRowEscapeCode()
Gets the row escape code.
|
org.refcodes.textual.EscapeCodeFactory |
getRowEscapeCodeFactory()
Gets the row escape code factory.
|
org.refcodes.textual.HorizAlignTextMode |
getRowHorizAlignTextMode()
Gets the row horiz align text mode.
|
org.refcodes.textual.MoreTextMode |
getRowMoreTextMode()
Gets the row more text mode.
|
org.refcodes.textual.SplitTextMode |
getRowSplitTextMode()
Gets the row split text mode.
|
org.refcodes.textual.TextFormatMode |
getRowTextFormatMode()
Gets the row text format mode.
|
Class<T> |
getType()
Gets the type.
|
void |
hide()
Hide.
|
boolean |
isVisible()
Checks if is visible.
|
T |
remove(Record<?> aRecord)
Removes the.
|
void |
setColumnWidth(int aColumnWidth)
Sets the column width.
|
void |
setColumnWidthType(org.refcodes.textual.ColumnWidthType aColumnWidthType)
Sets the column width type.
|
void |
setEscapeCode(String aEscapeCode)
Sets the escape code.
|
void |
setEscapeCodeFactory(org.refcodes.textual.EscapeCodeFactory aEscapeCodeFactory)
Sets the escape code factory.
|
void |
setHeaderEscapeCode(String aEscapeCode)
Sets the header escape code.
|
void |
setHeaderEscapeCodeFactory(org.refcodes.textual.EscapeCodeFactory aEscapeCodeFactory)
Sets the header escape code factory.
|
void |
setHeaderHorizAlignTextMode(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode)
Sets the header horiz align text mode.
|
void |
setHeaderMoreTextMode(org.refcodes.textual.MoreTextMode aMoreTextMode)
Sets the header more text mode.
|
void |
setHeaderSplitTextMode(org.refcodes.textual.SplitTextMode aSplitTextMode)
Sets the header split text mode.
|
void |
setHeaderTextFormatMode(org.refcodes.textual.TextFormatMode aTextFormatMode)
Sets the header text format mode.
|
void |
setHorizAlignTextMode(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode)
Sets the horiz align text mode.
|
void |
setMoreTextMode(org.refcodes.textual.MoreTextMode aMoreTextMode)
Sets the more text mode.
|
void |
setName(String aName)
Sets the name.
|
void |
setRowEscapeCode(String aEscapeCode)
Sets the row escape code.
|
void |
setRowEscapeCodeFactory(org.refcodes.textual.EscapeCodeFactory aEscapeCodeFactory)
Sets the row escape code factory.
|
void |
setRowHorizAlignTextMode(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode)
Sets the row horiz align text mode.
|
void |
setRowMoreTextMode(org.refcodes.textual.MoreTextMode aMoreTextMode)
Sets the row more text mode.
|
void |
setRowSplitTextMode(org.refcodes.textual.SplitTextMode aSplitTextMode)
Sets the row split text mode.
|
void |
setRowTextFormatMode(org.refcodes.textual.TextFormatMode aTextFormatMode)
Sets the row text format mode.
|
void |
setSplitTextMode(org.refcodes.textual.SplitTextMode aSplitTextMode)
Sets the split text mode.
|
void |
setTextFormatMode(org.refcodes.textual.TextFormatMode aTextFormatMode)
Sets the text format mode.
|
void |
setVisible(boolean isVisible)
Sets the visible.
|
void |
show()
Show.
|
String |
toHeaderEscapeCode(Object aIdentifier)
To header escape code.
|
String |
toPrintable(T aValue)
To printable.
|
String |
toRowEscapeCode(Object aIdentifier)
To row escape code.
|
String |
toStorageString(T aValue)
To storage string.
|
String[] |
toStorageStrings(T aValue)
To storage strings.
|
org.refcodes.textual.ColumnSetupMetrics |
withColumnWidth(int aColumnWidth)
With column width.
|
org.refcodes.textual.ColumnSetupMetrics |
withColumnWidthType(org.refcodes.textual.ColumnWidthType aColumnWidthType)
With column width type.
|
org.refcodes.textual.ColumnSetupMetrics |
withEscapeCode(String aEscapeCode)
With escape code.
|
org.refcodes.textual.ColumnSetupMetrics |
withEscapeCodeFactory(org.refcodes.textual.EscapeCodeFactory aEscapeCodeFactory)
With escape code factory.
|
org.refcodes.textual.ColumnSetupMetrics |
withHeaderEscapeCode(String aEscapeCode)
With header escape code.
|
org.refcodes.textual.ColumnSetupMetrics |
withHeaderEscapeCodeFactory(org.refcodes.textual.EscapeCodeFactory aEscapeCodeFactory)
With header escape code factory.
|
org.refcodes.textual.ColumnSetupMetrics |
withHeaderHorizAlignTextMode(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode)
With header horiz align text mode.
|
org.refcodes.textual.ColumnSetupMetrics |
withHeaderMoreTextMode(org.refcodes.textual.MoreTextMode aMoreTextMode)
With header more text mode.
|
org.refcodes.textual.ColumnSetupMetrics |
withHeaderSplitTextMode(org.refcodes.textual.SplitTextMode aSplitTextMode)
With header split text mode.
|
org.refcodes.textual.ColumnSetupMetrics |
withHeaderTextFormatMode(org.refcodes.textual.TextFormatMode aTextFormatMode)
With header text format mode.
|
org.refcodes.textual.ColumnSetupMetrics |
withHide()
With hide.
|
org.refcodes.textual.ColumnSetupMetrics |
withHorizAlignTextMode(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode)
With horiz align text mode.
|
org.refcodes.textual.ColumnSetupMetrics |
withMoreTextMode(org.refcodes.textual.MoreTextMode aMoreTextMode)
With more text mode.
|
org.refcodes.textual.ColumnSetupMetrics |
withName(String aName)
With name.
|
org.refcodes.textual.ColumnSetupMetrics |
withRowEscapeCode(String aEscapeCode)
With row escape code.
|
org.refcodes.textual.ColumnSetupMetrics |
withRowEscapeCodeFactory(org.refcodes.textual.EscapeCodeFactory aEscapeCodeFactory)
With row escape code factory.
|
org.refcodes.textual.ColumnSetupMetrics |
withRowHorizAlignTextMode(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode)
With row horiz align text mode.
|
org.refcodes.textual.ColumnSetupMetrics |
withRowMoreTextMode(org.refcodes.textual.MoreTextMode aMoreTextMode)
With row more text mode.
|
org.refcodes.textual.ColumnSetupMetrics |
withRowSplitTextMode(org.refcodes.textual.SplitTextMode aSplitTextMode)
With row split text mode.
|
org.refcodes.textual.ColumnSetupMetrics |
withRowTextFormatMode(org.refcodes.textual.TextFormatMode aTextFormatMode)
With row text format mode.
|
org.refcodes.textual.ColumnSetupMetrics |
withShow()
With show.
|
org.refcodes.textual.ColumnSetupMetrics |
withSplitTextMode(org.refcodes.textual.SplitTextMode aSplitTextMode)
With split text mode.
|
org.refcodes.textual.ColumnSetupMetrics |
withTextFormatMode(org.refcodes.textual.TextFormatMode aTextFormatMode)
With text format mode.
|
org.refcodes.textual.ColumnSetupMetrics |
withVisible(boolean isVisible)
With visible.
|
protected FormattedColumnDecorator(String aKey, Class<T> aType)
aKey
- the a keyaType
- the a typepublic FormattedColumnDecorator(Column<T> aColumn)
Column
decorating it with additional
ColumnSetupMetrics
functionality.aColumn
- The Column
to be decorated.public FormattedColumnDecorator(String aKey, Class<T> aType, org.refcodes.textual.ColumnSetupMetrics aColumnSetupMetrics)
ColumnSetupMetrics
decorating it with
additional Column
functionality.aKey
- The key for the Column
.aType
- The type to be used.aColumnSetupMetrics
- The ColumnSetupMetrics
to be
decorated.public FormattedColumnDecorator(Column<T> aColumn, org.refcodes.textual.ColumnSetupMetrics aColumnSetupMetrics)
Column
and the provided
ColumnSetupMetrics
decorating it with each other's additional
functionality.aColumn
- The Column
to be decorated.aColumnSetupMetrics
- The ColumnSetupMetrics
to be
decorated.public String getName()
getName
in interface org.refcodes.mixin.NameAccessor
public boolean isVisible()
isVisible
in interface org.refcodes.graphical.VisibleAccessor
public int getColumnWidth()
getColumnWidth
in interface org.refcodes.mixin.ColumnWidthAccessor
public org.refcodes.textual.ColumnSetupMetrics withVisible(boolean isVisible)
withVisible
in interface org.refcodes.graphical.VisibleAccessor.VisibleBuilder<org.refcodes.textual.ColumnSetupMetrics>
withVisible
in interface org.refcodes.textual.ColumnSetupMetrics
isVisible
- the is visiblepublic void setName(String aName)
setName
in interface org.refcodes.mixin.NameAccessor.NameMutator
aName
- the new namepublic void setVisible(boolean isVisible)
setVisible
in interface org.refcodes.graphical.VisibleAccessor.VisibleMutator
isVisible
- the new visiblepublic void setColumnWidth(int aColumnWidth)
setColumnWidth
in interface org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthMutator
aColumnWidth
- the new column widthpublic org.refcodes.textual.ColumnSetupMetrics withName(String aName)
withName
in interface org.refcodes.mixin.NameAccessor.NameBuilder<org.refcodes.textual.ColumnSetupMetrics>
withName
in interface org.refcodes.textual.ColumnSetupMetrics
aName
- the a namepublic org.refcodes.textual.ColumnSetupMetrics withColumnWidth(int aColumnWidth)
withColumnWidth
in interface org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<org.refcodes.textual.ColumnWidthMetrics>
withColumnWidth
in interface org.refcodes.textual.ColumnFormatMetrics
withColumnWidth
in interface org.refcodes.textual.ColumnSetupMetrics
aColumnWidth
- the a column widthpublic void show()
show
in interface org.refcodes.graphical.VisibleAccessor.VisibleMutator
public org.refcodes.textual.ColumnSetupMetrics withShow()
withShow
in interface org.refcodes.graphical.VisibleAccessor.VisibleBuilder<org.refcodes.textual.ColumnSetupMetrics>
withShow
in interface org.refcodes.textual.ColumnSetupMetrics
public org.refcodes.textual.ColumnWidthType getColumnWidthType()
getColumnWidthType
in interface org.refcodes.textual.ColumnWidthMetrics
public void hide()
hide
in interface org.refcodes.graphical.VisibleAccessor.VisibleMutator
public org.refcodes.textual.ColumnSetupMetrics withHide()
withHide
in interface org.refcodes.graphical.VisibleAccessor.VisibleBuilder<org.refcodes.textual.ColumnSetupMetrics>
withHide
in interface org.refcodes.textual.ColumnSetupMetrics
public org.refcodes.textual.ColumnSetupMetrics withEscapeCode(String aEscapeCode)
withEscapeCode
in interface org.refcodes.textual.ColumnFormatMetrics
withEscapeCode
in interface org.refcodes.textual.ColumnSetupMetrics
aEscapeCode
- the a escape codepublic void setColumnWidthType(org.refcodes.textual.ColumnWidthType aColumnWidthType)
setColumnWidthType
in interface org.refcodes.textual.ColumnWidthMetrics
aColumnWidthType
- the new column width typepublic org.refcodes.textual.ColumnSetupMetrics withHeaderEscapeCode(String aEscapeCode)
withHeaderEscapeCode
in interface org.refcodes.textual.ColumnFormatMetrics
withHeaderEscapeCode
in interface org.refcodes.textual.ColumnSetupMetrics
aEscapeCode
- the a escape codepublic void fromColumnWidthMetrics(org.refcodes.textual.ColumnWidthMetrics aColumnWidthMetrics)
fromColumnWidthMetrics
in interface org.refcodes.textual.ColumnWidthMetrics
aColumnWidthMetrics
- the a column width metricspublic org.refcodes.textual.ColumnSetupMetrics withRowEscapeCode(String aEscapeCode)
withRowEscapeCode
in interface org.refcodes.textual.ColumnFormatMetrics
withRowEscapeCode
in interface org.refcodes.textual.ColumnSetupMetrics
aEscapeCode
- the a escape codepublic org.refcodes.textual.ColumnSetupMetrics withColumnWidthType(org.refcodes.textual.ColumnWidthType aColumnWidthType)
withColumnWidthType
in interface org.refcodes.textual.ColumnFormatMetrics
withColumnWidthType
in interface org.refcodes.textual.ColumnSetupMetrics
withColumnWidthType
in interface org.refcodes.textual.ColumnWidthMetrics
aColumnWidthType
- the a column width typepublic org.refcodes.textual.ColumnSetupMetrics withHorizAlignTextMode(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode)
withHorizAlignTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
withHorizAlignTextMode
in interface org.refcodes.textual.ColumnSetupMetrics
withHorizAlignTextMode
in interface org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeBuilder<org.refcodes.textual.ColumnFormatMetrics>
aHorizAlignTextMode
- the a horiz align text modepublic org.refcodes.textual.ColumnSetupMetrics withHeaderHorizAlignTextMode(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode)
withHeaderHorizAlignTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
withHeaderHorizAlignTextMode
in interface org.refcodes.textual.ColumnSetupMetrics
aHorizAlignTextMode
- the a horiz align text modepublic org.refcodes.textual.ColumnSetupMetrics withRowHorizAlignTextMode(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode)
withRowHorizAlignTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
withRowHorizAlignTextMode
in interface org.refcodes.textual.ColumnSetupMetrics
aHorizAlignTextMode
- the a horiz align text modepublic org.refcodes.textual.ColumnSetupMetrics withMoreTextMode(org.refcodes.textual.MoreTextMode aMoreTextMode)
withMoreTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
withMoreTextMode
in interface org.refcodes.textual.ColumnSetupMetrics
withMoreTextMode
in interface org.refcodes.textual.MoreTextModeAccessor.MoreTextModeBuilder<org.refcodes.textual.ColumnFormatMetrics>
aMoreTextMode
- the a more text modepublic org.refcodes.textual.ColumnSetupMetrics withHeaderMoreTextMode(org.refcodes.textual.MoreTextMode aMoreTextMode)
withHeaderMoreTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
withHeaderMoreTextMode
in interface org.refcodes.textual.ColumnSetupMetrics
aMoreTextMode
- the a more text modepublic void setEscapeCodeFactory(org.refcodes.textual.EscapeCodeFactory aEscapeCodeFactory)
setEscapeCodeFactory
in interface org.refcodes.textual.ColumnFormatMetrics
aEscapeCodeFactory
- the new escape code factorypublic org.refcodes.textual.ColumnSetupMetrics withRowMoreTextMode(org.refcodes.textual.MoreTextMode aMoreTextMode)
withRowMoreTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
withRowMoreTextMode
in interface org.refcodes.textual.ColumnSetupMetrics
aMoreTextMode
- the a more text modepublic org.refcodes.textual.ColumnSetupMetrics withTextFormatMode(org.refcodes.textual.TextFormatMode aTextFormatMode)
withTextFormatMode
in interface org.refcodes.textual.ColumnFormatMetrics
withTextFormatMode
in interface org.refcodes.textual.ColumnSetupMetrics
withTextFormatMode
in interface org.refcodes.textual.TextFormatModeAccessor.TextFormatModeBuilder<org.refcodes.textual.ColumnFormatMetrics>
aTextFormatMode
- the a text format modepublic org.refcodes.textual.ColumnSetupMetrics withSplitTextMode(org.refcodes.textual.SplitTextMode aSplitTextMode)
withSplitTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
withSplitTextMode
in interface org.refcodes.textual.ColumnSetupMetrics
withSplitTextMode
in interface org.refcodes.textual.SplitTextModeAccessor.SplitTextModeBuilder<org.refcodes.textual.ColumnFormatMetrics>
aSplitTextMode
- the a split text modepublic org.refcodes.textual.ColumnSetupMetrics withHeaderSplitTextMode(org.refcodes.textual.SplitTextMode aSplitTextMode)
withHeaderSplitTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
withHeaderSplitTextMode
in interface org.refcodes.textual.ColumnSetupMetrics
aSplitTextMode
- the a split text modepublic org.refcodes.textual.ColumnSetupMetrics withRowSplitTextMode(org.refcodes.textual.SplitTextMode aSplitTextMode)
withRowSplitTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
withRowSplitTextMode
in interface org.refcodes.textual.ColumnSetupMetrics
aSplitTextMode
- the a split text modepublic org.refcodes.textual.ColumnSetupMetrics withHeaderTextFormatMode(org.refcodes.textual.TextFormatMode aTextFormatMode)
withHeaderTextFormatMode
in interface org.refcodes.textual.ColumnFormatMetrics
withHeaderTextFormatMode
in interface org.refcodes.textual.ColumnSetupMetrics
aTextFormatMode
- the a text format modepublic org.refcodes.textual.ColumnSetupMetrics withRowTextFormatMode(org.refcodes.textual.TextFormatMode aTextFormatMode)
withRowTextFormatMode
in interface org.refcodes.textual.ColumnFormatMetrics
withRowTextFormatMode
in interface org.refcodes.textual.ColumnSetupMetrics
aTextFormatMode
- the a text format modepublic org.refcodes.textual.ColumnSetupMetrics withEscapeCodeFactory(org.refcodes.textual.EscapeCodeFactory aEscapeCodeFactory)
withEscapeCodeFactory
in interface org.refcodes.textual.ColumnFormatMetrics
withEscapeCodeFactory
in interface org.refcodes.textual.ColumnSetupMetrics
aEscapeCodeFactory
- the a escape code factorypublic void setHeaderEscapeCodeFactory(org.refcodes.textual.EscapeCodeFactory aEscapeCodeFactory)
setHeaderEscapeCodeFactory
in interface org.refcodes.textual.ColumnFormatMetrics
aEscapeCodeFactory
- the new header escape code factorypublic org.refcodes.textual.ColumnSetupMetrics withHeaderEscapeCodeFactory(org.refcodes.textual.EscapeCodeFactory aEscapeCodeFactory)
withHeaderEscapeCodeFactory
in interface org.refcodes.textual.ColumnFormatMetrics
withHeaderEscapeCodeFactory
in interface org.refcodes.textual.ColumnSetupMetrics
aEscapeCodeFactory
- the a escape code factorypublic org.refcodes.textual.ColumnSetupMetrics withRowEscapeCodeFactory(org.refcodes.textual.EscapeCodeFactory aEscapeCodeFactory)
withRowEscapeCodeFactory
in interface org.refcodes.textual.ColumnFormatMetrics
withRowEscapeCodeFactory
in interface org.refcodes.textual.ColumnSetupMetrics
aEscapeCodeFactory
- the a escape code factorypublic org.refcodes.textual.EscapeCodeFactory getHeaderEscapeCodeFactory()
getHeaderEscapeCodeFactory
in interface org.refcodes.textual.ColumnFormatMetrics
public void fromColumnSetupMetrics(org.refcodes.textual.ColumnSetupMetrics aColumnSetupMetrics)
fromColumnSetupMetrics
in interface org.refcodes.textual.ColumnSetupMetrics
aColumnSetupMetrics
- the a column setup metricspublic String toHeaderEscapeCode(Object aIdentifier)
toHeaderEscapeCode
in interface org.refcodes.textual.ColumnFormatMetrics
aIdentifier
- the a identifierpublic void setRowEscapeCodeFactory(org.refcodes.textual.EscapeCodeFactory aEscapeCodeFactory)
setRowEscapeCodeFactory
in interface org.refcodes.textual.ColumnFormatMetrics
aEscapeCodeFactory
- the new row escape code factorypublic org.refcodes.textual.EscapeCodeFactory getRowEscapeCodeFactory()
getRowEscapeCodeFactory
in interface org.refcodes.textual.ColumnFormatMetrics
public String toRowEscapeCode(Object aIdentifier)
toRowEscapeCode
in interface org.refcodes.textual.ColumnFormatMetrics
aIdentifier
- the a identifierpublic void setEscapeCode(String aEscapeCode)
setEscapeCode
in interface org.refcodes.textual.ColumnFormatMetrics
aEscapeCode
- the new escape codepublic void setHeaderEscapeCode(String aEscapeCode)
setHeaderEscapeCode
in interface org.refcodes.textual.ColumnFormatMetrics
aEscapeCode
- the new header escape codepublic String getHeaderEscapeCode()
getHeaderEscapeCode
in interface org.refcodes.textual.ColumnFormatMetrics
public void setRowEscapeCode(String aEscapeCode)
setRowEscapeCode
in interface org.refcodes.textual.ColumnFormatMetrics
aEscapeCode
- the new row escape codepublic String getRowEscapeCode()
getRowEscapeCode
in interface org.refcodes.textual.ColumnFormatMetrics
public void setHorizAlignTextMode(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode)
setHorizAlignTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
setHorizAlignTextMode
in interface org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeMutator
aHorizAlignTextMode
- the new horiz align text modepublic void setHeaderHorizAlignTextMode(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode)
setHeaderHorizAlignTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
aHorizAlignTextMode
- the new header horiz align text modepublic org.refcodes.textual.HorizAlignTextMode getHeaderHorizAlignTextMode()
getHeaderHorizAlignTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
public void setRowHorizAlignTextMode(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode)
setRowHorizAlignTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
aHorizAlignTextMode
- the new row horiz align text modepublic org.refcodes.textual.HorizAlignTextMode getRowHorizAlignTextMode()
getRowHorizAlignTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
public void setMoreTextMode(org.refcodes.textual.MoreTextMode aMoreTextMode)
setMoreTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
setMoreTextMode
in interface org.refcodes.textual.MoreTextModeAccessor.MoreTextModeMutator
aMoreTextMode
- the new more text modepublic void setHeaderMoreTextMode(org.refcodes.textual.MoreTextMode aMoreTextMode)
setHeaderMoreTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
aMoreTextMode
- the new header more text modepublic org.refcodes.textual.MoreTextMode getHeaderMoreTextMode()
getHeaderMoreTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
public void setRowMoreTextMode(org.refcodes.textual.MoreTextMode aMoreTextMode)
setRowMoreTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
aMoreTextMode
- the new row more text modepublic org.refcodes.textual.MoreTextMode getRowMoreTextMode()
getRowMoreTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
public void setTextFormatMode(org.refcodes.textual.TextFormatMode aTextFormatMode)
setTextFormatMode
in interface org.refcodes.textual.ColumnFormatMetrics
setTextFormatMode
in interface org.refcodes.textual.TextFormatModeAccessor.TextFormatModeMutator
aTextFormatMode
- the new text format modepublic void setSplitTextMode(org.refcodes.textual.SplitTextMode aSplitTextMode)
setSplitTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
setSplitTextMode
in interface org.refcodes.textual.SplitTextModeAccessor.SplitTextModeMutator
aSplitTextMode
- the new split text modepublic void setHeaderSplitTextMode(org.refcodes.textual.SplitTextMode aSplitTextMode)
setHeaderSplitTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
aSplitTextMode
- the new header split text modepublic org.refcodes.textual.SplitTextMode getHeaderSplitTextMode()
getHeaderSplitTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
public void setRowSplitTextMode(org.refcodes.textual.SplitTextMode aSplitTextMode)
setRowSplitTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
aSplitTextMode
- the new row split text modepublic org.refcodes.textual.SplitTextMode getRowSplitTextMode()
getRowSplitTextMode
in interface org.refcodes.textual.ColumnFormatMetrics
public void setHeaderTextFormatMode(org.refcodes.textual.TextFormatMode aTextFormatMode)
setHeaderTextFormatMode
in interface org.refcodes.textual.ColumnFormatMetrics
aTextFormatMode
- the new header text format modepublic org.refcodes.textual.TextFormatMode getHeaderTextFormatMode()
getHeaderTextFormatMode
in interface org.refcodes.textual.ColumnFormatMetrics
public void setRowTextFormatMode(org.refcodes.textual.TextFormatMode aTextFormatMode)
setRowTextFormatMode
in interface org.refcodes.textual.ColumnFormatMetrics
aTextFormatMode
- the new row text format modepublic org.refcodes.textual.TextFormatMode getRowTextFormatMode()
getRowTextFormatMode
in interface org.refcodes.textual.ColumnFormatMetrics
public void fromColumnFormatMetrics(org.refcodes.textual.ColumnFormatMetrics aColumnFormatMetrics)
fromColumnFormatMetrics
in interface org.refcodes.textual.ColumnFormatMetrics
aColumnFormatMetrics
- the a column format metricspublic Class<T> getType()
getType
in interface org.refcodes.mixin.TypeAccessor<T>
public String getKey()
getKey
in interface org.refcodes.mixin.KeyAccessor<String>
public String toStorageString(T aValue)
toStorageString
in interface Column<T>
aValue
- the a valuepublic String[] toStorageStrings(T aValue)
toStorageStrings
in interface Column<T>
aValue
- the a valuepublic T fromStorageString(String aStringValue) throws ParseException
fromStorageString
in interface Column<T>
aStringValue
- the a string valueParseException
- the parse exceptionpublic T fromStorageStrings(String[] aStringArray) throws ParseException
fromStorageStrings
in interface Column<T>
aStringArray
- the a string arrayParseException
- the parse exceptionpublic String toPrintable(T aValue)
toPrintable
in interface Column<T>
aValue
- the a valuepublic boolean contains(Record<?> aRecord)
public T get(Record<?> aRecord) throws ColumnMismatchException
get
in interface Column<T>
aRecord
- the a recordColumnMismatchException
- the column mismatch exceptionpublic T remove(Record<?> aRecord) throws ColumnMismatchException
remove
in interface Column<T>
aRecord
- the a recordColumnMismatchException
- the column mismatch exceptionCopyright © 2017. All rights reserved.