Java プラットフォーム 1.2

javax.swing.text.html
クラス HTMLEditorKit.LinkController

java.lang.Object
  |
  +--java.awt.event.MouseAdapter
        |
        +--javax.swing.text.html.HTMLEditorKit.LinkController

public static class HTMLEditorKit.LinkController
extends MouseAdapter
implements Serializable

関連するコンポーネントを監視し、必要に応じてハイパーリンクイベントを発生させるクラスです。

関連項目:
直列化された形式

コンストラクタの概要
HTMLEditorKit.LinkController()
           
 
メソッドの概要
protected  void activateLink(int pos, JEditorPane html)
          位置がリンクを表す場合は、対応する JEditorPane の linkActivated を呼び出します。
 void mouseClicked(MouseEvent e)
          マウスクリックイベントで呼び出されます。
 
クラス java.awt.event.MouseAdapter から継承したメソッド
mouseEntered, mouseExited, mousePressed, mouseReleased
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

HTMLEditorKit.LinkController

public HTMLEditorKit.LinkController()
メソッドの詳細

mouseClicked

public void mouseClicked(MouseEvent e)
マウスクリックイベントで呼び出されます。コンポーネントが読み込み専用 (epsブラウザ) の場合は、イベントはリンクの指定する参照に従うように使用されます。
パラメータ:
e - マウスイベント
オーバーライド:
クラス MouseAdapter 内の mouseClicked
関連項目:
MouseListener.mouseClicked(java.awt.event.MouseEvent)

activateLink

protected void activateLink(int pos,
                            JEditorPane html)
位置がリンクを表す場合は、対応する JEditorPane の linkActivated を呼び出します。
パラメータ:
pos - 位置
html - エディタ区画

Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.