Class

de.sciss.mellite.gui.impl.grapheme.tool

MoveImpl

Related Doc: package tool

Permalink

final class MoveImpl[S <: Sys[S]] extends BasicGraphemeTool[S, Move] with RubberBandTool[S, Move, Double, GraphemeObjView[S]]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MoveImpl
  2. RubberBandTool
  3. BasicGraphemeTool
  4. DraggingTool
  5. CollectionImpl
  6. GraphemeTool
  7. BasicCollectionTool
  8. CollectionToolLike
  9. ModelImpl
  10. BasicTool
  11. Model
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MoveImpl(canvas: GraphemeCanvas[S])

    Permalink

Type Members

  1. class Drag extends MouseInputAdapter with KeyListener

    Permalink

    Objects that represents a (potential) drag.

    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
    Definition Classes
    DraggingTool
  2. type Initial = GraphemeObjView[S]

    Permalink
    Attributes
    protected
    Definition Classes
    BasicGraphemeToolDraggingTool

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. def addListener(pf: Listener[Update[Move]]): pf.type

    Permalink
    Definition Classes
    ModelImpl → Model
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val canvas: GraphemeCanvas[S]

    Permalink
    Attributes
    protected
    Definition Classes
    MoveImplCollectionImplCollectionToolLike
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def commit(drag: Move)(implicit tx: S.Tx, cursor: Cursor[S]): Option[UndoableEdit]

    Permalink

    Called after the end of a mouse drag gesture.

    Called after the end of a mouse drag gesture. If this constitutes a valid edit, the method should return the resulting undoable edit.

    drag

    the last editing state

    cursor

    the cursor that might be needed to construct the undoable edit

    returns

    either Some edit or None if the action does not constitute an edit or the edit parameters are invalid.

    Definition Classes
    CollectionImplBasicTool
  9. def commitObj(drag: Move)(time: LongObj[S], child: Obj[S], parent: Grapheme[S])(implicit tx: S.Tx, cursor: Cursor[S]): Option[UndoableEdit]

    Permalink
    Attributes
    protected
    Definition Classes
    MoveImplCollectionImpl
  10. final var currentParam: Option[Move]

    Permalink
    Attributes
    protected
    Definition Classes
    DraggingTool
  11. def defaultCursor: Cursor

    Permalink

    The mouse cursor used when the tool is active.

    The mouse cursor used when the tool is active.

    Definition Classes
    MoveImplBasicTool
  12. def dialog(): Option[Move]

    Permalink
    Attributes
    protected
    Definition Classes
    MoveImplBasicGraphemeTool
  13. final def dispatch(update: Update[Move]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModelImpl
  14. final def dragAdjust(d: Drag): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DraggingTool
  15. final def dragBegin(d: Drag): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DraggingTool
  16. final def dragCancel(d: Drag): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DraggingTool
  17. final def dragEnd(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DraggingTool
  18. def dragStarted(d: Drag): Boolean

    Permalink

    Determines if the drag operations should be started or not.

    Determines if the drag operations should be started or not. The default behavior is to wait until the mouse is dragged by around four pixels. Sub-classes may override this, for example to have the drag start immediately without threshold.

    returns

    true if the parameter data signalize that a drag has started, false if it is not (yet) sufficient.

    Attributes
    protected
    Definition Classes
    DraggingTool
  19. def dragToParam(d: Drag): Move

    Permalink
    Attributes
    protected
    Definition Classes
    MoveImplDraggingTool
  20. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def handleDoubleClick(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    BasicGraphemeTool
  25. final def handleMouseSelection(e: MouseEvent, childOpt: Option[GraphemeObjView[S]]): Unit

    Permalink

    Applies standard mouse selection techniques regarding regions.

    Applies standard mouse selection techniques regarding regions.

    - If no modifier is hold, clicking outside of a region deselects all currently selected regions. - Clicking on an already selected region has no effect. - Clicking on a unselected region, will clear the selection and only select the new region. - Holding shift while clicking will add or remove regions to the list of selected regions.

    Attributes
    protected
    Definition Classes
    CollectionToolLike
  26. def handleOutside(e: MouseEvent, modelY: Double, pos: Long): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MoveImplBasicCollectionTool
  27. def handlePress(e: MouseEvent, modelY: Double, pos: Long, childOpt: Option[GraphemeObjView[S]]): Unit

    Permalink

    Abstract method to be implemented by sub-classes.

    Abstract method to be implemented by sub-classes. Called when the mouse is pressed

    e

    the event corresponding to the press

    modelY

    the model position corresponding to the vertical mouse coordinate.

    pos

    the frame position corresponding to the horizontal mouse coordinate

    childOpt

    Some timeline object that is beneath the mouse position or None if the mouse is pressed over an empty part of the timeline.

    Attributes
    protected
    Definition Classes
    BasicCollectionToolCollectionToolLike
  28. final def handleSelect(e: MouseEvent, modelY: Double, pos: Long, region: GraphemeObjView[S]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    BasicGraphemeToolBasicCollectionTool
  29. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  30. val icon: Icon

    Permalink

    The icon to use in a tool bar.

    The icon to use in a tool bar.

    Definition Classes
    MoveImplBasicTool
  31. final def install(component: Component): Unit

    Permalink

    Implemented by adding mouse listeners to the component.

    Implemented by adding mouse listeners to the component.

    Definition Classes
    CollectionToolLikeBasicTool
  32. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  33. final def mkRubber(e: MouseEvent, modelY: Double, pos: Long): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    RubberBandTool
  34. val name: String

    Permalink

    The human readable name of the tool.

    The human readable name of the tool.

    Definition Classes
    MoveImplBasicTool
  35. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  38. def releaseListeners(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModelImpl
  39. def removeListener(pf: Listener[Update[Move]]): Unit

    Permalink
    Definition Classes
    ModelImpl → Model
  40. def startListening(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModelImpl
  41. def stopListening(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModelImpl
  42. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  44. final def uninstall(component: Component): Unit

    Permalink

    Implemented by removing listeners from component.

    Implemented by removing listeners from component.

    Definition Classes
    CollectionToolLikeBasicTool
  45. final def wait(): Unit

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

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

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

Inherited from RubberBandTool[S, Move, Double, GraphemeObjView[S]]

Inherited from BasicGraphemeTool[S, Move]

Inherited from DraggingTool[S, Move, Double]

Inherited from CollectionImpl[S, Move]

Inherited from GraphemeTool[S, Move]

Inherited from BasicCollectionTool[S, Move, Double, GraphemeObjView[S]]

Inherited from CollectionToolLike[S, Move, Double, GraphemeObjView[S]]

Inherited from ModelImpl[Update[Move]]

Inherited from BasicTool[S, Move]

Inherited from Model[Update[Move]]

Inherited from AnyRef

Inherited from Any

Ungrouped