クラスjava.awt.PageAttributes.OrientationRequestedType
の使用
パッケージ | 説明 |
---|---|
java.awt |
ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。
|
-
java.awtでのPageAttributes.OrientationRequestedTypeの使用
PageAttributes.OrientationRequestedTypeとして宣言されているjava.awtのフィールド 修飾子と型 フィールド 説明 static PageAttributes.OrientationRequestedType
PageAttributes.OrientationRequestedType. LANDSCAPE
横方向の指定に使用するOrientationRequestedTypeインスタンスです。static PageAttributes.OrientationRequestedType
PageAttributes.OrientationRequestedType. PORTRAIT
縦方向の指定に使用するOrientationRequestedTypeインスタンスです。PageAttributes.OrientationRequestedTypeを返すjava.awtのメソッド 修飾子と型 メソッド 説明 PageAttributes.OrientationRequestedType
PageAttributes. getOrientationRequested()
これらの属性を使用するページの用紙方向を返します。PageAttributes.OrientationRequestedType型のパラメータを持つjava.awtのメソッド 修飾子と型 メソッド 説明 void
PageAttributes. setOrientationRequested(PageAttributes.OrientationRequestedType orientationRequested)
これらの属性を使用するページの用紙方向を指定します。PageAttributes.OrientationRequestedType型のパラメータを持つjava.awtのコンストラクタ コンストラクタ 説明 PageAttributes(PageAttributes.ColorType color, PageAttributes.MediaType media, PageAttributes.OrientationRequestedType orientationRequested, PageAttributes.OriginType origin, PageAttributes.PrintQualityType printQuality, int[] printerResolution)
各属性に指定された値を持つPageAttributesインスタンスを生成します。