public class BrowseColumnConfig extends ControlSetConfig
Modifier and Type | Field and Description |
---|---|
private static int |
ATTR_MASK_AUTO_COMPLETION
Bitwise mask to mark AUTO COMPLETION atribute usage.
|
private static int |
ATTR_MASK_AUTO_RETURN
Bitwise mask to mark AUTO RETURN atribute usage.
|
private static int |
ATTR_MASK_AUTO_VALDATE
Bitwise mask to mark AUTO VALIDATE atribute usage.
|
private static int |
ATTR_MASK_AUTO_ZAP
Bitwise mask to mark AUTO ZAP atribute usage.
|
private static int |
ATTR_MASK_COLUMN_RO
Bitwise mask to mark COLUMN READ ONLY atribute usage.
|
private static int |
ATTR_MASK_COMPUTED
Bitwise mask to mark computed column usage.
|
private static int |
ATTR_MASK_DISABLE_AUTO_ZAP
Bitwise mask to mark DISABLE AUTO ZAP atribute usage.
|
private static int |
ATTR_MASK_ENHANCED_FILTERING
Bitwise mask to mark ENHANCED FILTERING atribute usage.
|
private static int |
ATTR_MASK_ENHANCED_SORTING
Bitwise mask to mark ENHANCED SORTING atribute usage.
|
private static int |
ATTR_MASK_HYPERLINKED
Bitwise mask to mark HYPERLINKED atribute usage.
|
private static int |
ATTR_MASK_IN_EDIT_MODE
Bitwise mask to mark IN EDIT MODE attribute usage.
|
private static int |
ATTR_MASK_PRESSED
Bitwise mask to mark PRESSED atribute usage.
|
private static int |
ATTR_MASK_RIGHT_ALIGNED
Bitwise mask to mark RIGHT ALIGNED atribute usage.
|
private static int |
ATTR_MASK_RO
Bitwise mask to mark READ ONLY atribute usage.
|
private static int |
ATTR_MASK_VALIDATABLE
Bitwise mask to mark VALIDATABLE atribute usage.
|
boolean |
autoCompletion
The Progress AUTO-COMPLETION attribute.
|
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.
|
boolean |
computed
Flag indicating if this is a computed column.
|
boolean |
disableAutoZap
DISABLE-AUTO-ZAP attribute.
|
DisplayFormat |
displayFormat
Client-side cache of this column's format.
|
BrowseTextAlignment |
ehAlignment
Text alignment (enhanced option).
|
ColorRgb |
ehAltBgColor
Enhanced parameter: alternating background color for rows striping.
|
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.
|
boolean |
enhancedFiltering
true if "enhanced filtering" feature is enabled for this column. |
boolean |
enhancedSorting
true if "enhanced sorting" feature is enabled for this column. |
java.lang.Integer |
fgColor
FGCOLOR attribute.
|
int |
formatWidth
Format width of base AT field.
|
boolean |
hyperlinked
Enhanced parameter:
true if column's cells are hyperlinks. |
boolean |
inEditMode
Flag to be set when the column is in editing mode.
|
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.
|
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.
|
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.
|
delimiter, format, honorFormat, itemId, items, itemsSetWhenRealized, listHeightChars, listWidthChars, mousePointer, newAddedItems, numItems, pairs, sort
attrSpace, autoResize, clabel, dataType, dropTarget, forceLabel, help, index, INVALID_SELECTION, label, labels, possibleSideLabel, selectionActive, selectionEnd, selectionStart, sideLabelId, untranslatedLabel
align, bgcolor, bgcolorRgb, captionFontSize, clientColumn, clientHeightChars, clientHeightPixels, clientRow, clientWidthChars, clientWidthPixels, clientX, clientY, column, dcolor, dynamic, fgcolor, fgcolorRgb, fixedHeight, fixedWidth, font, fontChanged, fontName, fontSize, fontStyle, frameColumnOffset, frameRowOffset, frameXOffset, frameYOffset, heightChars, heightPixels, initColumn, initHeightChars, initRow, initWidthChars, initX, initY, INV_COORD, locationChanged, movable, name, parentId, pfcolor, resizable, row, selected, sysbgcolor, sysfgcolor, systemParentId, 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.
|
setDynamicFormat
getConfigManager, getDynamicColumnLabel, getDynamicFormat, getDynamicHelp, getDynamicLabel, getDynamicUntranslatedLabel, markFieldsDirty, setDynamicHeader, setDynamicHelp, setDynamicLabel, setDynamicLabels, setDynamicUntranslatedLabel, toString
public Color labelDColor
public boolean autoValidate
public boolean autoCompletion
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 int browseId
public int ordinal
public int formatWidth
public int labelFont
public int columnFont
public int labelBgColor
public int labelFgColor
public int maxChars
public int innerLines
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 ehAltBgColor
public ColorRgb ehLabelFgColor
public ColorRgb ehLabelBgColor
public FontDetails<?> ehFont
public FontDetails<?> ehLabelFont
public boolean hyperlinked
true
if column's cells are hyperlinks.public boolean enhancedSorting
true
if "enhanced sorting" feature is enabled for this column.public boolean enhancedFiltering
true
if "enhanced filtering" feature is enabled for this column.public BrowseTextAlignment ehAlignment
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 boolean inEditMode
public boolean computed
public transient DisplayFormat displayFormat
private static final int ATTR_MASK_RO
private static final int ATTR_MASK_COLUMN_RO
private static final int ATTR_MASK_AUTO_VALDATE
private static final int ATTR_MASK_AUTO_ZAP
private static final int ATTR_MASK_DISABLE_AUTO_ZAP
private static final int ATTR_MASK_AUTO_RETURN
private static final int ATTR_MASK_PRESSED
private static final int ATTR_MASK_RIGHT_ALIGNED
private static final int ATTR_MASK_VALIDATABLE
private static final int ATTR_MASK_AUTO_COMPLETION
private static final int ATTR_MASK_HYPERLINKED
private static final int ATTR_MASK_ENHANCED_SORTING
private static final int ATTR_MASK_ENHANCED_FILTERING
private static final int ATTR_MASK_IN_EDIT_MODE
private static final int ATTR_MASK_COMPUTED
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 ControlSetConfig
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 ControlSetConfig
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 ControlSetConfig
out
- The output destination to which fields will be saved.java.io.IOException
- In case of I/O errors.protected void init()