uavsim.graphics.instruments.test
Class AllInstrumentsTest

java.lang.Object
  extended by uavsim.graphics.instruments.test.AllInstrumentsTest

public class AllInstrumentsTest
extends java.lang.Object

Defines a combined test of all instruments.

Author:
Dan Tappan [06.27.11]

Constructor Summary
AllInstrumentsTest()
           
 
Method Summary
private static java.awt.Point calculateLocation(int size, int row, int column)
          Calculates the screen coordinate of the instrument frame.
static void main(java.lang.String[] arguments)
          Runs all instrument tests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllInstrumentsTest

public AllInstrumentsTest()
Method Detail

calculateLocation

private static java.awt.Point calculateLocation(int size,
                                                int row,
                                                int column)
Calculates the screen coordinate of the instrument frame.

Parameters:
size - - the instrument size in pixels
row - - the zero-based row index in the grid of instruments
column - - the zero-based column index in the grid of instruments
Returns:
the coordinate

main

public static void main(java.lang.String[] arguments)
Runs all instrument tests.

Parameters:
arguments - - any command-line arguments, which are ignored