at.gv.egiz.pdfas.api.sign.pos
Class SignaturePositioning

java.lang.Object
  extended byat.gv.egiz.pdfas.api.sign.pos.SignaturePositioning

public class SignaturePositioning
extends Object

Defines how the signature positioning is to be performed.

This positioning allows to select the location where the signature block is placed in the document.

Author:
wprinz

Field Summary
protected  float footerLine
          Provides the position of the footline.
protected  PageAlgorithm pageAlgorithm
          The page algorithm.
protected  AxisAlgorithm widthAlgorithm
          The width algorithm.
protected  AxisAlgorithm xAlgorithm
          The x axis algorithm.
protected  AxisAlgorithm yAlgorithm
          The y axis algorithm.
 
Constructor Summary
SignaturePositioning()
           
 
Method Summary
protected  void checkAxisAlgorithm(AxisAlgorithm algorithm)
           
protected  void checkPageAlgorithm(PageAlgorithm algorithm)
           
 float getFooterLine()
           
 PageAlgorithm getPageAlgorithm()
           
 AxisAlgorithm getWidthAlgorithm()
           
 AxisAlgorithm getXAlgorithm()
           
 AxisAlgorithm getYAlgorithm()
           
 void setFooterLine(float footerLine)
           
 void setPageAlgorithm(PageAlgorithm pageAlgorithm)
           
 void setWidthAlgorithm(AxisAlgorithm widthAlgorithm)
           
 void setXAlgorithm(AxisAlgorithm algorithm)
           
 void setYAlgorithm(AxisAlgorithm algorithm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xAlgorithm

protected AxisAlgorithm xAlgorithm
The x axis algorithm.

May be AutoAxisAlgorithm or AbsoluteAxisAlgorithm


yAlgorithm

protected AxisAlgorithm yAlgorithm
The y axis algorithm.

May be AutoAxisAlgorithm or AbsoluteAxisAlgorithm


widthAlgorithm

protected AxisAlgorithm widthAlgorithm
The width algorithm.

May be AutoAxisAlgorithm or AbsoluteAxisAlgorithm


pageAlgorithm

protected PageAlgorithm pageAlgorithm
The page algorithm.

May be AutoPageAlgorithm, AbsolutePageAlgorithm or NewPageAlgorithm


footerLine

protected float footerLine
Provides the position of the footline.

Only used if the pageAlgorithm is AutoPageAlgorithm and the yAlgorithm is AutoAxisAlgorithm

Constructor Detail

SignaturePositioning

public SignaturePositioning()
Method Detail

checkAxisAlgorithm

protected void checkAxisAlgorithm(AxisAlgorithm algorithm)

checkPageAlgorithm

protected void checkPageAlgorithm(PageAlgorithm algorithm)

getXAlgorithm

public AxisAlgorithm getXAlgorithm()
Returns:
the xAlgorithm

setXAlgorithm

public void setXAlgorithm(AxisAlgorithm algorithm)
Parameters:
algorithm - the xAlgorithm to set

getYAlgorithm

public AxisAlgorithm getYAlgorithm()
Returns:
the yAlgorithm

setYAlgorithm

public void setYAlgorithm(AxisAlgorithm algorithm)
Parameters:
algorithm - the yAlgorithm to set

getWidthAlgorithm

public AxisAlgorithm getWidthAlgorithm()
Returns:
the widthAlgorithm

setWidthAlgorithm

public void setWidthAlgorithm(AxisAlgorithm widthAlgorithm)
Parameters:
widthAlgorithm - the widthAlgorithm to set

getPageAlgorithm

public PageAlgorithm getPageAlgorithm()
Returns:
the pageAlgorithm

setPageAlgorithm

public void setPageAlgorithm(PageAlgorithm pageAlgorithm)
Parameters:
pageAlgorithm - the pageAlgorithm to set

getFooterLine

public float getFooterLine()
Returns:
the footerLine

setFooterLine

public void setFooterLine(float footerLine)
Parameters:
footerLine - the footerLine to set


Copyright © 2006-2010. All Rights Reserved.