- すべてのスーパー・インタフェース:
Element
,HTMLElement
,Node
public interface HTMLLabelElement extends HTMLElement
フォーム・フィールドのラベル・テキスト。 HTML 4.0のLABEL要素の定義を参照してください。
「Document Object Model (DOM) Level 2 Specification」も参照してください。
- 導入されたバージョン:
- 1.4、DOMレベル2
-
フィールドのサマリー
インタフェースorg.w3c.dom.Nodeで宣言されているフィールド
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
-
メソッドのサマリー
修飾子と型メソッド説明フォーム・コントロールへアクセスするための1文字のアクセス・キー。getForm()
このコントロールが含まれるFORM
要素を返します。この属性は、id
属性によってラベルと別のフォーム・コントロールを結びつけます。void
setAccessKey
(String accessKey) void
setHtmlFor
(String htmlFor) インタフェースorg.w3c.dom.Elementで宣言されたメソッド
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
インタフェースorg.w3c.dom.html.HTMLElementで宣言されたメソッド
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
インタフェースorg.w3c.dom.Nodeで宣言されたメソッド
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
メソッドの詳細
-
getForm
HTMLFormElement getForm()このコントロールが含まれるFORM
要素を返します。 このコントロールがフォームのコンテキスト内にない場合は、null
を返します。 -
getAccessKey
String getAccessKey()フォーム・コントロールへアクセスするための1文字のアクセス・キー。 HTML 4.0のaccesskey属性の定義を参照してください。 -
setAccessKey
void setAccessKey(String accessKey) -
getHtmlFor
String getHtmlFor()この属性は、id
属性によってラベルと別のフォーム・コントロールを結びつけます。 HTML 4.0のfor属性の定義を参照してください。 -
setHtmlFor
void setHtmlFor(String htmlFor)
-