|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 모든 클래스 | ||||||||||
개요: 상자 | 필드 | constructor | 메소드 | 상세: 필드 | constructor | 메소드 |
java.lang.Object | +--javax.swing.text.AbstractDocument.AbstractElement | +--javax.swing.text.AbstractDocument.LeafElement
어떤 종류의 컨텐츠를 직접 나타내는 요소를 구현합니다.
경고:
이 클래스의 직렬화 된 오브젝트는 향후의 Swing 의 릴리스와는 호환성을 가지지 않습니다. 현재의 직렬화 서포트는 단기간의 운용이나, 같은 버젼의 Swing 를 실행하는 어플리케이션간의 RMI 에 적절하고 있습니다. 1.4 에서는 모든 JavaBeansTM 의 장기 운용 서포트가, java.beans
패키지에 추가되었습니다. XMLEncoder
를 참조해 주세요.
Element
중첩된 클래스의 개요 |
클래스 javax.swing.text. AttributeSet 을 상속받은 중첩된 클래스 |
AttributeSet.CharacterAttribute , AttributeSet.ColorAttribute , AttributeSet.FontAttribute , AttributeSet.ParagraphAttribute |
필드의 개요 |
인터페이스 javax.swing.text. AttributeSet 에서 상속받은 필드 |
NameAttribute , ResolveAttribute |
생성자의 개요 | |
AbstractDocument.LeafElement (Element parent,
AttributeSet a,
int offs0,
int offs1)
문서내의 컨텐츠를 나타내는 (아이를 가지지 않는다) 요소를 작성합니다. |
메소드의 개요 | |
Enumeration |
children ()
리시버의 아이를 Enumeration 로 돌려줍니다. |
boolean |
getAllowsChildren ()
리시버가 아이를 허가하는 경우는 true 를 돌려줍니다. |
Element |
getElement (int index)
아이 요소를 취득합니다. |
int |
getElementCount ()
아이 요소의 수를 돌려줍니다. |
int |
getElementIndex (int pos)
지정된 모델 오프셋(offset)에 가장 가까운 아이 요소 인덱스를 취득합니다. |
int |
getEndOffset ()
요소의 모델내에서의 종료 오프셋(offset)를 취득합니다. |
String |
getName ()
요소의 이름을 취득합니다. |
int |
getStartOffset ()
요소의 모델내에서의 개시 오프셋(offset)를 취득합니다. |
boolean |
isLeaf ()
요소가 잎인가 어떤가를 조사합니다. |
String |
toString ()
요소를 캐릭터 라인으로 변환합니다. |
클래스 javax.swing.text. AbstractDocument.AbstractElement 에서 상속받은 메소드 |
addAttribute , addAttributes , containsAttribute , containsAttributes , copyAttributes , dump , finalize , getAttribute , getAttributeCount , getAttributeNames , getAttributes , getChildAt , getChildCount , getDocument , getIndex , getParent , getParentElement , getResolveParent , isDefined , isEqual , removeAttribute , removeAttributes , removeAttributes , setResolveParent |
클래스 java.lang. Object 에서 상속받은 메소드 |
clone , equals , getClass , hashCode , notify , notifyAll , wait , wait , wait |
생성자의 상세 |
public AbstractDocument.LeafElement(Element parent, AttributeSet a, int offs0, int offs1)
parent
- 친요소a
- 요소의 속성offs0
- 개시 오프셋(offset) >= 0offs1
- 종료 오프셋(offset) >= offs0메소드의 상세 |
public String toString()
Object
내의 toString
public int getStartOffset()
Element
내의 getStartOffset
AbstractDocument.AbstractElement
내의 getStartOffset
public int getEndOffset()
Element
내의 getEndOffset
AbstractDocument.AbstractElement
내의 getEndOffset
public String getName()
Element
내의 getName
AbstractDocument.AbstractElement
내의 getName
public int getElementIndex(int pos)
Element
내의 getElementIndex
AbstractDocument.AbstractElement
내의 getElementIndex
pos
- 오프셋(offset) >= 0
public Element getElement(int index)
Element
내의 getElement
AbstractDocument.AbstractElement
내의 getElement
index
- 자의 인덱스 >= 0 && < getElementCount()
public int getElementCount()
Element
내의 getElementCount
AbstractDocument.AbstractElement
내의 getElementCount
public boolean isLeaf()
Element
내의 isLeaf
AbstractDocument.AbstractElement
내의 isLeaf
public boolean getAllowsChildren()
TreeNode
내의 getAllowsChildren
AbstractDocument.AbstractElement
내의 getAllowsChildren
public Enumeration children()
Enumeration
로 돌려줍니다.
TreeNode
내의 children
AbstractDocument.AbstractElement
내의 children
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 모든 클래스 | ||||||||||
개요: 상자 | 필드 | constructor | 메소드 | 상세: 필드 | constructor | 메소드 |
Java, Java 2 D, 및 JDBC 는 미국 및 그 외의 나라에 있어서의 미국 Sun Microsystems, Inc. 의 상표 혹은 등록상표입니다.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.