|Custom Event Type [message #644746]
||Mon, 13 December 2010 23:56
| Andrew Wakeling
Registered: December 2010
I would like to create a custom event type.
This custom type should create a new integer constant which will be used in addListener and also notifyListeners.
public static final int MY_EVENT = 0x1000;
someComposite.notifyListeners(MY_EVENT, new Event());
Is there a standard way to create a new custom event type?
Any replies on this topic will be appreciated.
Powered by FUDForum
. Page generated in 0.01543 seconds