inspector/display#

Interfaces#

BandRow#

Defined in: editor/src/inspector/display.ts:733

One row of a timeline’s band list: the band’s facet and its Visible checkbox.

Properties#

control#

readonly control: Control

Defined in: editor/src/inspector/display.ts:736

The band’s own display: its word the facet, its label the band’s word, pressed while it is displayed.

facet#

readonly facet: Facet

Defined in: editor/src/inspector/display.ts:734


Control#

Defined in: editor/src/inspector/display.ts:107

A declared control as the case at hand shows it.

Extends#

  • Declaration

Properties#

effect#

readonly effect: Effect

Defined in: editor/src/inspector/display.ts:103

Inherited from#

Declaration.effect

inert#

readonly inert: string | null

Defined in: editor/src/inspector/display.ts:110

Why a press changes nothing drawn now, the control then disabled; null where it changes something.

label#

readonly label: string

Defined in: editor/src/inspector/display.ts:96

Inherited from#

Declaration.label

pressed#

readonly pressed: boolean

Defined in: editor/src/inspector/display.ts:108

property#

readonly property: Property

Defined in: editor/src/inspector/display.ts:97

Inherited from#

Declaration.property

scope#

readonly scope: Scope

Defined in: editor/src/inspector/display.ts:100

Inherited from#

Declaration.scope

select#

readonly select: Selector

Defined in: editor/src/inspector/display.ts:99

The rule a press writes or removes.

Inherited from#

Declaration.select

types#

readonly types: readonly ElementType[]

Defined in: editor/src/inspector/display.ts:102

The types of the elements it can affect, those the rule’s selector names.

Inherited from#

Declaration.types

word#

readonly word: string

Defined in: editor/src/inspector/display.ts:95

Inherited from#

Declaration.word


ControlGroup#

Defined in: editor/src/inspector/display.ts:114

The controls shown under one key of the Properties tab, in order.

Properties#

controls#

readonly controls: readonly Control[]

Defined in: editor/src/inspector/display.ts:116

key#

readonly key: string

Defined in: editor/src/inspector/display.ts:115

Variables#

ATOMIC_SECTIONS#

const ATOMIC_SECTIONS: Selector

Defined in: editor/src/inspector/display.ts:120

The rule of section 2.3 showing the atomic sections, which the defaults hide.

Functions#

bandControls()#

bandControls(view, subjects): ControlGroup[] | null

Defined in: editor/src/inspector/display.ts:634

The controls of the one band the subjects name, in view. A flow control band of the timeline T: Display, the arcs, symbols and forks of every element of T’s tree ({element: type, within: T}); Labels, the words of their label-display ({within: T}); Regions, “Atomic sections”. A regions band: Regions. [] for any other band; null unless the subjects are exactly one band.

Parameters#

view#

View

subjects#

readonly Subject[]

Returns#

ControlGroup[] | null


bandList()#

bandList(view, subjects): BandRow[] | null

Defined in: editor/src/inspector/display.ts:768

The band list of the timeline the subjects name, in view: when every subject is the card of one timeline or virtual timeline T, its line, or one of its bands, one row per band of T in its band order (bandOrderOf: its entry of graphical.order completed against the order it inherits), every timeline alike: a root’s, a child’s (its flow control band included, which holds the child’s flow-control elements), a virtual timeline’s (its markers and regions, the bands it has). Each row is the control of the band’s own display, the rule {element: "band", addresses: [{id: T, facet}]}, pressed while the cascade displays the band, inert where showing or hiding it changes nothing drawn; a press writes or removes that rule as every element control does (controlCommand). null for any other selection.

Parameters#

view#

View

subjects#

readonly Subject[]

Returns#

BandRow[] | null


controlCommand()#

controlCommand(view, block, control): StyleCommand

Defined in: editor/src/inspector/display.ts:711

The style a press of control sends for block in view. “Atomic sections” states display: inline, or removes it when pressed. Any other control asks for one value of its property on every element it shows (askedOf): where the manifest’s own rule control.select states that property and the cascade without it gives what is asked, it removes it (null); else it states the value asked.

Parameters#

view#

View

block#

Block

control#

Control

Returns#

StyleCommand


elementControls()#

elementControls(view, flow): ControlGroup[]

Defined in: editor/src/inspector/display.ts:659

The controls of a flow-control element X: Display, its own drawing (a jump’s arcs, symbol and fork, a flow line’s line and symbol, a jump target’s symbol), each the rule {element: type, addresses: [the part's address]}; Labels, the words of its label-display in the rule of its arcs or line, {element: role, addresses: [{id: X}]}.

Parameters#

view#

View

flow#

FlowSubject

Returns#

ControlGroup[]