reference
labkit.app.event.IntervalScroll
Describe one normalized interval scroll gesture.
Syntax
event = labkit.app.event.IntervalScroll(Anchor=anchor, Count=count)Description
IntervalScroll replaces native MATLAB scroll events and untyped structs with the horizontal data coordinate under the pointer and the signed vertical scroll count used by interval interactions.
Required Name-Value Arguments
Anchor- Finite scalar horizontal data coordinate.
Count- Finite nonzero scalar vertical scroll count.
Outputs
event- Immutable labkit.app.event.IntervalScroll value.
Errors
labkit:app:contract:UnknownArgument- An argument is missing, unknown, duplicated, or unpaired.
labkit:app:contract:InvalidValue- Anchor or Count is malformed.
Example
event = labkit.app.event.IntervalScroll(Anchor=0.25, Count=-1);
assert(event.Anchor == 0.25)Related APIs
labkit.app.interaction.interval— Declare an editable one-dimensional plot interval.labkit.app.event.ListSelection— Describe selected file or list item identities.labkit.app.event.TableCellEdit— Describe one validated table-cell edit signal.labkit.app.event.TableCellSelection— Describe selected cells in a semantic data table.
Source
This page is generated from the MATLAB help text in +labkit/+app/+event/IntervalScroll.m.