Home
Random
Nearby
Log in
Settings
Donate Now
If Wikipedia is useful to you, please give today.
About Wikipedia
Disclaimers
Search
Factory method pattern: Difference between revisions
Article
Talk
Language
Watch
View history
Edit
Browse history interactively
← Previous edit
Next edit →
Content deleted
Content added
Visual
Wikitext
Revision as of 12:58, 16 December 2005
edit
195.142.234.243
(
talk
)
No edit summary
← Previous edit
Revision as of 12:59, 16 December 2005
edit
undo
195.142.234.243
(
talk
)
No edit summary
Next edit →
Line 69:
}
In this case, Field is the creator, Control is the product, createControl() is the factory method, TextField and BooleanField subclasses of the creator and TextBox and CheckBox are subclasses of product.
==Common usage==