de.sciss.mellite.gui.impl.tracktool

GainImpl

final class GainImpl[S <: Sys[S]] extends BasicRegion[S, TrackTool.Gain]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GainImpl
  2. BasicRegion
  3. Dragging
  4. RegionImpl
  5. RegionLike
  6. ModelImpl
  7. TrackTool
  8. Model
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GainImpl(canvas: TimelineProcCanvas[S])

Type Members

  1. class Drag extends MouseInputAdapter with KeyListener

    Objects that represents a (potential) drag.

  2. type Initial = TimelineObjView[S]

    Attributes
    protected
    Definition Classes
    BasicRegionDragging

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addListener(pf: model.Model.Listener[Update[TrackTool.Gain]]): pf.type

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

    Definition Classes
    Any
  8. val canvas: TimelineProcCanvas[S]

    Attributes
    protected
    Definition Classes
    GainImplRegionLike
  9. def clone(): AnyRef

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

    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
    RegionImplTrackTool
  11. def commitObj(drag: TrackTool.Gain)(span: SpanLikeObj[S], obj: Obj[S])(implicit tx: S.Tx, cursor: Cursor[S]): Option[UndoableEdit]

    Attributes
    protected
    Definition Classes
    GainImplRegionImpl
  12. final var currentParam: Option[TrackTool.Gain]

    Attributes
    protected
    Definition Classes
    Dragging
  13. def defaultCursor: Cursor

    The mouse cursor used when the tool is active.

    The mouse cursor used when the tool is active.

    Definition Classes
    GainImplTrackTool
  14. def dialog(): Option[TrackTool.Gain]

    Attributes
    protected
    Definition Classes
    GainImplBasicRegion
  15. final def dispatch(update: Update[TrackTool.Gain]): Unit

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

    Attributes
    protected
    Definition Classes
    Dragging
  17. final def dragBegin(d: Drag): Unit

    Attributes
    protected
    Definition Classes
    Dragging
  18. final def dragCancel(d: Drag): Unit

    Attributes
    protected
    Definition Classes
    Dragging
  19. final def dragEnd(): Unit

    Attributes
    protected
    Definition Classes
    Dragging
  20. def dragStarted(d: Drag): Boolean

    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
    GainImplDragging
  21. def dragToParam(d: Drag): TrackTool.Gain

    Attributes
    protected
    Definition Classes
    GainImplDragging
  22. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Attributes
    protected
    Definition Classes
    BasicRegion
  27. final def handleMouseSelection(e: MouseEvent, regionOpt: Option[TimelineObjView[S]]): Unit

    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
    RegionLike
  28. def handleOutside(e: MouseEvent, hitTrack: Int, pos: Long): Unit

    Attributes
    protected
    Definition Classes
    RegionImpl
  29. def handlePress(e: MouseEvent, hitTrack: Int, pos: Long, regionOpt: Option[TimelineObjView[S]]): Unit

    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

    hitTrack

    the track index corresponding to the vertical mouse coordinate.

    pos

    the frame position corresponding to the horizontal mouse coordinate

    regionOpt

    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
    RegionImplRegionLike
  30. final def handleSelect(e: MouseEvent, hitTrack: Int, pos: Long, region: TimelineObjView[S]): Unit

    Attributes
    protected
    Definition Classes
    BasicRegionRegionImpl
  31. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  32. val icon: Icon

    The icon to use in a tool bar.

    The icon to use in a tool bar.

    Definition Classes
    GainImplTrackTool
  33. final def install(component: Component): Unit

    Implemented by adding mouse (motion) listeners to the component.

    Implemented by adding mouse (motion) listeners to the component.

    Definition Classes
    RegionLikeTrackTool
  34. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  35. val name: String

    The human readable name of the tool.

    The human readable name of the tool.

    Definition Classes
    GainImplTrackTool
  36. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  37. final def notify(): Unit

    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  39. def releaseListeners(): Unit

    Attributes
    protected
    Definition Classes
    ModelImpl
  40. def removeListener(pf: model.Model.Listener[Update[TrackTool.Gain]]): Unit

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

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

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

    Definition Classes
    AnyRef
  44. def toString(): String

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

    Implemented by removing listeners from component.

    Implemented by removing listeners from component.

    Definition Classes
    RegionLikeTrackTool
  46. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BasicRegion[S, TrackTool.Gain]

Inherited from Dragging[S, TrackTool.Gain]

Inherited from RegionImpl[S, TrackTool.Gain]

Inherited from RegionLike[S, TrackTool.Gain]

Inherited from ModelImpl[Update[TrackTool.Gain]]

Inherited from TrackTool[S, TrackTool.Gain]

Inherited from Model[Update[TrackTool.Gain]]

Inherited from AnyRef

Inherited from Any

Ungrouped