|
Kagetaka | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.hizlab.kagetaka.rendering.Document
ドキュメント全体を表すクラスです。
フィールドの概要 | |
int |
contentLength
ドキュメントのコンテンツサイズ |
ContentType |
contentType
ドキュメントのコンテンツタイプ |
static Color |
DEFAULT_BACKGROUND_COLOR
デフォルトの背景色 |
ItemMap |
itemMap
アイテムマップ |
int |
media
メディアタイプ |
URL |
url
ドキュメントの URL |
int |
zone
ゾーン |
static int |
ZONE_INTERNET
インターネットゾーン |
static int |
ZONE_LOCAL
ローカルゾーン |
メソッドの概要 | |
URL |
createURL(String href)
ドキュメントの URL をベースに URL を返します。 |
Color |
getBackColor()
背景色を返します。 |
Image |
getBackImage()
背景画像を返します。 |
URL |
getBaseURL()
ベース URL を返します。 |
Dimension |
getCharScale()
描画用の行の幅と、文字の高さを返します。 |
String |
getEncoding()
ドキュメントのエンコーディングを返します。 |
String |
getTitle()
タイトルを返します。 |
void |
setBackColor(Color color)
背景色を設定します。 |
void |
setBackImage(Image image)
背景画像を設定します。 |
void |
setBaseURL(URL url)
ベース URL を変更します。 |
void |
setCharScale(Dimension scale)
描画用の行の幅と、文字の高さを設定します。 |
void |
setEncoding(String encoding)
ドキュメントのエンコーディングを設定します。 |
void |
setTitle(String title)
タイトルを設定します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public final int contentLength
public final ContentType contentType
public static final Color DEFAULT_BACKGROUND_COLOR
public final ItemMap itemMap
public final int media
public final URL url
public final int zone
public static final int ZONE_INTERNET
public static final int ZONE_LOCAL
メソッドの詳細 |
public URL createURL(String href) throws MalformedURLException, SecurityException
href
- パス
MalformedURLException
- パスが不正な場合
SecurityException
- セキュリティ違反の場合public Color getBackColor()
public Image getBackImage()
public URL getBaseURL()
public Dimension getCharScale()
public String getEncoding()
public String getTitle()
public void setBackColor(Color color)
color
- 背景色public void setBackImage(Image image)
image
- 背景画像public void setBaseURL(URL url)
url
- ベース URLpublic void setCharScale(Dimension scale)
Dimension.width
が行の幅、
Dimension.height
が文字の高さを表します。
scale
- 幅と高さpublic void setEncoding(String encoding)
encoding
- ドキュメントのエンコーディングpublic void setTitle(String title)
title
- タイトル
|
Kagetaka | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Copyright (c) 2002-2003 The Kagetaka Project 'December 6, 2003'