Adempiere 3.4.0s

org.posterita.util
Class AbstractPrintFormatter

java.lang.Object
  extended by org.posterita.util.AbstractPrintFormatter
All Implemented Interfaces:
IPrintFormatter
Direct Known Subclasses:
TMKInvoicePrintFormatter, TMKOrderPrintFormatter

public abstract class AbstractPrintFormatter
extends Object
implements IPrintFormatter

Author:
alok

Field Summary
protected  String _footerMessage
           
protected  int _halfLineWidth
           
protected  String _lineBottom
           
protected  String _lineTop
           
protected  int _lineWidth
           
protected  boolean _priceWithVat
           
protected  boolean _showBarcode
           
protected  boolean _showDiscount
           
protected  boolean _showFooter
           
protected  boolean _showLogo
           
protected  String trxName
           
 
Constructor Summary
AbstractPrintFormatter(String args)
           
 
Method Summary
 String getArgumentValue(String argumentName)
           
 void initFormatter()
           
protected  void setArgumentValue(String argumentName, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.posterita.util.IPrintFormatter
format
 

Field Detail

_lineWidth

protected int _lineWidth

_halfLineWidth

protected int _halfLineWidth

_lineTop

protected String _lineTop

_lineBottom

protected String _lineBottom

_showLogo

protected boolean _showLogo

_showBarcode

protected boolean _showBarcode

_showDiscount

protected boolean _showDiscount

_showFooter

protected boolean _showFooter

_priceWithVat

protected boolean _priceWithVat

_footerMessage

protected String _footerMessage

trxName

protected String trxName
Constructor Detail

AbstractPrintFormatter

public AbstractPrintFormatter(String args)
Method Detail

getArgumentValue

public String getArgumentValue(String argumentName)

setArgumentValue

protected void setArgumentValue(String argumentName,
                                String value)
                         throws OperationException
Throws:
OperationException

initFormatter

public void initFormatter()

Adempiere 3.4.0s

AdemPiere