|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.print.attribute.EnumSyntax
javax.print.attribute.standard.PresentationDirection
public final class PresentationDirection
PresentationDirection は 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 クラスの文字列テーブルを返します。 |
| クラス javax.print.attribute.EnumSyntax から継承されたメソッド |
|---|
clone, getOffset, getValue, hashCode, readResolve, toString |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
|---|
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()
EnumSyntax 内の getStringTableprotected EnumSyntax[] getEnumValueTable()
EnumSyntax 内の getEnumValueTablepublic final Class<? extends Attribute> getCategory()
PresentationDirection クラスの場合、カテゴリは PresentationDirection クラス自身です。
Attribute 内の getCategoryjava.lang.Class クラスのインスタンスpublic final String getName()
PresentationDirection クラスの場合、カテゴリ名は presentation-direction になります。
Attribute 内の getName
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。