⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 slide095.html

📁 《Big C++ 》Third Edition电子书和代码全集-Part1
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta content="blendTrans(Duration=2)" http-equiv="Page-Enter">
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
	<script language="JavaScript" src="./config.js"></script>
	<script language="JavaScript" src="./pageFormat.js"></script>
	<script><!-- // Set title on page
		title()
	//--></script>
</head>


<body>
<div onclick="document.location='slide096.html'">
<h2><font color="#009999">More Patterns (cont.)</font></h2>
<font size="+1">

<table border='1' cellpadding='4'>
	<tr bgcolor='#00ffff'>
		<th>Pattern Name</th>
		<th>Description</th>
		<th>Example</th>
	</tr>
	<tr>
		<th>Chain of Responsibility</th>
		<td>A request is passed to the first handler in a chain. Each handler acts
			on the request (or chooses not to act), and passes the request on to the
			next handler</td>
		<td>An event-handling mechanism passes a mouse or key event to a component,
			which then passes it to the parent component</td>
	</tr>
	<tr>
	<th>Command</th>
		<td>Commands are implemented as objects</td>
		<td>A word processor stores recently issued commands so that they can be
			undone</td>
	</tr>
	<tr>
		<th>Decorator</th>
		<td>The behavior of a class is enhanced, keeping its interface</td>
		<td>A user interface component is decorated with scroll bars or borders</td>
	</tr>
	<tr>
		<th>Facade</th>
		<td>A complex subsystem is accessed through a single class</td>
		<td>A driver class provides access to the functionality of a database
			system</td>
	</tr>
</table>
</font>

<hr>
<center><small>
	<a href='slide094.html'>prev</a>
	|<a href='slide001.html'>top</a>
	|<a href='slide096.html'>next</a>
</small></center>
</div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -