|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.text.AbstractDocument.AbstractElement
javax.swing.text.AbstractDocument.LeafElement
public class AbstractDocument.LeafElement
¾î¶² Á¾·ùÀÇ ÄÁÅÙÃ÷¸¦ Á÷Á¢ ³ªÅ¸³»´Â ¿ä¼Ò¸¦ ±¸ÇöÇÕ´Ï´Ù.
°æ°í: ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ °´Ã¼´Â ÇâÈÄÀÇ Swing ¸±¸®Áî¿Í
ȣȯµÇÁö ¾ÊÀ» ¿¹Á¤ÀÔ´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈÀÇ Áö¿øÀº
´Ü±â°£ÀÇ ¿î¿ëÀ̳ª, °°Àº ¹öÀüÀÇ Swing¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. JDK ¹öÀü
1.4 ÀÌÈÄ, ¸ðµç JavaBeans™
Àå±â°£ÀÇ ¿î¿ë Áö¿øÀº
java.beans
ÆÐŰÁö¿¡ Ãß°¡µÇ°í ÀÖ½À´Ï´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº XMLEncoder
¸¦
ÂüÁ¶ÇϽʽÿÀ.
Element
Áßø(Nested) Ŭ·¡½º °³¿ä |
---|
ÀÎÅÍÆäÀ̽º javax.swing.text. AttributeSet ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º |
---|
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 ()
¿ä¼Ò¸¦ 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.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 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 µµ ÂüÁ¶ÇϽʽÿÀ.