I am looking for a design pattern for a situation where I have to create a Widget(DateBox, Label,...) according to a configuration Strings as a input parameter. In the configuration strings there are information about type of widget, size etc.
Do you know a suitable design pattern for this purpose ?
Thank you for a help.
posted 5 years ago
Factory Method or Abstract Factory.
Pay attention! Tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads