de.tobiasbudde.regedit.reg
Class RegExpSearcher

java.lang.Object
  extended by de.tobiasbudde.regedit.reg.RegExpSearcher

public class RegExpSearcher
extends java.lang.Object


Field Summary
protected  javax.swing.JCheckBox caseInsensitive
           
protected  javax.swing.JCheckBox dotAll
           
protected  javax.swing.JCheckBox multiLine
           
protected  javax.swing.JTextField searchPattern
           
protected  javax.swing.text.JTextComponent sourceText
           
 
Constructor Summary
RegExpSearcher(javax.swing.text.JTextComponent sourceText, javax.swing.JTextField searchPattern, javax.swing.JCheckBox caseInensitive, javax.swing.JCheckBox dotAll, javax.swing.JCheckBox multiLine, RegularListener regTrans)
           
 
Method Summary
 MatchResult getResults()
           
 SearchConfiguration getSearchConfiguration()
           
 void makeGreedy()
           
 void makeReluctant()
           
 void search()
          If the entered Pattern is not empty: Search for a word and return the offset of the first occurrence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceText

protected javax.swing.text.JTextComponent sourceText

searchPattern

protected javax.swing.JTextField searchPattern

caseInsensitive

protected javax.swing.JCheckBox caseInsensitive

dotAll

protected javax.swing.JCheckBox dotAll

multiLine

protected javax.swing.JCheckBox multiLine
Constructor Detail

RegExpSearcher

public RegExpSearcher(javax.swing.text.JTextComponent sourceText,
                      javax.swing.JTextField searchPattern,
                      javax.swing.JCheckBox caseInensitive,
                      javax.swing.JCheckBox dotAll,
                      javax.swing.JCheckBox multiLine,
                      RegularListener regTrans)
Method Detail

search

public void search()
If the entered Pattern is not empty: Search for a word and return the offset of the first occurrence. Highlights are added for all occurrences found.


getResults

public MatchResult getResults()

getSearchConfiguration

public SearchConfiguration getSearchConfiguration()

makeGreedy

public void makeGreedy()

makeReluctant

public void makeReluctant()


Copyright © 2008 tobiasbudde.de. All Rights Reserved.