Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PieComponent

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Readonly childComponentMap

childComponentMap: null | {}

Readonly childComponents

childComponents: readonly Component[]

Readonly componentFasteners

componentFasteners: null | {}

Readonly componentFlags

componentFlags: number

Readonly componentModels

componentModels: null | {}

Readonly componentObservers

componentObservers: readonly PieComponentObserver<PieComponent>[]

Readonly componentProperties

componentProperties: null | {}

Readonly componentServices

componentServices: null | {}

Readonly componentTraits

componentTraits: null | {}

Readonly componentViewTraits

componentViewTraits: null | {}

Readonly componentViews

componentViews: null | {}

Readonly executeService

executeService: ExecuteService<PieComponent>

Readonly historyService

historyService: HistoryService<PieComponent>

Readonly key

key: undefined | string

Readonly parentComponent

parentComponent: null | Component

Readonly pie

Readonly sliceFasteners

sliceFasteners: readonly ComponentFastener<PieComponent, SliceComponent, never>[]

Readonly sliceTiming

sliceTiming: ComponentProperty<PieComponent, undefined | boolean | Timing, AnyTiming>

Readonly storageService

storageService: StorageService<PieComponent>

Readonly title

Static Readonly Extrinsic

Extrinsic: number = 1

Static Readonly Intrinsic

Intrinsic: number = 0

Static Readonly NeedsAssemble

NeedsAssemble: number = ...

Static Readonly NeedsCompile

NeedsCompile: number = ...

Static Readonly NeedsCompute

NeedsCompute: number = ...

Static Readonly NeedsExecute

NeedsExecute: number = ...

Static Readonly NeedsGenerate

NeedsGenerate: number = ...

Static Readonly NeedsResolve

NeedsResolve: number = ...

Static Readonly NeedsRevise

NeedsRevise: number = ...

Static PieFastener

Static SliceFastener

Static Readonly insertChildFlags

insertChildFlags: number = 0

Static Readonly mountFlags

mountFlags: number = 0

Static Readonly powerFlags

powerFlags: number = 0

Static Readonly removeChildFlags

removeChildFlags: number = 0

Accessors

childComponentCount

  • get childComponentCount(): number
  • Returns number

componentContext

insertChildFlags

  • get insertChildFlags(): number

mountFlags

  • get mountFlags(): number

powerFlags

  • get powerFlags(): number

removeChildFlags

  • get removeChildFlags(): number

superComponentContext

Methods

addComponentObserver

appendChildComponent

  • appendChildComponent(childComponent: Component, key?: string): void

Protected attachParentComponent

  • attachParentComponent(parentComponent: Component): void

Protected attachPieTrait

  • attachPieTrait(pieTrait: PieTrait): void
  • Parameters

    Returns void

Protected attachPieView

  • attachPieView(pieView: PieView): void
  • Parameters

    Returns void

Protected attachSlice

Protected attachSliceLabelView

Protected attachSliceLegendView

Protected attachSliceTrait

Protected attachSliceView

Protected attachTitleView

  • Parameters

    Returns void

cascadeCompile

  • cascadeCompile(compileFlags: number, componentContext: ComponentContext): void

cascadeExecute

  • cascadeExecute(executeFlags: number, componentContext: ComponentContext): void

cascadeInsert

  • cascadeInsert(updateFlags?: number, componentContext?: ComponentContext): void
  • Parameters

    Returns void

cascadeMount

  • cascadeMount(): void
  • Returns void

cascadePower

  • cascadePower(): void
  • Returns void

cascadeUnmount

  • cascadeUnmount(): void

cascadeUnpower

  • cascadeUnpower(): void

Protected compileChildComponents

  • compileChildComponents(compileFlags: number, componentContext: ComponentContext, compileChildComponent: (childComponent: Component, compileFlags: number, componentContext: ComponentContext) => void): void

Protected createPieView

  • Returns null | PieView

Protected createSlice

  • Parameters

    Returns null | SliceComponent

Protected createSliceFastener

Protected createSliceView

  • Parameters

    Returns null | SliceView

Protected createTitleView

  • Parameters

    Returns null | string | GraphicsView

Protected detachParentComponent

  • detachParentComponent(parentComponent: Component): void

