client

From Teverse


Properties

className [readonly]

Type: string

id [readonly]

Type: string

Inherited from baseClass:

name

Type: string
A none unique identifier

className [readonly]

Type: string
The name of the object's class

Methods

Inherited from baseClass:

getDescendants

table client:getDescendants()
Returns a table of all descended objects

isContainer

boolean client:isContainer()

isA

boolean client:isA(string className)
Returns true if this object is derived from the className given.

destroy

nil client:destroy()
Locks the object before removing it from the hierarchy. Children will also be destroyed.

getFullName

string client:getFullName()
Returns a string including ancestor names

constructor

nil client:constructor()

destroyAllChildren

nil client:destroyAllChildren()
Invokes the destroy method on each child of this instance.

hasChild

boolean client:hasChild(string name)
Returns true if this object has a child with the name given

isDescendantOf

boolean client:isDescendantOf(baseClass ancestor)
Returns true if this object is a descendant of the ancestor object given

describe

nil client:describe()

clone

variant client:clone()
Creates and returns a copy of this object

Events

Inherited from baseClass:

changed

eventListener client:changed(function(string propertyName, variant newValuevariant))
Fired when a property changes

childAdded

eventListener client:childAdded(function(baseClass child))
Fired when a child is added

childRemoved

eventListener client:childRemoved(function(baseClass child))
Fired when a child is removed

destroying

eventListener client:destroying(function())
Fired just before an object is destroyed.

Sub classes

Category derivedFromclient not found