Uses of Class
heronarts.lx.clip.Cursor
Packages that use Cursor
Package
Description
-
Uses of Cursor in heronarts.lx.clip
Subclasses of Cursor in heronarts.lx.clipFields in heronarts.lx.clip declared as CursorModifier and TypeFieldDescriptionfinal Cursor
LXClip.cursor
Current playback/recording cursor for the clipfinal Cursor
LXClip.CursorParameter.cursor
final Cursor
LXClipEvent.cursor
final Cursor
LXClip.launchFromCursor
Cursor holding position next launch operation, if a custom launch position was setMethods in heronarts.lx.clip that return CursorModifier and TypeMethodDescriptionCreates a new cursor that sums the twoDestructively modifies this cursor, advancing it by the amount specifieddefault Cursor
Cursor.Operator.applyDelta
(Cursor cursor, Cursor delta, boolean add) Apply a delta to the given cursor, limiting the result to not go below 0Non-destructive version of constrain, bounds the cursor by the length of the given clip.default Cursor
Non-destructive equivalent of constrain.default Cursor
Non-destructive equivalent of constrain.default Cursor
Non-destructive equivalent of constrain.Cursor.clone()
Constrain the position of this cursor to the length of the clip.default Cursor
Constrain the cursor to the range from ZERO to the target cursordefault Cursor
Constrain the cursor to the rangedefault Cursor
Constrain the cursor's value to the bounds of this clipLXClip.constructAbsoluteCursor
(double millis) Constructs a cursor using absolute-timing, with the beat fields computed using the clip's reference BPMLXClip.constructTempoCursor
(int beatCount, double beatBasis) Constructs a cursor using tempo-based timing with the millisecond value computed using the clip's reference BPMLXClip.constructTempoCursor
(Tempo.Division division) Constructs a cursor using a tempo-division reference, with millisecond value computed using this clip's reference BPMLXClip.constructTransportCursor()
Constructs a cursor from the global transport playback position, with millis computed using this clip's reference BPMLXClip.getCursor()
LXClipEvent.getCursor()
Increments a new cursor that adds or subtracts the two, bounded to zero minimumdefault Cursor
Returns the cursor that takes place later, or c2 if equaldefault Cursor
Returns the cursor that takes place first, or c1 if equalCursor.scale
(double factor) Creates a new cursor that's a copy of this cursor scaled by the given factorCursor.scaleInt
(int factor) Creates a cursor that is an integer set of multiples of this cursorSet the value of the cursor to the value held by anotherSet the value of this cursor to the interpolation of two cursorsSnap this cursor's value to the nearest intervalCursor.Operator.snapCeiling
(Cursor cursor, LXClip clip, Cursor snapSize) Snaps this cursor's value to the nearest interval, strictly at this point or afterSnap this cursor's value down to the previous intervalSnap this cursor's value to the nearest interval, strictly at this point or beforeLXClip.snapLaunchQuantization
(Cursor cursor) Snap a value to the global quantization settingLXClip.snapTempo
(Cursor cursor, Tempo.Division division) Snap a value to a tempo divisionSnap this cursor's value up to the next intervalMethods in heronarts.lx.clip with parameters of type CursorModifier and TypeMethodDescriptionCreates a new cursor that sums the twoDestructively modifies this cursor, advancing it by the amount specifieddefault Cursor
Cursor.Operator.applyDelta
(Cursor cursor, Cursor delta, boolean add) Apply a delta to the given cursor, limiting the result to not go below 0default Cursor
Non-destructive equivalent of constrain.default Cursor
Non-destructive equivalent of constrain.default Cursor
Non-destructive equivalent of constrain.default Cursor
Constrain the cursor to the range from ZERO to the target cursordefault Cursor
Constrain the cursor to the rangedefault Cursor
Constrain the cursor's value to the bounds of this clipdefault void
LXClip.Listener.cursorChanged
(LXClip clip, Cursor cursor) protected int
LXClipLane.cursorInsertIndex
(Cursor cursor) protected int
LXClipLane.cursorInsertIndex
(List<T> events, Cursor cursor) protected int
LXClipLane.cursorPlayIndex
(Cursor cursor) protected int
LXClipLane.cursorPlayIndex
(List<T> events, Cursor cursor) void
MidiNoteClipLane.editNote
(MidiNoteClipEvent editNoteOn, int toPitch, int toVelocity, Cursor toStart, Cursor toEnd, List<MidiNoteClipEvent> restoreOriginal, boolean checkDelete, boolean cursorMoved) int
LXClipLane.eventIndex
(List<T> events, Cursor fromCursor, boolean inclusive) int
LXClipLane.eventIndex
(List<T> events, Cursor fromCursor, boolean inclusive, int offset) LXClipLane.eventIterator
(Cursor fromCursor) Gets an iterator over this clip lane's events, starting from the position specified by the cursor.LXClipLane.eventIterator
(Cursor fromCursor, int offset) Gets an iterator over this clip lane's events, starting from the position specified by the cursor.LXClipLane.eventIterator
(List<T> events, Cursor fromCursor, boolean inclusive) Gets an iterator over the the events beginning at a given cursor positionLXClipLane.eventIterator
(List<T> events, Cursor fromCursor, int offset) Gets an iterator over this clip lane's events, starting from the position specified by the cursor.Cursor.Operator.formatLabel
(LXClip clip, Cursor cursor, Cursor labelSpacing) Format a cursor to a user-displayable stringdouble
Cursor.getDeltaMillis
(Cursor that) Returns the absolute time difference between these cursorsdouble
Cursor.Operator.getLerpFactor
(Cursor cursor, Cursor pre, Cursor post) Gets the lerp factor of a cursor, as a normalized value with 0-1 representing the range between pre and postdouble
Cursor.Operator.getLerpRatio
(Cursor cursor, Cursor pre, Cursor post) Gets the ratio of a cursor value to the difference between pre and post.protected T
LXClipLane.getPreviousEvent
(Cursor cursor) Gets the last event occurring before this cursor insert position, if any.protected T
LXClipLane.getPreviousEvent
(List<T> events, Cursor cursor) Gets the last event occurring before this cursor insert position, if any.double
Returns a proportional ratio between the two Cursor positionsIncrements a new cursor that adds or subtracts the two, bounded to zero minimumParameterClipLane.insertEvent
(Cursor cursor, double normalized) MidiNoteClipLane.insertNote
(int pitch, int velocity, Cursor from, Cursor to) boolean
Returnstrue
if c1 is strictly after c2boolean
Cursor.Operator.isAfterOrEqual
(Cursor c1, Cursor c2) Returnstrue
if c1 is after or at the same time as c2boolean
Returnstrue
if c1 is strictly before c2boolean
Cursor.Operator.isBeforeOrEqual
(Cursor c1, Cursor c2) Returnstrue
if c1 is before or at the same time as c2boolean
boolean
Returnstrue
if c1 is at the same time as c2boolean
Returnstrue
if the cursor falls in the given range, inclusiveboolean
Returntrue
if the cursor is at position 0LXClip.launchAutomationFrom
(Cursor cursor) Launches the clip from a specified start position, subject to global launch quantization.default Cursor
Returns the cursor that takes place later, or c2 if equaldefault Cursor
Returns the cursor that takes place first, or c1 if equalPlay clip from cursor position without quantization delay.boolean
LXClipLane.removeRange
(Cursor from, Cursor to) protected boolean
LXClipLane.removeRange
(Cursor from, Cursor to, boolean notify) boolean
MidiNoteClipLane.removeRange
(Cursor from, Cursor to) Set the value of the cursor to the value held by anotherprotected void
Move the cursor and notify listenersvoid
LXClipLane.setEventsCursors
(ArrayList<T> originalEvents, Cursor fromSelectionMin, Cursor fromSelectionMax, Cursor toSelectionMin, Cursor toSelectionMax, Map<T, Double> fromValues, Map<T, Cursor> fromCursors, Map<T, Cursor> toCursors, LXCommand.Clip.Event.SetCursors.Operation operation) Set the cursors for a set of events in a range.Set the value of this cursor to the interpolation of two cursorsLXClip.setLoopBrace
(Cursor loopBrace) Safely set the loop brace to a position on the timeline (in time units)LXClip.setLoopEnd
(Cursor loopEnd) Safely set the loop end marker to a specific value (in time units)LXClip.setLoopLength
(Cursor loopLength) Set the loop lengthLXClip.setLoopStart
(Cursor loopStart) Safely set the loop start marker to a specific value (in time units)LXClip.setPlayEnd
(Cursor playEnd) Safely set the play end marker to a specific value (in time units)LXClip.setPlayStart
(Cursor playStart) Safely set the play start marker to a specific value (in time units)Snap this cursor's value to the nearest intervalCursor.Operator.snapCeiling
(Cursor cursor, LXClip clip, Cursor snapSize) Snaps this cursor's value to the nearest interval, strictly at this point or afterSnap this cursor's value down to the previous intervalSnap this cursor's value to the nearest interval, strictly at this point or beforeLXClip.snapLaunchQuantization
(Cursor cursor) Snap a value to the global quantization settingLXClip.snapTempo
(Cursor cursor, Tempo.Division division) Snap a value to a tempo divisionSnap this cursor's value up to the next intervalprotected ParameterClipEvent
ParameterClipLane.stitchEvent
(ParameterClipEvent prior, ParameterClipEvent next, Cursor cursor) protected T
LXClipLane.stitchInner
(List<T> events, Cursor cursor, int rightIndex, boolean isMin, boolean force) protected ParameterClipEvent
ParameterClipLane.stitchInner
(List<ParameterClipEvent> events, Cursor cursor, int stitchIndex, boolean isMin, boolean force) protected T
LXClipLane.stitchOuter
(List<T> events, Cursor cursor, int rightIndex) protected ParameterClipEvent
ParameterClipLane.stitchOuter
(List<ParameterClipEvent> events, Cursor cursor, int rightIndex) protected T
LXClipLane.stitchSelectionMax
(List<T> originalEvents, List<T> modifiedEvents, Cursor selectionMax, int stitchIndex, boolean force) protected ParameterClipEvent
ParameterClipLane.stitchSelectionMax
(List<ParameterClipEvent> originalEvents, List<ParameterClipEvent> modifiedEvents, Cursor selectionMax, int stitchIndex, boolean force) protected T
LXClipLane.stitchSelectionMin
(List<T> originalEvents, List<T> modifiedEvents, Cursor selectionMin, int stitchIndex, boolean force) protected ParameterClipEvent
ParameterClipLane.stitchSelectionMin
(List<ParameterClipEvent> originalEvents, List<ParameterClipEvent> modifiedEvents, Cursor selectionMin, int stitchIndex, boolean force) Constructors in heronarts.lx.clip with parameters of type CursorModifierConstructorDescriptionPatternClipEvent
(PatternClipLane lane, Cursor cursor, int patternIndex) -
Uses of Cursor in heronarts.lx.command
Fields in heronarts.lx.command declared as CursorModifier and TypeFieldDescriptionprotected final Cursor
LXCommand.Clip.Event.Pattern.MoveEvent.fromCursor
protected final Cursor
LXCommand.Clip.Event.Midi.EditNote.fromEnd
protected final Cursor
LXCommand.Clip.Event.Midi.EditNote.fromStart
protected final Cursor
LXCommand.Clip.Event.Pattern.MoveEvent.toCursor
Methods in heronarts.lx.command that return CursorMethods in heronarts.lx.command with parameters of type CursorModifier and TypeMethodDescriptionvoid
LXCommand.Clip.Event.SetCursors.update
(Cursor selectionMin, Cursor selectionMax, LXCommand.Clip.Event.SetCursors.Operation operation) LXCommand.Clip.Event.Midi.EditNote.updateCursor
(Cursor start, Cursor end) Constructors in heronarts.lx.command with parameters of type CursorModifierConstructorDescriptionEditNote
(MidiNoteClipLane clipLane, int pitch, int velocity, Cursor start, Cursor end) InsertEvent
(ParameterClipLane lane, Cursor cursor, double normalized) InsertEvent
(PatternClipLane clipLane, Cursor cursor, int patternIndex) InsertNote
(MidiNoteClipLane clipLane, int pitch, int velocity, Cursor start, Cursor end) protected
MoveEvent
(PatternClipLane lane, Cursor cursor) MoveEvent
(PatternClipLane lane, PatternClipEvent clipEvent, Cursor cursor) MoveMarker
(LXClip clip, LXCommand.Clip.Marker marker, Cursor increment) Move clip marker by a given amountMoveMarker
(LXClip clip, LXCommand.Clip.Marker marker, Cursor increment, LXCommand.Clip.MoveMarker.Operation op) RemoveRange
(LXClipLane<?> clipLane, Cursor from, Cursor to) SetCursors
(LXClipLane<T> clipLane, Cursor fromSelectionMin, Cursor fromSelectionMax, Map<T, Double> fromValues, Map<T, Cursor> fromCursors, Map<T, Cursor> toCursors) SetCursors
(LXClipLane<T> clipLane, Cursor fromSelectionMin, Cursor fromSelectionMax, Map<T, Double> fromValues, Map<T, Cursor> fromCursors, Map<T, Cursor> toCursors, Runnable undoHook) SetMarker
(LXClip clip, LXCommand.Clip.Marker marker, Cursor toCursor) Move clip marker to a new value (in time units) -
Uses of Cursor in heronarts.lx.studio.ui.timeline
Methods in heronarts.lx.studio.ui.timeline that return CursorModifier and TypeMethodDescriptionApply grid snapping to a value.Snaps the cursor down to the previous increment of the snap sizeSnaps the cursor up to the next increment of the snap sizeLens.toCursorFromPixels
(float pixels) Lens.toCursorFromViewPosition()
Methods in heronarts.lx.studio.ui.timeline with parameters of type CursorModifier and TypeMethodDescriptionvoid
Set the zoom level, keeping a timeline position (normalized) aligned with an X position (pixels) in the view.Apply grid snapping to a value.Snaps the cursor down to the previous increment of the snap sizeSnaps the cursor up to the next increment of the snap sizefloat
Lens.toPixelsFromCursor
(Cursor cursor) float
Lens.toPixelsInViewFromCursor
(Cursor cursor) -
Uses of Cursor in heronarts.lx.studio.ui.timeline.lane
Fields in heronarts.lx.studio.ui.timeline.lane declared as CursorModifier and TypeFieldDescriptionprotected final Cursor
UIClipLane.selectionEnd
protected final Cursor
UIClipLane.selectionStart
Methods in heronarts.lx.studio.ui.timeline.lane with parameters of type CursorModifier and TypeMethodDescriptionprotected void
UIClipLane.moveSelection
(Cursor delta, boolean add) protected void
UIClipLane.moveSelection
(Cursor delta, Cursor fromStart, Cursor fromEnd, boolean add) protected void
UIClipLane.setSelection
(Cursor start, Cursor end) protected void
UIClipLane.setSelectionEnd
(Cursor end) protected void
UIClipLane.setSelectionStart
(Cursor start)