Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GrimoireComponent

Hierarchy

Index

Constructors

constructor

Properties

attributes

attributes: NSDictionary<Attribute>

Attributes managed by this component

type

{NSDictionary}

disposed

disposed: boolean = false

element

element: Element

XMLElement of this component

type

{Element}

id

id: string

ID related to this instance to identify.

isDefaultComponent

isDefaultComponent: boolean = false

Whether this component was created by nodeDeclaration

type

{boolean}

name

Name of this component

type

{NSIdentity}

node

node: GomlNode

Node this component is attached

type

{GomlNode}

Static componentName

componentName: string = "GrimoireComponent"

Accessors

companion

enabled

  • get enabled(): boolean
  • set enabled(val: boolean): void

isActive

  • get isActive(): boolean

tree

Methods

$awake

  • $awake(): void

Protected ___addAtribute

Protected ___addAttribute

Protected ___bindAttributes

  • ___bindAttributes(): void

Protected ___removeAttributes

  • ___removeAttributes(name?: undefined | string): void

addEnabledObserver

  • addEnabledObserver(observer: function): void

awake

  • awake(): boolean

dispose

  • dispose(): void

getAttribute

  • getAttribute(name: Name): any

getAttributeRaw

getTypeName

  • getTypeName(): string

initialized

removeEnabledObserver

  • removeEnabledObserver(observer: function): boolean

resolveDefaultAttributes

  • resolveDefaultAttributes(nodeAttributes?: object | null): any

setAttribute

  • setAttribute(name: Name, value: any): void

toString

  • toString(): string
  • Obtain stringfied object. If this method was not overridden, this method return class name.

    Returns string

    stringfied object

Static getUniqueRandom

  • getUniqueRandom(length: number): string

Object literals

Static attributes

attributes: object

class

class: object

converter

converter: string = "StringArray"

default

default: null = null

enabled

enabled: object

converter

converter: string = "Boolean"

default

default: boolean = true

id

id: object

converter

converter: string = "String"

default

default: null = null

Generated using TypeDoc