Class GlobalConsole

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.swing.JButton clean  
      private static GlobalConsole console  
      private boolean first  
      private javax.swing.JFrame frame  
      private org.fife.ui.rsyntaxtextarea.RSyntaxTextArea log  
    • Constructor Summary

      Constructors 
      Constructor Description
      GlobalConsole()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMessage​(java.util.logging.Level level, java.lang.String s)  
      void addMessage​(java.util.logging.Level level, java.lang.String format, java.lang.Object... args)  
      private java.lang.String[] getAllLexers()  
      static GlobalConsole getConsole()  
      java.lang.String getText()  
      private Logger.Level levelToLevel​(java.util.logging.Level level)  
      void setText​(java.lang.String s)  
      void show()  
      private java.lang.String stamp()  
      private java.lang.String tail​(java.lang.String s)  
      • Methods inherited from class java.lang.Object

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

      • log

        private final org.fife.ui.rsyntaxtextarea.RSyntaxTextArea log
      • clean

        private final javax.swing.JButton clean
      • frame

        private final javax.swing.JFrame frame
      • first

        private boolean first
    • Constructor Detail

      • GlobalConsole

        public GlobalConsole()
    • Method Detail

      • getAllLexers

        private java.lang.String[] getAllLexers()
                                         throws java.lang.IllegalAccessException
        Throws:
        java.lang.IllegalAccessException
      • show

        public void show()
      • stamp

        private java.lang.String stamp()
      • tail

        private java.lang.String tail​(java.lang.String s)
      • levelToLevel

        private Logger.Level levelToLevel​(java.util.logging.Level level)
      • addMessage

        public void addMessage​(java.util.logging.Level level,
                               java.lang.String s)
        Specified by:
        addMessage in interface io.github.mkoncek.classpathless.api.MessagesListener
      • addMessage

        public void addMessage​(java.util.logging.Level level,
                               java.lang.String format,
                               java.lang.Object... args)
        Specified by:
        addMessage in interface io.github.mkoncek.classpathless.api.MessagesListener