|
共通 DOM API | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface HTMLAnchorElement
アンカー要素。HTML 4.0 の A 要素の定義を参照してください。
また、「Document Object Model (DOM) Level 2 Specification」も参照してください。
フィールドの概要 |
---|
メソッドの概要 | |
---|---|
void |
blur()
キーボードフォーカスを要素から削除します。 |
void |
focus()
キーボードフォーカスを要素に与えます。 |
String |
getAccessKey()
フォームコントロールへアクセスするための 1 文字のアクセスキー。 |
String |
getCharset()
リンクされたリソースの文字エンコーディング。 |
String |
getCoords()
アクティブな領域のジオメトリを定義する、コンマで区切られた長さのリスト。 |
String |
getHref()
リンクされたリソースの URI。 |
String |
getHreflang()
リンクされたリソースの言語コード。 |
String |
getName()
アンカー名。 |
String |
getRel()
順方向のリンクタイプ。 |
String |
getRev()
逆方向のリンクタイプ。 |
String |
getShape()
アクティブな領域の形状。 |
int |
getTabIndex()
Tab キーを押したときに選択される要素の順序を表すインデックス。 |
String |
getTarget()
リソースを描画するフレーム。 |
String |
getType()
アドバイザリコンテンツ形式。 |
void |
setAccessKey(String accessKey)
|
void |
setCharset(String charset)
|
void |
setCoords(String coords)
|
void |
setHref(String href)
|
void |
setHreflang(String hreflang)
|
void |
setName(String name)
|
void |
setRel(String rel)
|
void |
setRev(String rev)
|
void |
setShape(String shape)
|
void |
setTabIndex(int tabIndex)
|
void |
setTarget(String target)
|
void |
setType(String type)
|
インタフェース org.w3c.dom.html.HTMLElement から継承されたメソッド |
---|
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle |
メソッドの詳細 |
---|
String getAccessKey()
void setAccessKey(String accessKey)
String getCharset()
void setCharset(String charset)
String getCoords()
shape
」も参照してください。HTML 4.0 の coords 属性の定義を参照してください。
void setCoords(String coords)
String getHref()
void setHref(String href)
String getHreflang()
void setHreflang(String hreflang)
String getName()
void setName(String name)
String getRel()
void setRel(String rel)
String getRev()
void setRev(String rev)
String getShape()
coords
で指定します。HTML 4.0 の shape 属性の定義を参照してください。
void setShape(String shape)
int getTabIndex()
void setTabIndex(int tabIndex)
String getTarget()
void setTarget(String target)
String getType()
void setType(String type)
void blur()
void focus()
|
共通 DOM API | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |