Adding Event Handler in GWT29 Aug 2012
Event Handlers are essentials of Event Driven softwares. Recently I was working through some of codes on Event Handler in GWT.
In GWT there are basically four ways to handle events. These event handling mechanism are similar in Java Swing, AWT or SWT, so the concept should be pretty much similar.
- Event Handler in separate class
- Main Class implementing Handler Interface [Using this]
- Named Inner Classes
- Anonymous Inner Classes