クラスjava.awt.JobAttributes.DestinationType
の使用
パッケージ | 説明 |
---|---|
java.awt |
ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。
|
-
java.awtでのJobAttributes.DestinationTypeの使用
JobAttributes.DestinationTypeとして宣言されたjava.awtのフィールド 修飾子と型 フィールド 説明 static JobAttributes.DestinationType
JobAttributes.DestinationType. FILE
ファイルへの出力を指定するために使用するDestinationType
インスタンス。static JobAttributes.DestinationType
JobAttributes.DestinationType. PRINTER
プリンタへの出力を指定するために使用するDestinationType
インスタンス。JobAttributes.DestinationTypeを返すjava.awtのメソッド 修飾子と型 メソッド 説明 JobAttributes.DestinationType
JobAttributes. getDestination()
これらの属性を使用するジョブについて、プリンタまたはファイルのどちらに出力するかを指定します。型JobAttributes.DestinationTypeのパラメータを持つjava.awtのメソッド 修飾子と型 メソッド 説明 void
JobAttributes. setDestination(JobAttributes.DestinationType destination)
これらの属性を使用するジョブについて、プリンタまたはファイルのどちらに出力するかを指定します。型JobAttributes.DestinationTypeのパラメータを持つjava.awtのコンストラクタ コンストラクタ 説明 JobAttributes(int copies, JobAttributes.DefaultSelectionType defaultSelection, JobAttributes.DestinationType destination, JobAttributes.DialogType dialog, String fileName, int maxPage, int minPage, JobAttributes.MultipleDocumentHandlingType multipleDocumentHandling, int[][] pageRanges, String printer, JobAttributes.SidesType sides)
すべての属性に指定された値を使用して、JobAttributes
インスタンスを構築します。