Environment (Barbecue 1.0.6d API)
Keywords: net.sourceforge.barbecue.env.Environment interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD