com.levigo.jadice.appbase.search
Class RolloutSearch
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.levigo.util.swing.CollapsiblePane
com.levigo.util.swing.effect.RolloutBox
com.levigo.jadice.appbase.search.RolloutSearch
- All Implemented Interfaces:
- ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible
public class RolloutSearch
- extends RolloutBox
- See Also:
- Serialized Form
Methods inherited from class com.levigo.util.swing.CollapsiblePane |
addImpl, getAnimationFPS, getAnimationSteps, getBorder, getContentPanel, getInsets, getInsets, getMaxAnimationStepSize, getMinimumSize, getOrientation, getPreferredSize, getStyle, isAnimated, isCollapsed, paintBorder, setAnimated, setAnimationFPS, setAnimationSteps, setBorder, setBounds, setCollapsed, setMaxAnimationStepSize, setOrientation, setStyle |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getListeners, getLocation, getMaximumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
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, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
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, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, 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, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
autostartTimer
protected final Timer autostartTimer
cancelButton
protected final JButton cancelButton
selectPreviousButton
protected final JButton selectPreviousButton
selectNextButton
protected final JButton selectNextButton
searchField
protected final JTextField searchField
ctx
protected final Context ctx
searchRequest
protected final SearchRequest searchRequest
results
protected final EventList<Result> results
statusLabel
protected final JLabel statusLabel
selectPreviousAction
protected final RolloutSearch.SelectPreviousAction selectPreviousAction
selectNextAction
protected final RolloutSearch.SelectNextAction selectNextAction
progressBar
protected final BackgroundProgressBar progressBar
RolloutSearch
public RolloutSearch(EffectLayout.Edge position)
getPageView
protected PageView getPageView()
createPopupMenu
protected JPopupMenu createPopupMenu()
getMenuComponentFactory
protected DefaultMenuComponentFactory getMenuComponentFactory()
attachListeners
protected void attachListeners()
- Wire up the necessary listeners. This method is called as the very last one during the UI
creation sequence.
requestFocusInWindow
public boolean requestFocusInWindow()
- Overrides:
requestFocusInWindow
in class JComponent
createUI
protected Box createUI()
createSearchAndStatusArea
protected BackgroundProgressBar createSearchAndStatusArea()
createBackgroundProgressBar
protected BackgroundProgressBar createBackgroundProgressBar(Box searchAndStatus)
- Create the background progress bar behind the search text field.
createStatusLabel
protected JLabel createStatusLabel()
createSearchField
protected JTextField createSearchField()
createResultList
protected EventList<Result> createResultList()
createSearchRequest
protected SearchRequest createSearchRequest()
- Create the SearchRequest used by this component. A single SearchRequest instance is used for
all searches.
setCurrentResultIndex
protected void setCurrentResultIndex(int index)
- Set the current result index. Triggers navigation to the respective result location.
update
protected void update()
- Update the GUI's state in response to a change in the search or other state.
update
protected void update(SearchStateChangeEvent e)
startSearch
public void startSearch()
cancelSearch
public void cancelSearch()
createButton
protected JButton createButton(Action action)
- Create a button for the given action.
activate
public void activate()
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.