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 TypeMethodDescriptionvoid
addMenuListeners
(PDFDebugger frame) (package private) JPanel
getPanel()
(package private) String
private void
initUI
(DocumentListener documentListener, ChangeListener changeListener, ComponentListener compListener) (package private) boolean
void
reFocus()
void
removeMenuListeners
(PDFDebugger frame) (package private) void
reset()
(package private) void
updateCounterLabel
(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
-