FdcGridRangeSelectionFeature class abstract

Extension contract for grid range-selection behavior.

The Community grid host calls this policy/configuration object and owns the attachment lifecycle. Extension packages implement it to provide capability policy, visual styling, per-grid session creation, clipboard behavior, keyboard handling, and lifecycle hooks while the Community grid remains neutral.

This class is part of the stable fdc_ext.dart extension seam and may be implemented by compatible third-party packages. A feature instance should keep public configuration immutable where practical; mutable per-grid state belongs in the FdcGridRangeSelectionSession returned by createSession.

Properties

enabled → bool
Whether the feature is enabled by its public configuration.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

attach(FdcGridRangeSelectionHost host) → void
Called when the feature is connected to a grid instance.
canCopyRange(FdcGridRangeSelectionHost host) → bool
Resolves whether range copy commands are currently allowed.
canFillSingleValue(FdcGridRangeSelectionHost host) → bool
Resolves whether a single clipboard value can fill the selected range.
canPasteRange(FdcGridRangeSelectionHost host) → bool
Resolves whether range paste commands are currently allowed.
canShowContextMenu(FdcGridRangeSelectionHost host) → bool
Resolves whether the range context menu is currently allowed.
createSession(FdcGridRangeSelectionHost host) → FdcGridRangeSelectionSession
Creates mutable runtime state for one grid attachment.
detach() → void
Called when the feature is disconnected from a grid instance.
handleKeyEvent(KeyEvent event) → KeyEventResult?
Gives the feature first chance to handle grid keyboard input.
isAvailable(FdcGridRangeSelectionHost host) → bool
Resolves whether the feature is currently available for the attached grid.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset({bool rebuild = true}) → void
Notifies the feature that the attached grid reset its range state.
resolveBackgroundColor(FdcGridRangeSelectionHost host) → Color?
Resolves the optional selected range background color supplied by the feature.
resolveBorderColor(FdcGridRangeSelectionHost host) → Color
Resolves the range outline color supplied by the feature.
resolveBorderThickness(FdcGridRangeSelectionHost host) → double
Resolves the range outline thickness supplied by the feature.
resolveSelectionHandleSize(FdcGridRangeSelectionHost host) → double
Resolves the visible selection resize-handle size.
resolveShowSelectionHandle(FdcGridRangeSelectionHost host) → bool
Resolves whether the selection resize handle is visible.
toString() → String
A string representation of this object.
inherited

Operators

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