public abstract class FindAction
extends javax.swing.AbstractAction
implements javax.swing.event.DocumentListener, java.awt.event.KeyListener, java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
protected boolean |
controlDown |
protected boolean |
metaDown |
protected boolean |
shiftDown |
Constructor and Description |
---|
FindAction(javax.swing.JComponent comp,
boolean startAtKeytype) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae) |
protected abstract boolean |
changed(javax.swing.JComponent comp,
java.lang.String text,
javax.swing.text.Position.Bias bias) |
void |
changedUpdate(javax.swing.event.DocumentEvent e) |
javax.swing.JComponent |
getComponent() |
protected javax.swing.JLabel |
getMessageLabel() |
protected javax.swing.JTextField |
getSearchField() |
protected java.lang.Thread |
getThread() |
protected int |
getWaitTime() |
protected void |
initSearch(java.awt.event.ActionEvent ae) |
void |
insertUpdate(javax.swing.event.DocumentEvent e) |
void |
installKeyListener(java.awt.Component comp) |
protected boolean |
isBlockAutoClosing() |
boolean |
isIgnoreCase() |
void |
keyPressed(java.awt.event.KeyEvent ke) |
void |
keyReleased(java.awt.event.KeyEvent e) |
void |
keyTyped(java.awt.event.KeyEvent e) |
void |
next()
Go to the next match
|
void |
prev()
Go to the previous match
|
void |
removeUpdate(javax.swing.event.DocumentEvent e) |
protected void |
reset() |
protected void |
setBlockAutoClosing(boolean value) |
void |
setIgnoreCase(boolean ignoreCase) |
protected void |
setWaitTime(int value) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
protected boolean shiftDown
protected boolean controlDown
protected boolean metaDown
public FindAction(javax.swing.JComponent comp, boolean startAtKeytype)
protected void setBlockAutoClosing(boolean value)
protected boolean isBlockAutoClosing()
protected java.lang.Thread getThread()
protected int getWaitTime()
protected void setWaitTime(int value)
protected javax.swing.JLabel getMessageLabel()
protected void reset()
public void prev()
public void next()
public boolean isIgnoreCase()
public void setIgnoreCase(boolean ignoreCase)
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed
in interface java.awt.event.ActionListener
protected void initSearch(java.awt.event.ActionEvent ae)
protected abstract boolean changed(javax.swing.JComponent comp, java.lang.String text, javax.swing.text.Position.Bias bias)
public void insertUpdate(javax.swing.event.DocumentEvent e)
insertUpdate
in interface javax.swing.event.DocumentListener
public void removeUpdate(javax.swing.event.DocumentEvent e)
removeUpdate
in interface javax.swing.event.DocumentListener
public void changedUpdate(javax.swing.event.DocumentEvent e)
changedUpdate
in interface javax.swing.event.DocumentListener
public void keyPressed(java.awt.event.KeyEvent ke)
keyPressed
in interface java.awt.event.KeyListener
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
protected javax.swing.JTextField getSearchField()
public javax.swing.JComponent getComponent()
public void installKeyListener(java.awt.Component comp)
TV-Browser 3.4.4, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)