Kagetaka

net.hizlab.kagetaka.rendering
クラス Document

java.lang.Object
  拡張net.hizlab.kagetaka.rendering.Document

public class Document
extends Object

ドキュメント全体を表すクラスです。

バージョン:
$Revision: 1.5 $

フィールドの概要
 Content content
          コンテンツ
 IdMap idMap
          ID マップ
 int zone
          ゾーン
static int ZONE_INTERNET
          インターネットゾーン
static int ZONE_LOCAL
          ローカルゾーン
 
メソッドの概要
 boolean contains(Content content)
          指定したコンテンツを含んでいるかを返します。
 URL createURL(String href)
          ドキュメントの URL をベースに URL を返します。
 Background getBackground()
          背景情報を返します。
 String getBaseTarget()
          ベースターゲットを返します。
 URL getBaseURL()
          ベース URL を返します。
 Dimension getCharScale()
          描画用の行の幅と、文字の高さを返します。
 String getTitle()
          タイトルを返します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

content

public final Content content
コンテンツ


idMap

public final IdMap idMap
ID マップ


zone

public final int zone
ゾーン


ZONE_INTERNET

public static final int ZONE_INTERNET
インターネットゾーン

関連項目:
定数フィールド値

ZONE_LOCAL

public static final int ZONE_LOCAL
ローカルゾーン

関連項目:
定数フィールド値
メソッドの詳細

contains

public boolean contains(Content content)
指定したコンテンツを含んでいるかを返します。

パラメータ:
content - コンテンツ
戻り値:
含んでいる場合は true、 含んでいない場合は false

createURL

public URL createURL(String href)
              throws MalformedURLException,
                     SecurityException
ドキュメントの URL をベースに URL を返します。

パラメータ:
href - パス
戻り値:
ドキュメントの URL をベースにした URL
例外:
MalformedURLException - パスが不正な場合
SecurityException - セキュリティ違反の場合

getBackground

public Background getBackground()
背景情報を返します。

戻り値:
背景情報

getBaseTarget

public String getBaseTarget()
ベースターゲットを返します。

戻り値:
ベースターゲット

getBaseURL

public URL getBaseURL()
ベース URL を返します。

戻り値:
ベース URL

getCharScale

public Dimension getCharScale()
描画用の行の幅と、文字の高さを返します。

戻り値:
幅と高さ

getTitle

public String getTitle()
タイトルを返します。

戻り値:
タイトル

Kagetaka

Copyright (c) 2002-2004 The Kagetaka Project 'November 20, 2004'