java.lang.Object
java.util.EventObject
javax.print.event.PrintEvent
javax.print.event.PrintServiceAttributeEvent
- すべての実装されたインタフェース:
- Serializable
public class PrintServiceAttributeEvent extends PrintEvent
PrintServiceAttributeEventクラスは、Print Serviceインスタンスが報告するイベントをカプセル化して、クライアントに印刷サービスの状態の変化を知らせます。- 関連項目:
- 直列化された形式
- 
フィールドのサマリー
- 
コンストラクタのサマリーコンストラクタ コンストラクタ 説明 PrintServiceAttributeEvent(PrintService source, PrintServiceAttributeSet attributes)PrintServiceAttributeEventオブジェクトを構築します。
- 
メソッドのサマリー修飾子と型 メソッド 説明 PrintServiceAttributeSetgetAttributes()変更された印刷サービス属性とその新しい値を判定します。PrintServicegetPrintService()印刷サービスを返します。
- 
コンストラクタの詳細- 
PrintServiceAttributeEventpublic PrintServiceAttributeEvent(PrintService source, PrintServiceAttributeSet attributes)PrintServiceAttributeEventオブジェクトを構築します。- パラメータ:
- source- このイベントを生成する印刷ジョブ
- attributes- 報告される属性変更
- 例外:
- IllegalArgumentException-- sourceが- nullである場合
 
 
- 
- 
メソッドの詳細- 
getPrintServicepublic PrintService getPrintService()印刷サービスを返します。- 戻り値:
- PrintServiceオブジェクト
 
- 
getAttributespublic PrintServiceAttributeSet getAttributes()変更された印刷サービス属性とその新しい値を判定します。- 戻り値:
- 変更されたサービス属性の新しい値を含む属性。 返されたセットは変更できない。
 
 
-