edu.ucla.stat.SOCR.analyses.util.utils
Class BoxFont

java.lang.Object
  extended by edu.ucla.stat.SOCR.analyses.util.utils.BoxFont

public class BoxFont
extends java.lang.Object

MultiDendrograms

Calculation of width and height of text

Since:
JDK 6.0
Author:
Justo Montiel, David Torres, Sergio Gómez, Alberto Fernández

Constructor Summary
BoxFont(java.awt.Font font)
           
 
Method Summary
 Dimensions<java.lang.Double> getBox(double angle, java.lang.String s)
           
 Dimensions<java.lang.Double> getBoxNumberEnters(double angle, int num_ent, int num_dec)
           
 Dimensions<java.lang.Double> getBoxNumberNatural(double angle, int num_ent, int num_dec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoxFont

public BoxFont(java.awt.Font font)
Method Detail

getBox

public Dimensions<java.lang.Double> getBox(double angle,
                                           java.lang.String s)

getBoxNumberNatural

public Dimensions<java.lang.Double> getBoxNumberNatural(double angle,
                                                        int num_ent,
                                                        int num_dec)

getBoxNumberEnters

public Dimensions<java.lang.Double> getBoxNumberEnters(double angle,
                                                       int num_ent,
                                                       int num_dec)