|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.swing.text.AbstractDocument.AbstractElement
javax.swing.text.AbstractDocument.LeafElement
public class AbstractDocument.LeafElement
어떤 종류의 컨텐츠를 직접 나타내는 요소를 구현합니다.
경고: 이 클래스의 직렬화 된 객체는, 향후의 Swing 릴리스와 호환은 아니게 될 예정입니다. 현재의 직렬화의 지원는, 단기간의 운용이나, 같은 버젼의 Swing 를 실행하는 어플리케이션간의 RMI 에 적절하고 있습니다. JDK Version 1.4 이후, 모든 JavaBeans™ 의 장기간의 운용 지원는,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 , getAttribute , getAttributeCount , getAttributeNames , getAttributes , getChildAt , getChildCount , getDocument , getIndex , getParent , getParentElement , getResolveParent , isDefined , isEqual , removeAttribute , removeAttributes , removeAttributes , setResolveParent |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , 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
Document
,
AbstractDocument
public int getEndOffset()
Element
내의 getEndOffset
AbstractDocument.AbstractElement
내의 getEndOffset
Document
,
AbstractDocument
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
TreeNode
내의 isLeaf
AbstractDocument.AbstractElement
내의 isLeaf
public boolean getAllowsChildren()
TreeNode
내의 getAllowsChildren
AbstractDocument.AbstractElement
내의 getAllowsChildren
public Enumeration children()
Enumeration
로서 돌려줍니다.
TreeNode
내의 children
AbstractDocument.AbstractElement
내의 children
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.