Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Parameters

    • node: Text

    Returns TextView

Properties

Readonly childViewMap

childViewMap: null | {}

Readonly constraintVariables

constraintVariables: readonly ConstraintVariable[]

Readonly constraints

constraints: readonly Constraint[]

Readonly displayService

displayService: DisplayService<TextView>

Readonly key

key: undefined | string

Readonly layoutService

layoutService: LayoutService<TextView>

Readonly modalService

modalService: ModalService<TextView>

Readonly mood

mood: ViewProperty<TextView, null | MoodVector<Feel>, never>

Readonly node

node: Text

Readonly theme

theme: ViewProperty<TextView, null | ThemeMatrix, never>

Readonly themeService

themeService: ThemeService<TextView>

Readonly viewAnimators

viewAnimators: null | {}

Readonly viewContext

viewContext: ViewContext

Readonly viewController

viewController: null | TextViewController<TextView>

Readonly viewFasteners

viewFasteners: null | {}

Readonly viewFlags

viewFlags: number

Readonly viewObservers

viewObservers: readonly TextViewObserver<TextView>[]

Readonly viewProperties

viewProperties: null | {}

Readonly viewServices

viewServices: null | {}

Readonly viewportService

viewportService: ViewportService<TextView>

Static Readonly Extrinsic

Extrinsic: number = 1

Static Readonly Intrinsic

Intrinsic: number = 0

Static Readonly NeedsAnimate

NeedsAnimate: number = ...

Static Readonly NeedsChange

NeedsChange: number = ...

Static Readonly NeedsComposite

NeedsComposite: number = ...

Static Readonly NeedsDisplay

NeedsDisplay: number = ...

Static Readonly NeedsLayout

NeedsLayout: number = ...

Static Readonly NeedsProcess

NeedsProcess: number = ...

Static Readonly NeedsProject

NeedsProject: number = ...

Static Readonly NeedsRasterize

NeedsRasterize: number = ...

Static Readonly NeedsRender

NeedsRender: number = ...

Static Readonly NeedsResize

NeedsResize: number = ...

Static Readonly NeedsScroll

NeedsScroll: number = ...

Static Readonly insertChildFlags

insertChildFlags: number = ...

Static Readonly mountFlags

mountFlags: number = ...

Static Readonly powerFlags

powerFlags: number = ...

Static Readonly removeChildFlags

removeChildFlags: number = ...

Static Readonly uncullFlags

uncullFlags: number = ...

Accessors

childViewCount

  • get childViewCount(): number
  • Returns number

childViews

  • get childViews(): readonly View[]
  • Returns readonly View[]

clientBounds

  • get clientBounds(): R2Box
  • Returns R2Box

clientTransform

insertChildFlags

  • get insertChildFlags(): number

mountFlags

  • get mountFlags(): number

pageBounds

  • get pageBounds(): R2Box
  • Returns R2Box

pageTransform

parentTransform

  • Returns the transformation from the parent view coordinates to view coordinates.

    Returns Transform

parentView

  • get parentView(): null | View
  • Returns null | View

popoverFrame

  • get popoverFrame(): R2Box

powerFlags

  • get powerFlags(): number

removeChildFlags

  • get removeChildFlags(): number

superViewContext

uncullFlags

  • get uncullFlags(): number

viewIdiom

viewport

Methods

activateLayout

  • activateLayout(): void
  • Returns void

addConstraint

  • Parameters

    Returns void

addConstraintVariable

addViewObserver

appendChild

  • appendChild(child: Node | View, key?: string): void
  • Parameters

    • child: Node | View
    • Optional key: string

    Returns void

appendChildNode

  • appendChildNode(childNode: Node, key?: string): void
  • Parameters

    • childNode: Node
    • Optional key: string

    Returns void

appendChildView

  • appendChildView(childView: View, key?: string): void
  • Parameters

    • childView: View
    • Optional key: string

    Returns void

applyTheme

Protected attachParentView

  • attachParentView(parentView: View): void

cascadeCull

  • cascadeCull(): void
  • Returns void

cascadeDisplay

  • cascadeDisplay(displayFlags: number, viewContext: ViewContext): void
  • Parameters

    Returns void

cascadeInsert

  • cascadeInsert(updateFlags?: number, viewContext?: ViewContext): void
  • Parameters

    • Optional updateFlags: number
    • Optional viewContext: ViewContext

    Returns void

cascadeMount

  • cascadeMount(): void
  • Returns void

cascadePower

  • cascadePower(): void
  • Returns void

cascadeProcess

  • cascadeProcess(processFlags: number, viewContext: ViewContext): void
  • Parameters

    Returns void

cascadeUncull

  • cascadeUncull(): void
  • Returns void

cascadeUnmount

  • cascadeUnmount(): void
  • Returns void

cascadeUnpower

  • cascadeUnpower(): void
  • Returns void

changeViewProperties

  • changeViewProperties(): void

constraint

constraintVariable

deactivateLayout

  • deactivateLayout(): void
  • Returns void

Protected detachParentView

  • detachParentView(parentView: View): void

Protected didAddViewObserver

Protected didAnimate

Protected didApplyTheme

Protected didChange

Protected didCull

  • didCull(): void

Protected didDisplay

  • didDisplay(displayFlags: number, viewContext: ViewContext): void

Protected didDisplayChildView

  • didDisplayChildView(childView: View, displayFlags: number, viewContext: ViewContext): void

Protected didDisplayChildViews

  • didDisplayChildViews(displayFlags: number, viewContext: ViewContext): void

Protected didInsertChildNode

  • didInsertChildNode(childNode: Node, targetNode: null | Node): void
  • Parameters

    • childNode: Node
    • targetNode: null | Node

    Returns void

Protected didInsertChildView

  • didInsertChildView(childView: View, targetView: null | View): void

Protected didLayout

Protected didMount

  • didMount(): void
  • Returns void

Protected didObserve

Protected didPower

  • didPower(): void

Protected didProcess

  • didProcess(processFlags: number, viewContext: ViewContext): void

Protected didProcessChildView

  • didProcessChildView(childView: View, processFlags: number, viewContext: ViewContext): void

Protected didProcessChildViews

  • didProcessChildViews(processFlags: number, viewContext: ViewContext): void

Protected didRemoveChildNode

  • didRemoveChildNode(childNode: Node): void
  • Parameters

    • childNode: Node

    Returns void

Protected didRemoveChildView

  • didRemoveChildView(childView: View): void

Protected didRemoveViewObserver

Protected didRequestUpdate

  • didRequestUpdate(targetView: View, updateFlags: number, immediate: boolean): void

Protected didRequireUpdate

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

Protected didResize

Protected didScroll

Protected didSetParentView

  • didSetParentView(newParentView: null | View, oldParentView: null | View): void

Protected didSetViewController

Protected didUncull

  • didUncull(): void

Protected didUnmount

  • didUnmount(): void

Protected didUnpower

  • didUnpower(): void

dispatchEvent

  • dispatchEvent(event: Event): boolean
  • Parameters

    • event: Event

    Returns boolean

Protected displayChildViews

  • displayChildViews(displayFlags: number, viewContext: ViewContext, displayChildView: (childView: View, displayFlags: number, viewContext: ViewContext) => void): void
  • Parameters

    • displayFlags: number
    • viewContext: ViewContext
    • displayChildView: (childView: View, displayFlags: number, viewContext: ViewContext) => void
        • Parameters

          Returns void

    Returns void

Protected doCull

  • doCull(): void
  • Returns void

Protected doCullChildViews

  • doCullChildViews(): void
  • Returns void

Protected doDisplay

  • doDisplay(displayFlags: number, viewContext: ViewContext): void
  • Parameters

    Returns void

Protected doDisplayChildViews

  • doDisplayChildViews(displayFlags: number, viewContext: ViewContext): void
  • Parameters

    Returns void

Protected doMountChildViews

  • doMountChildViews(): void
  • Returns void

Protected doPowerChildViews

  • doPowerChildViews(): void
  • Returns void

Protected doProcess

  • doProcess(processFlags: number, viewContext: ViewContext): void
  • Parameters

    Returns void

Protected doProcessChildViews

  • doProcessChildViews(processFlags: number, viewContext: ViewContext): void
  • Parameters

    Returns void

Protected doUncull

  • doUncull(): void
  • Returns void

Protected doUncullChildViews

  • doUncullChildViews(): void
  • Returns void

Protected doUnmountChildViews

  • doUnmountChildViews(): void
  • Returns void

