|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Aspect
public class Aspect
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 |
---|
public Aspect()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |