|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.MouseMotionAdapter
dbrown.RTGraphicView.MMListener
private class RTGraphicView.MMListener
Inner class for allowing the triangle to be dragged in order to change its size. The cursor is changed depending on whether the triangle can be resized.
Field Summary | |
---|---|
private boolean |
canDrag
|
Constructor Summary | |
---|---|
private |
RTGraphicView.MMListener()
|
Method Summary | |
---|---|
void |
mouseDragged(java.awt.event.MouseEvent evt)
|
void |
mouseMoved(java.awt.event.MouseEvent evt)
The mouse moved: check if it's over the dragable regions and adjust the cursor accordingly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private boolean canDrag
Constructor Detail |
---|
private RTGraphicView.MMListener()
Method Detail |
---|
public void mouseDragged(java.awt.event.MouseEvent evt)
mouseDragged
in interface java.awt.event.MouseMotionListener
mouseDragged
in class java.awt.event.MouseMotionAdapter
public void mouseMoved(java.awt.event.MouseEvent evt)
mouseMoved
in interface java.awt.event.MouseMotionListener
mouseMoved
in class java.awt.event.MouseMotionAdapter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |