net.sourceforge.barbecue.env
Class HeadlessEnvironment
java.lang.Object
net.sourceforge.barbecue.env.HeadlessEnvironment
- All Implemented Interfaces:
- Environment
public final class HeadlessEnvironment
- extends Object
- implements Environment
An environment used when the machine running barbecue is in
headless mode, ie no monitor or windowing system.
- Author:
- Ian Bourke
Field Summary |
static int |
DEFAULT_RESOLUTION
The default output resolution (in DPI) for barcodes in headless mode. |
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_RESOLUTION
public static final int DEFAULT_RESOLUTION
- The default output resolution (in DPI) for barcodes in headless mode.
- See Also:
- Constant Field Values
HeadlessEnvironment
public HeadlessEnvironment()
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:
- null
Copyright © 2003-2011 barbecue.sourceforge.net. All Rights Reserved.