|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Object
|
+--oracle.html.IHtmlItemImpl
|
+--oracle.html.BaseFont
説明:
BaseFontクラスは、HTML3.2に定義されているBASEFONT要素をカプセル化します。
使用方法:
このクラスは、HTMLドキュメント内の任意のテキストにデフォルト値を設定するために使用します。
例:
// Creates a BaseFont object with size = 3 BaseFont bf = new BaseFont(3); // Creates a BaseFont object with color=red and size=3 BaseFont bf = new BaseFont(Color.red, null, 3);
| コンストラクタの概要 | |
BaseFont(Color color, java.lang.String name, int size)
BaseFontオブジェクトを作成します。 |
|
BaseFont(int size)
BaseFontオブジェクトを作成します。 |
|
| メソッドの概要 | |
java.lang.String |
toHTML()
オブジェクトの内容をHTML文字列として返します。 |
java.lang.String |
toString()
|
| クラス oracle.html.IHtmlItemImplから継承したメソッド |
print, print |
| クラス java.lang.Objectから継承したメソッド |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
public BaseFont(Color color,
java.lang.String name,
int size)
color - ベース・フォントのカラーname - ベース・フォントの名前size - ベース・フォントのサイズpublic BaseFont(int size)
size - ベース・フォントのサイズ| メソッドの詳細 |
public java.lang.String toHTML()
public java.lang.String toString()
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||