net.sourceforge.barbecue.env
Interface Environment

All Known Implementing Classes:
DefaultEnvironment, HeadlessEnvironment, NonAWTEnvironment

public interface Environment

Provides a way of accessing operating environment specific information that is used in processing or displaying barcodes.

Author:
Ian Bourke

Method Summary
 java.awt.Font getDefaultFont()
          Returns the default font for the environment.
 int getResolution()
          Returns the environment determined resolution for outputting barcodes.
 

Method Detail

getResolution

public int getResolution()
Returns the environment determined resolution for outputting barcodes.

Returns:
The resolution for the environment

getDefaultFont

public java.awt.Font getDefaultFont()
Returns the default font for the environment. This is included mostly to get around problems with font initialisation on certain VMs in a headless environment.

Returns:
The default font for the environment


Copyright © 2003-2007 barbecue.sourceforge.net. All Rights Reserved.