|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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.MouseMotionListener
mouseDragged
in class java.awt.event.MouseAdapter
MouseMotionListener.mouseDragged(java.awt.event.MouseEvent)
public void mousePressed(java.awt.event.MouseEvent arg0)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class java.awt.event.MouseAdapter
MouseListener.mousePressed(java.awt.event.MouseEvent)
public void mouseReleased(java.awt.event.MouseEvent arg0)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class java.awt.event.MouseAdapter
MouseListener.mouseReleased(java.awt.event.MouseEvent)
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
mouseMoved
in class java.awt.event.MouseAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |