Class SearchPanel

java.lang.Object
org.apache.pdfbox.debugger.ui.textsearcher.SearchPanel

class SearchPanel extends Object
  • Field Details

    • nextAction

      private final Action nextAction
    • previousAction

      private final Action previousAction
    • caseSensitive

      private JCheckBox caseSensitive
    • searchField

      private JTextField searchField
    • counterLabel

      private JLabel counterLabel
    • panel

      private JPanel panel
    • closeAction

      private Action closeAction
    • findAction

      private final Action 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

      public void addMenuListeners(PDFDebugger frame)
    • removeMenuListeners

      public void removeMenuListeners(PDFDebugger frame)