JavaTM 2 Platform
Standard Ed. 5.0

java.awt.dnd
ÀÎÅÍÆäÀ̽º Autoscroll


public interface Autoscroll

DnD Á¶ÀÛÁß, ±× ½ÃÁ¡¿¡¼­´Â »ç¿ëÀÚ ·Î º¸ÀÌÁö ¾ÊÀº ½ºÅ©·Ñ °¡´ÉÇÑ GUI ÄÁÆ®·ÑÀÇ ¿µ¿ª¿¡ Á¶ÀÛÀÇ ´ë»óÀ» µå·Ó ÇÏ°í ½ÍÀº °æ¿ì°¡ ÀÖ½À´Ï´Ù.

±×·¯ÇÑ °æ¿ì, ¾Èº¸ÀÌ´Â ¿µ¿ªÀ» º¸À̵µ·Ï Çϱâ À§Çؼ­ GUI ÄÁÆ®·Ñ¿¡ ÇÑ °ËÃâÀ»ÀÇÇØ ½ºÅ©·Ñ 󸮰¡ °³½ÃµÇ¸é Æí¸®ÇÕ´Ï´Ù. ÀÌ ±â´ÉÀº ÀÚµ¿ ½ºÅ©·Ñ·Î ºÒ¸³´Ï´Ù.

GUI ÄÁÆ®·ÑÀÌ È°¼ºÈ­µÈ DropTarget À̸ç, ½ºÅ©·Ñ °¡´ÉÇϱ⵵ ÇÏ´Â °æ¿ì, ÀÌ ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇÏ´Â °Í¿¡ÀÇÇØ »ç¿ëÀÚ°¡ ÀÚµ¿ ½ºÅ©·Ñ Á¦½ºÃ߾ ÇÊ¿ä·Î ÇÏ°í ÀÖÀ» ¶§, ÀÌ ÅëÁö¸¦ DnD ½Ã½ºÅÛÀ¸·ÎºÎÅÍ ¼ö½ÅÇÒ ¼ö ÀÖ½À´Ï´Ù.

ÀÚµ¿ ½ºÅ©·Ñ Á¦½ºÃ߾ °³½ÃÇÏ·Á¸é, ¡¸ÀÚµ¿ ½ºÅ©·Ñ ¿µ¿ª¡¹À̶ó°í ºÒ¸®´Â Component º¸´õ ¿µ¿ª¿¡¼­ µå·¡±× Ä¿¼­¸¦ »çÀüÀ¸·Î ¼³Á¤ÇÑ ½Ã°£¸¸ Á¤Áö½Ãŵ´Ï´Ù. ÀÌ°Í¿¡ ÀÇÇØ µå·¡±× Cursor¸¦ ´Ù½Ã À̵¿½Ãų ¶§±îÁö Component¿¡ ¹Ýº¹ÇØ ½ºÅ©·Ñ ¿ä±¸°¡ º¸³»Áý´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.2

¸Þ¼­µå °³¿ä
 void autoscroll (Point  cursorLocn)
          Component¿¡ ÀÚµ¿ ½ºÅ©·Ñ Çϵµ·Ï ÅëÁöÇÕ´Ï´Ù.
 Insets getAutoscrollInsets ()
          ÀÌ ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇÏ´Â Component Áö¿À¸ÞÆ®¸®¸¦ ±âÁØ¿¡ ÀÚµ¿ ½ºÅ©·Ñ ¿µ¿ª ¶Ç´Â º¸´õ¸¦ ±â¼úÇÏ´Â Insets°¡ ¸®Åϵ˴ϴ٠.
 

¸Þ¼­µåÀÇ »ó¼¼

getAutoscrollInsets

Insets  getAutoscrollInsets()
ÀÌ ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇÏ´Â Component Áö¿À¸ÞÆ®¸®¸¦ ±âÁØ¿¡ ÀÚµ¿ ½ºÅ©·Ñ ¿µ¿ª ¶Ç´Â º¸´õ¸¦ ±â¼úÇÏ´Â Insets°¡ ¸®Åϵ˴ϴ٠.

ÀÌ °ªÀº °ü·ÃµÈ Component¿¡ µå·¡±× Cursor°¡ µé¾î°¬À» ¶§¿¡ DropTarget¿¡ ÀÇÇØ ÇÑ ¹ø¸¸ ÀоÁý´Ï´Ù.

¹Ýȯ°ª:
ÀÎ ¼¼Æ®

autoscroll

void autoscroll(Point  cursorLocn)
Component¿¡ ÀÚµ¿ ½ºÅ©·Ñ Çϵµ·Ï ÅëÁöÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
cursorLocn - ÀÌ Á¶ÀÛÀ» Æ®¸®°Å ÇÑ Ä¿¼­ÀÇ À§Ä¡¸¦ ³ªÅ¸³»´Â Point

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.