Top Fields Constructors Methods
org.apache.pdfbox.debugger.ui.textsearcher

pack-priv Class SearchPanel

extends Object
Class Inheritance
Imports
java.awt.Color, .Dimension, java.awt.event.ActionEvent, .ComponentListener, .KeyEvent, javax.swing.AbstractAction, .Action, .BorderFactory, .Box, .BoxLayout, .JButton, .JCheckBox, .JComponent, .JLabel, .JPanel, .JTextField, .KeyStroke, javax.swing.event.ChangeListener, .DocumentListener, org.apache.pdfbox.debugger.PDFDebugger

Author
Khyrul Bashar A class that provides the search pane.

Field Summary

Modifier and TypeField and Description
private JCheckBox
private final Action
private JLabel
private final Action
private final Action
private JPanel
private final Action
private JTextField

Constructor Summary

AccessConstructor and Description
pack-priv
SearchPanel(DocumentListener
DocumentListener instance.
documentListener
,
ChangeListener
ChangeListener instance.
changeListener
,
ComponentListener
ComponentListener instance.
compListener
,
Action
Action instance for next find.
nextAction
,
Action
Action instance for previous find.
previousAction
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public void
pack-priv JPanel
pack-priv String
private void
initUI(DocumentListener documentListener, ChangeListener changeListener, ComponentListener compListener)

pack-priv boolean
public void
public void
pack-priv void
pack-priv void
updateCounterLabel(int now, int total)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

caseSensitiveback to summary
private JCheckBox caseSensitive
closeActionback to summary
private final Action closeAction
counterLabelback to summary
private JLabel counterLabel
findActionback to summary
private final Action findAction
nextActionback to summary
private final Action nextAction
panelback to summary
private JPanel panel
previousActionback to summary
private final Action previousAction
searchFieldback to summary
private JTextField searchField

Constructor Detail

SearchPanelback to summary
pack-priv SearchPanel(DocumentListener documentListener, ChangeListener changeListener, ComponentListener compListener, Action nextAction, Action previousAction)

Constructor.

Parameters
documentListener:DocumentListener

DocumentListener instance.

changeListener:ChangeListener

ChangeListener instance.

compListener:ComponentListener

ComponentListener instance.

nextAction:Action

Action instance for next find.

previousAction:Action

Action instance for previous find.

Method Detail

addMenuListenersback to summary
public void addMenuListeners(PDFDebugger frame)
getPanelback to summary
pack-priv JPanel getPanel()
getSearchWordback to summary
pack-priv String getSearchWord()
initUIback to summary
private void initUI(DocumentListener documentListener, ChangeListener changeListener, ComponentListener compListener)
isCaseSensitiveback to summary
pack-priv boolean isCaseSensitive()
reFocusback to summary
public void reFocus()
removeMenuListenersback to summary
public void removeMenuListeners(PDFDebugger frame)
resetback to summary
pack-priv void reset()
updateCounterLabelback to summary
pack-priv void updateCounterLabel(int now, int total)