装饰者模式可以动态地给一个对象增加其他职责。
The Decorator Pattern attaches additional responsibilities to an object dynamically.
房间的墙壁被粉刷成当时英国装饰者想象中的中国风情。
The walls were painted with what English decorators then imagined to be scenes of China.
为了扩展功能,装饰者提供了比继承更灵活的替代方案。
Decorators provide a flexible alternative to subclassing for extending functionality.
就扩展对象功能来说,装饰者模式比生成子类更为灵活。
Decorators provide a flexible alternative to subclassing for extending functionality.
装饰器模式动态地将责任附加到对象上。若要扩展功能,装饰者提供了比继承更有弹性的替代方案。
Decorator Pattern Attaches additional responsibilities to an object dynamically. Decorators provide a flexible alternative to sub classing for extending functionality.
装饰者:我会尽力的,谢谢你。
进一步说,为什么装饰者对象的接口服从被装饰部件的接口那么重要呢?
Furthermore, why is it important that a decorator object's interface conforms to the interface of the component. it decorates?
装饰者模式动态地将职责附加到对象上。若要扩张功能,装饰者提供了比继承更有弹性的替代方案。
Attach additional responsibilities to an object dynamically keeping the same interface. Decorators provide a flexible alternative to subclassing for extending functionality.
它的褶边装饰与巨浪般的床帘,让他感觉到自己就像是设计师闺房的侵入者。
With its pleats and ruffles and billowing curtains, it made him feel like a trespasser in a decorator's boudoir.
该公司认为,越来越多的消费者会用这种书柜来摆放装饰品,小摆设,和一些精美的画册等等,除了真正用来阅读的书。
The firm reckons customers will increasingly use them for ornaments, tchotchkes and the odd coffee-table tome—anything, that is, except books that are actually read.
设计者同样在家具和装饰中引入了一些醒目的颜色。
Here, the designers also introduced some bold colours through furniture and decorations.
致力于成为中国办公装饰市场领导者。
It is committed to becoming the leader in Chinese office decoration market.
但绵羊也有自己的支持者,并且在讨喜的新年卡通装饰物品中,它们已变得更常见。
But sheep have their proponents, and they have become more common in cutesy cartoonish decorations for the celebrations.
但是很多的消费者都会存在着这样的疑问,那就是UV装饰板是不是具有防水性呢?
But many consumers will have such a question, that is, UV decorative board is not waterproof?
企业使命:创建品牌经济,使企业成为中国装饰工程领域的领先者。
Corporate mission: to create a brand economy to enable enterprises to become China's leader in the field of decoration.
如果这些盘子是用作餐具而不是装饰的话,消费者则可能接触到铅。
If these plates are used as dinner plates, and not as decorative plates, then consumers would be exposed to lead.
一旦该瓷盘底部的警示标签脱落,被用做餐盘而非装饰盘,铅和镉对消费者的身体健康可能产生危害。
If the warning label on the bottom of the plate is removed and these plates are used as dinner plates, and not as decorative plates, then consumers would be exposed to lead and cadmium.
如果这些盘子用于盛放食品,而不是用于装饰,消费者就暴露于铅和镉带来的风险。
If these plates are used for food, and not as decorative plates, then consumers could be exposed to lead and cadmium.
最后,设计者想强调的是:不管是体验馆形象设计,亦或是空间内部的装饰风格,最终都回归到彰显产品的特色本身。
Finally, the designer wants to stress is that whether it's showroom image design or the adornment style of inside space, eventually will return to reveal the characteristics of the products.
应聘者需具备一流的设计技巧并专注于商业室内装饰设计,对零售业, 零售店内布局,及创造有竞争力的设计有兴趣。
The candidate should have strong Design Skills, with a focus on commercial interior detailing. An interest in the retail sector is required, including store layout and competitor solutions.
“这座城市是新艺术装饰风格爱好者们的麦加,”英嘉说。
在欧洲,东方快车以装饰极度奢华而闻名,并催生了好几个竞争者。
In Europe, the Orient Express earned a reputation for ostentatious luxury and spawned several rivals.
一所更为壮观的豪宅——拥有装饰华丽的仿制希腊式回廊,以及一座高大的喷泉——所有者是喀布尔市的警察总长,莫哈默德·阿约布·萨兰吉。
An even grander mansion - ornate faux Greek columns, a towering fountain - is owned by Kabul's police chief, Mohammed Ayob Salangi.
一个周身装饰着莲花瓣图案的酒罐可能是某位信佛者珍贵的物品。
A splendid wine jar embossed all over with lotus petals must have been the prized possession of some Buddhist-minded owner.
我们一定不能因住宅的颜色和内部装饰而扰乱自然的氛围,反而更应该尝试使自然、居所以及人类三者结合,从而达到高度统一。
We must beware not to disrupt it with the color of our houses and interior fittings. Yet we should attempt to bring nature, houses, and human beings together into a higher unity.
我们一定不能因住宅的颜色和内部装饰而扰乱自然的氛围,反而更应该尝试使自然、居所以及人类三者结合,从而达到高度统一。
We must beware not to disrupt it with the color of our houses and interior fittings. Yet we should attempt to bring nature, houses, and human beings together into a higher unity.
应用推荐