Class: NodeAppearanceProvider
@cognite/reveal.NodeAppearanceProvider
Constructors
constructor
• new NodeAppearanceProvider()
Accessors
isLoading
• get
isLoading(): boolean
Returns
boolean
Defined in
packages/cad-styling/src/NodeAppearanceProvider.ts:155
Methods
applyStyles
▸ applyStyles(applyCb
): void
Parameters
Name | Type |
---|---|
applyCb | ApplyStyleDelegate |
Returns
void
Defined in
packages/cad-styling/src/NodeAppearanceProvider.ts:118
assignStyledNodeCollection
▸ assignStyledNodeCollection(nodeCollection
, appearance
): void
Parameters
Name | Type |
---|---|
nodeCollection | NodeCollection |
appearance | NodeAppearance |
Returns
void
Defined in
packages/cad-styling/src/NodeAppearanceProvider.ts:82
clear
▸ clear(): void
Returns
void
Defined in
packages/cad-styling/src/NodeAppearanceProvider.ts:146
getPrioritizedAreas
▸ getPrioritizedAreas(): PrioritizedArea
[]
Returns
PrioritizedArea
[]
Defined in
packages/cad-styling/src/NodeAppearanceProvider.ts:125
off
▸ off(event
, listener
): void
Parameters
Name | Type |
---|---|
event | "changed" |
listener | () => void |
Returns
void
Defined in
packages/cad-styling/src/NodeAppearanceProvider.ts:60
▸ off(event
, listener
): void
Parameters
Name | Type |
---|---|
event | "loadingStateChanged" |
listener | (isLoading : boolean ) => void |
Returns
void
Defined in
packages/cad-styling/src/NodeAppearanceProvider.ts:61
on
▸ on(event
, listener
): void
Parameters
Name | Type |
---|---|
event | "changed" |
listener | () => void |
Returns
void
Defined in
packages/cad-styling/src/NodeAppearanceProvider.ts:37
▸ on(event
, listener
): void
Parameters
Name | Type |
---|---|
event | "loadingStateChanged" |
listener | (isLoading : boolean ) => void |
Returns
void
Defined in
packages/cad-styling/src/NodeAppearanceProvider.ts:38
▸ on(event
, listener
): void
Parameters
Name | Type |
---|---|
event | "prioritizedAreasChanged" |
listener | () => void |
Returns
void
Defined in
packages/cad-styling/src/NodeAppearanceProvider.ts:39
unassignStyledNodeCollection
▸ unassignStyledNodeCollection(nodeCollection
): void
Parameters
Name | Type |
---|---|
nodeCollection | NodeCollection |
Returns
void