JavaTM 2
Platform
Std.  Ed.  v1. 4.0

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

±âÁ¸ÀÇ ±¸Çö Ŭ·¡½ºÀÇ À϶÷:
StyleContext
Æ÷ÇԵǾî ÀÖ´Â ÀÎÅÍÆäÀ̽º:
AbstractDocument

public static interface AbstractDocument.AttributeContext

ÀÌ ÀÎÅÍÆäÀ̽º´Â Ç÷¯±× ÀÎ °¡´ÉÇÑ ¼Ó¼º ¾ÐÃà ¼ö¹ýÀ» MutableAttributeSet ÀÇ ±¸ÇöÀ¸·Î »ç¿ë °¡´ÉÇÏ°Ô Çϱâ À§Çؼ­ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. AttributeSet ¸¦ ºÒº¯¿¡ À¯ÁöÇÒ °¡´É¼ºÀ» À¯ÁöÇϸ鼭, ÀÌÀüÀÇ AttributeSet ÀÇ ÀνºÅϽº¸¦ ´Ù¸¥ ÀνºÅϽº¿Í ±³È¯ÇÏ·Á¸é , ¼Ó¼º ¼¼Æ®ÀÇ º¯À̸¦ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ±¸ÇöÀº StyleContext Ŭ·¡½º¿¡ ÀÇÇØ Á¦°øµË´Ï´Ù. ÀÌ Å¬·¡½º°¡ Á¦°øÇÏ´Â Element ÀÇ ±¸ÇöÀº ÀÌ ÀÎÅÍÆäÀ̽º¸¦ »ç¿ëÇØ MutableAttributeSet ÀÇ ±¸ÇöÀ» Á¦°øÇØ, ´Ù¸¥ AttributeSet ¾ÐÃà ¼ö¹ýÀ» »ç¿ë °¡´ÉÇÏ°Ô ÇÕ´Ï´Ù. ÇÊ¿äÇÑ ¾ÐÃà ¼ö¹ýÀÇ ±¸ÇöÀ» ½Ç½ÃÇÏ´Â ¿ÀºêÁ§Æ®¸¦ µ¹·ÁÁÖµµ·Ï(µíÀÌ) ÇÏ·Á¸é , ¸Þ¼Òµå getAttributeContext ¸¦ ±¸ÇöÇÕ´Ï´Ù.

°ü·Ã Ç׸ñ:
StyleContext

¸Þ¼ÒµåÀÇ °³¿ä
 AttributeSet addAttribute (AttributeSet  old, Object  name, Object  value)
          ÁöÁ¤µÈ ¼¼Æ®¿¡ ¼Ó¼ºÀ» Ãß°¡ÇØ, ±× »õ·Î¿î ¼¼Æ®¸¦ µ¹·ÁÁÝ´Ï´Ù.
 AttributeSet addAttributes (AttributeSet  old, AttributeSet  attr)
          ¼Ó¼º ¼¼Æ®¸¦ ¿ä¼Ò¿¡ Ãß°¡ÇÕ´Ï´Ù.
 AttributeSet getEmptySet ()
          ÇÏ´ÃÀÇ ¼Ó¼º ¼¼Æ®¸¦ µ¹·ÁÁÝ´Ï´Ù.
 void reclaim (AttributeSet  a)
          ¼Ó¼º ¼¼Æ®¸¦ Àç»ýÇÕ´Ï´Ù.
 AttributeSet removeAttribute (AttributeSet  old, Object  name)
          ¼¼Æ®·ÎºÎÅÍ ¼Ó¼ºÀ» »èÁ¦ÇÕ´Ï´Ù.
 AttributeSet removeAttributes (AttributeSet  old, AttributeSet  attrs)
          ¿ä¼ÒÀÇ ¼Ó¼º ¼¼Æ®¸¦ »èÁ¦ÇÕ´Ï´Ù.
 AttributeSet removeAttributes (AttributeSet  old, Enumeration  names)
          ¿ä¼ÒÀÇ ¼Ó¼º ¼¼Æ®¸¦ »èÁ¦ÇÕ´Ï´Ù.
 

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

addAttribute

public AttributeSet  addAttribute(AttributeSet  old,
                                 Object  name,
                                 Object  value)
