com.tensegrity.gui.printing
Interface PrintContext

All Known Implementing Classes:
SwingPrintContext, SwtPrintContext

public interface PrintContext

The PrintContext class defines settings for print operations inside the Tensegrity API. *

Version:
$Id: PrintContext.java,v 1.3 2006/04/05 14:43:19 BurkhardWick Exp $
Author:
Arnd Houben

Method Summary
 BasePageFormat getPageFormat(BasePageFormat bpf)
          Returns a new BasePageFormat instance based on the given BasePageFormat object.
 BasePageFormat getPageFormat(java.lang.String paperName)
          Returns a BasePageFormat instance specified by the given paper name.
 

Method Detail

getPageFormat

public BasePageFormat getPageFormat(java.lang.String paperName)
Returns a BasePageFormat instance specified by the given paper name.

Parameters:
paperName - a name which marks a page format
Returns:
an instance of the corresponding BasePageFormat

getPageFormat

public BasePageFormat getPageFormat(BasePageFormat bpf)
Returns a new BasePageFormat instance based on the given BasePageFormat object.

Parameters:
bpf - a BasePageFormat
Returns:
a new BasePageFormat instance based on the specified parameter


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.