Class AbstractAutomaton.MsgFrame

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) javax.swing.JTextArea mArea  
      (package private) javax.swing.JButton mButton  
      (package private) javax.swing.JFrame mFrame  
      (package private) java.lang.String mMessage  
      (package private) boolean mPause  
      (package private) boolean mShow  
    • Constructor Summary

      Constructors 
      Constructor Description
      MsgFrame()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void format()
      Abstract method to handle formatting of the text on a show
      void hide()  
      void run()  
      void show​(java.lang.String pMessage, boolean pPause)
      Show a message in the message frame, and optionally wait for the user to acknowledge.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • hide

        public void hide()
      • show

        public void show​(java.lang.String pMessage,
                         boolean pPause)
        Show a message in the message frame, and optionally wait for the user to acknowledge.
        Parameters:
        pMessage - the message to show
        pPause - true if this automaton should wait for user acknowledgment; false otherwise
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • format

        protected void format()
        Abstract method to handle formatting of the text on a show