JavaTM Platform
Standard Ed. 6

インタフェース
javax.print.attribute.PrintRequestAttributeSet の使用

PrintRequestAttributeSet を使用しているパッケージ
java.awt.print このパッケージは、汎用印刷 API で使用するクラスおよびインタフェースを提供します。 
javax.print JavaTM Print Service API の主要なクラスおよびインタフェースを提供します。 
javax.print.attribute JavaTM Print Service の属性の型とそれらが属性セットに収集される方法を記述するクラスとインスタンスを提供します。 
javax.swing すべてのプラットフォームで可能なかぎり同じように機能する「軽量」(Java 共通言語) コンポーネントのセットを提供します。 
javax.swing.text 編集可能なテキストコンポーネントと編集不能なテキストコンポーネントを処理するクラスとインタフェースを提供します。 
 

java.awt.print での PrintRequestAttributeSet の使用
 

PrintRequestAttributeSet 型のパラメータを持つ java.awt.print のメソッド
 PageFormat PrinterJob.getPageFormat(PrintRequestAttributeSet attributes)
          このジョブの現在の PrintService でサポートされる値と一致する値 (つまり、getPrintService() で返される値)、および attributes に格納されたメディア、印刷可能領域、印刷方向を使用して、PageFormat を計算します。
 PageFormat PrinterJob.pageDialog(PrintRequestAttributeSet attributes)
          共通プラットフォームのページ設定ダイアログを表示する簡易メソッドです。
 void PrinterJob.print(PrintRequestAttributeSet attributes)
          属性セットの設定を使用してページのセットを印刷します。
 boolean PrinterJob.printDialog(PrintRequestAttributeSet attributes)
          共通プラットフォームのすべてのサービスに対する印刷ダイアログを表示する簡易メソッドです。
 

javax.print での PrintRequestAttributeSet の使用
 

PrintRequestAttributeSet 型のパラメータを持つ javax.print のメソッド
 void DocPrintJob.print(Doc doc, PrintRequestAttributeSet attributes)
          ドキュメントを指定されたジョブ属性で印刷します。
 void MultiDocPrintJob.print(MultiDoc multiDoc, PrintRequestAttributeSet attributes)
          指定されたジョブ属性で MultiDoc を印刷します。
static PrintService ServiceUI.printDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes)
          印刷サービス (プリンタ) 選択用ダイアログをユーザーに提供します。
 

javax.print.attribute での PrintRequestAttributeSet の使用
 

PrintRequestAttributeSet を実装している javax.print.attribute のクラス
 class HashPrintRequestAttributeSet
          HashPrintRequestAttributeSet クラスは、その実装を HashAttributeSet クラスから継承し、PrintRequestAttributeSet インタフェースの意味上の制限を適用します。
 

PrintRequestAttributeSet を返す javax.print.attribute のメソッド
static PrintRequestAttributeSet AttributeSetUtilities.synchronizedView(PrintRequestAttributeSet attributeSet)
          指定された印刷要求の属性セットの同期ビューを作成します。
static PrintRequestAttributeSet AttributeSetUtilities.unmodifiableView(PrintRequestAttributeSet attributeSet)
          指定された印刷要求の属性セットの変更不可能なビューを作成します。
 

PrintRequestAttributeSet 型のパラメータを持つ javax.print.attribute のメソッド
static PrintRequestAttributeSet AttributeSetUtilities.synchronizedView(PrintRequestAttributeSet attributeSet)
          指定された印刷要求の属性セットの同期ビューを作成します。
static PrintRequestAttributeSet AttributeSetUtilities.unmodifiableView(PrintRequestAttributeSet attributeSet)
          指定された印刷要求の属性セットの変更不可能なビューを作成します。
 

PrintRequestAttributeSet 型のパラメータを持つ javax.print.attribute のコンストラクタ
HashPrintRequestAttributeSet(PrintRequestAttributeSet attributes)
          初期状態で指定されたセットの値で生成された属性セットの新しい空の属性セットを構築します。
 

javax.swing での PrintRequestAttributeSet の使用
 

PrintRequestAttributeSet 型のパラメータを持つ javax.swing のメソッド
 boolean JTable.print(JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintRequestAttributeSet attr, boolean interactive)
          完全指定の print メソッドで指定されたように、印刷サービスとして指定されたデフォルトプリンタを使って、このテーブルを印刷します。
 boolean JTable.print(JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintRequestAttributeSet attr, boolean interactive, PrintService service)
          この JTable を印刷します。
 

javax.swing.text での PrintRequestAttributeSet の使用
 

PrintRequestAttributeSet 型のパラメータを持つ javax.swing.text のメソッド
 boolean JTextComponent.print(MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintService service, PrintRequestAttributeSet attributes, boolean interactive)
          この JTextComponent の内容を印刷します。
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。