JavaTM Platform
Standard Ed. 6

javax.swing.text.html
클래스 HTMLDocument.RunElement

java.lang.Object 
  상위를 확장 javax.swing.text.AbstractDocument.AbstractElement 
      상위를 확장 javax.swing.text.AbstractDocument.LeafElement 
          상위를 확장 javax.swing.text.html.HTMLDocument.RunElement
모든 구현된 인터페이스:
Serializable , AttributeSet , Element , MutableAttributeSet , TreeNode
포함되어 있는 클래스:
HTMLDocument


public class HTMLDocument.RunElement
extends AbstractDocument.LeafElement

HTML 문자 레벨 속성세트를 할당할 수 있고 있는 텍스트의 체크를 나타내는 요소입니다.


상자의 클래스의 개요
 
인터페이스 javax.swing.text. AttributeSet 로부터 상속된 상자의 클래스/인터페이스
AttributeSet.CharacterAttribute , AttributeSet.ColorAttribute , AttributeSet.FontAttribute , AttributeSet.ParagraphAttribute
 
필드의 개요
 
인터페이스 javax.swing.text. AttributeSet 로부터 상속된 필드
NameAttribute , ResolveAttribute
 
생성자 의 개요
HTMLDocument.RunElement (Element  parent, AttributeSet  a, int offs0, int offs1)
          문서내의 컨텐츠를 나타내는 (아이를 가지지 않는다) 요소를 작성합니다.
 
메소드의 개요
 String getName ()
          요소의 이름을 가져옵니다.
 AttributeSet getResolveParent ()
          해석 처리측의 부모를 가져옵니다.
 
클래스 javax.swing.text. AbstractDocument.LeafElement 로부터 상속된 메소드
children , getAllowsChildren , getElement , getElementCount , getElementIndex , getEndOffset , getStartOffset , isLeaf , toString
 
클래스 javax.swing.text. AbstractDocument.AbstractElement 로부터 상속된 메소드
addAttribute , addAttributes , containsAttribute , containsAttributes , copyAttributes , dump , getAttribute , getAttributeCount , getAttributeNames , getAttributes , getChildAt , getChildCount , getDocument , getIndex , getParent , getParentElement , isDefined , isEqual , removeAttribute , removeAttributes , removeAttributes , setResolveParent
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

생성자 의 상세

HTMLDocument.RunElement

public HTMLDocument.RunElement(Element  parent,
                               AttributeSet  a,
                               int offs0,
                               int offs1)
문서내의 컨텐츠를 나타내는 (아이를 가지지 않는다) 요소를 작성합니다.

파라미터:
parent - 친요소
a - 요소의 속성
offs0 - 개시 오프셋(offset) (최소에서도 0 이 아니면 안된다)
offs1 - 종료 오프셋(offset) (최소에서도 offs0 가 아니면 안된다)
도입된 버젼:
1.4
메소드의 상세

getName

public String  getName()
요소의 이름을 가져옵니다.

정의:
인터페이스 Element 내의 getName
오버라이드(override):
클래스 AbstractDocument.LeafElement 내의 getName
반환값:
이름. 없는 경우는 null

getResolveParent

public AttributeSet  getResolveParent()
해석 처리측의 부모를 가져옵니다. HTML 속성은 모델 레벨에서는 상속되지 않기 때문에, null 를 돌려주도록(듯이), 이 메소드를 오버라이드(override) 합니다.

정의:
인터페이스 AttributeSet 내의 getResolveParent
오버라이드(override):
클래스 AbstractDocument.AbstractElement 내의 getResolveParent
반환값:
부모가 없는 경우는 null
관련 항목:
AttributeSet.getResolveParent()

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.