Package com.inet.viewer.print
Class FormPrint
- java.lang.Object
-
- com.inet.viewer.print.FormPrint
-
- All Implemented Interfaces:
java.io.Serializable
,javax.print.attribute.Attribute
,javax.print.attribute.DocAttribute
,javax.print.attribute.PrintJobAttribute
,javax.print.attribute.PrintRequestAttribute
public class FormPrint extends java.lang.Object implements javax.print.attribute.DocAttribute, javax.print.attribute.PrintRequestAttribute, javax.print.attribute.PrintJobAttribute
This attribute signals the print dialog to enable the flag "Form Print".- Since:
- 8.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormPrint()
Creates the form print attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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.- Specified by:
getCategory
in interfacejavax.print.attribute.Attribute
- Returns:
- Printing attribute class (category), an instance of class
java.lang.Class
. - Since:
- 8.0
-
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 thegetName()
method.- Specified by:
getName
in interfacejavax.print.attribute.Attribute
- Returns:
- Attribute category name.
- Since:
- 8.0
-
-