|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.awt.font.GlyphJustificationInfo
public final class GlyphJustificationInfo
GlyphJustificationInfo
Ŭ·¡½º´Â ±×·¡ÇÁ
ÀÇ À§Ä¡ °¡Áö·±È÷ ÇϰíÀÇ ÇÁ·ÎÆÛƼ¿¡ °üÇÑ Á¤º¸¸¦ ³ªÅ¸³À´Ï´Ù. ±×·¡ÇÁ
¶õ
1°³
ÀÌ»óÀÇ ¹®ÀÚÀÇ ½Ã°¢ÀûÀΠǥÇöÀÔ´Ï´Ù. ´ÜÀÏ ¹®ÀÚ ¶Ç´Â º¹¼öÀÇ ¹®ÀÚÀÇ Æí¼ºÀ» Ç¥ÇöÇϱâ À§Çؼ
´Ù¾çÇÑ ¸¹Àº ±×·¡ÇÁ¸¦ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. GlyphJustificationInfo
·Î
³ªÅ¸³»Áö´Â 4°³ÀÇ À§Ä¡ °¡Áö·±È÷ Çϰí ÇÁ·ÎÆÛƼ´Â ¿þÀÌÆ®, priority, ¾Æºê¼Òºê ¹× ¸®¹ÔÆ®ÀÔ´Ï´Ù.
¿þÀÌÆ®´Â Çà¿¡ ÀÖ´Â ±×·¡ÇÁ ÀÇ ÀüüÀûÀÎ Áß·®°¨À» ³ªÅ¸³À´Ï´Ù. º¸Åë, ¿þÀÌÆ®´Â ÆùÆ®ÀÇ »çÀÌÁî¿¡ Á¤ºñ·Ê ÇÕ´Ï´Ù. ±×·¡ÇÁ ÀÇ ¿þÀÌÆ®°¡ ¹«°Å¿ï Á¤µµ(¼ö·Ï), °Å±â¿¡ ÀÀÇØº¸´Ù Å« »çÀ̸¦ ÇÒ´çÇÒ ¼ö ÀÖ½À´Ï´Ù.
priority´Â ÀÌ ±×·¡ÇÁ¸¦ »ç¿ëÇÏ´Â À§Ä¡ °¡Áö·±È÷ ÇϰíÀÇ ´Ü°è¸¦ ÁöÁ¤ÇÕ´Ï´Ù. priority°¡ °°Àº ±×·¡ÇÁ´Â ¸ðµÎ, ´ÙÀ½ÀÇ priorityÀÇ ±×·¡ÇÁ º¸´Ù ¸ÕÀú 󸮵˴ϴÙ. ¿µ¿ª»óÀÇ ¸ðµç º¯°æÀ» ¾î´À priorityÀÇ ±×·¡ÇÁ Àüü·Î ¸®¹ÔÆ®¸¦ ³ÑÁö ¾Ê°í ¹èºÐÇÒ ¼ö ÀÖ´Â °æ¿ì´Â ´ÙÀ½ÀÇ priorityÀÇ ±×·¡ÇÁ¸¦ Á¶»çÇÒ °ÍÀº ¾ø½À´Ï´Ù. priority¿¡´Â kashida, whitespace, interchar ¹× none 4 Á¾·ù°¡ ÀÖ½À´Ï´Ù. KASHIDA°¡ ÃÖÃÊ·Î Á¶»çÇÒ ¼ö ÀÖ´Â priority·Î NONE°¡ ¸¶Áö¸·¿¡ µË´Ï´Ù.
¾Æºê¼Òºê (Èí¼ö)´Â ±×·¡ÇÁ°¡ ¿µ¿ª³»ÀÇ ¸ðµç º¯°æÀ» Èí¼öÇÒÁö ¾î¶³Áö¸¦ ÁöÁ¤ÇÕ´Ï´Ù. ÀÓÀÇÀÇ priority·Î ¿µ¿ª¿¡¼ÀÇ ¸ðµç º¯°æÀ» Èí¼öÇÏ´Â ±×·¡ÇÁ°¡ À־ ±¦Âú½À´Ï´Ù. ±×·¯ÇÑ ±×·¡ÇÁ°¡ ÀÖ´Â °æ¿ì, ÀÌÈÄÀÇ priority¿¡ ÀÖ´Â ±×·¡ÇÁ´Â ÀÏü Á¶»çÇÏÁö ¾Ê½À´Ï´Ù.
¸®¹ÔÆ®´Â ±×·¡ÇÁ¸¦ º¯ÈÇÒ ¼ö ÀÖ´Â ¾çÀÇ ÃÖ´ë°ª, ȤÀº ÃÖ¼Ò°ªÀ» ÁöÁ¤ÇÕ´Ï´Ù. ±×·¡ÇÁ ÀÇ ¿ìÃø°ú ÁÂÃø¿¡¼ ¸®¹ÔÆ®°¡ ´Ù¸¥ °æ¿ìµµ ÀÖ½À´Ï´Ù.
°¢ GlyphJustificationInfo
´Â
¡¸½ÅÀ塹°ú¡¸¼öÃࡹÀ̶ó°í ÇÏ´Â 2°³ÀÇ ¸ÞÆ®¸¯½º¸¦ ³ªÅ¸³À´Ï´Ù. ½ÅÀå ¸ÞÆ®¸¯½º´Â Çà¿¡ ÀÖ´Â ±×·¡ÇÁ¸¦ º¸´Ù ³ÐÀº Æø¿¡ ¸ÂÃß¾î ºñ¿ì´Â °æ¿ì¿¡ »ç¿ëÇØ, ¼öÃà ¸ÞÆ®¸¯½º´Â º¸´Ù Á¼Àº Æø¿¡ ¸ÂÃß¾î ±×·¡ÇÁ¸¦ ä¿ï ¶§ »ç¿ëÇÕ´Ï´Ù.
ÇÊµå °³¿ä | |
---|---|
boolean |
growAbsorb
true ÀÎ °æ¿ì, ÀÌ ±×·¡ÇÁ´Â ½ÅÀåÇÒ °æ¿ì¿¡
ÀڽŰú °°Àº°¡ ±×°Í ¾Æ·¡ÀÇ priority ·¹º§ÀÇ ¿©ºÐÀÇ ¿µ¿ªÀ» ¸ðµÎ Èí¼öÇÕ´Ï´Ù. |
float |
growLeftLimit
ÀÌ ±×·¡ÇÁ ÀÇ ÁÂÃø¿¡¼ ½ÅÀåÇÒ ¼ö ÀÖ´Â ÃÖ´ë·®ÀÔ´Ï´Ù. |
int |
growPriority
½ÅÀåÇÒ ¶§ÀÇ, ÀÌ ±×·¡ÇÁ ÀÇ priority ·¹º§ÀÔ´Ï´Ù. |
float |
growRightLimit
ÀÌ ±×·¡ÇÁ ÀÇ ¿ìÃø¿¡¼ ½ÅÀåÇÒ ¼ö ÀÖ´Â ÃÖ´ë·®ÀÔ´Ï´Ù. |
static int |
PRIORITY_INTERCHAR
À§Ä¡ °¡Áö·±È÷ ÇϰíÀÇ ¾Æ·¡·ÎºÎÅÍ 2¹øÂ°ÀÇ priorityÀÔ´Ï´Ù. |
static int |
PRIORITY_KASHIDA
À§Ä¡ °¡Áö·±È÷ ÇϰíÀÇ ÃÖ°íÁ¤µµÀÇ priorityÀÔ´Ï´Ù. |
static int |
PRIORITY_NONE
À§Ä¡ °¡Áö·±È÷ ÇϰíÀÇ ÃÖÀúÁ¤µµÀÇ priorityÀÔ´Ï´Ù. |
static int |
PRIORITY_WHITESPACE
À§Ä¡ °¡Áö·±È÷ ÇϰíÀÇ 2¹øÂ°ÀÇ priorityÀÔ´Ï´Ù. |
boolean |
shrinkAbsorb
true ÀÎ °æ¿ì, ÀÌ ±×·¡ÇÁ´Â ¼öÃàÇÒ °æ¿ì¿¡
ÀڽŰú °°Àº°¡ ±×°Í ¾Æ·¡ÀÇ priority ·¹º§ÀÇ ¹Ì¼öÃàºÐÀ» ¸ðµÎ Èí¼öÇÕ´Ï´Ù. |
float |
shrinkLeftLimit
ÀÌ ±×·¡ÇÁ ÀÇ ÁÂÃø¿¡¼ ¼öÃàÇÒ ¼ö ÀÖ´Â ÃÖ´ë·®ÀÔ´Ï´Ù. |
int |
shrinkPriority
¼öÃàÇÒ ¶§ÀÇ, ÀÌ ±×·¡ÇÁ ÀÇ priority ·¹º§ÀÔ´Ï´Ù. |
float |
shrinkRightLimit
ÀÌ ±×·¡ÇÁ ÀÇ ¿ìÃø¿¡¼ ¼öÃàÇÒ ¼ö ÀÖ´Â ÃÖ´ë·®ÀÔ´Ï´Ù. |
float |
weight
ÀÌ ±×·¡ÇÁ ÀÇ ¿þÀÌÆ®ÀÔ´Ï´Ù. |
»ý¼ºÀÚ °³¿ä | |
---|---|
GlyphJustificationInfo (float weight,
boolean growAbsorb,
int growPriority,
float growLeftLimit,
float growRightLimit,
boolean shrinkAbsorb,
int shrinkPriority,
float shrinkLeftLimit,
float shrinkRightLimit)
±×·¡ÇÁ ÀÇ À§Ä¡ °¡Áö·±È÷ ÇϰíÀÇ ÇÁ·ÎÆÛƼ¿¡ °üÇÑ Á¤º¸¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä |
---|
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ÇʵåÀÇ »ó¼¼ |
---|
public static final int PRIORITY_KASHIDA
public static final int PRIORITY_WHITESPACE
public static final int PRIORITY_INTERCHAR
public static final int PRIORITY_NONE
public final float weight
public final int growPriority
public final boolean growAbsorb
true
ÀÎ °æ¿ì, ÀÌ ±×·¡ÇÁ´Â ½ÅÀåÇÒ °æ¿ì¿¡
ÀڽŰú °°Àº°¡ ±×°Í ¾Æ·¡ÀÇ priority ·¹º§ÀÇ ¿©ºÐÀÇ ¿µ¿ªÀ» ¸ðµÎ Èí¼öÇÕ´Ï´Ù.
public final float growLeftLimit
public final float growRightLimit
public final int shrinkPriority
public final boolean shrinkAbsorb
true
ÀÎ °æ¿ì, ÀÌ ±×·¡ÇÁ´Â ¼öÃàÇÒ °æ¿ì¿¡
ÀڽŰú °°Àº°¡ ±×°Í ¾Æ·¡ÀÇ priority ·¹º§ÀÇ ¹Ì¼öÃàºÐÀ» ¸ðµÎ Èí¼öÇÕ´Ï´Ù.
public final float shrinkLeftLimit
public final float shrinkRightLimit
»ý¼ºÀÚ »ó¼¼ |
---|
public GlyphJustificationInfo(float weight, boolean growAbsorb, int growPriority, float growLeftLimit, float growRightLimit, boolean shrinkAbsorb, int shrinkPriority, float shrinkLeftLimit, float shrinkRightLimit)
weight
- ¿µ¿ªÀ» ÇÒ´çÇÒ ¶§ÀÇ, ÀÌ ±×·¡ÇÁ
ÀÇ ¿þÀÌÆ®. ºÎ°¡ ¾Æ´Ñ ¼öÄ¡growAbsorb
- true
ÀÎ °æ¿ì, ÀÌ ±×·¡ÇÁ´Â ½ÅÀåÇÒ °æ¿ì¿¡ ÀڽŰú °°Àº°¡ ±×°Í ¾Æ·¡ÀÇ priority ·¹º§ÀÇ ¿©ºÐÀÇ ¿µ¿ªÀ» ¸ðµÎ Èí¼öÇÏ´ÂgrowPriority
- ½ÅÀåÇÒ ¶§ÀÇ, ÀÌ ±×·¡ÇÁ
ÀÇ priority ·¹º§growLeftLimit
- ÀÌ ±×·¡ÇÁ
ÀÇ ÁÂÃø¿¡¼ ½ÅÀåÇÒ ¼ö ÀÖ´Â ÃÖ´ë·®. ºÎ°¡ ¾Æ´Ñ ¼öÄ¡growRightLimit
- ÀÌ ±×·¡ÇÁ
ÀÇ ¿ìÃø¿¡¼ ½ÅÀåÇÒ ¼ö ÀÖ´Â ÃÖ´ë·®. ºÎ°¡ ¾Æ´Ñ ¼öÄ¡shrinkAbsorb
- true
ÀÎ °æ¿ì, ÀÌ ±×·¡ÇÁ´Â ¼öÃàÇÒ °æ¿ì¿¡ ÀڽŰú °°Àº°¡ ±×°Í ¾Æ·¡ÀÇ priority ·¹º§ÀÇ ¹Ì¼öÃàºÐÀ» ¸ðµÎ Èí¼öÇÏ´ÂshrinkPriority
- ¼öÃàÇÒ ¶§ÀÇ, ÀÌ ±×·¡ÇÁ
ÀÇ priority ·¹º§shrinkLeftLimit
- ÀÌ ±×·¡ÇÁ
ÀÇ ÁÂÃø¿¡¼ ¼öÃàÇÒ ¼ö ÀÖ´Â ÃÖ´ë·®. ºÎ°¡ ¾Æ´Ñ ¼öÄ¡shrinkRightLimit
- ÀÌ ±×·¡ÇÁ
ÀÇ ¿ìÃø¿¡¼ ¼öÃàÇÒ ¼ö ÀÖ´Â ÃÖ´ë·®. ºÎ°¡ ¾Æ´Ñ ¼öÄ¡
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.