|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
ÀÌ ÀÎÅÍÆäÀ̽º´Â Ç÷¯±× ÀÎ °¡´ÉÇÑ ¼Ó¼º ¾ÐÃà ¼ö¹ýÀ» 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)
¿ä¼ÒÀÇ ¼Ó¼º ¼¼Æ®¸¦ »èÁ¦ÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ »ó¼¼ |
public AttributeSet addAttribute(AttributeSet old, Object name, Object value)
old
- ±¸¼Ó¼º ¼¼Æ®name
- null ÀÌ¿ÜÀÇ ¼Ó¼º¸ívalue
- ¼Ó¼ºÄ¡
MutableAttributeSet.addAttribute(java.lang.Object, java.lang.Object)
public AttributeSet addAttributes(AttributeSet old, AttributeSet attr)
old
- ±¸¼Ó¼º ¼¼Æ®attr
- Ãß°¡ÇÏ´Â ¼Ó¼º
MutableAttributeSet.addAttribute(java.lang.Object, java.lang.Object)
public AttributeSet removeAttribute(AttributeSet old, Object name)
old
- ±¸¼Ó¼º ¼¼Æ®name
- null ÀÌ¿ÜÀÇ ¼Ó¼º¸í
MutableAttributeSet.removeAttribute(java.lang.Object)
public AttributeSet removeAttributes(AttributeSet old, Enumeration names)
old
- ±¸¼Ó¼º ¼¼Æ®names
- ¼Ó¼º¸í
MutableAttributeSet.removeAttributes(java.util.Enumeration)
public AttributeSet removeAttributes(AttributeSet old, AttributeSet attrs)
old
- ±¸¼Ó¼º ¼¼Æ®attrs
- ¼Ó¼º
MutableAttributeSet.removeAttributes(java.util.Enumeration)
public AttributeSet getEmptySet()
public void reclaim(AttributeSet a)
a
- Àç»ýÇÏ´Â ¼Ó¼º ¼¼Æ®
|
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.