JavaTM Platform
Standard Ed. 6

javax.print.event
クラス PrintServiceAttributeEvent

java.lang.Object
  上位を拡張 java.util.EventObject
      上位を拡張 javax.print.event.PrintEvent
          上位を拡張 javax.print.event.PrintServiceAttributeEvent
すべての実装されたインタフェース:
Serializable

public class PrintServiceAttributeEvent
extends PrintEvent

PrintServiceAttributeEvent クラスは、Print Service インスタンスが報告するイベントをカプセル化して、クライアントが印刷サービスの状態の変更を知ることができるようにします。

関連項目:
直列化された形式

フィールドの概要
 
クラス java.util.EventObject から継承されたフィールド
source
 
コンストラクタの概要
PrintServiceAttributeEvent(PrintService source, PrintServiceAttributeSet attributes)
          PrintServiceAttributeEvent オブジェクトを構築します。
 
メソッドの概要
 PrintServiceAttributeSet getAttributes()
          変更された印刷サービス属性とその新しい値を判定します。
 PrintService getPrintService()
          印刷サービスを返します。
 
クラス javax.print.event.PrintEvent から継承されたメソッド
toString
 
クラス java.util.EventObject から継承されたメソッド
getSource
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

PrintServiceAttributeEvent

public PrintServiceAttributeEvent(PrintService source,
                                  PrintServiceAttributeSet attributes)
PrintServiceAttributeEvent オブジェクトを構築します。

パラメータ:
source - このイベントを生成する印刷ジョブ
attributes - 報告された属性の変更
例外:
IllegalArgumentException - sourcenull の場合
メソッドの詳細

getPrintService

public PrintService getPrintService()
印刷サービスを返します。

戻り値:
Print Service オブジェクト

getAttributes

public PrintServiceAttributeSet getAttributes()
変更された印刷サービス属性とその新しい値を判定します。

戻り値:
変更されたサービス属性の新しい値を保持する 属性。返されたセットは変更できない

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 も参照してください。