Protected detachPieTrait

  • detachPieTrait(pieTrait: PieTrait): void
  • Parameters

    Returns void

Protected detachPieView

  • detachPieView(pieView: PieView): void
  • Parameters

    Returns void

Protected detachSlice

Protected detachSliceLabelView

Protected detachSliceLegendView

Protected detachSliceTrait

Protected detachSliceView

Protected detachTitleView

  • Parameters

    Returns void

Protected detectSliceComponent

  • Parameters

    Returns null | SliceComponent

Protected didAddComponentObserver

Protected didAssemble

Protected didCompile

Protected didCompileChildComponent

Protected didCompileChildComponents

  • didCompileChildComponents(compileFlags: number, componentContext: ComponentContext): void

Protected didCompute

Protected didExecute

Protected didExecuteChildComponent

Protected didExecuteChildComponents

  • didExecuteChildComponents(executeFlags: number, componentContext: ComponentContext): void

Protected didGenerate

Protected didInsertChildComponent

  • didInsertChildComponent(childComponent: Component, targetComponent: null | Component): void

Protected didMount

  • didMount(): void

Protected didObserve

Protected didPower

  • didPower(): void

Protected didRemoveChildComponent

  • didRemoveChildComponent(childComponent: Component): void

Protected didRemoveComponentObserver

Protected didRequestUpdate

  • didRequestUpdate(targetComponent: Component, updateFlags: number, immediate: boolean): void

Protected didRequireUpdate

  • didRequireUpdate(updateFlags: number, immediate: boolean): void

Protected didResolve

Protected didRevise

Protected didSetParentComponent

  • didSetParentComponent(newParentComponent: null | Component, oldParentComponent: null | Component): void

Protected didSetPieTrait

  • didSetPieTrait(newPieTrait: null | PieTrait, oldPieTrait: null | PieTrait): void
  • Parameters

    Returns void

Protected didSetPieView

  • didSetPieView(newPieView: null | PieView, oldPieView: null | PieView): void
  • Parameters

    Returns void

Protected didSetSlice

Protected didSetSliceLabelView

Protected didSetSliceLegendView

Protected didSetSliceTrait

Protected didSetSliceValue

Protected didSetSliceView

Protected didSetTitleView

  • Parameters

    Returns void

Protected didUnmount

  • didUnmount(): void

Protected didUnpower

  • didUnpower(): void

Protected doCompile

  • Parameters

    Returns void

Protected doExecute

  • Parameters

    Returns void

Protected doMountChildComponents

  • doMountChildComponents(): void

Protected doPowerChildComponents

  • doPowerChildComponents(): void

Protected doUnmountChildComponents

  • doUnmountChildComponents(): void

Protected doUnpowerChildComponents

  • doUnpowerChildComponents(): void

Protected executeChildComponents

  • executeChildComponents(executeFlags: number, componentContext: ComponentContext, executeChildComponent: (childComponent: Component, executeFlags: number, componentContext: ComponentContext) => void): void

firstChildComponent

forEachChildComponent

  • forEachChildComponent<T>(callback: (childComponent: Component) => void | T): undefined | T
  • forEachChildComponent<T, S>(callback: (childComponent: Component) => void | T, thisArg: S): undefined | T
  • Type parameters

    • T

    Parameters

    • callback: (childComponent: Component) => void | T
        • Parameters

          Returns void | T

    Returns undefined | T

  • Type parameters

    • T

    • S

    Parameters

    • callback: (childComponent: Component) => void | T
        • Parameters

          Returns void | T

    • thisArg: S

    Returns undefined | T

getBaseComponent

getChildComponent

  • getChildComponent(key: string): null | Component

getComponentFastener

getComponentModel

getComponentProperty

getComponentService

getComponentTrait

getComponentView

getComponentViewTrait

Protected getSliceFastener

getSuperComponent

hasComponentFastener

  • hasComponentFastener(fastenerName: string): boolean
  • Parameters

    • fastenerName: string

    Returns boolean

hasComponentModel

  • hasComponentModel(modelName: string): boolean
  • Parameters

    • modelName: string

    Returns boolean