Protected doUnpowerChildViews

  • doUnpowerChildViews(): void
  • Returns void

evaluateConstraintVariables

  • evaluateConstraintVariables(): void

extendViewContext

firstChildView

  • firstChildView(): null | View
  • Returns null | View

forEachChildView

  • forEachChildView<T>(callback: (childView: View) => void | T): undefined | T
  • forEachChildView<T, S>(callback: (childView: View) => void | T, thisArg: S): undefined | T
  • Type parameters

    • T

    Parameters

    • callback: (childView: View) => void | T
        • (childView: View): void | T
        • Parameters

          Returns void | T

    Returns undefined | T

  • Type parameters

    • T

    • S

    Parameters

    • callback: (childView: View) => void | T
        • (childView: View): void | T
        • Parameters

          Returns void | T

    • thisArg: S

    Returns undefined | T

getBaseView

  • getBaseView<V>(viewClass: ViewClass<V>): null | V

getChildView

  • getChildView(key: string): null | View
  • Parameters

    • key: string

    Returns null | View

getLook

  • Type parameters

    • T

    Parameters

    Returns undefined | T

getLookOr

  • getLookOr<T, E>(look: Look<T, unknown>, elseValue: E): T | E
  • getLookOr<T, E>(look: Look<T, unknown>, mood: null | MoodVector<Feel>, elseValue: E): T | E
  • Type parameters

    • T

    • E

    Parameters

    • look: Look<T, unknown>
    • elseValue: E

    Returns T | E

  • Type parameters

    • T

    • E

    Parameters

    Returns T | E

getSuperView

  • getSuperView<V>(viewClass: ViewClass<V>): null | V

getViewAnimator

getViewFastener

getViewProperty

getViewService

hasConstraint

  • Parameters

    Returns boolean

hasConstraintVariable

hasViewAnimator

  • hasViewAnimator(animatorName: string): boolean
  • Parameters

    • animatorName: string

    Returns boolean

hasViewFastener

  • hasViewFastener(fastenerName: string): boolean
  • Parameters

    • fastenerName: string

    Returns boolean

hasViewProperty

  • hasViewProperty(propertyName: string): boolean
  • Parameters

    • propertyName: string

    Returns boolean

hasViewService

  • hasViewService(serviceName: string): boolean
  • Parameters

    • serviceName: string

    Returns boolean

initView

  • Parameters

    Returns void

injectChildView

  • injectChildView(childView: NodeView, targetView: null | NodeView, key?: string): void
  • Parameters

    Returns void

insertChild

  • insertChild(child: Node | View, target: null | Node | View, key?: string): void
  • Parameters

    • child: Node | View
    • target: null | Node | View
    • Optional key: string

    Returns void

insertChildNode

  • insertChildNode(childNode: Node, targetNode: null | Node, key?: string): void
  • Parameters

    • childNode: Node
    • targetNode: null | Node
    • Optional key: string

    Returns void

insertChildView

  • insertChildView(childView: View, targetView: null | View, key?: string): void
  • Parameters

    • childView: View
    • targetView: null | View
    • Optional key: string

    Returns void

Protected insertChildViewMap

  • insertChildViewMap(childView: View): void
  • Parameters

    Returns void

Protected insertViewFastener

  • insertViewFastener(childView: View, targetView: null | View): void
  • Parameters

    • childView: View
    • targetView: null | View

    Returns void

intersectsViewport

  • intersectsViewport(): boolean

isCulled

  • isCulled(): boolean

isDisplaying

  • isDisplaying(): boolean

isMounted

  • isMounted(): boolean

isPowered

  • isPowered(): boolean

isProcessing

  • isProcessing(): boolean

isTraversing

  • isTraversing(): boolean

isUpdating

  • isUpdating(): boolean

lastChildView

  • lastChildView(): null | View
  • Returns null | View

modifyMood

modifyTheme

mount

  • mount(): void
  • Returns void

Protected mountViewAnimators

  • mountViewAnimators(): void
  • Returns void

Protected mountViewFasteners

  • mountViewFasteners(): void
  • Returns void

Protected mountViewProperties

  • mountViewProperties(): void
  • Returns void

Protected mountViewServices

  • mountViewServices(): void
  • Returns void

