|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
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 ()
ºñ¾îÀÖ´Â AttributeSet¸¦ ²¨³À´Ï´Ù. |
void |
reclaim (AttributeSet a)
¼Ó¼º ¼¼Æ®¸¦ Àç»ýÇÕ´Ï´Ù. |
AttributeSet |
removeAttribute (AttributeSet old,
Object name)
¼¼Æ®·ÎºÎÅÍ ¼Ó¼ºÀ» »èÁ¦ÇÕ´Ï´Ù. |
AttributeSet |
removeAttributes (AttributeSet old,
AttributeSet attrs)
¿ä¼ÒÀÇ ¼Ó¼º ¼¼Æ®¸¦ »èÁ¦ÇÕ´Ï´Ù. |
AttributeSet |
removeAttributes (AttributeSet old,
Enumeration <? > names)
¿ä¼ÒÀÇ ¼Ó¼º ¼¼Æ®¸¦ »èÁ¦ÇÕ´Ï´Ù. |
¸Þ¼µåÀÇ »ó¼¼ |
---|
AttributeSet addAttribute(AttributeSet old, Object name, Object value)
old
- ±¸¼Ó¼º ¼¼Æ®name
- null ÀÌ¿ÜÀÇ ¼Ó¼º¸ívalue
- ¼Ó¼º°ª
MutableAttributeSet.addAttribute(java.lang.Object, java.lang.Object)
AttributeSet addAttributes(AttributeSet old, AttributeSet attr)
old
- ±¸¼Ó¼º ¼¼Æ®attr
- Ãß°¡ÇÏ´Â ¼Ó¼º
MutableAttributeSet.addAttribute(java.lang.Object, java.lang.Object)
AttributeSet removeAttribute(AttributeSet old, Object name)
old
- ±¸¼Ó¼º ¼¼Æ®name
- null ÀÌ¿ÜÀÇ ¼Ó¼º¸í
MutableAttributeSet.removeAttribute(java.lang.Object)
AttributeSet removeAttributes(AttributeSet old, Enumeration <? > names)
old
- ±¸¼Ó¼º ¼¼Æ®names
- ¼Ó¼º¸í
MutableAttributeSet.removeAttributes(java.util.Enumeration >)
AttributeSet removeAttributes(AttributeSet old, AttributeSet attrs)
old
- ±¸¼Ó¼º ¼¼Æ®attrs
- ¼Ó¼º
MutableAttributeSet.removeAttributes(java.util.Enumeration >)
AttributeSet getEmptySet()
void reclaim(AttributeSet a)
a
- Àç»ýÇÏ´Â ¼Ó¼º ¼¼Æ®
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.