org.hccp.image
Class NumberLabelFactory

java.lang.Object
  |
  +--org.hccp.image.NumberLabelFactory

public class NumberLabelFactory
extends java.lang.Object


Field Summary
static int ALIGN_CENTER
           
static int ALIGN_LEFT
           
static int ALIGN_RIGHT
           
 
Constructor Summary
NumberLabelFactory()
           
 
Method Summary
static java.awt.Image getNumberLabel(int number, int pixelWidth, int pixelHeight)
           
static java.awt.Image getNumberLabel(int number, int pixelWidth, int pixelHeight, java.awt.Color backGround, java.awt.Color foreGround)
           
static java.awt.Image getNumberLabel(int number, int pixelWidth, int pixelHeight, java.awt.Color backGround, java.awt.Color foreGround, int alignment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALIGN_CENTER

public static final int ALIGN_CENTER
See Also:
Constant Field Values

ALIGN_RIGHT

public static final int ALIGN_RIGHT
See Also:
Constant Field Values

ALIGN_LEFT

public static final int ALIGN_LEFT
See Also:
Constant Field Values
Constructor Detail

NumberLabelFactory

public NumberLabelFactory()
Method Detail

getNumberLabel

public static java.awt.Image getNumberLabel(int number,
                                            int pixelWidth,
                                            int pixelHeight)

getNumberLabel

public static java.awt.Image getNumberLabel(int number,
                                            int pixelWidth,
                                            int pixelHeight,
                                            java.awt.Color backGround,
                                            java.awt.Color foreGround)

getNumberLabel

public static java.awt.Image getNumberLabel(int number,
                                            int pixelWidth,
                                            int pixelHeight,
                                            java.awt.Color backGround,
                                            java.awt.Color foreGround,
                                            int alignment)