Class PatternPanelController


  • public class PatternPanelController
    extends java.lang.Object
    Controller for a simple regex editing dialog.
    • Constructor Summary

      Constructors 
      Constructor Description
      PatternPanelController​(java.util.regex.Pattern pattern)
      Create the controller with the initial pattern.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.regex.Pattern show​(java.awt.Window parent)
      Show the dialog.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PatternPanelController

        public PatternPanelController​(java.util.regex.Pattern pattern)
        Create the controller with the initial pattern.
        Parameters:
        pattern - The pattern to be shown in the editing area
    • Method Detail

      • show

        public java.util.regex.Pattern show​(java.awt.Window parent)
        Show the dialog. The dialog is modal, so this method will block until complete.
        Parameters:
        parent - The parent window of the dialog
        Returns:
        The result of editing