Class FormPrint

java.lang.Object
com.inet.viewer.print.FormPrint
All Implemented Interfaces:
Serializable, Attribute, DocAttribute, PrintJobAttribute, PrintRequestAttribute

public class FormPrint extends Object implements DocAttribute, PrintRequestAttribute, PrintJobAttribute
This attribute signals the print dialog to enable the flag "Form Print".
Since:
8.0
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates the form print attribute.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    Get the name of the category of which this attribute value is an instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FormPrint

      public FormPrint()
      Creates the form print attribute.
      Since:
      8.0
  • Method Details

    • getCategory

      public 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 interface Attribute
      Returns:
      Printing attribute class (category), an instance of class java.lang.Class.
      Since:
      8.0
    • getName

      public 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.

      Specified by:
      getName in interface Attribute
      Returns:
      Attribute category name.
      Since:
      8.0