public class EnhancedBrowseConfig
extends java.lang.Object
implements java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
java.util.Map<java.lang.String,EnhancedColumnConfig> |
columnConfigs
Enhanced column configs keyed by column keys.
|
java.lang.Boolean |
columnSeparators
Column separators on/off.
|
java.lang.Integer |
directoryNodeId
ID of the corresponding entry in the directory which stores this configuration.
|
ColorRgb |
ehAltBgColor
Alternating background color (for row striping).
|
ColorRgb |
ehBgColor
Background color.
|
ColorRgb |
ehFgColor
Foreground color.
|
FontDetails<?> |
ehFont
Browse font.
|
java.lang.String |
ehKeyBrowseName
Part of the key: browse name.
|
java.lang.String |
ehKeyProcName
Part of the key: the name of the parent external procedure which contains the browse.
|
ColorRgb |
ehLabelBgColor
Labels background color.
|
ColorRgb |
ehLabelFgColor
Labels foreground color.
|
FontDetails<?> |
ehLabelFont
Labels font.
|
java.lang.String |
ehReportTitle
Report title.
|
ColorRgb |
ehSeparatorsColor
Separators color.
|
java.lang.String |
ehStartColumnKeys
String representing the set of the keys of the columns which the browse has at the enhanced
initialization time.
|
java.lang.String |
ehUniqueKey
Part of the key: an unique string, which, along with procedure name and browse name, uniquely identifies
the browse in an application.
|
java.lang.Integer |
labelsHeightPixels
Labels area height, in pixels.
|
java.lang.Integer |
rowHeightPixels
Row height, in pixels.
|
java.lang.Boolean |
rowSeparators
Row separators on/off.
|
java.lang.String |
userName
Name of the user for whom this configuration is stored.
|
Constructor and Description |
---|
EnhancedBrowseConfig()
Default constructor.
|
EnhancedBrowseConfig(BrowseGuiImpl browse)
Creates enhanced config from the configuration of the specified browse.
|
EnhancedBrowseConfig(BrowseWidget browseWidget)
Creates enhanced config from the configuration of the specified browse.
|
EnhancedBrowseConfig(EnhancedBrowseConfig cfg)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
private void |
copyBrowseConfig(BrowseConfig cfg)
Copy enhanced configuration from the given browse config into this enhanced config.
|
BrowseKey |
getBrowseKey()
Get the key which identifies the underlying browse.
|
EhBrowseConfigKey |
getKey()
Get the key for this configuration.
|
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.String ehKeyProcName
null
if config is applied to all browses.public java.lang.String ehKeyBrowseName
public java.lang.String ehUniqueKey
public java.lang.String ehStartColumnKeys
buffer_alias.field_name
. For calculated and computed columns it is an expression containing
column parameters like column data type, format, initial value and label. Keys are separated with ";"
and lexicographically sorted within the string (for easy comparison). The string cannot contain empty
keys.public java.lang.String userName
null
if it is
applicable to all users.public java.lang.Integer directoryNodeId
public ColorRgb ehFgColor
public ColorRgb ehBgColor
public ColorRgb ehAltBgColor
public ColorRgb ehLabelFgColor
public ColorRgb ehLabelBgColor
public FontDetails<?> ehFont
public FontDetails<?> ehLabelFont
public java.lang.Boolean rowSeparators
public java.lang.Boolean columnSeparators
public ColorRgb ehSeparatorsColor
public java.lang.Integer rowHeightPixels
public java.lang.Integer labelsHeightPixels
public java.lang.String ehReportTitle
public java.util.Map<java.lang.String,EnhancedColumnConfig> columnConfigs
public EnhancedBrowseConfig()
public EnhancedBrowseConfig(BrowseGuiImpl browse)
browse
- Browse which enhanced configuration is copied into this config.public EnhancedBrowseConfig(BrowseWidget browseWidget)
browseWidget
- Browse which enhanced configuration is copied into this config.public EnhancedBrowseConfig(EnhancedBrowseConfig cfg)
cfg
- Configuration to copy.public BrowseKey getBrowseKey()
public EhBrowseConfigKey getKey()
private void copyBrowseConfig(BrowseConfig cfg)
cfg
- Browse config to copy.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.