|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.text.AttributedString
ÅØ½ºÆ®¿Í ±× ÅØ½ºÆ®¿¡ °ü·ÃÇÏ´Â ¼Ó¼º Á¤º¸¸¦ º¸°ü À¯ÁöÇÕ´Ï´Ù. ÅØ½ºÆ®¸¦ ÀÐÀº À¯Àú°¡ AttributedCharacterIterator ÀÎÅÍÆäÀ̽º¸¦ »ç¿ëÇØ ¼Ó¼º ÷ºÎ ÅØ½ºÆ®¿¡ ¾×¼¼½º ÇÏ´Â °ÍÀÌ ÇÊ¿äÇÑ °æ¿ì¿¡, À̰ÍÀ» ½ÇÁ¦ÀÇ µ¥ÀÌÅÍ ½ºÅ丮Áö·Î¼ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.
AttributedCharacterIterator
,
Annotation
»ý¼ºÀÚÀÇ °³¿ä | |
AttributedString (AttributedCharacterIterator text)
AttributedCharacterIterator ¿¡ ÀÇÇØ Ç¥ÇöµÇ´Â ÁöÁ¤µÈ ¼Ó¼º ÷ºÎ ÅØ½ºÆ®¸¦ °¡Áö´Â AttributedString ÀÇ ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù. |
|
AttributedString (AttributedCharacterIterator text,
int beginIndex,
int endIndex)
AttributedCharacterIterator ¿¡ ÀÇÇØ Ç¥ÇöµÇ´Â ÁöÁ¤µÈ ¼Ó¼º ÷ºÎ ÅØ½ºÆ®ÀÇ ºÎºÐ ¹üÀ§¸¦ °¡Áö´Â AttributedString ÀÇ ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù. |
|
AttributedString (AttributedCharacterIterator text,
int beginIndex,
int endIndex,
AttributedCharacterIterator.Attribute [] attributes)
AttributedCharacterIterator ¿¡ ÀÇÇØ Ç¥ÇöµÇ´Â ÁöÁ¤µÈ ¼Ó¼º ÷ºÎ ÅØ½ºÆ®ÀÇ ºÎºÐ ¹üÀ§¸¦ °¡Áö´Â AttributedString ÀÇ ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù. |
|
AttributedString (String text)
ÁöÁ¤µÈ ÅØ½ºÆ®¸¦ °¡Áö´Â AttributedString ÀÇ ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù. |
|
AttributedString (String text,
Map attributes)
ÁöÁ¤µÈ ÅØ½ºÆ®¿Í ¼Ó¼ºÀ» °¡Áö´Â AttributedString ÀÇ ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ °³¿ä | |
void |
addAttribute (AttributedCharacterIterator.Attribute attribute,
Object value)
¼Ó¼ºÀ» ij¸¯ÅÍ ¶óÀÎ Àüü¿¡ Ãß°¡ÇÕ´Ï´Ù. |
void |
addAttribute (AttributedCharacterIterator.Attribute attribute,
Object value,
int beginIndex,
int endIndex)
¼Ó¼ºÀ» ij¸¯ÅÍ ¶óÀÎÀÇ ºÎºÐ ¹üÀ§¿¡ Ãß°¡ÇÕ´Ï´Ù. |
void |
addAttributes (Map attributes,
int beginIndex,
int endIndex)
¼Ó¼º ¼¼Æ®¸¦ ij¸¯ÅÍ ¶óÀÎÀÇ ºÎºÐ ¹üÀ§¿¡ Ãß°¡ÇÕ´Ï´Ù. |
AttributedCharacterIterator |
getIterator ()
ij¸¯ÅÍ ¶óÀÎÀÇ ³»¿ë Àüü¿¡ÀÇ ¾×¼¼½º¸¦ Á¦°øÇÏ´Â AttributedCharacterIterator ÀÇ ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù. |
AttributedCharacterIterator |
getIterator (AttributedCharacterIterator.Attribute [] attributes)
ij¸¯ÅÍ ¶óÀÎÀÇ ¼±ÅÃµÈ ³»¿ë¿¡ÀÇ ¾×¼¼½º¸¦ Á¦°øÇÏ´Â AttributedCharacterIterator ÀÇ ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù. |
AttributedCharacterIterator |
getIterator (AttributedCharacterIterator.Attribute [] attributes,
int beginIndex,
int endIndex)
ij¸¯ÅÍ ¶óÀÎÀÇ ¼±ÅÃµÈ ³»¿ë¿¡ÀÇ ¾×¼¼½º¸¦ Á¦°øÇÏ´Â AttributedCharacterIterator ÀÇ ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
»ý¼ºÀÚÀÇ »ó¼¼ |
public AttributedString(String text)
text
- ¼Ó¼º ÷ºÎ ij¸¯ÅÍ ¶óÀÎÀÇ ÅØ½ºÆ®public AttributedString(String text, Map attributes)
text
- ¼Ó¼º ÷ºÎ ij¸¯ÅÍ ¶óÀÎÀÇ ÅØ½ºÆ®attributes
- ij¸¯ÅÍ ¶óÀÎ Àüü¿¡ Àû¿ëµÇ´Â ¼Ó¼º
IllegalArgumentException
- ÅØ½ºÆ®ÀåÀÌ 0 À¸·Î, ¼Ó¼º ÆÄ¶ó¹ÌÅͰ¡ ÇÏ´ÃÀÇ Map °¡ ¾Æ´Ñ °æ¿ì (¼Ó¼ºÀº ±æÀÌ 0 ÀÇ ¹üÀ§¿¡´Â Àû¿ëÇÒ ¼ö ¾ø´Ù)public AttributedString(AttributedCharacterIterator text)
text
- ¼Ó¼º ÷ºÎ ij¸¯ÅÍ ¶óÀÎÀÇ ÅØ½ºÆ®public AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex)
text
- ¼Ó¼º ÷ºÎ ij¸¯ÅÍ ¶óÀÎÀÇ ÅØ½ºÆ®beginIndex
- ¹üÀ§ÀÇ ¼±µÎ ij¸¯ÅÍÀÇ À妽ºendIndex
- ¹üÀ§ÀÇ ÃÖÁ¾ ij¸¯ÅÍÀÇ ´ÙÀ½¿¡ ¿À´Â ij¸¯ÅÍÀÇ À妽º
IllegalArgumentException
- beginIndex ¿Í endIndex ¿¡ ÀÇÇØ ÁöÁ¤µÇ´Â ºÎºÐ ¹üÀ§°¡ ÅØ½ºÆ® ¹üÀ§¿Ü¿¡ ÀÖ´Â °æ¿ìAnnotation
public AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, AttributedCharacterIterator.Attribute [] attributes)
text
- ¼Ó¼º ÷ºÎ ij¸¯ÅÍ ¶óÀÎÀÇ ÅØ½ºÆ®beginIndex
- ¹üÀ§ÀÇ ¼±µÎ ij¸¯ÅÍÀÇ À妽ºendIndex
- ¹üÀ§ÀÇ ÃÖÁ¾ ij¸¯ÅÍÀÇ ´ÙÀ½¿¡ ¿À´Â ij¸¯ÅÍÀÇ À妽ºattributes
- ÅØ½ºÆ®·ÎºÎÅÍ ÃßÃâµÇ´Â ¼Ó¼º. null ¸¦ ÁöÁ¤Çϸé(ÀÚ), ÀÌ¿ë °¡´ÉÇÑ ¸ðµç ¼Ó¼ºÀÌ »ç¿ëµÈ´Ù
IllegalArgumentException
- beginIndex ¿Í endIndex ¿¡ ÀÇÇØ ÁöÁ¤µÇ´Â ºÎºÐ ¹üÀ§°¡ ÅØ½ºÆ® ¹üÀ§¿Ü¿¡ ÀÖ´Â °æ¿ìAnnotation
¸Þ¼ÒµåÀÇ »ó¼¼ |
public void addAttribute(AttributedCharacterIterator.Attribute attribute, Object value)
attribute
- ¼Ó¼º Űvalue
- ¼Ó¼ºÀÇ °ª. null ÀÇ °æ¿ìµµ ÀÖ´Ù
IllegalArgumentException
- AttributedString ÀÇ ±æÀ̰¡ 0 ÀÇ °æ¿ì (¼Ó¼ºÀº ±æÀÌ 0 ÀÇ ¹üÀ§¿¡´Â Àû¿ëÇÒ ¼ö ¾ø´Ù)public void addAttribute(AttributedCharacterIterator.Attribute attribute, Object value, int beginIndex, int endIndex)
attribute
- ¼Ó¼º Űvalue
- ¼Ó¼ºÀÇ °ª. null ÀÇ °æ¿ìµµ ÀÖ´ÂbeginIndex
- ¹üÀ§ÀÇ ¼±µÎ ij¸¯ÅÍÀÇ À妽ºendIndex
- ¹üÀ§ÀÇ ÃÖÁ¾ ij¸¯ÅÍÀÇ ´ÙÀ½¿¡ ¿À´Â ij¸¯ÅÍÀÇ À妽º
IllegalArgumentException
- beginIndex °¡ 0 º¸´Ù ÀÛÀº °æ¿ì, endIndex °¡ ij¸¯ÅÍ ¶óÀÎÀ庸´Ù Å« °æ¿ì, ¶Ç´Â beginIndex ¿Í endIndex ÀÇ Æí¼ºÀÌ Ä³¸¯ÅÍ ¶óÀÎÀÇ ÇÏ´ÃÀÌ ¾Æ´Ñ ºÎºÐ ¹üÀ§¸¦ Á¤ÀÇÇÏÁö ¾Ê´Â °æ¿ìpublic void addAttributes(Map attributes, int beginIndex, int endIndex)
attributes
- ij¸¯ÅÍ ¶óÀο¡ Ãß°¡ÇÏ´Â ¼Ó¼ºbeginIndex
- ¹üÀ§ÀÇ ¼±µÎ ij¸¯ÅÍÀÇ À妽ºendIndex
- ¹üÀ§ÀÇ ÃÖÁ¾ ij¸¯ÅÍÀÇ ´ÙÀ½¿¡ ¿À´Â ij¸¯ÅÍÀÇ À妽º
IllegalArgumentException
- beginIndex °¡ 0 º¸´Ù ÀÛÀº °æ¿ì, endIndex °¡ ij¸¯ÅÍ ¶óÀÎÀ庸´Ù Å« °æ¿ì, ¶Ç´Â beginIndex ¿Í endIndex ÀÇ Æí¼ºÀÌ Ä³¸¯ÅÍ ¶óÀÎÀÇ ÇÏ´ÃÀÌ ¾Æ´Ñ ºÎºÐ ¹üÀ§¸¦ Á¤ÀÇÇÏÁö ¾Ê°í ¼Ó¼º ÆÄ¶ó¹ÌÅͰ¡ ÇÏ´ÃÀÇ Map °¡ ¾Æ´Ñ °æ¿ìpublic AttributedCharacterIterator getIterator()
public AttributedCharacterIterator getIterator(AttributedCharacterIterator.Attribute [] attributes)
attributes
- Ŭ¶óÀÌ¾ðÆ®°¡ °ü½ÉÀ» °¡Áö´Â ¼Ó¼ºÀÇ ¸®½ºÆ®
public AttributedCharacterIterator getIterator(AttributedCharacterIterator.Attribute [] attributes, int beginIndex, int endIndex)
attributes
- Ŭ¶óÀÌ¾ðÆ®°¡ °ü½ÉÀ» °¡Áö´Â ¼Ó¼ºÀÇ ¸®½ºÆ®beginIndex
- ¼±µÎ ij¸¯ÅÍÀÇ À妽ºendIndex
- ¸¶Áö¸· ij¸¯ÅÍÀÇ ´ÙÀ½¿¡ ¿À´Â ij¸¯ÅÍÀÇ À妽º
IllegalArgumentException
- beginIndex °¡ 0 º¸´Ù ÀÛÀº °æ¿ì, endIndex °¡ ij¸¯ÅÍ ¶óÀÎÀ庸´Ù Å« °æ¿ì, ¶Ç´Â beginIndex °¡ endIndex º¸´Ù Å« °æ¿ì
|
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.