needsDisplay

  • needsDisplay(displayFlags: number, viewContext: ViewContext): number

needsProcess

  • needsProcess(processFlags: number, viewContext: ViewContext): number

nextChildView

  • nextChildView(targetView: View): null | View
  • Parameters

    Returns null | View

off

  • off(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): TextView
  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • Optional options: boolean | EventListenerOptions

    Returns TextView

on

  • on(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): TextView
  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • Optional options: boolean | AddEventListenerOptions

    Returns TextView

Protected onAddViewObserver

Protected onAnimate

Protected onApplyTheme

Protected onChange

  • Parameters

    Returns void

Protected onCull

  • onCull(): void

Protected onDisplay

  • onDisplay(displayFlags: number, viewContext: ViewContext): void

Protected onDisplayChildView

  • onDisplayChildView(childView: View, displayFlags: number, viewContext: ViewContext): void

Protected onDisplayChildViews

  • onDisplayChildViews(displayFlags: number, viewContext: ViewContext): void

Protected onInsertChildNode

  • onInsertChildNode(childNode: Node, targetNode: null | Node): void
  • Parameters

    • childNode: Node
    • targetNode: null | Node

    Returns void

Protected onInsertChildView

  • onInsertChildView(childView: View, targetView: null | View): void
  • Parameters

    • childView: View
    • targetView: null | View

    Returns void

Protected onLayout

Protected onMount

  • onMount(): void
  • Returns void

Protected onPower

  • onPower(): void

Protected onProcess

  • onProcess(processFlags: number, viewContext: ViewContext): void

Protected onProcessChildView

  • onProcessChildView(childView: View, processFlags: number, viewContext: ViewContext): void

Protected onProcessChildViews

  • onProcessChildViews(processFlags: number, viewContext: ViewContext): void

Protected onRemoveChildNode

  • onRemoveChildNode(childNode: Node): void
  • Parameters

    • childNode: Node

    Returns void

Protected onRemoveChildView

  • onRemoveChildView(childView: View): void
  • Parameters

    Returns void

Protected onRemoveViewObserver

Protected onRequestUpdate

  • onRequestUpdate(targetView: View, updateFlags: number, immediate: boolean): void

Protected onRequireUpdate

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

Protected onResize

Protected onScroll

Protected onSetParentView

  • onSetParentView(newParentView: null | View, oldParentView: null | View): void

Protected onSetViewController

Protected onUncull

  • onUncull(): void

Protected onUnmount

  • onUnmount(): void
  • Returns void

Protected onUnpower

  • onUnpower(): void

prependChild

  • prependChild(child: Node | View, key?: string): void
  • Parameters

    • child: Node | View
    • Optional key: string

    Returns void

prependChildNode

  • prependChildNode(childNode: Node, key?: string): void
  • Parameters

    • childNode: Node
    • Optional key: string

    Returns void

prependChildView

  • prependChildView(childView: View, key?: string): void
  • Parameters

    • childView: View
    • Optional key: string

    Returns void

previousChildView

  • previousChildView(targetView: View): null | View
  • Parameters

    Returns null | View

Protected processChildViews

  • processChildViews(processFlags: number, viewContext: ViewContext, processChildView: (childView: View, processFlags: number, viewContext: ViewContext) => void): void
  • Parameters

    • processFlags: number
    • viewContext: ViewContext
    • processChildView: (childView: View, processFlags: number, viewContext: ViewContext) => void
        • Parameters

          Returns void

    Returns void

remove

  • remove(): void
  • Returns void

removeAll

  • removeAll(): void
  • Returns void

removeChild

  • removeChild(child: Node | View): void
  • Parameters

    • child: Node | View

    Returns void

removeChildNode

  • removeChildNode(childNode: Node): void
  • Parameters

    • childNode: Node

    Returns void

removeChildView

  • removeChildView(key: string): null | View
  • removeChildView(childView: View): void
  • Parameters

    • key: string

    Returns null | View

  • Parameters

    Returns void

Protected removeChildViewMap

  • removeChildViewMap(childView: View): void
  • Parameters

    Returns void

removeConstraint

removeConstraintVariable

Protected removeViewFastener

  • removeViewFastener(childView: View): void
  • Parameters

    Returns void

removeViewObserver

requestUpdate

  • requestUpdate(targetView: View, updateFlags: number, immediate: boolean): void

