抽象工厂模式
2022-09-30 10:58:33 14 举报
SpringSkin为产品,GUI为工厂。
作者其他创作
大纲/内容
SpringSkin
+getHouseInfo()
BlueCombobox
+create():void
ButtonFactory
+createButtonGreen():void+createButtonBlue():void
BlueButton
GreenButton
SummerSkin
+getCondoInfo()
ComboboxFactory
+createComboboxGreen():void+createComboboxBlue():void
GreenText
TextFactory
+createTextGreen():void+createTextBlue():void
GUIFactory
+createButton():void+createText():void+createCombobox():void
BlueText
Client
+main():void
GreenCombobox
0 条评论
下一页