JavaTM 2
Platform
Std.  Ed.  v1. 4.0

javax.swing.text
ÀÎÅÍÆäÀ̽º MutableAttributeSet

¸ðµç ½´ÆÛ ÀÎÅÍÆäÀ̽º:
AttributeSet
±âÁ¸ÀÇ ¼­ºê ÀÎÅÍÆäÀ̽ºÀÇ À϶÷:
Style
±âÁ¸ÀÇ ±¸Çö Ŭ·¡½ºÀÇ À϶÷:
AbstractDocument.AbstractElement , SimpleAttributeSet , StyleContext.NamedStyle

public interface MutableAttributeSet
extends AttributeSet

ÀÏÀÇÀÎ ¼Ó¼ºÀ» ¸ðÀº °¡º¯ ÄÝ·º¼ÇÀÇ ¹ü¿ë ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù. ±¸ÇöÀº ¾Æ¸¶, ´ÙÀ½ÀÇ Çü½ÄÀÇ constructor¸¦ Á¦°øÇÏ·Á°í ÇÕ´Ï´Ù. public XXXAttributeSet(ConstAttributeSet source);


ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä
 
Ŭ·¡½º javax.swing.text. AttributeSet À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º
AttributeSet.CharacterAttribute , AttributeSet.ColorAttribute , AttributeSet.FontAttribute , AttributeSet.ParagraphAttribute
 
ÇʵåÀÇ °³¿ä
 
ÀÎÅÍÆäÀ̽º javax.swing.text. AttributeSet ¿¡¼­ »ó¼Ó¹ÞÀº Çʵå
NameAttribute , ResolveAttribute
 
¸Þ¼ÒµåÀÇ °³¿ä
 void addAttribute (Object  name, Object  value)
          ÁöÁ¤µÈ À̸§°ú °ªÀ» °¡Áö´Â ¼Ó¼ºÀ» º¸°ü À¯ÁöÇÏ´Â °ÍÀ» Á¦¿ÜÇØ, À̰Ͱú °°Àº »õ·Î¿î ¼Ó¼º ¼¼Æ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
 void addAttributes (AttributeSet  attributes)
          ÁöÁ¤µÈ ¼Ó¼º°ú °ªÀ» °¡Áö´Â °ÍÀ» Á¦¿ÜÇØ, À̰Ͱú °°Àº »õ·Î¿î ¼Ó¼º ¼¼Æ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
 void removeAttribute (Object  name)
          ÁöÁ¤ÇÑ name ¸¦ °¡Áö´Â ¼Ó¼ºÀ» »èÁ¦ÇÕ´Ï´Ù.
 void removeAttributes (AttributeSet  attributes)
          ÁöÁ¤ÇÑ name ¸¦ °¡Áö´Â ¼Ó¼º ¼¼Æ®¸¦ »èÁ¦ÇÕ´Ï´Ù.
 void removeAttributes (Enumeration  names)
          ÁöÁ¤ÇÑ names ¸¦ °¡Áö´Â ¼Ó¼º ¼¼Æ®¸¦ »èÁ¦ÇÕ´Ï´Ù.
 void setResolveParent (AttributeSet  parent)
          Çؼ® ó¸®ÃøÀÇ ºÎ¸ð¸¦ ¼³Á¤ÇÕ´Ï´Ù.
 
ÀÎÅÍÆäÀ̽º javax.swing.text. AttributeSet ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
containsAttribute , containsAttributes , copyAttributes , getAttribute , getAttributeCount , getAttributeNames , getResolveParent , isDefined , isEqual
 

¸Þ¼ÒµåÀÇ »ó¼¼

addAttribute

public void addAttribute(Object  name,
                         Object  value)
ÁöÁ¤µÈ À̸§°ú °ªÀ» °¡Áö´Â ¼Ó¼ºÀ» º¸°ü À¯ÁöÇÏ´Â °ÍÀ» Á¦¿ÜÇØ, À̰Ͱú °°Àº »õ·Î¿î ¼Ó¼º ¼¼Æ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù. ¿ÀºêÁ§Æ®´Â ºÒº¯ÀÌ ¾Æ´Ï¸é ¾ÈµË´Ï´Ù. Áï, ¾î´À Ŭ¶óÀÌ¾ðÆ®¿¡ ÀÇÇØµµ º¯°æÇÒ ¼ö ¾ø½À´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
name - À̸§
value - Ä¡

addAttributes

public void addAttributes(AttributeSet  attributes)
ÁöÁ¤µÈ ¼Ó¼º°ú °ªÀ» °¡Áö´Â °ÍÀ» Á¦¿ÜÇØ, À̰Ͱú °°Àº »õ·Î¿î ¼Ó¼º ¼¼Æ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
attributes - ¼Ó¼º ¼¼Æ®

removeAttribute

public void removeAttribute(Object  name)
ÁöÁ¤ÇÑ name ¸¦ °¡Áö´Â ¼Ó¼ºÀ» »èÁ¦ÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
name - ¼Ó¼º¸í

removeAttributes

public void removeAttributes(Enumeration  names)
ÁöÁ¤ÇÑ names ¸¦ °¡Áö´Â ¼Ó¼º ¼¼Æ®¸¦ »èÁ¦ÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
names - À̸§¼¼Æ®

removeAttributes

public void removeAttributes(AttributeSet  attributes)
ÁöÁ¤ÇÑ name ¸¦ °¡Áö´Â ¼Ó¼º ¼¼Æ®¸¦ »èÁ¦ÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
attributes - ¼Ó¼º ¼¼Æ®

setResolveParent

public void setResolveParent(AttributeSet  parent)
ÇØ¼® ó¸®ÃøÀÇ ºÎ¸ð¸¦ ¼³Á¤ÇÕ´Ï´Ù. À̰ÍÀº ¼Ó¼ºÀÌ ·ÎÄÿ¡ Á¤ÀǵǾî ÀÖÁö ¾ÊÀºÁö ¾î¶²Áö¸¦ ÇØ¼® ó¸®Çϱâ À§ÇÑ ¼Ó¼º ¼¼Æ®ÀÔ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
parent - ºÎ¸ð

JavaTM 2
Platform
Std.  Ed.  v1. 4.0

¹ö±×ÀÇ º¸°í¿Í ±â´ÉÀÇ ¸®Äù½ºÆ®
ÀÌ¿ÜÀÇ API ·¹ÆÛ·±½º ¹× °³¹ßÀÚ¿ë ¹®¼­¿¡ ´ëÇØ¼­´Â Java 2 SDK SE °³¹ßÀÚ¿ë ¹®¼­¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä. °³¹ßÀÚÀü¿ëÀÇ »ó¼¼ÇÑ ÇØ¼³, °³³äÀÇ °³¿ä, ¿ë¾îÀÇ Á¤ÀÇ, ¹ö±×ÀÇ È¸ÇÇÃ¥, ¹× ÄÚµå ½Ç·Ê°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù.

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.