|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--java.awt.event.MouseAdapter
|
+--javax.swing.ToolTipManager
システム内のすべてのツールヒントを管理します。
JComponent.createToolTip()| 内部クラスの概要 | |
protected class |
ToolTipManager.insideTimerAction
|
protected class |
ToolTipManager.outsideTimerAction
|
protected class |
ToolTipManager.stillInsideTimerAction
|
| フィールドの概要 | |
protected boolean |
heavyWeightPopupEnabled
|
protected boolean |
lightWeightPopupEnabled
|
| メソッドの概要 | |
int |
getDismissDelay()
消去までの遅延時間を返します。 |
int |
getInitialDelay()
初期遅延値を返します。 |
int |
getReshowDelay()
再表示遅延値を返します。 |
boolean |
isEnabled()
このオブジェクトが有効な場合に true を返します。 |
boolean |
isLightWeightPopupEnabled()
軽量 (すべての Java) ツールヒントが使用されている場合は true、重量 (ネイティブピア) ツールヒントが使用されている場合は false を返します。 |
void |
mouseDragged(MouseEvent event)
コンポーネント上でマウスのボタンが押されたあとドラッグされたときに呼び出されます。 |
void |
mouseEntered(MouseEvent event)
コンポーネントにマウスが入ると呼び出されます。 |
void |
mouseExited(MouseEvent event)
コンポーネントからマウスが出ると呼び出されます。 |
void |
mouseMoved(MouseEvent event)
コンポーネント上でマウスが移動される (ボタンは押されない) と呼び出されます。 |
void |
mousePressed(MouseEvent event)
コンポーネント上でマウスボタンが押されると呼び出されます。 |
void |
registerComponent(JComponent component)
コンポーネントをツールヒント管理用に登録します。 |
void |
setDismissDelay(int milliseconds)
消去までの遅延時間を設定します。 |
void |
setEnabled(boolean flag)
ツールヒントを有効または無効にします。 |
void |
setInitialDelay(int milliseconds)
初期遅延値を指定します。 |
void |
setLightWeightPopupEnabled(boolean aFlag)
JToolTip を表示する場合、ToolTipManager は適当であれば軽量な JPanel を使います。 |
void |
setReshowDelay(int milliseconds)
ツールヒントを再表示するまでの遅延時間を指定します。 |
static ToolTipManager |
sharedInstance()
ToolTipManager の共有インスタンスを返します。 |
void |
unregisterComponent(JComponent component)
ツールヒント制御からコンポーネントを削除します。 |
| クラス java.awt.event.MouseAdapter から継承したメソッド |
mouseClicked, mouseReleased |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
protected boolean lightWeightPopupEnabled
protected boolean heavyWeightPopupEnabled
| メソッドの詳細 |
public void setEnabled(boolean flag)
flag - ヒントを有効にする場合は truepublic boolean isEnabled()
public void setLightWeightPopupEnabled(boolean aFlag)
public boolean isLightWeightPopupEnabled()
public void setInitialDelay(int milliseconds)
milliseconds - カーソルが停止してからツールヒントを表示するまでの遅延時間 (ミリ秒単位)getInitialDelay()public int getInitialDelay()
setInitialDelay(int)public void setDismissDelay(int milliseconds)
milliseconds - カーソルが移動してからツールヒントが非表示になるまでの遅延時間 (ミリ秒単位)getDismissDelay()public int getDismissDelay()
setDismissDelay(int)public void setReshowDelay(int milliseconds)
milliseconds - カーソルが再び停止してからツールヒントを再表示するまでの遅延時間 (ミリ秒単位)getReshowDelay()public int getReshowDelay()
setReshowDelay(int)public static ToolTipManager sharedInstance()
public void registerComponent(JComponent component)
このメソッドは、component にフォーカスバインディングが用意されている場合に限り、ツールヒントの表示および再表示にキー割り当てを登録します。登録されると、JLabel などの通常トラバース可能なフォーカスではないコンポーネントは、このメソッドを呼び出すとトラバース可能なフォーカスは返されません。
component - JComponent オブジェクトJComponent.isFocusTraversable()public void unregisterComponent(JComponent component)
component - JComponent オブジェクトpublic void mouseEntered(MouseEvent event)
MouseAdapter の記述: MouseAdapter 内の mouseEnteredpublic void mouseExited(MouseEvent event)
MouseAdapter の記述: MouseAdapter 内の mouseExitedpublic void mousePressed(MouseEvent event)
MouseAdapter の記述: MouseAdapter 内の mousePressedpublic void mouseDragged(MouseEvent event)
MouseMotionListener の記述: MouseMotionListener 内の mouseDraggedpublic void mouseMoved(MouseEvent event)
MouseMotionListener の記述: MouseMotionListener 内の mouseMoved
|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.