JComponentPack 1.5.0

com.zfqjava.swing
Class JTextFinder.AbstractFinder

java.lang.Object
  extended by com.zfqjava.swing.JTextFinder.AbstractFinder
Enclosing class:
JTextFinder

public abstract static class JTextFinder.AbstractFinder
extends Object

AbstractFinder handles the find and replace operation.

Since:
JComponentPack 1.4

Field Summary
protected  JTextFinder finder
           
 
Constructor Summary
JTextFinder.AbstractFinder()
           
 
Method Summary
protected abstract  Component[] createOptions()
          Creates the default options.
abstract  void findNext()
          Called by JTextFinder when the user hits the Find Next button.
 JTextFinder getTextFinder()
          Returns the JTextFinder.
 void install(JTextFinder finder)
          Install the AbstractFinder to JTextFinder.
abstract  void replace()
          Called by JTextFinder when the user hits the Replace button.
abstract  void replaceAll()
          Called by JTextFinder when the user hits the Replace All button.
 void uninstall(JTextFinder finder)
          Uninstall the AbstractFinder to JTextFinder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

finder

protected JTextFinder finder
Constructor Detail

JTextFinder.AbstractFinder

public JTextFinder.AbstractFinder()
Method Detail

install

public void install(JTextFinder finder)
Install the AbstractFinder to JTextFinder.

Parameters:
finder - the JTextFinder
See Also:
uninstall(com.zfqjava.swing.JTextFinder)

uninstall

public void uninstall(JTextFinder finder)
Uninstall the AbstractFinder to JTextFinder.

See Also:
install(com.zfqjava.swing.JTextFinder)

getTextFinder

public JTextFinder getTextFinder()
Returns the JTextFinder.

Returns:
the JTextFinder

findNext

public abstract void findNext()
Called by JTextFinder when the user hits the Find Next button.


replace

public abstract void replace()
Called by JTextFinder when the user hits the Replace button.


replaceAll

public abstract void replaceAll()
Called by JTextFinder when the user hits the Replace All button.


createOptions

protected abstract Component[] createOptions()
Creates the default options.


JComponentPack 1.5.0

Send your Feedback
JComponentPack 1.5.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.