|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
ÅØ½ºÆ®¿Í ±× ÅØ½ºÆ®¿¡ °ü·ÃÇÏ´Â ¼Ó¼º Á¤º¸¸¦, ¾î´ÀÂÊÀ̳ª ¹Ýº¹ ó¸® ÇÒ ¼ö ÀÖ°Ô ÇÕ´Ï´Ù.
¼Ó¼ºÀº Ű¿Í °ªÀÇ Æä¾îÀ̸ç, Ű·Î ½Äº°µË´Ï´Ù. 1 °³ÀÇ Ä³¸¯ÅÍ¿¡ ´ëÇØ¼ º¹¼öÀÇ ¼Ó¼º ۸¦ Á¤ÀÇÇÒ ¼ö ¾ø½À´Ï´Ù.
¼Ó¼ºÀÇ °ªÀº ºÒº¯ÀÔ´Ï´Ù. Áï, Ŭ¶óÀÌ¾ðÆ®³ª ½ºÅ丮Áö¿¡ ÀÇÇØ º¯°æÇÒ ¼ö ¾ø½À´Ï´Ù. ¼Ó¼ºÀÇ °ªÀº Ç×»ó ÂüÁ¶ ÀεµÀÔ´Ï´Ù. º¹Á¦µÉ °ÍÀº ¾ø½À´Ï´Ù.
´ÙÀ½ÀÇ °æ¿ì,¼Ó¼º¿¡ ´ëÇÑ ·±Àº ÃÖ´ë ÅØ½ºÆ® ¹üÀ§ÀÔ´Ï´Ù.
¼Ó¼º ¼¼Æ®¿¡ ´ëÇÑ ·±Àº °¢°¢ÀÇ ¸â¹ö ¼Ó¼º¿¡ ´ëÇØ »ó±âÀÇ Á¶°ÇÀÌ ¼º¸³ÇÏ´Â ÃÖ´ë ÅØ½ºÆ® ¹üÀ§ÀÔ´Ï´Ù.
µ¹·ÁÁÖ¾îÁö´Â À妽º´Â ¹Ýº¹ÀÚÀÇ ¹üÀ§·Î ÇÑÁ¤µË´Ï´Ù.
µ¹·ÁÁÖ¾îÁö´Â ¼Ó¼º Á¤º¸´Â ÇöÀçÀÇ Ä³¸¯Å͸¦ º¸°ü À¯ÁöÇÏ´Â ·±À¸·Î ÇÑÁ¤µË´Ï´Ù.
¼Ó¼º Ű´Â AttributedCharacterIterator.Attribute ¹× ±× ¼ºê Ŭ·¡½º (java.awt.font.TextAttribute µî)ÀÇ ÀνºÅϽºÀÔ´Ï´Ù.
AttributedCharacterIterator.Attribute
,
TextAttribute
,
AttributedString
,
Annotation
ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä | |
static class |
AttributedCharacterIterator.Attribute
ÅØ½ºÆ® ¼Ó¼ºÀÇ ½Äº°·Î »ç¿ëÇÏ´Â ¼Ó¼º ۸¦ Á¤ÀÇÇÕ´Ï´Ù. |
ÇʵåÀÇ °³¿ä |
ÀÎÅÍÆäÀ̽º java.text. CharacterIterator ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
DONE |
¸Þ¼ÒµåÀÇ °³¿ä | |
Set |
getAllAttributeKeys ()
¹Ýº¹ÀÚÀÇ ÅØ½ºÆ® ¹üÀ§¿¡¼ Á¤ÀÇµÈ ¸ðµç ¼Ó¼ºÀÇ Å°¸¦ µ¹·ÁÁÝ´Ï´Ù. |
Object |
getAttribute (AttributedCharacterIterator.Attribute attribute)
ÇöÀçÀÇ ¸óÁö¿¡ µµÂøÇØ ÁöÁ¤µÈ ¼Ó¼ºÀÇ °ªÀ» µ¹·ÁÁÝ´Ï´Ù. |
Map |
getAttributes ()
ÇöÀçÀÇ Ä³¸¯ÅÍ¿¡ Á¤ÀÇµÈ ¼Ó¼ºÀ» °¡Áö´Â MAP¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getRunLimit ()
ÇöÀçÀÇ Ä³¸¯Å͸¦ º¸°ü À¯ÁöÇÏ´Â ¸ðµç ¼Ó¼º¿¡ ´ëÇØ, ·±ÀÇ ´ÙÀ½¿¡ ¿À´Â ¼±µÎ ij¸¯ÅÍÀÇ À妽º¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getRunLimit (AttributedCharacterIterator.Attribute attribute)
ÇöÀçÀÇ Ä³¸¯Å͸¦ º¸°ü À¯ÁöÇÏ´Â ÁöÁ¤µÈ ¼Ó¼º¿¡ ´ëÇØ, ·±ÀÇ ´ÙÀ½¿¡ ¿À´Â ¼±µÎ ij¸¯ÅÍÀÇ À妽º¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getRunLimit (Set attributes)
ÇöÀçÀÇ Ä³¸¯Å͸¦ º¸°ü À¯ÁöÇÏ´Â ¸î°³ÀÇ ÁöÁ¤µÈ ¼Ó¼º¿¡ ´ëÇØ, ·±ÀÇ ´ÙÀ½¿¡ ¿À´Â ¼±µÎ ij¸¯ÅÍÀÇ À妽º¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getRunStart ()
ÇöÀçÀÇ Ä³¸¯Å͸¦ º¸°ü À¯ÁöÇÏ´Â ¸ðµç ¼Ó¼º¿¡ ´ëÇØ, ·±ÀÇ ¼±µÎ ij¸¯ÅÍÀÇ À妽º¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getRunStart (AttributedCharacterIterator.Attribute attribute)
ÇöÀçÀÇ Ä³¸¯Å͸¦ º¸°ü À¯ÁöÇÏ´Â ÁöÁ¤µÈ ¼Ó¼º¿¡ ´ëÇØ, ·±ÀÇ ¼±µÎ ij¸¯ÅÍÀÇ À妽º¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getRunStart (Set attributes)
ÇöÀçÀÇ Ä³¸¯Å͸¦ º¸°ü À¯ÁöÇÏ´Â ¸î°³ÀÇ ÁöÁ¤µÈ ¼Ó¼º¿¡ ´ëÇØ, ·±ÀÇ ¼±µÎ ij¸¯ÅÍÀÇ À妽º¸¦ µ¹·ÁÁÝ´Ï´Ù. |
ÀÎÅÍÆäÀ̽º java.text. CharacterIterator ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , current , first , getBeginIndex , getEndIndex , getIndex , last , next , previous , setIndex |
¸Þ¼ÒµåÀÇ »ó¼¼ |
public int getRunStart()
public int getRunStart(AttributedCharacterIterator.Attribute attribute)
public int getRunStart(Set attributes)
public int getRunLimit()
public int getRunLimit(AttributedCharacterIterator.Attribute attribute)
public int getRunLimit(Set attributes)
public Map getAttributes()
public Object getAttribute(AttributedCharacterIterator.Attribute attribute)
attribute
- Ä¡°¡ ¿ä±¸µÇ°í ÀÖ´Â ¼Ó¼ºÀÇ Å°public Set getAllAttributeKeys()
|
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.