Class CheckModelSize


  • public class CheckModelSize
    extends java.lang.Object
    Class that checks the size, zoom, and location of a model.
    Since:
    Ptolemy II 5.2
    Version:
    $Id$
    Author:
    Rowland R Johnson
    Pt.AcceptedRating:
    Red (rowland)
    Pt.ProposedRating:
    Red (rowland)
    • Constructor Summary

      Constructors 
      Constructor Description
      CheckModelSize()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String checkModelSize​(Configuration configuration, java.lang.String[] args)
      Check the size, zoom and location of the models named by the args.
      static void main​(java.lang.String[] args)
      Check the size, zoom and location of the models named by the args.
      • Methods inherited from class java.lang.Object

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

      • CheckModelSize

        public CheckModelSize()
    • Method Detail

      • checkModelSize

        public static java.lang.String checkModelSize​(Configuration configuration,
                                                      java.lang.String[] args)
                                               throws java.lang.Exception
        Check the size, zoom and location of the models named by the args.
        Parameters:
        configuration - The optional configuration to check.
        args - An array of Strings naming the models to be checked.
        Returns:
        HTML that describes possible problems with the models.
        Throws:
        java.lang.Exception - If there is a problem reading a model.
      • main

        public static void main​(java.lang.String[] args)
        Check the size, zoom and location of the models named by the args.
        Parameters:
        args - An array of Strings naming the models to be checked.