public class ComboBoxImpl extends ComboBox<ChuiOutputManager> implements AutoResizable<ComboBoxConfig>
browseColumn, config, deferredProgressTrigger, dropDown, endConditionRaised, initValue, limit, selected, valueChangedinsets, listeners, location, LOG, mousePtr, nativeInsets, physicalLocation| Constructor and Description |
|---|
ComboBoxImpl(WidgetId id,
ComboBoxConfig cfg)
Special constructor used to restore the component using a given
configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw()
Draws the combo box as a list item.
|
void |
drawCaret()
Sets position of terminal's cursor to the first char of the combo-box.
|
protected void |
dropDownRequestFocus()
Requesting focus to opened drop-down.
|
BaseDataType |
getScreenValue()
Get widget screen value.
|
boolean |
isAutoResize()
Get the AUTO-RESIZE status
|
protected void |
registerDropDownFrame()
Registers drop-down frame in current window system.
|
void |
requestFocus()
Obtain the input focus.
|
void |
updateSize(ComboBoxConfig beforeUpdate)
Update widget's size after config update
|
activate, addItemListener, addUISpecificEvents, afterConfigUpdate, calcLimit, canMovetoTop, changed, config, deactivateCode, deleteItem, destroy, dimension, exitDropDown, fireValueChanged, formatValue, getBrowse, getColon, getColumnLabelText, getColumnMnemonic, getDColor, getDropDownList, getItemText, getLabelInstance, getLabelText, getMaxLabelLen, getMnemonic, getScrollPaneId, getSelection, getText, getTo, getTriggerWidget, getValue, height, initEventsSet, initialize, isDropDownActive, isForceLabel, isFormatHonored, isLinkedToBrowse, isModified, isNoLabels, isRightAligned, isSelected, isSimpleMode, lookup, manageSystemActions, minimumSize, model, onFocusGained, onFocusLost, onSelect, postprocessConfig, postprocessDropDown, processEvent, processKeyEvent, processSystemKey, refreshItems, removeItemListener, setBrowseColumn, setColumnMnemonic, setHidden, setLabelInstance, setMnemonic, setNoLabels, setValue, setVisible, setWasVisible, valueChangedCommon, valueChangedImpl, wasVisible, widgetRealized, width_setHidden, _setVisible, activateDirectManipulation, addFocusListener, addKeyListener, afterConfigUpdateBase, ancestor, ancestorId, autoResize, bounds, clear, clearWidget, clipRectangle, clipRectangle, clipWith, copyColors, copyState, createMouseHoverAction, deactivateDirectManipulation, debug, disable, disableTooltip, displayPhysicalLocation, enable, enableTooltip, enclosingFrame, findMouseSource, focusTraversable, forceCursorOnFocus, forceVisibility, getActualBounds, getAndResetBitmap, getAndSetBitmap, getBitmapCopy, getCachedScreenLocation, getCachedScreenPhysicalLocation, getCustomMousePointer, getDefaultEvent, getEffectiveMousePointer, getId, getLoadedMousePointer, getMenuMouse, getMouseActions, getMousePosition, getPortableMouseEventCoordinates, getSelectedText, getState, getTextHeight, getTextHeightNative, getTextHeightNative, getTextWidth, getTextWidth, getTextWidthNative, getTextWidthNative, getVisiblePart, getZOrderClass, hasFocus, hasTooltip, hidden, hide, highlighted, ignoreAction, initialHeight, initialWidth, insets, isCurrent, isDirectManipulationActive, isDirectManipulationActiveOrInUIB, isDirectManipulationCapable, isDirectManipulationRequired, isDisplayed, isEnabled, isFocusable, isHeader, isMouseDrag, isRealized, isRepaintDisabled, isRMBEntrySupported, isScreenLocationCached, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, mouseActions, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, moveToBottom, moveToTop, name, navigable, oleDoDrop, oleDrag, oleDragging, oleStartDragging, onOleDragging, onOleDropEnd, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalBounds, physicalDimension, physicalLocation, prepParentLocation, preventFocusWhenMouseDownEventDefined, processDirectManipulationEvent, processFocusEvent, processKeyEventForSelectableWidget, processKeyListeners, processMnemonic, processMnemonicImpl, raiseLegacyMouseEvents, reflectAncestorChange, reflectLocationChanged, reflectSizeChanged, refresh, registerWidgetListener, repaint, repaint, repaint, requestFocus, requestSync, resetBitmap, resizeTo, resolveFont, resolvePopupMenuId, resolveTitleFont, screen, screenDimension, screenHeight, screenLocation, screenPhysicalLocation, screenWidth, setBitmap, setCachedScreenLocation, setCachedScreenPhysicalLocation, setDirectManipulationActive, setEnabled, setHighlighted, setLocation, setLocation, setMousePointer, setMousePointer, setParent, setPhysicalDimensionInt, setPhysicalLocation, setSensitiveForUIB, setState, setWindow, show, showPopupMenu, supportsCustomMousePointer, sync, topLevelWindow, toString, translate, triggerLocationChanged, unrealize, unregisterWidgetListener, updateSizeWorker, updateSystemParent, widgetStateChanged, windowclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChangedValueacceptsEscAsAnyKey, acceptTrigger, addFocusListener, addKeyListener, ancestor, ancestorId, bounds, clearWidget, completeTrigger, defaultMousePtr, displayPhysicalLocation, enclosingFrame, enforceDefaultMousePtr, findMouseSource, focusTraversable, forceCursorOnFocus, forceVisibility, getActualBounds, getCustomMousePointer, getEffectiveMousePointer, getId, getIdForTrigger, getLegacyWidget, getLoadedMousePointer, getMenuMouse, getMouseActions, getMousePosition, getSelectedText, getState, getTriggerWidget, getVisiblePart, getZOrderClass, hasFocus, hasFocus, hasTooltip, hidden, hide, highlighted, ignoreEnable, initialHeight, initialWidth, insets, isCurrent, isCurrent, isDirectManipulable, isDirectManipulationActive, isDirectManipulationActiveOrInUIB, isDisplayed, isDroppable, isEnabled, isFocusable, isHeader, isInitialValueLayout, isLegacyFocus, isProcessProgressEvent, isRealized, isRepaintDisabled, isRMBEntrySupported, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, maySwitchFocus, moveToBottom, moveToTop, name, navigable, oleDrag, parent, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalBounds, physicalDimension, physicalLocation, preventFocusWhenMouseDownEventDefined, processDirectManipulationEvent, processFocusEvent, processKeyListeners, processMnemonic, raiseLegacyMouseEvents, refreshWidget, registerWidgetListener, repaint, repaint, repaint, requestFocus, requestFocus, requestSync, resizeTo, resolvePopupMenuId, screen, screenLocation, screenPhysicalLocation, setDirectManipulationActive, setEnabled, setHighlighted, setLocation, setLocation, setMousePointer, setMousePointer, setParent, setPhysicalLocation, setSensitiveForUIB, setState, setWindow, show, startTrigger, supportsCustomMousePointer, systemFocusGrabbed, topLevelWindow, unrealize, unregisterWidgetListener, validateDisplayValue, widgetStateChanged, windowmouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleasedcreateMnemonic, getMnemonicCharacter, getMnemonicKeyCode, getMnemonicLabel, isMnemonicSupported, updateMnemoniceditPaste, invalidateSelection, isEditCanUndo, isSelectionValid, removeSelectedText, setSelectionpublic ComboBoxImpl(WidgetId id, ComboBoxConfig cfg)
id - The widget's ID.cfg - Configuration data.public void draw()
draw in interface Widget<ChuiOutputManager>draw in class ComboBox<ChuiOutputManager>public BaseDataType getScreenValue()
getScreenValue in class ComboBox<ChuiOutputManager>public void drawCaret()
drawCaret in interface Widget<ChuiOutputManager>drawCaret in class ComboBox<ChuiOutputManager>public void requestFocus()
requestFocus in interface Widget<ChuiOutputManager>requestFocus in class ComboBox<ChuiOutputManager>public void updateSize(ComboBoxConfig beforeUpdate)
updateSize in interface AutoResizable<ComboBoxConfig>beforeUpdate - previous value of the widget's configpublic boolean isAutoResize()
isAutoResize in interface AutoResizable<ComboBoxConfig>true is AUTO-RESIZE is enabledprotected void registerDropDownFrame()
registerDropDownFrame in class ComboBox<ChuiOutputManager>protected void dropDownRequestFocus()
dropDownRequestFocus in class ComboBox<ChuiOutputManager>