|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
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 , mouseWheelMoved |
클래스 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)
MouseAdapter
의 기술:MOUSE_DRAGGED
이벤트는, 마우스의 버튼을 떼어 놓을 때까지, 드래그 이벤트가 발생한 컴퍼넌트에 (마우스의 위치가 그 컴퍼넌트의 경계내에 있을지 어떨지에 관계없이) 계속해 보내집니다.
드래그&드롭의 구현은 플랫폼에 따라서 다르기 (위해)때문에, 네이티브의 드래그&드롭의 조작중에 MOUSE_DRAGGED
이벤트는 전송 되지 않습니다.
MouseMotionListener
내의 mouseDragged
MouseAdapter
내의 mouseDragged
public void mouseMoved(MouseEvent e)
MouseAdapter
의 기술:
MouseMotionListener
내의 mouseMoved
MouseAdapter
내의 mouseMoved
protected void activateLink(int pos, JEditorPane editor)
이름이 같아 이하의 인수가 어느쪽이나 -1 에 동일한 메소드에 전송 하기 위해서 구현됩니다.
pos
- 위치editor
- 에디터 구획
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.