public class EnhancedColumnConfig
extends java.lang.Object
implements java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
ColorRgb |
ehAltBgColor
Alternating background color (for row striping).
|
ColorRgb |
ehBgColor
Background color.
|
ColorRgb |
ehFgColor
Foreground color.
|
FontDetails<?> |
ehFont
Column font.
|
ColorRgb |
ehLabelBgColor
Label background color.
|
ColorRgb |
ehLabelFgColor
Label foreground color.
|
FontDetails<?> |
ehLabelFont
Column label font.
|
java.lang.Integer |
ordinal
Column ordinal (0-based position in the browse).
|
java.lang.Boolean |
visible
Specifies column visibility.
|
java.lang.Integer |
widthPixels
Column width in pixels.
|
Constructor and Description |
---|
EnhancedColumnConfig()
Default constructor.
|
EnhancedColumnConfig(BrowseColumnConfig cfg)
Create enhanced config from the browse column config.
|
EnhancedColumnConfig(EnhancedColumnConfig cfg)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
readExternal(java.io.ObjectInput in)
Replacement for the default object reading method.
|
void |
writeExternal(java.io.ObjectOutput out)
Replacement for the default object writing method.
|
public java.lang.Integer ordinal
public java.lang.Boolean visible
public java.lang.Integer widthPixels
public ColorRgb ehFgColor
public ColorRgb ehBgColor
public ColorRgb ehAltBgColor
public ColorRgb ehLabelFgColor
public ColorRgb ehLabelBgColor
public FontDetails<?> ehFont
public FontDetails<?> ehLabelFont
public EnhancedColumnConfig()
public EnhancedColumnConfig(BrowseColumnConfig cfg)
cfg
- Browse column config.public EnhancedColumnConfig(EnhancedColumnConfig cfg)
cfg
- Enhanced column config.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- The output destination to which parameters will be saved.java.io.IOException
- In case of I/O errors.public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- The input source from which parameters will be restored.java.io.IOException
- In case of I/O errors.java.lang.ClassNotFoundException
- If a parameter can't be instantiated.