Class

de.sciss.mellite.gui.impl.tracktool.Dragging

Drag

Related Doc: package Dragging

Permalink

class Drag extends MouseInputAdapter with KeyListener

Objects that represents a (potential) drag. When instantiated, it installs itself on the parent component of firstEvent and automatically removes itself when the mouse is released.

A drag is only formally started once dragStarted returns true. It will then update the drag state by calling repeatedly into dragToParam and dispatching appropriate events.

A drag can be aborted by pressing the Escape key.

Attributes
protected
Linear Supertypes
KeyListener, MouseInputAdapter, MouseInputListener, MouseAdapter, MouseMotionListener, MouseWheelListener, MouseListener, EventListener, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Drag
  2. KeyListener
  3. MouseInputAdapter
  4. MouseInputListener
  5. MouseAdapter
  6. MouseMotionListener
  7. MouseWheelListener
  8. MouseListener
  9. EventListener
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Drag(firstEvent: MouseEvent, firstTrack: Int, firstPos: Long, initial: (Dragging.this)#Initial)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def currentEvent: MouseEvent

    Permalink
  7. def currentPos: Long

    Permalink
  8. def currentTrack: Int

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val firstEvent: MouseEvent

    Permalink
  13. val firstPos: Long

    Permalink
  14. val firstTrack: Int

    Permalink
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. val initial: (Dragging.this)#Initial

    Permalink
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def keyPressed(e: KeyEvent): Unit

    Permalink
    Definition Classes
    Drag → KeyListener
  20. def keyReleased(e: KeyEvent): Unit

    Permalink
    Definition Classes
    Drag → KeyListener
  21. def keyTyped(e: KeyEvent): Unit

    Permalink
    Definition Classes
    Drag → KeyListener
  22. def mouseClicked(arg0: MouseEvent): Unit

    Permalink
    Definition Classes
    MouseAdapter → MouseListener
  23. def mouseDragged(e: MouseEvent): Unit

    Permalink
    Definition Classes
    Drag → MouseAdapter → MouseMotionListener
  24. def mouseEntered(arg0: MouseEvent): Unit

    Permalink
    Definition Classes
    MouseAdapter → MouseListener
  25. def mouseExited(arg0: MouseEvent): Unit

    Permalink
    Definition Classes
    MouseAdapter → MouseListener
  26. def mouseMoved(arg0: MouseEvent): Unit

    Permalink
    Definition Classes
    MouseAdapter → MouseMotionListener
  27. def mousePressed(arg0: MouseEvent): Unit

    Permalink
    Definition Classes
    MouseAdapter → MouseListener
  28. def mouseReleased(e: MouseEvent): Unit

    Permalink
    Definition Classes
    Drag → MouseAdapter → MouseListener
  29. def mouseWheelMoved(arg0: MouseWheelEvent): Unit

    Permalink
    Definition Classes
    MouseAdapter → MouseWheelListener
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from KeyListener

Inherited from MouseInputAdapter

Inherited from MouseInputListener

Inherited from MouseAdapter

Inherited from MouseMotionListener

Inherited from MouseWheelListener

Inherited from MouseListener

Inherited from EventListener

Inherited from AnyRef

Inherited from Any

Ungrouped