|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.event.MouseAdapter
com.cosylab.gui.components.DialKnob.MouseHandler
protected class DialKnob.MouseHandler
Utiliy class that handles user mouse actions on the Dial knob.
| Constructor Summary | |
|---|---|
protected |
DialKnob.MouseHandler()
|
| Method Summary | |
|---|---|
void |
inhibit(boolean newInhibit)
Method which enables/disables setting of value via mouse drag. |
void |
mouseDragged(java.awt.event.MouseEvent arg0)
Does the value setting. |
void |
mouseMoved(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent arg0)
Starts the value setting. |
void |
mouseReleased(java.awt.event.MouseEvent arg0)
Finishes the value setting. |
| Methods inherited from class java.awt.event.MouseAdapter |
|---|
mouseClicked, mouseEntered, mouseExited, mouseWheelMoved |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.awt.event.MouseListener |
|---|
mouseClicked, mouseEntered, mouseExited |
| Constructor Detail |
|---|
protected DialKnob.MouseHandler()
| Method Detail |
|---|
public void inhibit(boolean newInhibit)
newInhibit - true to enable and false to disable user settingpublic void mouseDragged(java.awt.event.MouseEvent arg0)
mouseDragged in interface java.awt.event.MouseMotionListenermouseDragged in class java.awt.event.MouseAdapterMouseMotionListener.mouseDragged(java.awt.event.MouseEvent)public void mousePressed(java.awt.event.MouseEvent arg0)
mousePressed in interface java.awt.event.MouseListenermousePressed in class java.awt.event.MouseAdapterMouseListener.mousePressed(java.awt.event.MouseEvent)public void mouseReleased(java.awt.event.MouseEvent arg0)
mouseReleased in interface java.awt.event.MouseListenermouseReleased in class java.awt.event.MouseAdapterMouseListener.mouseReleased(java.awt.event.MouseEvent)public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved in interface java.awt.event.MouseMotionListenermouseMoved in class java.awt.event.MouseAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||