ChartWorkbenchController class

Imperative controller and stable action handle for a chart workbench.

Inheritance
Implemented types

Constructors

ChartWorkbenchController()
Creates a controller that may be attached to one workbench at a time.

Properties

artifactState → ChartWorkbenchArtifactState
Operation-scoped state for host-requested artifact extraction.
no setteroverride
chartController → BravenChartController
Controller attached to the workbench's mounted chart.
no setteroverride
effectiveMode → ChartDisplayMode
Presentation currently shown after responsive fallback is applied.
no setteroverride
generatedSource → ChartGeneratedSource?
Most recent usable generated Dart source.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
hasListeners → bool
Whether any listeners are currently registered.
no setterinherited
isExtractingArtifact → bool
Whether an artifact and optional preview extraction is active.
no setteroverride
isExtractingDocument → bool
Whether a document extraction for the table is active.
no setteroverride
requestedMode → ChartDisplayMode
Chart, Data, or Split mode selected by the user or host.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceForm → ChartSourceForm
Which form the Source pane currently reads the chart in.
no setteroverride
sourceIsStale → bool
Whether generatedSource represents an older chart revision.
no setteroverride
sourceState → ChartWorkbenchSourceState
Operation-scoped state for generated Dart source.
no setteroverride
status → ChartWorkbenchStatus
Current combined status snapshot.
no setter
tableIsStale → bool
Whether tableModel was retained after its latest refresh failed.
no setteroverride
tableModel → ChartTableModel?
Current native table projection, when extraction has succeeded.
no setteroverride
tableSnapshot → ChartDocumentSnapshot?
Effective document snapshot used to build tableModel, when available.
no setteroverride
tableState → ChartWorkbenchTableState
Operation-scoped state for the workbench table.
no setteroverride

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Discards any resources used by the object.
override
extractArtifact(ChartArtifactExtractOptions options) → Future<ChartArtifactResult<ChartArtifact>>
Atomically extracts the effective document and optional preview.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
refreshSource() → Future<ChartArtifactResult<ChartGeneratedSource>>
Coalesces concurrent requests and regenerates Dart from mounted state.
override
refreshTable() → Future<ChartArtifactResult<ChartDocumentSnapshot>>
Coalesces concurrent requests and rebuilds the table from mounted state.
override
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
setDisplayMode(ChartDisplayMode mode) → ChartArtifactResult<ChartDisplayMode>
Requests a display mode without throwing for a disabled mode.
override
setSourceForm(ChartSourceForm form) → void
Switches the Source form, re-emitting from the snapshot already held.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited