|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.text.AbstractDocument.AbstractElement | +--javax.swing.text.AbstractDocument.BranchElement
´Ù¸¥ ¿ä¼Ò¸¦ Æ÷ÇÔÇÑ º¹ÇÕ ¿ä¼Ò¸¦ ±¸ÇöÇÕ´Ï´Ù.
°æ°í:
ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ ¿ÀºêÁ§Æ®´Â ÇâÈÄÀÇ Swing ÀÇ ¸±¸®½º¿Í´Â ȣȯ¼ºÀ» °¡ÁöÁö ¾Ê½À´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈ ¼Æ÷Æ®´Â ´Ü±â°£ÀÇ ¿î¿ëÀ̳ª, °°Àº ¹öÁ¯ÀÇ Swing ¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI ¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. 1.4 ¿¡¼´Â ¸ðµç JavaBeansTM ÀÇ Àå±â ¿î¿ë ¼Æ÷Æ®°¡, java.beans
ÆÐŰÁö¿¡ Ãß°¡µÇ¾ú½À´Ï´Ù. XMLEncoder
¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä |
Ŭ·¡½º javax.swing.text. AttributeSet À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
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 , 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.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
public int getEndOffset()
Element
³»ÀÇ getEndOffset
AbstractDocument.AbstractElement
³»ÀÇ getEndOffset
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
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.