VelocityTable
File: Rhapsodist/Widgets/VelocityTable.js · Namespace: VelocityTable.
Overview
Creates and styles a table that connects to a VelocityScaler.js-style module.
The table’s tableIndex is fixed at 0, selecting which stored curve it edits/displays.
Resetting the table
Alt-clicking the table resets it (component.reset()).
Usage
const pnlVelocity = VelocityTable.create("pnlVelocityContainer", "velocityScaler", {})
Options
options is accepted but not currently used.
Look and Feel
| Function | Draws |
|---|---|
drawVelocityTableBackground | The grid lines drawn behind the curve. |
velocityTable | A whole local Look and Feel object, replacing the table’s default styling entirely instead of overriding one function at a time. |
Public API
| Function | Description | Returns |
|---|---|---|
create(panelId: string, processorId: string, options: JSON) | Builds and styles the table inside panelId, binding it to processorId. | ScriptObject |
Broadcasters
| Broadcaster | Description |
|---|---|
data.broadcasters.tblVelocityMouse | Fires on clicks on the table; alt-clicking resets the table (component.reset()). |