qx
Class Class

java.lang.Object
  extended by qx.Class

public class Class
extends java.lang.Object

This class is one of the most important parts of qooxdoo’s object-oriented features.

Its #define method is used to create qooxdoo classes.

Each instance of a class defined by #define has the following keys attached to the constructor and the prototype:

classnameThe fully-qualified name of the class (e.g. "qx.ui.core.Widget").
basenameThe namespace part of the class name (e.g. "qx.ui.core").
constructorA reference to the constructor of the class.
superclassA reference to the constructor of the super class.

Each method may access static members of the same class by using this.self(arguments) (Object.self(qx.core.Object)):

statics : { FOO : "bar" },
members: {
  baz: function(x) {
    this.self(arguments).FOO;
    ...
  }
}

Each overriding method may call the overridden method by using this.base(arguments [, ...]) (Object.base(qx.core.Object, qx.core.Object)). This is also true for calling the constructor of the superclass.

members: {
  foo: function(x) {
    this.base(arguments, x);
    ...
  }
}


Constructor Summary
Class()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Class

public Class()


Copyright © 2008 1&1. All Rights Reserved.