net.sourceforge.barbecue.env
Class DefaultEnvironment
java.lang.Object
net.sourceforge.barbecue.env.DefaultEnvironment
- All Implemented Interfaces:
- Environment
public final class DefaultEnvironment
- extends Object
- implements Environment
An environment that represents machines that have access to the
windowing system or output device.
- Author:
- Ian Bourke
Field Summary |
static Font |
DEFAULT_FONT
The default font for drawing the barcode data underneath the bars |
Method Summary |
Font |
getDefaultFont()
Returns the default font for the environment. |
int |
getResolution()
Returns the environment determined resolution for
outputting barcodes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_FONT
public static final Font DEFAULT_FONT
- The default font for drawing the barcode data underneath the bars
DefaultEnvironment
public DefaultEnvironment()
getResolution
public int getResolution()
- Returns the environment determined resolution for
outputting barcodes.
- Specified by:
getResolution
in interface Environment
- Returns:
- The resolution for the environment
getDefaultFont
public Font getDefaultFont()
- Returns the default font for the environment.
- Specified by:
getDefaultFont
in interface Environment
- Returns:
- The default font for the environment
Copyright © 2003-2011 barbecue.sourceforge.net. All Rights Reserved.