|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.text.AbstractDocument.AbstractElement
javax.swing.text.AbstractDocument.BranchElement
public class AbstractDocument.BranchElement
´Ù¸¥ ¿ä¼Ò¸¦ Æ÷ÇÔÇÑ º¹ÇÕ ¿ä¼Ò¸¦ ±¸ÇöÇÕ´Ï´Ù.
°æ°í: ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ °´Ã¼´Â ÇâÈÄÀÇ Swing ¸±¸®Áî¿Í
ȣȯµÇÁö ¾ÊÀ» ¿¹Á¤ÀÔ´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈÀÇ Áö¿øÀº
´Ü±â°£ÀÇ ¿î¿ëÀ̳ª, °°Àº ¹öÀüÀÇ Swing¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. JDK ¹öÀü
1.4 ÀÌÈÄ, ¸ðµç JavaBeans™
Àå±â°£ÀÇ ¿î¿ë Áö¿øÀº
java.beans
ÆÐŰÁö¿¡ Ãß°¡µÇ°í ÀÖ½À´Ï´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº XMLEncoder
¸¦
ÂüÁ¶ÇϽʽÿÀ.
Áßø(Nested) Ŭ·¡½º °³¿ä |
---|
ÀÎÅÍÆäÀ̽º javax.swing.text. AttributeSet ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º |
---|
AttributeSet.CharacterAttribute,
AttributeSet.ColorAttribute,
AttributeSet.FontAttribute,
AttributeSet.ParagraphAttribute |
ÇÊµå °³¿ä |
---|
ÀÎÅÍÆäÀ̽º javax.swing.text. AttributeSet ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
NameAttribute,
ResolveAttribute |
»ý¼ºÀÚ °³¿ä | |
---|---|
AbstractDocument.BranchElement (Element parent,
AttributeSet a)
óÀ½Àº ÀÚ½ÄÀ» Æ÷ÇÔÇÏÁö ¾Ê´Â º¹ÇÕ ¿ä¼Ò¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
Enumeration |
children ()
¸®½Ã¹öÀÇ ÀÚ½ÄÀ» Enumeration ·Î
¸®ÅÏÇÕ´Ï´Ù. |
boolean |
getAllowsChildren ()
¸®½Ã¹ö°¡ ÀÚ½ÄÀ» Çã°¡ÇÏ´Â °æ¿ì´Â true¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Element |
getElement (int index)
¾ÆÀÌ ¿ä¼Ò¸¦ ÃëµæÇÕ´Ï´Ù. |
int |
getElementCount ()
¿ä¼ÒÀÇ ÀÚ½Ä ÀÇ ¼ö¸¦ ÃëµæÇÕ´Ï´Ù. |
int |
getElementIndex (int offset)
ÁöÁ¤µÈ ¸ðµ¨ ¿ÀÇÁ¼Â(offset)¿¡ °¡Àå °¡±î¿îÀÚ½Ä ¿ä¼Ò À妽º¸¦ ÃëµæÇÕ´Ï´Ù. |
int |
getEndOffset ()
¿ä¼ÒÀÇ ¸ðµ¨³»¿¡¼ÀÇ Á¾·á ¿ÀÇÁ¼Â(offset)¸¦ ÃëµæÇÕ´Ï´Ù. |
String |
getName ()
¿ä¼ÒÀÇ À̸§À» ÃëµæÇÕ´Ï´Ù. |
int |
getStartOffset ()
¿ä¼ÒÀÇ ¸ðµ¨³»¿¡¼ÀÇ °³½Ã ¿ÀÇÁ¼Â(offset)¸¦ ÃëµæÇÕ´Ï´Ù. |
boolean |
isLeaf ()
¿ä¼Ò°¡ ÀÙÀΰ¡ ¾î¶²°¡¸¦ Á¶»çÇÕ´Ï´Ù. |
Element |
positionToElement (int pos)
ÁöÁ¤µÈ ¸ðµ¨ À§Ä¡¸¦ Æ÷ÇÔÇÑÀÚ½Ä ¿ä¼Ò¸¦ ÃëµæÇÕ´Ï´Ù. |
void |
replace (int offset,
int length,
Element [] elems)
ÄÁÅÙÃ÷¸¦ ¿ä¼ÒÀÇ »õ·Î¿î ¼¼Æ®·Î ¿Å°Ü³õ½À´Ï´Ù. |
String |
toString ()
¿ä¼Ò¸¦ ij¸¯ÅÍ ¶óÀÎÀ¸·Î º¯È¯ÇÕ´Ï´Ù. |
Ŭ·¡½º 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.BranchElement(Element parent, AttributeSet a)
parent
- Ä£¿ä¼Òa
- ¿ä¼ÒÀÇ ¼Ó¼º¸Þ¼µåÀÇ »ó¼¼ |
---|
public Element positionToElement(int pos)
pos
- À§Ä¡ >= 0
public void replace(int offset, int length, Element [] elems)
offset
- °³½Ã ¿ÀÇÁ¼Â(offset) >= 0length
- ¿Å°Ü³õ´Â ±æÀÌ >= 0elems
- »õ·Î¿î ¿ä¼Òpublic String toString()
Object
³»ÀÇ toString
public String getName()
Element
³»ÀÇ getName
AbstractDocument.AbstractElement
³»ÀÇ getName
public int getStartOffset()
Element
³»ÀÇ getStartOffset
AbstractDocument.AbstractElement
³»ÀÇ getStartOffset
Document
,
AbstractDocument
public int getEndOffset()
Element
³»ÀÇ getEndOffset
AbstractDocument.AbstractElement
³»ÀÇ getEndOffset
NullPointerException
- ÀÌ ¿ä¼Ò¿¡ ÀÚ½ÄÀÌ ¾ø´Â °æ¿ìDocument
,
AbstractDocument
public Element getElement(int index)
Element
³»ÀÇ getElement
AbstractDocument.AbstractElement
³»ÀÇ getElement
index
- ÀÚÀÇ À妽º >= 0 && < getElementCount()
public int getElementCount()
Element
³»ÀÇ getElementCount
AbstractDocument.AbstractElement
³»ÀÇ getElementCount
public int getElementIndex(int offset)
Element
³»ÀÇ getElementIndex
AbstractDocument.AbstractElement
³»ÀÇ getElementIndex
offset
- ¿ÀÇÁ¼Â(offset) >= 0
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 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.