- java.lang.Object
- 
- java.awt.event.MouseAdapter
- 
- javax.swing.text.html.HTMLEditorKit.LinkController
 
 
- 
- すべての実装されたインタフェース:
- MouseListener,- MouseMotionListener,- MouseWheelListener,- Serializable,- EventListener
 - 含まれているクラス:
- HTMLEditorKit
 
 public static class HTMLEditorKit.LinkController extends MouseAdapter implements MouseMotionListener, Serializable 関連付けられたコンポーネントを監視し、必要に応じてその上でハイパーリンク・イベントを発生させるクラスです。
- 
- 
コンストラクタのサマリーコンストラクタ コンストラクタ 説明 LinkController()
 - 
メソッドのサマリー修飾子と型 メソッド 説明 protected voidactivateLink(int pos, JEditorPane editor)指定された位置がリンクを表す場合は、対応するJEditorPaneのlinkActivatedを呼び出します。voidmouseClicked(MouseEvent e)マウス・クリック・イベントで呼び出されます。- 
クラス java.awt.event.MouseAdapterで宣言されたメソッドmouseDragged, mouseMoved, mouseWheelMoved
 - 
クラス java.lang.Objectで宣言されたメソッドclone、equals、finalize、getClass、hashCode、notify、notifyAll、toString、wait、wait、wait
 - 
インタフェース java.awt.event.MouseListenerで宣言されたメソッドmouseEntered, mouseExited, mousePressed, mouseReleased
 - 
インタフェース java.awt.event.MouseMotionListenerで宣言されたメソッドmouseDragged, mouseMoved
 
- 
 
- 
- 
- 
メソッドの詳細- 
mouseClickedpublic void mouseClicked(MouseEvent e) マウス・クリック・イベントで呼び出されます。 コンポーネントが読込み専用(ブラウザ)の場合は、イベントはリンクの指定する参照に従うように使用されます。- 定義:
- mouseClicked、インタフェース:- MouseListener
- パラメータ:
- e- マウス・イベント
- 関連項目:
- MouseListener.mouseClicked(java.awt.event.MouseEvent)
 
 - 
activateLinkprotected void activateLink(int pos, JEditorPane editor)指定された位置がリンクを表す場合は、対応するJEditorPaneのlinkActivatedを呼び出します。名前が同じで次の引数がどちらも -1に等しいメソッドに転送するために実装されます。 - パラメータ:
- pos- 位置
- editor- エディタ・ペイン
 
 
- 
 
-