类图
2022-06-14 19:58:59 86 举报
类图
作者其他创作
大纲/内容
client
No
Adapter
request()
- component
ConcreteSubject
subjectState
true
ProductB
handler has callback
Creator (Factory)
+ create():Product
span style=\
Yes
msg has callback
ConcreteProduct1
+ update()
链接(Linking)
结束
Factory
+ createP1():Product1+ createP2():Product2
Adaptee
specificRequest()
验证Verification
Product
ConcreteProduct
初始化Initialization
msg
ConcreteProductB1
Decorator
+ operation()
加载Loading
handler#handleMessage
+ method():void
ConcreteProductA1
ConcreteComponent
false
ConcreteObserver
- observableState:
Component
准备Preparation
ConcreteProduct2
ConcreteProductA2
handler#callback
ProductA
callback返回值
ConcreteDecoratorA
-addedState:string
解析Resolution
msg#callback
ConcreteCreator
ConcreteProductB2
ConcreteDecoratorB
+ operation()- addedBehavior()
Creator
0 条评论
下一页