Class EventHandlersSearchBox
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.swt.widgets.Canvas
org.eclipse.swt.custom.StyledText
com._1c.g5.v8.dt.common.ui.controls.search.SearchBox
com._1c.g5.v8.dt.eventhandlers.ui.model.EventHandlersSearchBox
- All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable
Extension of
SearchBox for "All Events Handlers" editor.
Does not show search history on "arrow down" key press.
Does focus on focus composite on "arrow down" or "arrow up" key press.-
Nested Class Summary
Nested classes/interfaces inherited from class com._1c.g5.v8.dt.common.ui.controls.search.SearchBox
SearchBox.ISearchListener -
Field Summary
Fields inherited from class com._1c.g5.v8.dt.common.ui.controls.search.SearchBox
DEFAULT_MIN_SEARCH_TEXT_LENGTH, displayingPopup, displayingQuickBrowse, popup, quickBrowseItem, selectedPopupItem, settingTextFields inherited from class org.eclipse.swt.widgets.Control
handle -
Constructor Summary
ConstructorsConstructorDescriptionEventHandlersSearchBox(org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Composite focusComposite) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdds key listenervoidsetFocusComposite(org.eclipse.swt.widgets.Composite focusComposite) Sets composite to focus on "arrow down" or "arrow up" key press.Methods inherited from class com._1c.g5.v8.dt.common.ui.controls.search.SearchBox
addControlListener, addFocusListener, addListeners, addNotifyListener, addPaintListener, addTraverseListener, computeSize, dispose, getKeyBinding, getText, notifyListeners, setCursor, setForeground, setHistory, setJobScheduleDelay, setMessage, setMinimumSearchTextLength, setRunSearchOnTextChange, setRunSearchOnUiThread, setSearchDelay, setSearchListener, setTextMethods inherited from class org.eclipse.swt.custom.StyledText
addBidiSegmentListener, addCaretListener, addExtendedModifyListener, addLineBackgroundListener, addLineStyleListener, addModifyListener, addPaintObjectListener, addSelectionListener, addVerifyKeyListener, addVerifyListener, addWordMovementListener, append, copy, copy, cut, getAlignment, getAlwaysShowScrollBars, getBackground, getBaseline, getBaseline, getBidiColoring, getBlockSelection, getBlockSelectionBounds, getBottomMargin, getCaretOffset, getCharCount, getContent, getDoubleClickEnabled, getDragDetect, getEditable, getForeground, getHorizontalIndex, getHorizontalPixel, getIndent, getJustify, getLeftMargin, getLine, getLineAlignment, getLineAtOffset, getLineBackground, getLineBullet, getLineCount, getLineDelimiter, getLineHeight, getLineHeight, getLineIndent, getLineIndex, getLineJustify, getLinePixel, getLineSpacing, getLineTabStops, getLineVerticalIndent, getLineWrapIndent, getLocationAtOffset, getMarginColor, getMouseNavigatorEnabled, getOffsetAtLine, getOffsetAtLocation, getOffsetAtPoint, getOrientation, getRanges, getRanges, getRightMargin, getSelection, getSelectionBackground, getSelectionCount, getSelectionForeground, getSelectionRange, getSelectionRanges, getSelectionText, getStyleRangeAtOffset, getStyleRanges, getStyleRanges, getStyleRanges, getStyleRanges, getTabs, getTabStops, getText, getTextBounds, getTextLimit, getTextRange, getTopIndex, getTopMargin, getTopPixel, getWordWrap, getWrapIndent, insert, invokeAction, isTextSelected, paste, print, print, print, redraw, redraw, redrawRange, removeBidiSegmentListener, removeCaretListener, removeExtendedModifyListener, removeLineBackgroundListener, removeLineStyleListener, removeModifyListener, removePaintObjectListener, removeSelectionListener, removeVerifyKeyListener, removeVerifyListener, removeWordMovementListener, replaceStyleRanges, replaceTextRange, scroll, selectAll, setAlignment, setAlwaysShowScrollBars, setBackground, setBidiColoring, setBlockSelection, setBlockSelectionBounds, setBlockSelectionBounds, setBottomMargin, setCaret, setCaretOffset, setContent, setDoubleClickEnabled, setDragDetect, setEditable, setEnabled, setFocus, setFont, setHorizontalIndex, setHorizontalPixel, setIndent, setJustify, setKeyBinding, setLeftMargin, setLineAlignment, setLineBackground, setLineBullet, setLineIndent, setLineJustify, setLineSpacing, setLineSpacingProvider, setLineTabStops, setLineVerticalIndent, setLineWrapIndent, setMarginColor, setMargins, setMouseNavigatorEnabled, setOrientation, setRightMargin, setSelection, setSelection, setSelection, setSelectionBackground, setSelectionForeground, setSelectionRange, setSelectionRanges, setStyleRange, setStyleRanges, setStyleRanges, setStyleRanges, setTabs, setTabStops, setTextDirection, setTextLimit, setTopIndex, setTopMargin, setTopPixel, setWordWrap, setWrapIndent, showSelectionMethods inherited from class org.eclipse.swt.widgets.Canvas
drawBackground, getCaret, getIME, setIMEMethods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setLayout, setLayoutDeferred, setTabList, toStringMethods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBarMethods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackgroundImage, getBorderWidth, getBounds, getCursor, getEnabled, getFont, getLayoutData, getLocation, getMenu, getMonitor, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackgroundImage, setBounds, setBounds, setCapture, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, updateMethods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, removeDisposeListener, removeListener, removeListener, reskin, setData, setDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.swt.graphics.Drawable
isAutoScalable
-
Constructor Details
-
EventHandlersSearchBox
public EventHandlersSearchBox(org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Composite focusComposite) Constructor.- Parameters:
parent- - parent composite. Can't benull.focusComposite- - composite to focus on "arrow down" or "arrow up" key press. Can benull.
-
-
Method Details
-
setFocusComposite
public void setFocusComposite(org.eclipse.swt.widgets.Composite focusComposite) Sets composite to focus on "arrow down" or "arrow up" key press.- Parameters:
focusComposite- - composite to focus on "arrow down" or "arrow up" key press. Can benull.
-
addKeyListener
protected void addKeyListener()Description copied from class:SearchBoxAdds key listener- Overrides:
addKeyListenerin classSearchBox
-