requireUpdate

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

setChildView

  • setChildView(key: string, newChildView: null | View): null | View
  • Parameters

    • key: string
    • newChildView: null | View

    Returns null | View

setCulled

  • setCulled(culled: boolean): void
  • Parameters

    • culled: boolean

    Returns void

setKey

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

    • key: undefined | string

    Returns void

setParentView

  • setParentView(newParentView: null | View, oldParentView: null | View): void
  • Parameters

    • newParentView: null | View
    • oldParentView: null | View

    Returns void

setViewAnimator

  • setViewAnimator(animatorName: string, newViewAnimator: null | ViewAnimator<TextView, unknown, never>): void
  • Parameters

    Returns void

setViewController

setViewFastener

  • setViewFastener(fastenerName: string, newViewFastener: null | ViewFastener<TextView, any, never>): void
  • Parameters

    Returns void

setViewFlags

  • setViewFlags(viewFlags: number): void

setViewProperty

  • setViewProperty(propertyName: string, newViewProperty: null | ViewProperty<TextView, unknown, never>): void
  • Parameters

    Returns void

setViewService

  • setViewService(serviceName: string, newViewService: null | ViewService<TextView, unknown>): void
  • Parameters

    Returns void

setViewState

text

  • text(): undefined | string
  • text(value: undefined | null | string): TextView
  • Returns undefined | string

  • Parameters

    • value: undefined | null | string

    Returns TextView

trackDidStartAnimating

trackDidStopAnimating

trackWillStartAnimating

trackWillStopAnimating

Protected unmountViewAnimators

  • unmountViewAnimators(): void

Protected unmountViewFasteners

  • unmountViewFasteners(): void

Protected unmountViewProperties

  • unmountViewProperties(): void

Protected unmountViewServices

  • unmountViewServices(): void
  • Returns void

Protected willAddViewObserver

Protected willAnimate

Protected willApplyTheme

Protected willChange

Protected willCull

  • willCull(): void

Protected willDisplay

  • willDisplay(displayFlags: number, viewContext: ViewContext): void

Protected willDisplayChildView

  • willDisplayChildView(childView: View, displayFlags: number, viewContext: ViewContext): void

Protected willDisplayChildViews

  • willDisplayChildViews(displayFlags: number, viewContext: ViewContext): void

Protected willInsertChildNode

  • willInsertChildNode(childNode: Node, targetNode: null | Node): void
  • Parameters

    • childNode: Node
    • targetNode: null | Node

    Returns void

Protected willInsertChildView

  • willInsertChildView(childView: View, targetView: null | View): void

Protected willLayout

Protected willMount

  • willMount(): void

Protected willObserve

Protected willPower

  • willPower(): void

Protected willProcess

  • willProcess(processFlags: number, viewContext: ViewContext): void

Protected willProcessChildView

  • willProcessChildView(childView: View, processFlags: number, viewContext: ViewContext): void

Protected willProcessChildViews

  • willProcessChildViews(processFlags: number, viewContext: ViewContext): void

Protected willRemoveChildNode

  • willRemoveChildNode(childNode: Node): void
  • Parameters

    • childNode: Node

    Returns void

Protected willRemoveChildView

  • willRemoveChildView(childView: View): void

Protected willRemoveViewObserver

Protected willRequestUpdate

  • willRequestUpdate(targetView: View, updateFlags: number, immediate: boolean): void

Protected willRequireUpdate

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

Protected willResize

  • Parameters

    Returns void

Protected willScroll

Protected willSetParentView

  • willSetParentView(newParentView: null | View, oldParentView: null | View): void

Protected willSetViewController

Protected willUncull

  • willUncull(): void

Protected willUnmount

  • willUnmount(): void
  • Returns void

Protected willUnpower

  • willUnpower(): void

Static create

  • Parameters

    • Optional value: string

    Returns TextView

Static fromAny

  • Parameters

    Returns NodeView

Static fromConstructor

Static fromNode

Static isNodeMounted

  • isNodeMounted(node: Node): boolean
  • Parameters

    • node: Node

    Returns boolean

Static isRootView

  • isRootView(node: Node): boolean
  • Parameters

    • node: Node

    Returns boolean

Static mount

  • Parameters

    Returns void

Generated using TypeDoc