public class SNTSearchableBar
extends com.jidesoft.swing.SearchableBar
com.jidesoft.swing.SearchableBar.Installer
JToolBar.AccessibleJToolBar, JToolBar.Separator
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
protected List<AbstractButton> |
_extraButtons |
protected boolean |
containsCheckboxes |
static int |
SHOW_SEARCH_OPTIONS |
_closeButton, _comboBox, _findNextButton, _findPrevButton, _highlightsButton, _leadingLabel, _matchCaseCheckBox, _repeatCheckBox, _statusLabel, _textField, _wholeWordsCheckBox, PROPERTY_MAX_HISTORY_LENGTH, SHOW_ALL, SHOW_CLOSE, SHOW_HIGHLIGHTS, SHOW_MATCHCASE, SHOW_NAVIGATION, SHOW_REPEATS, SHOW_STATUS, SHOW_WHOLE_WORDS
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
SNTSearchableBar(com.jidesoft.swing.Searchable searchable) |
SNTSearchableBar(com.jidesoft.swing.Searchable searchable,
String placeholder) |
Modifier and Type | Method and Description |
---|---|
protected AbstractButton |
createCloseButton(AbstractAction closeAction) |
protected JComboBox |
createComboBox() |
protected AbstractButton |
createFindNextButton(AbstractAction findNextAction) |
protected AbstractButton |
createFindPrevButton(AbstractAction findPrevAction) |
protected AbstractButton |
createHighlightButton() |
protected AbstractButton |
createMatchCaseButton() |
protected void |
formatButton(AbstractButton button,
IconFactory.GLYPH glyph) |
protected void |
installComponents() |
protected void |
setFindAndReplaceMenuItem(JMenuItem findAndReplaceMenuItem) |
void |
setGuiUtils(GuiUtils guiUtils) |
protected void |
setSearcheableObjectDescription(String objectDescription) |
void |
setStatus(String text) |
void |
setStatusLabelPlaceholder(String placeholder) |
createRepeatsButton, createTextField, createWholeWordsButton, focusSearchField, getImageIcon, getInstaller, getMaxHistoryLength, getMismatchBackground, getResourceString, getSearchable, getSearchHistory, getSearchingText, getVisibleButtons, install, isCompact, isHighlightAll, isPassive, isShowMatchCount, processKeyEvent, select, setCompact, setHighlightAll, setInstaller, setMaxHistoryLength, setMismatchForeground, setSearchHistory, setSearchingText, setShowMatchCount, setVisibleButtons
add, addImpl, addSeparator, addSeparator, createActionChangeListener, createActionComponent, getAccessibleContext, getComponentAtIndex, getComponentIndex, getMargin, getOrientation, getUI, getUIClassID, isBorderPainted, isFloatable, isRollover, paintBorder, paramString, setBorderPainted, setFloatable, setLayout, setMargin, setOrientation, setRollover, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static final int SHOW_SEARCH_OPTIONS
protected List<AbstractButton> _extraButtons
protected boolean containsCheckboxes
public SNTSearchableBar(com.jidesoft.swing.Searchable searchable)
public SNTSearchableBar(com.jidesoft.swing.Searchable searchable, String placeholder)
protected JComboBox createComboBox()
createComboBox
in class com.jidesoft.swing.SearchableBar
public void setStatusLabelPlaceholder(String placeholder)
protected void installComponents()
installComponents
in class com.jidesoft.swing.SearchableBar
protected void setSearcheableObjectDescription(String objectDescription)
public void setGuiUtils(GuiUtils guiUtils)
protected void setFindAndReplaceMenuItem(JMenuItem findAndReplaceMenuItem)
public void setStatus(String text)
protected AbstractButton createFindPrevButton(AbstractAction findPrevAction)
createFindPrevButton
in class com.jidesoft.swing.SearchableBar
protected AbstractButton createMatchCaseButton()
createMatchCaseButton
in class com.jidesoft.swing.SearchableBar
protected AbstractButton createFindNextButton(AbstractAction findNextAction)
createFindNextButton
in class com.jidesoft.swing.SearchableBar
protected AbstractButton createCloseButton(AbstractAction closeAction)
createCloseButton
in class com.jidesoft.swing.SearchableBar
protected AbstractButton createHighlightButton()
createHighlightButton
in class com.jidesoft.swing.SearchableBar
protected void formatButton(AbstractButton button, IconFactory.GLYPH glyph)
Copyright © 2015–2021 Fiji. All rights reserved.