public class ComboBoxConfig extends ControlSetConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
ComboBoxConfig.Mode
Working mode for combo-box.
|
| 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_ZAP
Bitwise mask to mark AUTO ZAP atribute usage.
|
boolean |
autoCompletion
The Progress AUTO-COMPLETION attribute.
|
boolean |
autoZap
The Progress AUTO-ZAP attribute.
|
int |
innerLines
The number of text lines in the widget.
|
int |
innerLinesAssignments
The number of assignments to INNER-LINES since the last activation
|
int |
innerLinesLimit
The max value of INNER-LINES
|
int |
innerLinesLimitDelta
The adjustement of innerLinesLimit after the widget activation
|
short |
maxChars
MAX-CHARS attribute.
|
ComboBoxConfig.Mode |
mode
Current combo-box mode.
|
int |
selectedIndex
Index of the selected item
|
delimiter, format, honorFormat, itemId, items, itemsSetWhenRealized, listHeightChars, listWidthChars, mousePointer, newAddedItems, numItems, pairs, sortattrSpace, autoResize, clabel, dataType, dropTarget, forceLabel, help, index, INVALID_SELECTION, label, labels, possibleSideLabel, selectionActive, selectionEnd, selectionStart, sideLabelId, unknownDataType, untranslatedLabelalign, 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, ycfgClass, contextHelpId, disableRedraw, enabled, frameDefValue, frameId, fromOCX, header, hidden, id, manualHightlight, menuKey, menuMouse, modified, popupMenuId, realized, selectable, state, visible, wasRealized, zorder| Constructor and Description |
|---|
ComboBoxConfig()
Default constructor (only used in de-serialization).
|
ComboBoxConfig(int id)
Create a new config and associate it with the given widget.
|
ComboBoxConfig(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.
|
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.
|
deleteFromControlSetsetDynamicFormatgetConfigManager, getDynamicColumnLabel, getDynamicFormat, getDynamicHelp, getDynamicLabel, getDynamicUntranslatedLabel, markFieldsDirty, setDynamicHeader, setDynamicHelp, setDynamicLabel, setDynamicLabels, setDynamicUntranslatedLabel, toStringpublic boolean autoZap
public boolean autoCompletion
public int innerLines
public int innerLinesAssignments
public int innerLinesLimit
public int innerLinesLimitDelta
public short maxChars
public ComboBoxConfig.Mode mode
public int selectedIndex
private static final int ATTR_MASK_AUTO_ZAP
private static final int ATTR_MASK_AUTO_COMPLETION
public ComboBoxConfig()
public ComboBoxConfig(int id)
id - The ID of the widget to which this configuration belongs.public ComboBoxConfig(WidgetId id)
id - The ID of the widget to which this configuration belongs.public void applyConfig(WidgetConfig config)
applyConfig in class ControlSetConfigconfig - 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.ExternalizablereadExternal in class ControlSetConfigin - 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.ExternalizablewriteExternal in class ControlSetConfigout - The output destination to which fields will be saved.java.io.IOException - In case of I/O errors.