IT翻訳 Nobuyuki の仕事部屋

ボランティアでソフトウエアーローカライズのために翻訳をしている。

Mapping DOM Objects to their C++ classes-21

2006-03-02 23:36:58 | InDraft
長かった一連の翻訳も本日で終わる。すべて、”Mapping DOM Objects to their C++ classes”のサブディレクトリにある文書である。翻訳対象となる原文のパターンが同じなので、それほど大変な翻訳作業ではないが、DOM のクラスやインターフェイスの紹介になっていると思う。翻訳しながら、勉強させてもらった。

原文:  青色表示
訳文:  黒色表示
注記/訂正: 赤色表示

Class: nsHTMLIFrameElement

File: content/html/content/src/nsHTMLIFrameElement.cpp

Inherits from the following classes:

* nsGenericHTMLContainerElement : content/html/content/src/nsGenericHTMLElement.cpp

Implements the following interfaces:

* nsIDOMHTMLIFrameElement : dom/public/idl/html/nsIDOMHTMLIFrameElement.idl
* nsIChromeEventHandler : layout/base/public/nsIChromeEventHandler.idl


Iframe

Iframe オブジェクトは HTML の "iframe" タグを操作する時使われます。W3C はそれを DOM レベル 1 HTML spec. で導入しました

クラス: nsHTMLIFrameElement

ファイル: content/html/content/src/nsHTMLIFrameElement.cpp

以下のクラスを継承します:

* nsGenericHTMLContainerElement : content/html/content/src/nsGenericHTMLElement.cpp

以下のインターフェイスを実装します:

* nsIDOMHTMLIFrameElement : dom/public/idl/html/nsIDOMHTMLIFrameElement.idl
* nsIChromeEventHandler : layout/base/public/nsIChromeEventHandler.idl
* nsIDOMEventListener : dom/public/idl/events/nsIDOMEventListener.idl