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
オブジェクトを構築します。 -
メソッドのサマリー
修飾子と型メソッド説明変更された印刷サービス属性とその新しい値を判定します。印刷サービスを返します。クラス javax.print.event.PrintEventで宣言されたメソッド
toString
クラス java.util.EventObjectで宣言されたメソッド
getSource
-
コンストラクタの詳細
-
PrintServiceAttributeEvent
public PrintServiceAttributeEvent(PrintService source, PrintServiceAttributeSet attributes)PrintServiceAttributeEvent
オブジェクトを構築します。- パラメータ:
source
- このイベントを生成する印刷ジョブattributes
- 報告される属性変更- 例外:
IllegalArgumentException
-source
がnull
である場合
-
-
メソッドの詳細
-
getPrintService
public PrintService getPrintService()印刷サービスを返します。- 戻り値:
PrintService
オブジェクト
-
getAttributes
public PrintServiceAttributeSet getAttributes()変更された印刷サービス属性とその新しい値を判定します。- 戻り値:
- 変更されたサービス属性の新しい値を含む属性。 返されたセットは変更できない。
-