ÁöÁ¤µÈ ¼¼Æ®¿¡ ¼Ó¼ºÀ» Ãß°¡ÇØ, ±× »õ·Î¿î ¼¼Æ®¸¦ µ¹·ÁÁÝ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
old - ±¸¼Ó¼º ¼¼Æ®
name - null ÀÌ¿ÜÀÇ ¼Ó¼º¸í
value - ¼Ó¼ºÄ¡
¹Ýȯ°ª:
°»½Å ¼Ó¼º ¼¼Æ®
°ü·Ã Ç׸ñ:
MutableAttributeSet.addAttribute(java.lang.Object, java.lang.Object)

addAttributes

public AttributeSet  addAttributes(AttributeSet  old,
                                  AttributeSet  attr)
¼Ó¼º ¼¼Æ®¸¦ ¿ä¼Ò¿¡ Ãß°¡ÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
old - ±¸¼Ó¼º ¼¼Æ®
attr - Ãß°¡ÇÏ´Â ¼Ó¼º
¹Ýȯ°ª:
°»½Å ¼Ó¼º ¼¼Æ®
°ü·Ã Ç׸ñ:
MutableAttributeSet.addAttribute(java.lang.Object, java.lang.Object)

removeAttribute

public AttributeSet  removeAttribute(AttributeSet  old,
                                    Object  name)
¼¼Æ®·ÎºÎÅÍ ¼Ó¼ºÀ» »èÁ¦ÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
old - ±¸¼Ó¼º ¼¼Æ®
name - null ÀÌ¿ÜÀÇ ¼Ó¼º¸í
¹Ýȯ°ª:
°»½Å ¼Ó¼º ¼¼Æ®
°ü·Ã Ç׸ñ:
MutableAttributeSet.removeAttribute(java.lang.Object)

removeAttributes

public AttributeSet  removeAttributes(AttributeSet  old,
                                     Enumeration  names)
¿ä¼ÒÀÇ ¼Ó¼º ¼¼Æ®¸¦ »èÁ¦ÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
old - ±¸¼Ó¼º ¼¼Æ®
names - ¼Ó¼º¸í
¹Ýȯ°ª:
°»½Å ¼Ó¼º ¼¼Æ®
°ü·Ã Ç׸ñ:
MutableAttributeSet.removeAttributes(java.util.Enumeration)

removeAttributes

public AttributeSet  removeAttributes(AttributeSet  old,
                                     AttributeSet  attrs)
¿ä¼ÒÀÇ ¼Ó¼º ¼¼Æ®¸¦ »èÁ¦ÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
old - ±¸¼Ó¼º ¼¼Æ®
attrs - ¼Ó¼º
¹Ýȯ°ª:
°»½Å ¼Ó¼º ¼¼Æ®
°ü·Ã Ç׸ñ:
MutableAttributeSet.removeAttributes(java.util.Enumeration)

getEmptySet

public AttributeSet  getEmptySet()
ÇÏ´ÃÀÇ ¼Ó¼º ¼¼Æ®¸¦ µ¹·ÁÁÝ´Ï´Ù.

¹Ýȯ°ª:
¼Ó¼º ¼¼Æ®

reclaim

public void reclaim(AttributeSet  a)
¼Ó¼º ¼¼Æ®¸¦ Àç»ýÇÕ´Ï´Ù. À̰ÍÀº MutableAttributeSet °¡ ƯÁ¤ÀÇ ºÒº¯ÀÎ ¼¼Æ®¸¦ ÀÌÁ¦ ÇÊ¿ä·Î ÇÏÁö ¾Ê´Â °ÍÀ» ¸¶Å©Çϱâ À§ÇÑ ¹æ¹ýÀÔ´Ï´Ù. ¾àÂüÁ¶°¡ ¾ø´Â 1.1 ¿¡¼­¸¸ ÇÊ¿äÇÕ´Ï´Ù. 1.1 ÀÇ ±¸ÇöÀº À̰ÍÀ» ÆÄÀ̳ª¶óÀÌÁî¸Þ¼Úµå Áß(¾È)¿¡¼­ È£ÃâÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
a - Àç»ýÇÏ´Â ¼Ó¼º ¼¼Æ®

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.