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 CursorLXClip.cursorCurrent playback/recording cursor for the clipfinal CursorLXClip.CursorParameter.cursorfinal CursorLXClipEvent.cursorfinal CursorLXClip.launchFromCursorCursor 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 CursorCursor.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 CursorNon-destructive equivalent of constrain.default CursorNon-destructive equivalent of constrain.default CursorNon-destructive equivalent of constrain.Cursor.clone()Constrain the position of this cursor to the length of the clip.default CursorConstrain the cursor to the range from ZERO to the target cursordefault CursorConstrain the cursor to the rangedefault CursorConstrain 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 CursorReturns the cursor that takes place later, or c2 if equaldefault CursorReturns 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 CursorCursor.Operator.applyDelta(Cursor cursor, Cursor delta, boolean add) Apply a delta to the given cursor, limiting the result to not go below 0default CursorNon-destructive equivalent of constrain.default CursorNon-destructive equivalent of constrain.default CursorNon-destructive equivalent of constrain.default CursorConstrain the cursor to the range from ZERO to the target cursordefault CursorConstrain the cursor to the rangedefault CursorConstrain the cursor's value to the bounds of this clipdefault voidLXClip.Listener.cursorChanged(LXClip clip, Cursor cursor) protected intLXClipLane.cursorInsertIndex(Cursor cursor) protected intLXClipLane.cursorInsertIndex(List<T> events, Cursor cursor) protected intLXClipLane.cursorPlayIndex(Cursor cursor) protected intLXClipLane.cursorPlayIndex(List<T> events, Cursor cursor) voidMidiNoteClipLane.editNote(MidiNoteClipEvent editNoteOn, int toPitch, int toVelocity, Cursor toStart, Cursor toEnd, List<MidiNoteClipEvent> restoreOriginal, boolean checkDelete, boolean cursorMoved) intLXClipLane.eventIndex(List<T> events, Cursor fromCursor, boolean inclusive) intLXClipLane.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 stringdoubleCursor.getDeltaMillis(Cursor that) Returns the absolute time difference between these cursorsdoubleCursor.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 postdoubleCursor.Operator.getLerpRatio(Cursor cursor, Cursor pre, Cursor post) Gets the ratio of a cursor value to the difference between pre and post.protected TLXClipLane.getPreviousEvent(Cursor cursor) Gets the last event occurring before this cursor insert position, if any.protected TLXClipLane.getPreviousEvent(List<T> events, Cursor cursor) Gets the last event occurring before this cursor insert position, if any.doubleReturns 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) booleanReturnstrueif c1 is strictly after c2booleanCursor.Operator.isAfterOrEqual(Cursor c1, Cursor c2) Returnstrueif c1 is after or at the same time as c2booleanReturnstrueif c1 is strictly before c2booleanCursor.Operator.isBeforeOrEqual(Cursor c1, Cursor c2) Returnstrueif c1 is before or at the same time as c2booleanbooleanReturnstrueif c1 is at the same time as c2booleanReturnstrueif the cursor falls in the given range, inclusivebooleanReturntrueif the cursor is at position 0LXClip.launchAutomationFrom(Cursor cursor) Launches the clip from a specified start position, subject to global launch quantization.default CursorReturns the cursor that takes place later, or c2 if equaldefault CursorReturns the cursor that takes place first, or c1 if equalPlay clip from cursor position without quantization delay.booleanLXClipLane.removeRange(Cursor from, Cursor to) protected booleanLXClipLane.removeRange(Cursor from, Cursor to, boolean notify) booleanMidiNoteClipLane.removeRange(Cursor from, Cursor to) Set the value of the cursor to the value held by anotherprotected voidMove the cursor and notify listenersvoidLXClipLane.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 ParameterClipEventParameterClipLane.stitchEvent(ParameterClipEvent prior, ParameterClipEvent next, Cursor cursor) protected TLXClipLane.stitchInner(List<T> events, Cursor cursor, int rightIndex, boolean isMin, boolean force) protected ParameterClipEventParameterClipLane.stitchInner(List<ParameterClipEvent> events, Cursor cursor, int stitchIndex, boolean isMin, boolean force) protected TLXClipLane.stitchOuter(List<T> events, Cursor cursor, int rightIndex) protected ParameterClipEventParameterClipLane.stitchOuter(List<ParameterClipEvent> events, Cursor cursor, int rightIndex) protected TLXClipLane.stitchSelectionMax(List<T> originalEvents, List<T> modifiedEvents, Cursor selectionMax, int stitchIndex, boolean force) protected ParameterClipEventParameterClipLane.stitchSelectionMax(List<ParameterClipEvent> originalEvents, List<ParameterClipEvent> modifiedEvents, Cursor selectionMax, int stitchIndex, boolean force) protected TLXClipLane.stitchSelectionMin(List<T> originalEvents, List<T> modifiedEvents, Cursor selectionMin, int stitchIndex, boolean force) protected ParameterClipEventParameterClipLane.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 CursorLXCommand.Clip.Event.Pattern.MoveEvent.fromCursorprotected final CursorLXCommand.Clip.Event.Midi.EditNote.fromEndprotected final CursorLXCommand.Clip.Event.Midi.EditNote.fromStartprotected final CursorLXCommand.Clip.Event.Pattern.MoveEvent.toCursorMethods in heronarts.lx.command that return CursorMethods in heronarts.lx.command with parameters of type CursorModifier and TypeMethodDescriptionvoidLXCommand.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) protectedMoveEvent(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 TypeMethodDescriptionvoidSet 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 sizefloatLens.toPixelsFromCursor(Cursor cursor) floatLens.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 CursorUIClipLane.selectionEndprotected final CursorUIClipLane.selectionStartMethods in heronarts.lx.studio.ui.timeline.lane with parameters of type CursorModifier and TypeMethodDescriptionprotected voidUIClipLane.moveSelection(Cursor delta, boolean add) protected voidUIClipLane.moveSelection(Cursor delta, Cursor fromStart, Cursor fromEnd, boolean add) protected voidUIClipLane.setSelection(Cursor start, Cursor end) protected voidUIClipLane.setSelectionEnd(Cursor end) protected voidUIClipLane.setSelectionStart(Cursor start)