|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectdrop.DropMouseManager
public class DropMouseManager
マウス管理クラス
フィールドの概要 | |
---|---|
protected DropViewCanvas |
canvas
ライフゲーム表示パネル |
protected java.awt.Point |
mousePoint
マウス位置 |
コンストラクタの概要 | |
---|---|
DropMouseManager(DropViewCanvas canvas)
マウス管理オブジェクトを構築する |
メソッドの概要 | |
---|---|
void |
mouseClicked(java.awt.event.MouseEvent e)
マウスをクリックした時の処理を行う |
void |
mouseDragged(java.awt.event.MouseEvent e)
マウスをドラッグした時の処理を行う |
void |
mouseEntered(java.awt.event.MouseEvent e)
マウスがコンポーネントに入った時の処理を行う |
void |
mouseExited(java.awt.event.MouseEvent e)
マウスがコンポーネントから出た時の処理を行う |
void |
mouseMoved(java.awt.event.MouseEvent e)
マウスを移動させた時の処理を行う |
void |
mousePressed(java.awt.event.MouseEvent e)
マウスボタンを押した時の処理を行う |
void |
mouseReleased(java.awt.event.MouseEvent e)
マウスボタンを離した時の処理を行う |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected DropViewCanvas canvas
protected java.awt.Point mousePoint
コンストラクタの詳細 |
---|
public DropMouseManager(DropViewCanvas canvas)
canvas
- 表示キャンバスメソッドの詳細 |
---|
public void mousePressed(java.awt.event.MouseEvent e)
java.awt.event.MouseListener
内の mousePressed
e
- マウスアクションが発生したことを示すイベントpublic void mouseReleased(java.awt.event.MouseEvent e)
java.awt.event.MouseListener
内の mouseReleased
e
- マウスアクションが発生したことを示すイベントpublic void mouseClicked(java.awt.event.MouseEvent e)
java.awt.event.MouseListener
内の mouseClicked
e
- マウスアクションが発生したことを示すイベントpublic void mouseEntered(java.awt.event.MouseEvent e)
java.awt.event.MouseListener
内の mouseEntered
e
- マウスアクションが発生したことを示すイベントpublic void mouseExited(java.awt.event.MouseEvent e)
java.awt.event.MouseListener
内の mouseExited
e
- マウスアクションが発生したことを示すイベントpublic void mouseMoved(java.awt.event.MouseEvent e)
java.awt.event.MouseMotionListener
内の mouseMoved
e
- マウスアクションが発生したことを示すイベントpublic void mouseDragged(java.awt.event.MouseEvent e)
java.awt.event.MouseMotionListener
内の mouseDragged
e
- マウスアクションが発生したことを示すイベント
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |