Hierarchy

  • StiResource

Implements

Index

Constructors

constructor

  • new StiResource(name?: string, alias?: string, inherited?: boolean, type?: StiResourceType, content?: number[], availableInTheViewer?: boolean): StiResource
  • Parameters

    • Default value name: string = ""
    • Default value alias: string = ""
    • Default value inherited: boolean = false
    • Default value type: StiResourceType = StiResourceType.Image
    • Default value content: number[] = null
    • Default value availableInTheViewer: boolean = false

    Returns StiResource

Properties

Protected _hash

_hash: StiMeta[]

alias

alias: string

availableInTheViewer

availableInTheViewer: boolean = false

dataSet

dataSet: DataSet

inherited

inherited: boolean

key

key: string

relationDirection

relationDirection: StiRelationDirection

type

Accessors

content

  • get content(): number[] | string
  • set content(value: number[] | string): void
  • Returns number[] | string

  • Parameters

    • value: number[] | string

    Returns void

name

  • get name(): string
  • set name(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

packAndEncryptContent

  • get packAndEncryptContent(): string
  • set packAndEncryptContent(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

propName

  • get propName(): string
  • Returns string

Methods

as

  • Type parameters

    • T

    Parameters

    Returns T

clone

createFileDatabase

getContentType

  • getContentType(): string
  • Returns string

getFileExt

  • getFileExt(): string
  • Returns string

getKey

  • getKey(): string
  • Returns unique key to this application.

    Returns string

getResourceAsImage

  • getResourceAsImage(): Image

implements

  • implements(): any[]
  • Returns any[]

is

  • Type parameters

    • T

    Parameters

    Returns this

is2

  • is2<T>(type: object | Interface<T>): boolean
  • Type parameters

    • T

    Parameters

    Returns boolean

loadFromJsonObject

  • loadFromJsonObject(jObject: StiJson): void

loadFromXml

  • loadFromXml(xmlNode: XmlNode): void
  • Parameters

    Returns void

meta

saveToJsonObject

setKey

  • setKey(key: string): void
  • Parameters

    • key: string

    Returns void

toString

  • toString(): string
  • Returns string

Static isTextResourceType

Generated using TypeDoc