public final class PresentationDirection extends EnumSyntax implements PrintJobAttribute, PrintRequestAttribute
NumberUp
属性とともに使用され、複数の出力ストリーム・ページを選択された媒体の片面にまとめて印刷する場合のレイアウトを列挙して示す印刷属性クラスです。 テキスト・レイアウトの規約を別のスクリプトに反映させる場合に有効です。 たとえば英語ではtoright-tobottom、ヘブライ語ではtoleft-tobottom、日本語では通常tobottom-toleftが使用されます。
IPP互換性: この属性はIPP 1.1の属性ではなく、IPP 1.1のProduction Printing Extension (PDF)の属性です。 getName()
によって返されるカテゴリ名はIPP属性の名前です。 列挙の整数値はIPP列挙型値です。 toString()
メソッドは、属性値のIPP文字列表現を返します。
修飾子と型 | フィールド | 説明 |
---|---|---|
static PresentationDirection |
TOBOTTOM_TOLEFT |
ページは最初右上に配置され、次に下方向、その次には左方向に順番に配置されます。
|
static PresentationDirection |
TOBOTTOM_TORIGHT |
ページは最初左上に配置され、次に下方向、その次には右方向に順番に配置されます。
|
static PresentationDirection |
TOLEFT_TOBOTTOM |
ページは最初右上に配置され、次に左方向、その次には下方向に順番に配置されます。
|
static PresentationDirection |
TOLEFT_TOTOP |
ページは最初右下に配置され、次に左方向、その次には上方向に順番に配置されます。
|
static PresentationDirection |
TORIGHT_TOBOTTOM |
ページは最初左上に配置され、次に右方向、その次には下方向に順番に配置されます。
|
static PresentationDirection |
TORIGHT_TOTOP |
ページは最初左下に配置され、次に右方向、その次には上方向に順番に配置されます。
|
static PresentationDirection |
TOTOP_TOLEFT |
ページは最初右下に配置され、次に上方向、その次には左方向に順番に配置されます。
|
static PresentationDirection |
TOTOP_TORIGHT |
ページは最初左下に配置され、次に上方向、その次には右方向に順番に配置されます。
|
修飾子と型 | メソッド | 説明 |
---|---|---|
Class<? extends Attribute> |
getCategory() |
この印刷属性値の「カテゴリ」として使用される印刷属性クラスを返します。
|
protected EnumSyntax[] |
getEnumValueTable() |
PresentationDirectionクラスの列挙値テーブルを返します。
|
String |
getName() |
属性値がインスタンスとなるカテゴリの名前を返します。
|
protected String[] |
getStringTable() |
PresentationDirectionクラスの文字列テーブルを返します。
|
clone, getOffset, getValue, hashCode, readResolve, toString
public static final PresentationDirection TOBOTTOM_TORIGHT
public static final PresentationDirection TOBOTTOM_TOLEFT
public static final PresentationDirection TOTOP_TORIGHT
public static final PresentationDirection TOTOP_TOLEFT
public static final PresentationDirection TORIGHT_TOBOTTOM
public static final PresentationDirection TORIGHT_TOTOP
public static final PresentationDirection TOLEFT_TOBOTTOM
public static final PresentationDirection TOLEFT_TOTOP
protected String[] getStringTable()
getStringTable
、クラスEnumSyntax
protected EnumSyntax[] getEnumValueTable()
getEnumValueTable
、クラスEnumSyntax
public final Class<? extends Attribute> getCategory()
PresentationDirectionクラスの場合、カテゴリはPresentationDirectionクラス自身です。
getCategory
、インタフェースAttribute
java.lang.Class
クラスのインスタンス。 バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。