public class TextComponentFindAction extends FindAction implements FocusListener, ComponentListener
controlDown, metaDown, shiftDown
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
TextComponentFindAction(JTextComponent comp) |
TextComponentFindAction(JTextComponent comp,
boolean startAtKeyType) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
changed(JComponent comp,
String str,
Position.Bias bias) |
void |
componentHidden(ComponentEvent e) |
void |
componentMoved(ComponentEvent e) |
void |
componentResized(ComponentEvent e) |
void |
componentShown(ComponentEvent e) |
void |
focusGained(FocusEvent e) |
void |
focusLost(FocusEvent e) |
JButton |
getCloseButton() |
protected int |
getNextMatch(JTextComponent textComp,
String str,
int startingOffset,
Position.Bias bias) |
JPanel |
getSearchBar() |
JTextComponent |
getTextComponent() |
protected void |
initSearch(ActionEvent ae) |
void |
interrupt()
Interrupts the closing Thread.
|
boolean |
isAlwaysVisible() |
void |
run()
Waits for closing of the panel.
|
void |
showSearchBar()
Shows the search bar
|
actionPerformed, changedUpdate, getComponent, getMessageLabel, getSearchField, getThread, getWaitTime, insertUpdate, installKeyListener, isBlockAutoClosing, isIgnoreCase, keyPressed, keyReleased, keyTyped, next, prev, removeUpdate, reset, setBlockAutoClosing, setIgnoreCase, setWaitTime
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public TextComponentFindAction(JTextComponent comp)
public TextComponentFindAction(JTextComponent comp, boolean startAtKeyType)
protected void initSearch(ActionEvent ae)
initSearch
in class FindAction
protected boolean changed(JComponent comp, String str, Position.Bias bias)
changed
in class FindAction
protected int getNextMatch(JTextComponent textComp, String str, int startingOffset, Position.Bias bias)
public void focusGained(FocusEvent e)
focusGained
in interface FocusListener
public void focusLost(FocusEvent e)
focusLost
in interface FocusListener
public JTextComponent getTextComponent()
public void componentHidden(ComponentEvent e)
componentHidden
in interface ComponentListener
public void componentMoved(ComponentEvent e)
componentMoved
in interface ComponentListener
public void componentResized(ComponentEvent e)
componentResized
in interface ComponentListener
public void componentShown(ComponentEvent e)
componentShown
in interface ComponentListener
public void interrupt()
public JPanel getSearchBar()
public void showSearchBar()
public boolean isAlwaysVisible()
public JButton getCloseButton()
TV-Browser 2.2.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)