i-net Clear Reports

com.inet.viewer.print
Class Transparency

java.lang.Object
  extended by com.inet.viewer.print.Transparency
All Implemented Interfaces:
java.io.Serializable, javax.print.attribute.Attribute, javax.print.attribute.DocAttribute, javax.print.attribute.PrintJobAttribute, javax.print.attribute.PrintRequestAttribute

public class Transparency
extends java.lang.Object
implements javax.print.attribute.DocAttribute, javax.print.attribute.PrintRequestAttribute, javax.print.attribute.PrintJobAttribute

This attribute signals the PrinterJobProgress to include transparent colors in printing. By default, transparent colors are disabled. This means transparent colors are added manually to the background color of the section. With transparent colors disabled, the print job is faster, the spool file size is smaller and the print quality is better. But you will not see things behind objects with transparent colors.

See Also:
PrinterJobProgress, Serialized Form

Constructor Summary
Transparency()
          Creates transparency attribute.
 
Method Summary
 java.lang.Class getCategory()
          Get the printing attribute class which is to be used as the "category" for this printing attribute value when it is added to an attribute set.
 java.lang.String getName()
          Get the name of the category of which this attribute value is an instance.
 

Constructor Detail

Transparency

public Transparency()
Creates transparency attribute.

Method Detail

getCategory

public java.lang.Class getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value when it is added to an attribute set.

Returns:
Printing attribute class (category), an instance of class java.lang.Class.

getName

public java.lang.String getName()
Get the name of the category of which this attribute value is an instance.

Note: This method is intended to provide a default, nonlocalized string for the attribute's category. If two attribute objects return the same category from the getCategory() method, they should return the same name from the getName() method.

Returns:
Attribute category name.

i-net Clear Reports

Copyright © 1999-2011 by i-net software GmbH