|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.text.AsyncBoxView.ChildLocator
±¹ºÎÀÇ ÁÖº¯¿¡¼ º¯°æÀ» Çϰí ÀÖÀ» ¶§, ±¹ºÎ¿¡¼ÀÇ ¾ÆÀÌ ºäÀÇ È¿°úÀûÀÎ À§Ä¡¸¦ °ü¸®Çϴ Ŭ·¡½ºÀÔ´Ï´Ù. AsyncBoxView ´Â ¿¬¼ÓÀûÀ¸·Î º¯ÈÇÒ ¼ö ÀÖ½À´Ï´Ù¸¸, ·¹À̾ƿô thread°¡ °»½ÅÀ» ºÎ¸ð¿¡°Ô ÅëÁöÇÏ´Â °ÍÀ» °áÁ¤ÇÒ ¶§±îÁö °¡½Ã area´Â ¾ÈÁ¤µÈ »óÅ·Π³²¾Æ ÀÖÀ» Çʿ䰡 ÀÖ½À´Ï´Ù.
ÇʵåÀÇ °³¿ä | |
protected Rectangle |
childAlloc
°¡º£Áö¸¦ ¸¹ÀÌ »ý¼ºÇÏ´Â °ÍÀ» ÇÇÇϱâ À§Çؼ(¶§¹®¿¡), ¾ÆÀÌÀÇ ÇÒ´ç¿¡ »ç¿ëÇÏ´Â Çü»óÀÔ´Ï´Ù. |
protected Rectangle |
lastAlloc
º¯°æÀÌ ÀÂÊ¿¡ Ç÷¡½Ã µÇ¾úÀ» °æ¿ì¿¡, ¸¶Áö¸·¿¡ º¼ ¼ö ÀÖ´Â paint ÇØ ¼ö¼±À» À§ÇÑ ÇÒ´çÀÔ´Ï´Ù. |
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)
Ŭ¸³ area¸¦ ±³Â÷ÇÏ´Â ¾ÆÀ̸¦ paint ÇÕ´Ï´Ù. |
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 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.