Package hec.client

Class FindTextJDialog

All Implemented Interfaces:
ComponentListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, Modifiable

public class FindTextJDialog extends RmaJDialog
basic implementation of a Find dialog.
See Also:
  • Field Details

  • Constructor Details

    • FindTextJDialog

      public FindTextJDialog(JDialog parent, boolean modal)
    • FindTextJDialog

      public FindTextJDialog(Frame parent, boolean modal)
  • Method Details

    • getSearchDirection

      public int getSearchDirection()
      return the search direction, either NONE, NEXT or PREV
    • isCanceled

      public boolean isCanceled()
      returns whether this dialog was canceled
    • isMatchCase

      public boolean isMatchCase()
      return whether the Match Case check box is selected
    • isWrapAround

      public boolean isWrapAround()
      return whether the Wrap Around check box is selected
    • setMatchCase

      public void setMatchCase(boolean b)
      set the Match Case check box selection status
    • setWrapAround

      public void setWrapAround(boolean b)
      set the Wrap Around check box selection status
    • getSearchText

      public String getSearchText()
      return the text to search for
    • setSearchText

      public void setSearchText(String s)
      set the default search text
    • setWrapAroundEnabled

      public void setWrapAroundEnabled(boolean enabled)
      set whether the wrap around checkbox is enabled
    • setMatchCaseEnabled

      public void setMatchCaseEnabled(boolean enabled)
      set whether the match case checkbox is enabled
    • main

      public static void main(String[] args)