GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • @maxgraph/core

This view

  • Original page
  • New address

GeezerVison is showing maxgraph.github.io — ObjectIdentity | @maxgraph/core

  • ObjectIdentity

Class ObjectIdentity

Identity for JavaScript objects and functions.

This is implemented using a simple incrementing counter which is stored in each object under FIELD_NAME.

The identity for an object does not change during its lifecycle.

Implemented by

  • CellOverlay
  • Defined in util/ObjectIdentity.ts:30
Index

Constructors

constructor

Properties

counter FIELD_NAME

Methods

clear get

Constructors

constructor

  • new ObjectIdentity(): ObjectIdentity

    Returns ObjectIdentity

Properties

Staticcounter

counter: number = 0

Current counter.

  • Defined in util/ObjectIdentity.ts:40

StaticFIELD_NAME

FIELD_NAME: string = IDENTITY_FIELD_NAME

Name of the field to be used to store the object ID.

Default

{@IDENTITY_FIELD_NAME}
  • Defined in util/ObjectIdentity.ts:35

Methods

Staticclear

  • clear(obj: IdentityObject | IdentityFunction): void

    Deletes the ID from the given object or function.

    Parameters

    • obj: IdentityObject | IdentityFunction

    Returns void

    • Defined in util/ObjectIdentity.ts:63

Staticget

  • get(obj: IdentityObject | IdentityFunction | null): string | null

    Returns the ID for the given object or function.

    Parameters

    • obj: IdentityObject | IdentityFunction | null

    Returns string | null

    • Defined in util/ObjectIdentity.ts:45

Settings

Member Visibility
  • Protected
  • Inherited
Theme

On This Page

Constructors
constructor
Properties
counterFIELD_NAME
Methods
clearget
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.