|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.event.MouseAdapter
org.jgraph.plaf.basic.BasicGraphUI.MouseHandler
easik.ui.SketchUI.MouseHandler
class SketchUI.MouseHandler
A subclass of Mouse Handler which will ignore all but the left click.
| Field Summary |
|---|
| Fields inherited from class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler |
|---|
cell, handler, previousCursor |
| Constructor Summary | |
|---|---|
SketchUI.MouseHandler()
|
|
| Method Summary | |
|---|---|
void |
mouseDragged(java.awt.event.MouseEvent e)
Overwritten JGraph method to remove creation of edge handles on right click |
void |
mousePressed(java.awt.event.MouseEvent e)
Mousepressed function examines to see if the mouse event is a left click, and only then will it perform it's superclass's duties. |
| Methods inherited from class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler |
|---|
handleEditTrigger, isDescendant, mouseMoved, mouseReleased, postProcessSelection |
| Methods inherited from class java.awt.event.MouseAdapter |
|---|
mouseClicked, mouseEntered, mouseExited |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
SketchUI.MouseHandler()
| Method Detail |
|---|
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenermousePressed in class org.jgraph.plaf.basic.BasicGraphUI.MouseHandlere - Mouse eventpublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged in interface java.awt.event.MouseMotionListenermouseDragged in class org.jgraph.plaf.basic.BasicGraphUI.MouseHandlere - Mouse event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||