|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
java.lang.Objectjava.awt.event.MouseAdapter
javax.swing.text.html.HTMLEditorKit.LinkController
public static class HTMLEditorKit.LinkController
°ü·ÃµÈ ÄÄÆÛ³ÍÆ®¸¦ °¨½ÃÇØ, Çʿ信 µû¶ó¼ ÇÏÀÌÆÛ ¸µÅ© À̺¥Æ®¸¦ ¹ß»ý½ÃŰ´Â Ŭ·¡½ºÀÔ´Ï´Ù.
| »ý¼ºÀÚ °³¿ä | |
|---|---|
HTMLEditorKit.LinkController ()
|
|
| ¸Þ¼µå °³¿ä | |
|---|---|
protected void |
activateLink (int pos,
JEditorPane editor)
ÁöÁ¤µÈ À§°ªÀÌ ¸µÅ©¸¦ ³ªÅ¸³»´Â °æ¿ì´Â ´ëÀÀÇÏ´Â JEditorPane linkActivated¸¦ È£ÃâÇÕ´Ï´Ù. |
void |
mouseClicked (MouseEvent e)
¸¶¿ì½º Ŭ¸¯ À̺¥Æ®·Î È£ÃâÇÕ´Ï´Ù. |
void |
mouseDragged (MouseEvent e)
ÄÄÆÛ³ÍÆ®»ó¿¡¼ ¸¶¿ì½ºÀÇ ¹öưÀ» ´·¯ µå·¡±× Çϸé È£ÃâÇÕ´Ï´Ù. |
void |
mouseMoved (MouseEvent e)
¹öưÀ» ´©¸£Áö ¾Ê°í, ¸¶¿ì½º Ä¿¼¸¦ ÄÄÆÛ³ÍÆ®»óÀ¸·Î À̵¿Çϸé È£ÃâÇÕ´Ï´Ù. |
| Ŭ·¡½º java.awt.event. MouseAdapter ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
|---|
mouseEntered,
mouseExited,
mousePressed,
mouseReleased |
| Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
|---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| »ý¼ºÀÚ »ó¼¼ |
|---|
public HTMLEditorKit.LinkController()
| ¸Þ¼µåÀÇ »ó¼¼ |
|---|
public void mouseClicked(MouseEvent e)
MouseListener ³»ÀÇ mouseClicked MouseAdapter ³»ÀÇ mouseClicked e - ¸¶¿ì½º À̺¥Æ®MouseListener.mouseClicked(java.awt.event.MouseEvent) public void mouseDragged(MouseEvent e)
MouseMotionListener
±â¼ú: MOUSE_DRAGGED À̺¥Æ®´Â ¸¶¿ì½ºÀÇ ¹öưÀ» ¶¼¾î ³õÀ» ¶§±îÁö, µå·¡±×
À̺¥Æ®°¡ ¹ß»ýÇÑ ÄÄÆÛ³ÍÆ®¿¡ (¸¶¿ì½ºÀÇ À§°ªÀÌ ±× ÄÄÆÛ³ÍÆ®ÀÇ °æ°è³»¿¡ ÀÖÀ»Áö ¾î¶³Áö¿¡ °ü°è¾øÀÌ) °è¼ÓÇØ º¸³»Áý´Ï´Ù.
µå·¡±×£¦µå·ÓÀÇ ±¸ÇöÀº Ç÷§Æû¿¡ µû¶ó¼ ´Ù¸£±â ¶§¹®¿¡
³×ÀÌÆ¼ºêÀÇ µå·¡±×£¦µå·ÓÀÇ Á¶ÀÛÁß¿¡ MOUSE_DRAGGED À̺¥Æ®´Â Àü¼Û µÇÁö ¾Ê½À´Ï´Ù.
MouseMotionListener ³»ÀÇ mouseDragged public void mouseMoved(MouseEvent e)
MouseMotionListener
񃬣:
MouseMotionListener ³»ÀÇ mouseMoved
protected void activateLink(int pos,
JEditorPane editor)
À̸§ÀÌ °°¾Æ ¾Æ·¡ÀÇ Àμö°¡ ¾î´ÀÂÊÀ̳ª -1¿¡ µ¿ÀÏÇÑ ¸Þ¼µå¿¡ Àü¼Û Çϱâ À§Çؼ ±¸ÇöµË´Ï´Ù.
pos - À§Ä¡editor - ¿¡µðÅÍ ±¸È¹
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.