Class Console

  • All Implemented Interfaces:
    IO

    public class Console
    extends java.lang.Object
    implements IO
    • Constructor Summary

      Constructors 
      Constructor Description
      Console​(javafx.scene.text.Text console)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void print​(java.lang.String text)
      Prints a message to an output.
      • Methods inherited from class java.lang.Object

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

      • Console

        public Console​(javafx.scene.text.Text console)
    • Method Detail

      • print

        public void print​(java.lang.String text)
        Description copied from interface: IO
        Prints a message to an output.
        Specified by:
        print in interface IO
        Parameters:
        text - message to be printed