public class BrowseColumnConfig extends ControlConfig
Modifier and Type | Field and Description |
---|---|
boolean |
autoReturn
AUTO-RETURN attribute variable
|
boolean |
autoValidate
AUTO-VALIDATE attribute variable
|
boolean |
autoZap
AUTO-ZAP attribute.
|
java.lang.Integer |
bgColor
BGCOLOR attribute.
|
int |
browseId
Link to browse widget.
|
int |
columnBgColor
COLUMN-BGCOLOR attribute variable
|
Color |
columnDColor
COLUMN-DCOLOR attribute variable
|
int |
columnFgColor
COLUMN-FGCOLOR attribute variable
|
int |
columnFont
The column font for this browse column.
|
Color |
columnPfColor
COLUMN-PFCOLOR attribute variable
|
boolean |
columnReadOnly
COLUMN-READ-ONLY attribute variable.
|
java.lang.String |
dbname
DBNAME attribute variable
|
boolean |
disableAutoZap
DISABLE-AUTO-ZAP attribute.
|
ColorRgb |
ehBgColor
Enhanced parameter: background color.
|
java.lang.String |
ehColumnKey
Enhanced configuration key: unique (browse-wide) column key.
|
ColorRgb |
ehFgColor
Enhanced parameter: foreground color.
|
FontDetails |
ehFont
Enhanced parameter: column font.
|
ColorRgb |
ehLabelBgColor
Enhanced parameter: label background color.
|
ColorRgb |
ehLabelFgColor
Enhanced parameter: label foreground color.
|
FontDetails |
ehLabelFont
Enhanced parameter: column label font.
|
java.lang.Integer |
fgColor
FGCOLOR attribute.
|
java.lang.String |
format
Column display format.
|
int |
formatWidth
Format width of base AT field.
|
boolean |
hyperlinked
Enhanced parameter:
true if column's cells are hyperlinks. |
int |
innerLines
The number of text lines in the widget.
|
int |
labelBgColor
LABEL-BGCOLOR attribute.
|
Color |
labelDColor
LABEL-DCOLOR attribute variable
|
int |
labelFgColor
LABEL-FGCOLOR attribute.
|
int |
labelFont
The label font for this browse column.
|
int |
maxChars
MAX-CHARS attribute.
|
java.lang.String |
mousePointer
MOUSE-POINTER attribute
|
int |
ordinal
Column ordinal in the browse definition (0-based).
|
boolean |
pressed
true if the column is in pressed state. |
boolean |
readOnly
READ-ONLY attribute variable
|
boolean |
rightAligned
Defines if the column is right aligned.
|
boolean |
sort
SORT attribute.
|
java.lang.Boolean |
sortAscending
SORT-ASCENDING attribute
|
java.lang.Integer |
sortNumber
SORT-NUMBER attribute
|
boolean |
validatable
true if validation is applied to the column. |
BrowseColumnWidgetType |
widgetType
Type of widget: fill-in, toggle-box or combo-box.
|
attrSpace, autoResize, clabel, dataType, dropTarget, forceLabel, help, index, INVALID_SELECTION, label, labels, possibleSideLabel, selectionActive, selectionEnd, selectionStart, sideLabelId
align, bgcolor, bgcolorRgb, clientColumn, clientHeightChars, clientHeightPixels, clientRow, clientWidthChars, clientWidthPixels, clientX, clientY, column, dcolor, dynamic, fgcolor, fgcolorRgb, fixedHeight, fixedWidth, font, fontChanged, frameColumnOffset, frameRowOffset, frameXOffset, frameYOffset, heightChars, heightPixels, initColumn, initRow, initX, initY, INV_COORD, locationChanged, movable, name, parentId, pfcolor, resizable, row, selected, sysbgcolor, sysfgcolor, tabStop, title, titleDColor, titleFont, tooltip, widgetPlaced, widthChars, widthPixels, x, y
cfgClass, contextHelpId, disableRedraw, enabled, frameDefValue, frameId, header, hidden, id, manualHightlight, menuKey, menuMouse, modified, popupMenuId, realized, selectable, state, visible, wasRealized, zorder
Modifier | Constructor and Description |
---|---|
|
BrowseColumnConfig()
Default constructor (only used in deserialization).
|
protected |
BrowseColumnConfig(int id)
Create a new config and associate it with the given widget.
|
protected |
BrowseColumnConfig(WidgetId id)
Create a new config and associate it with the given widget.
|
Modifier and Type | Method and Description |
---|---|
void |
applyConfig(WidgetConfig config)
Set new values from the provided configuration instance.
|
protected void |
init()
Initialize this config.
|
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.
|
getConfigManager, getDynamicColumnLabel, getDynamicFormat, getDynamicHelp, getDynamicLabel, setDynamicFormat, setDynamicHeader, setDynamicHelp, setDynamicLabel, setDynamicLabels, toString
public java.lang.String dbname
public Color labelDColor
public boolean autoValidate
public Color columnDColor
public Color columnPfColor
public int columnBgColor
public int columnFgColor
public boolean readOnly
public boolean columnReadOnly
public boolean autoZap
public boolean disableAutoZap
public boolean autoReturn
public java.lang.String format
public int browseId
public int ordinal
public int formatWidth
public int labelFont
public int columnFont
public int labelBgColor
public int labelFgColor
public boolean sort
public int maxChars
public int innerLines
public java.lang.String mousePointer
public boolean pressed
true
if the column is in pressed state.public java.lang.Integer sortNumber
public java.lang.Boolean sortAscending
public java.lang.Integer bgColor
public java.lang.Integer fgColor
public boolean rightAligned
public BrowseColumnWidgetType widgetType
public boolean validatable
true
if validation is applied to the column.public ColorRgb ehFgColor
public ColorRgb ehBgColor
public ColorRgb ehLabelFgColor
public ColorRgb ehLabelBgColor
public FontDetails ehFont
public FontDetails ehLabelFont
public boolean hyperlinked
true
if column's cells are hyperlinks.public java.lang.String ehColumnKey
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.public BrowseColumnConfig()
protected BrowseColumnConfig(int id)
id
- The ID of the widget to which this configuration belongs.protected BrowseColumnConfig(WidgetId id)
id
- The ID of the widget to which this configuration belongs.public void applyConfig(WidgetConfig config)
applyConfig
in class ControlConfig
config
- The instance from which to take values.public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class ControlConfig
in
- The input source from which fields will be restored.java.io.IOException
- In case of I/O errors.java.lang.ClassNotFoundException
- If payload can't be instantiated.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class ControlConfig
out
- The output destination to which fields will be saved.java.io.IOException
- In case of I/O errors.protected void init()