- 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()
印刷サービスを返します。-
クラス java.util.EventObjectから継承されたメソッド
getSource
-
クラス java.lang.Objectから継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
クラス javax.print.event.PrintEventから継承されたメソッド
toString
-
-
-
-
コンストラクタの詳細
-
PrintServiceAttributeEvent
public PrintServiceAttributeEvent(PrintService source, PrintServiceAttributeSet attributes)
PrintServiceAttributeEventオブジェクトを構築します。- パラメータ:
source
- このイベントを生成する印刷ジョブattributes
- 報告される属性変更- 例外:
IllegalArgumentException
-source
がnull
である場合。
-
-
メソッドの詳細
-
getPrintService
public PrintService getPrintService()
印刷サービスを返します。- 戻り値:
- Print Serviceオブジェクト。
-
getAttributes
public PrintServiceAttributeSet getAttributes()
変更された印刷サービス属性とその新しい値を判定します。- 戻り値:
- 変更されたサービス属性の新しい値を保持する属性。 返されたセットは変更できない。
-
-