|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.krysalis.barcode4j.output.AbstractCanvasProvider org.krysalis.barcode4j.output.AbstractXMLGeneratingCanvasProvider
public abstract class AbstractXMLGeneratingCanvasProvider
Abstract base class that provides some commonly used methods for generating XML representations of barcodes.
Field Summary |
---|
Fields inherited from class org.krysalis.barcode4j.output.AbstractCanvasProvider |
---|
bardim |
Constructor Summary | |
---|---|
AbstractXMLGeneratingCanvasProvider(int orientation)
|
Method Summary | |
---|---|
protected java.lang.String |
addUnit(double value)
Formats a value and adds the unit specifier at the end. |
protected java.text.DecimalFormat |
getDecimalFormat()
Returns the DecimalFormat instance to use internally to format numbers. |
Methods inherited from class org.krysalis.barcode4j.output.AbstractCanvasProvider |
---|
deviceCenteredText, deviceJustifiedText, establishDimensions, getDimensions, getOrientation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.krysalis.barcode4j.output.CanvasProvider |
---|
deviceFillRect, deviceText |
Constructor Detail |
---|
public AbstractXMLGeneratingCanvasProvider(int orientation)
Method Detail |
---|
protected java.text.DecimalFormat getDecimalFormat()
protected java.lang.String addUnit(double value)
value
- the value to format
|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |