File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
OO, Patterns, UML and Refactoring
convinient design pattern
Joined: Apr 10, 2006
May 12, 2012 02:24:26
I am currently searching a design
for a listener feature. I have many kind of gwt widgets. To each of them I need to add own listener but calling common function in runtime(adding listener).
I would like to have common interface with function e.g. addListener() and every implementing class should add own listener(clickHandler, valueChangeHandler,...) which call same function.
I don't know how it can be solved nicely. Could you recommend a design pattern for it.
subject: convinient design pattern
A picture is worth a thousand words
Concurrency Problems - Booking
Design pattern/idiom for percentage choice in simulation
Builder & Strategy Patterns?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014