Skip to content

Latest commit

 

History

History
91 lines (67 loc) · 5.33 KB

Object.md

File metadata and controls

91 lines (67 loc) · 5.33 KB

Class lwtk.Object

Superclass for all classes created by lwtk.newClass().

Contents

Methods

  • Object:getClass()

  • Object:getClassPath()

  • Object:getMember(name)

  • Object:getReverseClassPath()

  • Object:getSuperClass()

    Returns the superclass of this object.

    This method can also be called on a class. In this case the superclass of the given class is returned.

  • Object:isInstanceOf(C)

    Determines if object is instance of the given class.

    Returns true, if self is an object that was created by invoking class C or by invoking a subclass of C.

    Returns also true if C is a metatable of self or somewhere in the metatable chain of self.

  • Object:setAttributes(attr)

Subclasses