public class ComboBoxImpl extends ComboBox<ChuiOutputManager> implements AutoResizable<ComboBoxConfig>
config, dropDown, endConditionRaised, limit, selected, valueChanged
insets, 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, changed, config, deactivateCode, destroy, dimension, exitDropDown, getColon, getColumnLabelText, getColumnMnemonic, getDColor, getDropDownList, getItemText, getLabelInstance, getLabelText, getMaxLabelLen, getMnemonic, getScrollPaneId, getSelection, getText, getTo, getValue, height, initEventsSet, initialize, isDropDownActive, isForceLabel, isFormatHonored, isModified, isNoLabels, isRightAligned, isSelected, isSimpleMode, lookup, manageSystemActions, minimumSize, model, onFocusGained, onFocusLost, onSelect, postprocessConfig, postprocessDropDown, processEvent, processKeyEvent, processSystemKey, refreshItems, removeItemListener, setColumnMnemonic, setHidden, setLabelInstance, setMnemonic, setNoLabels, setValue, setVisible, setWasVisible, valueChangedCommon, valueChangedImpl, wasVisible, width
_setHidden, _setVisible, activateDirectManipulation, addFocusListener, addKeyListener, afterConfigUpdateBase, ancestor, ancestorId, autoResize, bounds, clear, clearWidget, clipRectangle, clipRectangle, clipWith, copyColors, copyState, createMouseHoverAction, deactivateDirectManipulation, debug, disable, displayPhysicalLocation, enable, enclosingFrame, findMouseSource, focusTraversable, forceCursorOnFocus, forceVisibility, getActualBounds, getAndResetBitmap, getAndSetBitmap, getBitmapCopy, getCachedScreenLocation, getCachedScreenPhysicalLocation, getCustomMousePointer, getDefaultEvent, getEffectiveMousePointer, getId, getLoadedMousePointer, getMenuMouse, getMouseActions, getPortableMouseEventCoordinates, getSelectedText, getState, getTextHeight, getTextHeightNative, getTextWidth, getTextWidth, getTextWidthNative, getTextWidthNative, getVisiblePart, getZOrderClass, hasFocus, hidden, hide, highlighted, ignoreAction, insets, isCurrent, isDirectManipulationCapable, isDirectManipulationRequired, isDisplayed, isEnabled, isFocusable, isHeader, isRealized, isRepaintDisabled, isRMBEntrySupported, isScreenLocationCached, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, mouseActions, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, moveToBottom, moveToTop, name, navigable, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalBounds, physicalDimension, physicalLocation, prepParentLocation, processDirectManipulationEvent, processFocusEvent, processKeyListeners, processMnemonic, processMnemonicImpl, raiseLegacyMouseEvents, reflectAncestorChange, reflectLocationChange, refresh, registerWidgetStateListener, repaint, repaint, requestFocus, requestSync, resetBitmap, resizeTo, resolveFont, resolvePopupMenuId, resolveTitleFont, screen, screenDimension, screenHeight, screenLocation, screenPhysicalLocation, screenWidth, setBitmap, setCachedScreenLocation, setCachedScreenPhysicalLocation, setEnabled, setHighlighted, setLocation, setLocation, setMousePointer, setParent, setPhysicalLocation, setState, show, showPopupMenu, supportsCustomMousePointer, sync, topLevelWindow, toString, translate, unrealize, updateSizeWorker, window
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addFocusListener, addKeyListener, ancestor, ancestorId, bounds, clearWidget, defaultMousePtr, displayPhysicalLocation, enclosingFrame, enforceDefaultMousePtr, findMouseSource, focusTraversable, forceCursorOnFocus, forceVisibility, getActualBounds, getCustomMousePointer, getEffectiveMousePointer, getId, getLegacyWidget, getLoadedMousePointer, getMenuMouse, getMouseActions, getSelectedText, getState, getVisiblePart, getZOrderClass, hasFocus, hidden, hide, highlighted, insets, isCurrent, isDirectManipulable, isDisplayed, isDroppable, isEnabled, isFocusable, isHeader, isRealized, isRepaintDisabled, isRMBEntrySupported, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, maySwitchFocus, moveToBottom, moveToTop, name, navigable, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalBounds, physicalDimension, physicalLocation, processDirectManipulationEvent, processFocusEvent, processKeyListeners, processMnemonic, raiseLegacyMouseEvents, repaint, repaint, requestFocus, requestSync, resizeTo, resolvePopupMenuId, screen, screenLocation, screenPhysicalLocation, setEnabled, setHighlighted, setLocation, setLocation, setMousePointer, setParent, setPhysicalLocation, setState, show, supportsCustomMousePointer, topLevelWindow, unrealize, window
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
createMnemonic, getMnemonicCharacter, getMnemonicKeyCode, getMnemonicLabel, isMnemonicSupported, updateMnemonic
invalidateSelection, isSelectionValid, removeSelectedText, setSelection
public 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>