Array Molecule

From oWiki

Jump to: navigation, search

Contents


Preference Dialog

File:Array_pref.png

Attributes

type

string  ( r )
Type of this molecule, 'array'.

pref.name

string  ( r )
The scriptable name for this array. This name can be set using rename method dynamically.

pref.marray

array  ( r, w )
The accessor to the actual array.


Methods

rename(n)

n: string

Rename this molecule.

clone()

Return: a molecule

Create a clone of this molecule.

attach(droplet)

droplet: a droplet object (e.g. app.box.droplet)

Attach this molecule to a droplet.

detach()

Remove this molecule from its droplet.

deleteMod()

Delete this molecule.

serialize()

Return: string

Serialize this molecule into its JSON representation.
Personal tools