Ir al contenido

RowColumnDefinition

Defined in: panel/RowColumnDefinition.ts:12

GoJS-compatible: describes one row or column of a 'Table'-type Panel (size constraints, separator styling). graphojs’s Panel.rowDefinitions/ columnDefinitions currently accept plain { height?, width?, separatorStrokeWidth? } objects rather than instances of this class — this exists for API parity (new go.RowColumnDefinition(...)) and reads back the same shape; panel is only set if you assign it yourself, since graphojs’s table layout doesn’t yet track it automatically.

new RowColumnDefinition(init?): RowColumnDefinition

Defined in: panel/RowColumnDefinition.ts:26

Partial<RowColumnDefinition> & object

RowColumnDefinition

alignment: unknown = null

Defined in: panel/RowColumnDefinition.ts:24


background: string | null = null

Defined in: panel/RowColumnDefinition.ts:23


maximum: number = Number.POSITIVE_INFINITY

Defined in: panel/RowColumnDefinition.ts:19


minimum: number = 0

Defined in: panel/RowColumnDefinition.ts:18


separatorPadding: number = 0

Defined in: panel/RowColumnDefinition.ts:22


separatorStroke: string | null = null

Defined in: panel/RowColumnDefinition.ts:21


separatorStrokeWidth: number = Number.NaN

Defined in: panel/RowColumnDefinition.ts:20

get height(): number

Defined in: panel/RowColumnDefinition.ts:80

number

set height(value): void

Defined in: panel/RowColumnDefinition.ts:84

number

void


get index(): number

Defined in: panel/RowColumnDefinition.ts:72

number

set index(value): void

Defined in: panel/RowColumnDefinition.ts:76

number

void


get isRow(): boolean

Defined in: panel/RowColumnDefinition.ts:64

boolean

set isRow(value): void

Defined in: panel/RowColumnDefinition.ts:68

boolean

void


get panel(): Panel | null

Defined in: panel/RowColumnDefinition.ts:55

Panel | null

set panel(value): void

Defined in: panel/RowColumnDefinition.ts:60

Not part of the real GoJS read-only panel getter’s contract — graphojs exposes it settable since nothing else assigns it automatically.

Panel | null

void


get width(): number

Defined in: panel/RowColumnDefinition.ts:88

number

set width(value): void

Defined in: panel/RowColumnDefinition.ts:92

number

void

computeEffectiveSpacing(): number

Defined in: panel/RowColumnDefinition.ts:48

number


computeEffectiveSpacingTop(_first): number

Defined in: panel/RowColumnDefinition.ts:41

number

number