qx.core
Class Aspect

java.lang.Object
  extended by qx.core.Aspect

public class Aspect
extends java.lang.Object

Basis for Aspect Oriented features in qooxdoo.

This class makes it possible to attach functions (aspects) before or after each function call of any function defined in qx.Class#define.

Classes, which define own aspects must add an explicit require to ths class in the header comment using the following code:

#require(qx.core.Aspect)
#ignore(auto-require)

To enable profiling the class must be loaded before qx.Class is loaded. This can be achieved by adding the parameter —add-require qx.Class:your.AspectClass to the generator call building the applications. Further more the variant qx.aspect must be set to on.

One example for a qooxdoo aspect is profiling (Profile).


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

Constructor Detail

Aspect

public Aspect()


Copyright © 2008 1&1. All Rights Reserved.