public static class TextSearcher.TextWrapper
extends java.lang.Object
Constructor and Description |
---|
TextWrapper()
_more_
|
TextWrapper(javax.swing.text.JTextComponent comp)
_more_
|
Modifier and Type | Method and Description |
---|---|
boolean |
find(java.lang.String what,
boolean highlightAll,
boolean doCase,
boolean next)
_more_
|
javax.swing.text.JTextComponent |
getTextComponent()
_more_
|
void |
removeHighlights()
_more_
|
void |
resetToCurrentSearchIndex()
_more_
|
void |
setSearchIndex(java.awt.Point pt)
_more_
|
protected void |
setTextComponent(javax.swing.text.JTextComponent comp)
_more_
|
public TextWrapper()
public TextWrapper(javax.swing.text.JTextComponent comp)
comp
- _more_public javax.swing.text.JTextComponent getTextComponent()
protected void setTextComponent(javax.swing.text.JTextComponent comp)
comp
- _more_public void setSearchIndex(java.awt.Point pt)
pt
- _more_public void removeHighlights()
public void resetToCurrentSearchIndex()
public boolean find(java.lang.String what, boolean highlightAll, boolean doCase, boolean next)
what
- _more_highlightAll
- _more_doCase
- _more_next
- _more_