hasComponentProperty

  • hasComponentProperty(propertyName: string): boolean
  • Parameters

    • propertyName: string

    Returns boolean

hasComponentService

  • hasComponentService(serviceName: string): boolean
  • Parameters

    • serviceName: string

    Returns boolean

hasComponentTrait

  • hasComponentTrait(traitName: string): boolean
  • Parameters

    • traitName: string

    Returns boolean

hasComponentView

  • hasComponentView(viewName: string): boolean
  • Parameters

    • viewName: string

    Returns boolean

hasComponentViewTrait

  • hasComponentViewTrait(fastenerName: string): boolean
  • Parameters

    • fastenerName: string

    Returns boolean

initComponent

Protected initPieTrait

  • initPieTrait(pieTrait: PieTrait): void
  • Parameters

    Returns void

Protected initPieView

  • initPieView(pieView: PieView): void
  • Parameters

    Returns void

Protected initSlice

Protected initSliceLabelView

Protected initSliceLegendView

Protected initSliceTrait

Protected initSliceView

Protected initTitleView

  • Parameters

    Returns void

insertChildComponent

  • insertChildComponent(childComponent: Component, targetComponent: null | Component, key?: string): void

Protected insertChildComponentMap

  • insertChildComponentMap(childComponent: Component): void

Protected insertComponentFastener

  • insertComponentFastener(childComponent: Component, targetComponent: null | Component): void

insertSlice

  • Parameters

    Returns void

insertSliceTrait

  • insertSliceTrait(sliceTrait: SliceTrait, targetTrait?: null | Trait): void
  • Parameters

    Returns void

isCompiling

  • isCompiling(): boolean

isExecuting

  • isExecuting(): boolean

isMounted

  • isMounted(): boolean

isPowered

  • isPowered(): boolean

isTraversing

  • isTraversing(): boolean

isUpdating

  • isUpdating(): boolean

lastChildComponent

mount

  • mount(): void

Protected mountComponentFasteners

  • mountComponentFasteners(): void

Protected mountComponentModels

  • mountComponentModels(): void

Protected mountComponentProperties

  • mountComponentProperties(): void

Protected mountComponentServices

  • mountComponentServices(): void

Protected mountComponentTraits

  • mountComponentTraits(): void

Protected mountComponentViewTraits

  • mountComponentViewTraits(): void

Protected mountComponentViews

  • mountComponentViews(): void

Protected mountSliceFasteners

  • mountSliceFasteners(): void
  • Returns void

needsCompile

  • needsCompile(compileFlags: number, componentContext: ComponentContext): number

needsExecute

  • needsExecute(executeFlags: number, componentContext: ComponentContext): number

nextChildComponent

Protected onAddComponentObserver

Protected onAssemble

Protected onCompile

Protected onCompileChildComponent

Protected onCompileChildComponents

  • onCompileChildComponents(compileFlags: number, componentContext: ComponentContext): void

Protected onCompute

Protected onExecute

Protected onExecuteChildComponent

Protected onExecuteChildComponents

  • onExecuteChildComponents(executeFlags: number, componentContext: ComponentContext): void

Protected onGenerate

Protected onInsertChildComponent

  • onInsertChildComponent(childComponent: Component, targetComponent: null | Component): void

Protected onMount

  • onMount(): void
  • Returns void

Protected onPower

  • onPower(): void

Protected onRemoveChildComponent

  • onRemoveChildComponent(childComponent: Component): void

Protected onRemoveComponentObserver

Protected onRequestUpdate

  • onRequestUpdate(targetComponent: Component, updateFlags: number, immediate: boolean): void

Protected onRequireUpdate

  • onRequireUpdate(updateFlags: number, immediate: boolean): void

Protected onResolve

Protected onRevise

Protected onSetParentComponent

  • onSetParentComponent(newParentComponent: null | Component, oldParentComponent: null | Component): void

Protected onSetPieTrait

  • onSetPieTrait(newPieTrait: null | PieTrait, oldPieTrait: null | PieTrait): void
  • Parameters

    Returns void

Protected onSetPieView

  • onSetPieView(newPieView: null | PieView, oldPieView: null | PieView): void
  • Parameters

    Returns void

Protected onSetSlice

Protected onSetSliceLabelView

