Module java.desktop

Interface Attribute

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      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.
      StringgetName()
      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

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部