Class PrintRoutes


  • public class PrintRoutes
    extends java.lang.Object
    Prints a summary of a route or all routes.

    This uses the older style printing, for compatibility with Java 1.1.8 in Macintosh MRJ

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) boolean _isPreview  
      (package private) static java.lang.String NEW_LINE  
      (package private) static java.lang.String SPACE  
      (package private) static java.lang.String TAB  
    • Constructor Summary

      Constructors 
      Constructor Description
      PrintRoutes​(boolean isPreview)
      Prints or previews a summary of all routes
      PrintRoutes​(boolean isPreview, Route route)
      Prints or previews a summary of a route
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • PrintRoutes

        public PrintRoutes​(boolean isPreview)
        Prints or previews a summary of all routes
        Parameters:
        isPreview - true if print preview
      • PrintRoutes

        public PrintRoutes​(boolean isPreview,
                           Route route)
        Prints or previews a summary of a route
        Parameters:
        isPreview - true if print preview
        route - The route to be printed