Protected onSetSliceLegendView

Protected onSetSliceTrait

Protected onSetSliceValue

Protected onSetSliceView

Protected onSetTitleView

  • Parameters

    Returns void

Protected onUnmount

  • onUnmount(): void
  • Returns void

Protected onUnpower

  • onUnpower(): void

prependChildComponent

  • prependChildComponent(childComponent: Component, key?: string): void

previousChildComponent

remove

  • remove(): void
  • Returns void

removeAll

  • removeAll(): void
  • Returns void

removeChildComponent

  • removeChildComponent(key: string): null | Component
  • removeChildComponent(childComponent: Component): void

Protected removeChildComponentMap

  • removeChildComponentMap(childComponent: Component): void

Protected removeComponentFastener

  • removeComponentFastener(childComponent: Component): void

removeComponentObserver

removeSlice

  • Parameters

    Returns void

removeSliceTrait

  • Parameters

    Returns void

requestUpdate

  • requestUpdate(targetComponent: Component, updateFlags: number, immediate: boolean): void

requireUpdate

  • requireUpdate(updateFlags: number, immediate?: boolean): void

reviseComponentProperties

  • reviseComponentProperties(): void

setChildComponent

setComponentFastener

setComponentFlags

  • setComponentFlags(componentFlags: number): void

setComponentModel

setComponentProperty

setComponentService

setComponentTrait

setComponentView

setComponentViewTrait

setKey

  • setKey(key: undefined | string): void
  • Parameters

    • key: undefined | string

    Returns void

setParentComponent

  • setParentComponent(newParentComponent: null | Component, oldParentComponent: null | Component): void

Protected setTitleView

  • Parameters

    Returns void

Protected themePieView

  • Parameters

    Returns void

Protected unmountComponentFasteners

  • unmountComponentFasteners(): void

Protected unmountComponentModels

  • unmountComponentModels(): void

Protected unmountComponentProperties

  • unmountComponentProperties(): void

Protected unmountComponentServices

  • unmountComponentServices(): void

Protected unmountComponentTraits

  • unmountComponentTraits(): void

Protected unmountComponentViewTraits

  • unmountComponentViewTraits(): void

Protected unmountComponentViews

  • unmountComponentViews(): void

Protected unmountSliceFasteners

  • unmountSliceFasteners(): void
  • Returns void

Protected willAddComponentObserver

Protected willAssemble

Protected willCompile

Protected willCompileChildComponent

Protected willCompileChildComponents

  • willCompileChildComponents(compileFlags: number, componentContext: ComponentContext): void

Protected willCompute

Protected willExecute

Protected willExecuteChildComponent

Protected willExecuteChildComponents

  • willExecuteChildComponents(executeFlags: number, componentContext: ComponentContext): void

Protected willGenerate

Protected willInsertChildComponent

  • willInsertChildComponent(childComponent: Component, targetComponent: null | Component): void

Protected willMount

  • willMount(): void

Protected willObserve

Protected willPower

  • willPower(): void

Protected willRemoveChildComponent

  • willRemoveChildComponent(childComponent: Component): void

Protected willRemoveComponentObserver

Protected willRequestUpdate

  • willRequestUpdate(targetComponent: Component, updateFlags: number, immediate: boolean): void

Protected willRequireUpdate

  • willRequireUpdate(updateFlags: number, immediate: boolean): void

Protected willResolve

Protected willRevise

Protected willSetParentComponent

  • willSetParentComponent(newParentComponent: null | Component, oldParentComponent: null | Component): void

Protected willSetPieTrait

  • willSetPieTrait(newPieTrait: null | PieTrait, oldPieTrait: null | PieTrait): void
  • Parameters

    Returns void

Protected willSetPieView

  • willSetPieView(newPieView: null | PieView, oldPieView: null | PieView): void
  • Parameters

    Returns void

Protected willSetSlice

Protected willSetSliceLabelView

Protected willSetSliceLegendView

Protected willSetSliceTrait

Protected willSetSliceValue

Protected willSetSliceView

Protected willSetTitleView

  • Parameters

    Returns void

Protected willUnmount

  • willUnmount(): void

Protected willUnpower

  • willUnpower(): void

Generated using TypeDoc