NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import BondStore from 'ngl/src/store/bond-store.js'
public class | source

BondStore

Extends:

Store → BondStore

Bond store

Member Summary

Public Members
public
Private Members
private get

Method Summary

Public Methods
public
public

Inherited Summary

From class Store
public
public
public
private
public

addField(name: String, size: Integer, type: String): undefined

Add a field

public

Empty the store

public

copyFrom(other: Store, thisOffset: Integer, otherOffset: Integer, length: Integer): undefined

Copy data from one store to another

public

copyWithin(thisOffset: Integer, otherOffset: Integer, length: Integer): undefined

Copy data within this store

public

Dispose of the store entries and fields

public

Resize the store to 1.5 times its current size if full

public

Resize the store to the new size

public

sort(compareFunction: [type]): undefined

Sort entries in the store given the compare function

private

Initialize the store

private

_initField(name: String, size: Integer, type: String): undefined

Initialize a field

Public Members

public count source

Override:

Store#count

Private Members

private get _defaultFields source

Public Methods

public addBond() source

public addBondIfConnected() source