private static AbstractConnectionText textFor( PathedGraphConnection connection, int i, float j ) {
		switch( i ){
			case 0:
				return positionTest( connection, j );
			case 1:
				return distanceTest( connection, j );
			case 2:
				return shiftTest( connection, j );
			case 3:
				return angleTest( connection, j );
			case 4:
				return multiTest( connection, j );
			case 5:
				return distanceUpwardsTest( connection, j );
			case 6:
				return angleParallelTest( connection, j );
			case 7:
				return goodLocation( connection, j );
			default:
				throw new IllegalArgumentException();
		}
	}