Class AbstractChild<C, PT>Abstract

Defines the Default props and methods for Patterns that will be added into other Patterns as its childs

Export

Abstract

Implements

Template

Type Parameters

Hierarchy-Diagram

UML class diagram of AbstractChild
Legend
icon for a class in the UML class diagram class
icon for an abstract class in the UML class diagram abstract class
icon for an interface in the UML class diagram interface
icon for a public property in the UML class diagram public property
icon for a protected property in the UML class diagram protected property
icon for a private property in the UML class diagram private property
icon for a public method in the UML class diagram public method
icon for a protected method in the UML class diagram protected method
icon for a private method in the UML class diagram private method
italic abstract property/method

Hierarchy

Implements

Properties

_isFirstChild: boolean = false
_isLastChild: boolean = false
_parentId: string
_parentObject: PT
isProviderBased: boolean = false

Methods

  • Method used to notify parent about the action that was performed

    Memberof

    OSFramework.Patterns.AbstractChild

    Parameters

    • actionType: string

      Action Type name (Should be based on an Enum)

    Returns void

  • Protected

    Method that will Get and Set parent element info.

    Memberof

    OSFramework.Patterns.AbstractChild

    Parameters

    • parentSelector: string

      Selector to find for parent Element

    • getPatternByIdAPI: Function

      API reference method from Parent Pattern that will return the PatternById

    • Optional canBeOrphan: boolean

      option for patterns that can work without a parent

    Returns void

Accessors

  • get isFirstChild(): boolean
  • Getter that allows to check if it's the first child.

    Memberof

    OSFramework.Patterns.AbstractChild

    Returns boolean

  • get isLastChild(): boolean
  • Getter that allows to check if it's the last child.

    Memberof

    OSFramework.Patterns.AbstractChild

    Returns boolean

  • set isLastChild(value: boolean): void
  • Setter that allows to define it's the last child.

    Memberof

    OSFramework.Patterns.AbstractChild

    Parameters

    • value: boolean

    Returns void

  • get _enableAccessibility(): boolean
  • Protected

    Getter that allows to obtain the accessibility is enabled.

    Memberof

    OSFramework.Patterns.AbstractPattern

    Returns boolean

Constructors