|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Object
|
+--oracle.html.IHtmlItemImpl
|
+--oracle.html.Item
|
+--oracle.html.CompoundItem
|
+--oracle.html.Preformat
説明:
HTMLの中で事前に書式化されたテキスト(PRE)。
使用方法:
Preformatクラスは、固定幅フォントで書式化されているテキストに使用します。
注意: イメージやフォント・サイズの変更をもたらす要素は、Preformatブロック内では無効です。
例:
// Create a Prefomat object
Preformat pre = new Preformat();
// Add some preformatted text to this object
pre.addItem(" Name: YOUR NAME");
pre.addItem(" ID: YOU ID");
CompoundItem| クラス oracle.html.CompoundItemから継承したフィールド |
INITIAL_CAPACITY |
| コンストラクタの概要 | |
Preformat()
Preformatオブジェクトを作成します。 |
|
Preformat(int width)
指定された属性を持つPreformatオブジェクトを作成します。 |
|
| クラス oracle.html.CompoundItemから継承したメソッド |
addItem, addItem, itemAt, items, setItemAt, size, toHTML, toString |
| クラス oracle.html.IHtmlItemImplから継承したメソッド |
print, print |
| クラス java.lang.Objectから継承したメソッド |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
public Preformat()
public Preformat(int width)
width - 1行の最大文字数
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||