|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.text.AsyncBoxView.ChildLocator
public class AsyncBoxView.ChildLocator
±¹ºÎÀÇ ÁÖº¯¿¡¼ º¯°æÀ» Çϰí ÀÖÀ» ¶§, ±¹ºÎ¿¡¼ÀÇÀÚ½Ä ºäÀÇ È¿°úÀûÀÎ À§Ä¡¸¦ °ü¸®Çϴ Ŭ·¡½ºÀÔ´Ï´Ù. AsyncBoxView´Â ¿¬¼ÓÀûÀ¸·Î º¯ÈÇÒ ¼ö ÀÖ½À´Ï´Ù¸¸, ·¹À̾ƿô thread°¡ °»½ÅÀ» ºÎ¸ð¿¡°Ô ÅëÁöÇÏ´Â °ÍÀ» °áÁ¤ÇÒ ¶§±îÁö, °¡½Ã ¿µ¿ªÀº ¾ÈÁ¤µÈ »óÅ·Π³²¾Æ ÀÖÀ» Çʿ䰡 ÀÖ½À´Ï´Ù.
ÇÊµå °³¿ä | |
---|---|
protected Rectangle |
childAlloc
°¡ºñÁö¸¦ ¸¹ÀÌ »ý¼ºÇÏ´Â °ÍÀ» ÇÇÇϱâ À§Çؼ ÀÚ½Ä ÀÇ ÇÒ´ç¿¡ »ç¿ëÇÏ´Â Çü»óÀÔ´Ï´Ù. |
protected Rectangle |
lastAlloc
º¯°æÀÌ ÀÂÊ¿¡ Ç÷¡½Ã µÇ¾úÀ» °æ¿ì¿¡ ¸¶Áö¸·¿¡ º¼ ¼ö ÀÖ´Â ÆäÀÎÆ®ÀÇÇØ ¼ö¼±À» À§ÇÑ ÇÒ´çÀÔ´Ï´Ù. |
protected AsyncBoxView.ChildState |
lastValidOffset
À¯È¿ÇÑ ¸¶Áö¸· ¿ÀÇÁ¼Â(offset) °è»êÀÇ À§Ä¡ÀÔ´Ï´Ù. |
»ý¼ºÀÚ °³¿ä | |
---|---|
AsyncBoxView.ChildLocator ()
¾ÆÀÌÀÇ locator¸¦ ±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
void |
childChanged (AsyncBoxView.ChildState cs)
¾ÆÀ̰¡ º¯°æµÇ¾ú´Ù°í ÇÏ´Â ÅëÁöÀÔ´Ï´Ù. |
protected Shape |
getChildAllocation (int index)
¾ÆÀÌ ºä¿¡ »ç¿ëÇÏ´Â ÇÒ´çÀ» ²¨³À´Ï´Ù. |
Shape |
getChildAllocation (int index,
Shape a)
¾ÆÀÌ ºä¿¡ »ç¿ëÇÏ´Â ÇÒ´çÀ» ²¨³À´Ï´Ù. |
int |
getViewIndexAtPoint (float x,
float y,
Shape a)
ÁöÁ¤µÈ Æ÷ÀÎÆ®ÀÇÀÚ½Ä ºäÀÎÁ§½º¸¦ ²¨³À´Ï´Ù. |
protected int |
getViewIndexAtVisualOffset (float targetOffset)
¹Ú½º¿¡ÀÇ ¿ÀÇÁ¼Â(offset)¸¦ ½Ç½ÃÇÏ´Â ºä¸¦, ÁÖÃà¿¡ µû¶ó ¹èÄ¡ÇÕ´Ï´Ù. |
void |
paintChildren (Graphics g)
Ŭ¸³ ¿µ¿ªÀ» ±³Â÷ÇÏ´Â ÀÚ½ÄÀ» ÆäÀÎÆ® ÇÕ´Ï´Ù. |
protected void |
setAllocation (Shape a)
ÇöÀç ÇÒ´çÇÒ ¼ö ÀÖ´Â Çü»óÀ» ÇöÀçÀÇ ÇÒ´çÀ» Æ÷ÇÔÇϴµ¥ »ç¿ëÇÏ´Â Rectangle¿¡ Ä«ÇÇÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ÇʵåÀÇ »ó¼¼ |
---|
protected AsyncBoxView.ChildState lastValidOffset
protected Rectangle lastAlloc
protected Rectangle childAlloc
»ý¼ºÀÚ »ó¼¼ |
---|
public AsyncBoxView.ChildLocator()
¸Þ¼µåÀÇ »ó¼¼ |
---|
public void childChanged(AsyncBoxView.ChildState cs)
public void paintChildren(Graphics g)
public Shape getChildAllocation(int index, Shape a)
public int getViewIndexAtPoint(float x, float y, Shape a)
x
- X ÁÂÇ¥ >= 0y
- Y ÁÂÇ¥ >= 0a
- View¿¡ ´ëÇÑ ÇÒ´ç
protected Shape getChildAllocation(int index)
protected void setAllocation(Shape a)
protected int getViewIndexAtVisualOffset(float targetOffset)
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.