JavaScript is disabled on your browser.
Skip navigation links
Java™ Platform
Standard Ed. 8
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
javax.print.attribute

Interface Attribute

    • Method Summary

      All Methods
      Modifier and Type Method Description
      Class<? extends Attribute> 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.
      String getName ()
      Get the name of the category of which this attribute value is an instance.
    • Method Detail

      • getCategory

        Class<? extends Attribute> 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

        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.
Skip navigation links
Java™ Platform
Standard Ed. 8
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.

AltStyle によって変換されたページ (->オリジナル) /