public class EnhancedColumnConfig
extends java.lang.Object
implements java.io.Externalizable
| Modifier and Type | Field and Description |
|---|---|
EnhancedColor |
ehAltBgColor
Alternating background color (for row striping).
|
EnhancedColor |
ehBgColor
Background color.
|
EnhancedColor |
ehFgColor
Foreground color.
|
FontDetails<?> |
ehFont
Column font.
|
EnhancedColor |
ehLabelBgColor
Label background color.
|
EnhancedColor |
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 EnhancedColor ehFgColor
public EnhancedColor ehBgColor
public EnhancedColor ehAltBgColor
public EnhancedColor ehLabelFgColor
public EnhancedColor 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.Externalizableout - 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.Externalizablein - 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.