Class SearchPanel
java.lang.Object
org.apache.pdfbox.debugger.ui.textsearcher.SearchPanel
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSearchPanel(DocumentListener documentListener, ChangeListener changeListener, ComponentListener compListener, Action nextAction, Action previousAction) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMenuListeners(PDFDebugger frame) (package private) JPanelgetPanel()(package private) Stringprivate voidinitUI(DocumentListener documentListener, ChangeListener changeListener, ComponentListener compListener) (package private) booleanvoidreFocus()voidremoveMenuListeners(PDFDebugger frame) (package private) voidreset()(package private) voidupdateCounterLabel(int now, int total)
-
Field Details
-
nextAction
-
previousAction
-
caseSensitive
-
searchField
-
counterLabel
-
panel
-
closeAction
-
findAction
-
-
Constructor Details
-
SearchPanel
SearchPanel(DocumentListener documentListener, ChangeListener changeListener, ComponentListener compListener, Action nextAction, Action previousAction) Constructor.- Parameters:
documentListener- DocumentListener instance.changeListener- ChangeListener instance.compListener- ComponentListener instance.nextAction- Action instance for next find.previousAction- Action instance for previous find.
-
-
Method Details
-
initUI
private void initUI(DocumentListener documentListener, ChangeListener changeListener, ComponentListener compListener) -
isCaseSensitive
boolean isCaseSensitive() -
getSearchWord
String getSearchWord() -
reset
void reset() -
updateCounterLabel
void updateCounterLabel(int now, int total) -
getPanel
JPanel getPanel() -
reFocus
public void reFocus() -
addMenuListeners
-
removeMenuListeners
-