inspector/regions#
Interfaces#
Listed#
Defined in: editor/src/inspector/regions.ts:97
The timeline a list was made for, in its block: what a later selection of its regions keeps.
Properties#
block#
readonlyblock:string
Defined in: editor/src/inspector/regions.ts:98
timeline#
readonlytimeline:string
Defined in: editor/src/inspector/regions.ts:99
RegionRow#
Defined in: editor/src/inspector/regions.ts:51
One region of the tab: what its row shows and the commands it sends.
Properties#
address#
readonlyaddress:Address
Defined in: editor/src/inspector/regions.ts:54
Its address in its block.
end#
readonlyend:string
Defined in: editor/src/inspector/regions.ts:65
id#
readonlyid:string
Defined in: editor/src/inspector/regions.ts:52
manifest#
readonlymanifest:Manifest
Defined in: editor/src/inspector/regions.ts:56
The manifest it was read from, which its drafts belong to.
name#
readonlyname:string
Defined in: editor/src/inspector/regions.ts:60
Its name; empty for none.
readOnly#
readonlyreadOnly:boolean
Defined in: editor/src/inspector/regions.ts:69
An atomic section: shown, never edited.
remove#
readonlyremove:RemoveCommand|null
Defined in: editor/src/inspector/regions.ts:71
Its removal; null for an atomic section.
start#
readonlystart:string
Defined in: editor/src/inspector/regions.ts:64
Its start and end as Copy writes them in its axis’s number type.
timeline#
readonlytimeline:object
Defined in: editor/src/inspector/regions.ts:58
The timeline holding it, on whose axis its start and end lie.
type#
readonlytype:string
Defined in: editor/src/inspector/regions.ts:62
The classes its type statement names, an atomic section’s as “Atomic section”; empty for none.
unit#
readonlyunit:string
Defined in: editor/src/inspector/regions.ts:67
Its axis’s pretty unit.
RegionSection#
Defined in: editor/src/inspector/regions.ts:75
The regions of one timeline: the selected one’s without a heading, a descendant’s under its name.
Properties#
heading#
readonlyheading:string|null
Defined in: editor/src/inspector/regions.ts:79
Its name, else its ID; null for the selected timeline itself.
rows#
readonlyrows: readonlyRegionRow[]
Defined in: editor/src/inspector/regions.ts:80
timeline#
readonlytimeline:string
Defined in: editor/src/inspector/regions.ts:77
The timeline’s ID.
RegionsShown#
Defined in: editor/src/inspector/regions.ts:84
What the Regions tab shows of a selection naming one timeline.
Properties#
add#
readonlyadd:AddCommand|null
Defined in: editor/src/inspector/regions.ts:93
The add of a region over the selected timeline; null where its extent fits no value of its axis.
block#
readonlyblock:Block
Defined in: editor/src/inspector/regions.ts:85
sections#
readonlysections: readonlyRegionSection[]
Defined in: editor/src/inspector/regions.ts:89
The selected timeline’s section first, then each descendant’s holding a region, in pre-order.
selected#
readonlyselected:ReadonlySet<string>
Defined in: editor/src/inspector/regions.ts:91
The IDs of the selected regions, whose rows are marked.
timeline#
readonlytimeline:object
Defined in: editor/src/inspector/regions.ts:87
The selected timeline.
Type Aliases#
RegionField#
RegionField =
"name"|"start"|"end"
Defined in: editor/src/inspector/regions.ts:48
A field of a region’s row.
Functions#
addRegionCommand()#
addRegionCommand(
block,timeline):AddCommand|null
Defined in: editor/src/inspector/regions.ts:196
The add of a region over the whole of timeline in block: from 0 to
its length, or to its reach where its length is not known, as its axis
writes them. The region carries no ID: core gives it one. null where
the reach fits no value of the axis.
Parameters#
block#
timeline#
{ }
Returns#
AddCommand | null
regionFieldCommand()#
Defined in: editor/src/inspector/regions.ts:291
The command text typed into field of row gives: one set of the
region’s name (an empty text unstates it) or of its start or end, read
exactly in its axis’s number type; null where the text is what the row
shows; refused before dispatch where the text spells no value of the
axis, at [<address key>, field]. The store’s checks decide the rest
(an end before the start, a value outside the timeline).
Parameters#
row#
field#
text#
string
Returns#
regionsOf()#
regionsOf(
block,subjects,listed?):RegionsShown|null
Defined in: editor/src/inspector/regions.ts:248
What the Regions tab shows of subjects: when they lie in one block and
each names one and the same timeline, as the timeline, its card, one of
its bands or one of its regions (or a part of any of these), that
timeline’s regions and its descendants’; while they name only regions of
listed (the timeline the tab listed before) or of its descendants,
listed’s, so that selecting a listed region keeps the list; null for
no subject and for any other selection.
Parameters#
block#
Block | null
subjects#
readonly Subject[]
listed?#
Listed | null = null
Returns#
RegionsShown | null