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

📄 4classes.html

📁 together是不比Rose差的设计工具,甚至在生成java类方面效果更好,该教材是together6.1的一份实例教程,不错!
💻 HTML
📖 第 1 页 / 共 4 页
字号:
        包的右键菜单为其重命名.
        下图是本操作的结果,
        它指出 Together
        进行了四处修改. (Explorer
        面板的 Directory
        &#39029;&#26174;&#31034;&#29289;&#29702;&#30446;&#24405;&#20063;&#34987;&#27491;&#30830;&#22320;&#37325;&#21629;&#21517;&#20102;.)</p>
		<p><img src="images/airline/pro4_changepackagename.png" width="656" height="418" border="0" alt="Project updates" hspace="10" vspace="10"></p>
		<p></p>
		<hr>
        <p class="head3"><a name="edit"></a>&#22312; Together
        &#22806;&#37096;&#32534;&#36753;&#28304;&#20195;&#30721;</p>
        <p>Together
        &#24182;&#19981;&#24378;&#21046;&#29992;&#25143;&#25353;&#29305;&#23450;&#22320;&#26041;&#24335;&#24037;&#20316;.
        &#22312;&#20320;&#20351;&#29992; Together
        &#31649;&#29702;&#20320;&#30340;&#24037;&#31243;&#30340;&#21516;&#26102;,
        &#20320;&#20063;&#21487;&#20197;&#29992;&#20320;&#21916;&#27426;&#30340;&#32534;&#36753;&#22120;&#32534;&#36753;&#20320;&#25152;&#26377;&#30340;&#28304;&#20195;&#30721;. </p>
		<table border="0" cellpadding="5" cellspacing="2">
			<tr>
				<td bgcolor="white" valign="top">Editor
                  &#38754;&#26495;&#21491;&#38190;&#33756;&#21333;&#20013;&#30340; <b><nobr>Tools | External Editor</nobr></b> 
                  &#21629;&#20196;&#20351;&#20320;&#21487;&#20197;&#24555;&#36895;&#22320;&#29992;&#22806;&#37096;&#32534;&#36753;&#22120;&#25171;&#24320;&#28304;&#20195;&#30721;&#25991;&#20214;.</td>
				<td bgcolor="white" valign="top">
					<p><img src="images/airline/pro4_openineditor.png" width="413" height="344" border="0" hspace="5"></p>
				</td>
			</tr>
		</table>
		<p></p>
		<table border="0" cellpadding="0" cellspacing="2" bgcolor="#993300" width="100%">
			<tr>
				<td bgcolor="#993300">
					<table border="0" cellpadding="0" cellspacing="2" bgcolor="#ffffcc" width="100%">
						<tr>
							<td bgcolor="#ffffcc"><b>&#25805;&#20316;&#27493;&#39588;:
                              </b>&#29992;&#22806;&#37096;&#32534;&#36753;&#22120;&#25171;&#24320;<b> FlightDescription.java</b> 
                              &#25991;&#20214;. &#22686;&#21152;&#20004;&#20010; <b>String</b> 
                              &#31867;&#22411;&#22320;&#25104;&#21592;, <b>origin</b>
                              &#21644; <b>destination</b>,
                              &#28982;&#21518;&#22312;&#32534;&#36753;&#22120;&#20013;&#20445;&#23384;&#25991;&#20214;.</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
        <p>WinVi &#26159; Windows
        &#19979;&#32570;&#30465;&#30340;&#22806;&#37096;&#32534;&#36753;&#22120;.
        (&#20351;&#29992; Tools &#33756;&#21333;,
        &#21487;&#20197;&#24456;&#23481;&#26131;&#22320;&#22312;&#24037;&#31243;&#35774;&#32622;&#20013;&#20462;&#25913;&#36825;&#20010;&#36873;&#39033;.)</p>
		<table border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc">
			<tr>
				<td bgcolor="#cccccc">
					<table border="0" cellpadding="5" cellspacing="2">
						<tr>
							<td bgcolor="white" valign="top">
                                <p>&#25105;&#20204;&#22312;&#22806;&#37096;&#32534;&#36753;&#22120;(WinVi)&#20013;&#25171;&#24320;&#20102;
                                <b>FlightDescription.java</b>
                                &#24182;&#36755;&#20837;&#20102; <b>origin</b> 
                                &#21644; <b>destination</b>
                                &#30340;&#22768;&#26126;.&nbsp;</p>
								<table border="0" cellpadding="10" cellspacing="2">
									<tr>
										<td bgcolor="white" valign="top"><img src="images/airline/externaleditchanges.png" width="119" height="87" border="0" alt="Class node changes"></td>
										<td bgcolor="white" valign="top">
                                            <p>&#24403;&#25105;&#20204;&#22312;
                                            WinVi
                                            &#20013;&#20445;&#23384;&#28304;&#20195;&#30721;&#25991;&#20214;&#26102;, Together
                                            &#23558;&#26356;&#26032;&#27169;&#22411;&#22270;. Together
                                            &#36824;&#22312;&#23427;&#30340; Editor
                                            &#38754;&#26495;&#20013;&#26356;&#26032;&#28304;&#25991;&#20214;&#30340;&#26174;&#31034;.</p>
                                            <p>&#24403;&#25991;&#20214;&#26102;&#38388;&#26631;&#35760;&#21464;&#21270;&#26102;,
                                            Together
                                            &#23558;&#26356;&#26032;&#23427;&#30340;
                                            Editor &#38754;&#26495;&#21644; Designer
                                            &#38754;&#26495;&#30340;&#26174;&#31034;.</p>
										</td>
									</tr>
								</table>
							</td>
							<td bgcolor="white" valign="top"><img src="images/airline/winvi.png" width="308" height="252" border="0" alt="External edit"></td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<p>
		<table border="0" cellpadding="0" cellspacing="2" bgcolor="#993300" width="100%">
			<tr>
				<td bgcolor="#993300">
					<table border="0" cellpadding="0" cellspacing="2" bgcolor="#ffffcc" width="100%">
						<tr>
							<td bgcolor="#ffffcc"><b>&#25805;&#20316;&#27493;&#39588;:</b>
                              &#26684;&#24335;&#21270;&#26032;&#24405;&#20837;&#30340;&#20004;&#34892;
                              Java &#20195;&#30721;(<b>origin</b> &#21644; <b>destination</b>
                              &#30340;&#22768;&#26126;),
                              &#20351;&#24471;&#20195;&#30721;&#32553;&#36827;,
                              &#32780;&#19981;&#26159;&#21521;&#24038;&#23545;&#40784;.</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
        <p><b>Format Source</b>  &#26159; Editor
        &#38754;&#26495;&#21491;&#38190;&#33756;&#21333;&#20013;&#30340;&#24037;&#20855;.
        &#25191;&#34892;&#23427;&#23558;&#37325;&#26032;&#26684;&#24335;&#21270;
        Editor &#24403;&#21069;&#32858;&#28966;&#30340;&#28304;&#20195;&#30721;,
        &#20351;&#24471;&#23427;&#31526;&#21512; Editor
        &#35774;&#32622;&#20013;&#30340;&#26684;&#24335;&#21270;&#26041;&#26696;.</p>
        <p>&#19979;&#22270;&#26174;&#31034;&#20102; <b>FlightDescription.java</b>
        &#26684;&#24335;&#21270;&#21069;(&#21518;&#22270;)&#21644;&#26684;&#24335;&#21270;&#21518;(&#21069;&#22270;)&#30340;&#20869;&#23481;.</p>
		<p><img src="images/airline/pro4_reformatcode.png" width="617" height="321" border="0" alt="Editor format tool" hspace="10" vspace="10"></p>
		<hr>
		<p class="head3"><a name="attributes"></a>&#22686;&#21152;&#29305;&#24615;</p>
        <p>&#20026;&#19968;&#20010;&#31867;&#22686;&#21152;&#25104;&#21592;&#30340;&#24555;&#36895;&#26041;&#20415;&#30340;&#26041;&#27861;&#26159;&#22312;&#27169;&#22411;&#22270;&#20013;&#23545;&#24212;&#30340;&#33410;&#28857;&#19978;&#22686;&#21152;.</p>
		<table border="0" cellpadding="0" cellspacing="2" bgcolor="#993300" width="100%">
			<tr>
				<td bgcolor="#993300">
					<table border="0" cellpadding="0" cellspacing="2" bgcolor="#ffffcc" width="100%">
						<tr>
							<td bgcolor="#ffffcc"><b>&#25805;&#20316;&#27493;&#39588;:</b> 
                              &#22312; Designer &#38754;&#26495;&#20013;&#20026;
                              <b>Reservation</b> &#31867;&#22686;&#21152; <b>name</b> 
                              &#25104;&#21592;(&#31867;&#22411;&#20026; <b>String</b>).</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
        <p>&#35201;&#20026;&#31867;&#22686;&#21152;&#26032;&#30340;&#29305;&#24615;,
        &#20808;&#36873;&#20013;&#31867;&#33410;&#28857;,
        &#28982;&#21518;&#20174;&#23427;&#30340;&#21491;&#38190;&#33756;&#21333;&#20013;&#36873;&#25321;
        <b>New | Attribute</b>. (&#25110;&#32773;&#31616;&#21333;&#22320;&#20351;&#29992;&#24555;&#25463;&#38190;,
        Ctrl+A.)</p>
		<table border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc">
			<tr bgcolor="#cccccc">
				<td bgcolor="#cccccc">
					<table border="0" cellpadding="5" cellspacing="2">
						<tr>
							<td valign="top" bgcolor="white"><img src="images/airline/attributenewint.png" width="97" height="70" border="0" alt="New attribute" hspace="5" vspace="5"><img src="images/airline/attributenewstring.png" width="93" height="70" border="0" hspace="5" vspace="5" alt="Change attribute"></td>
							<td valign="top" bgcolor="white">&#26032;&#24314;&#30340;&#31867;&#25104;&#21592;&#23558;&#26377;&#32570;&#30465;&#30340;&#21517;&#31216;(attribute),
                              &#31867;&#22411;(int),
                              &#21644;&#21487;&#35265;&#24230;(private).
                              &#20320;&#21487;&#20197;&#22312;&#27169;&#22411;&#22270;&#33410;&#28857;&#30340;&#20869;&#23884;&#32534;&#36753;&#22120;&#20013;&#31435;&#21363;&#20462;&#25913;&#36825;&#20960;&#39033;.
                              (&#22312;&#27169;&#22411;&#22270;&#20013;&#36873;&#20013;&#31867;&#25104;&#21592;,
                              &#28982;&#21518;&#28857;&#20987;&#23427;,
                              &#20197;&#28608;&#27963;&#20869;&#23884;&#32534;&#36753;&#22120;.)<p>&#22914;&#26524;&#20320;&#21482;&#26159;&#36755;&#20837;&#20102;&#19968;&#20010;&#26032;&#30340;&#21517;&#31216;&#23601;&#25353;&#20102;&#22238;&#36710;,
                              &#37027;&#20040;&#21482;&#20462;&#25913;&#21517;&#31216;,
                              &#20294;&#32570;&#30465;&#30340;&#29305;&#24615;&#31867;&#22411;(&#25110;&#32773;&#25805;&#20316;&#30340;&#36820;&#22238;&#31867;&#22411;)&#21644;&#21487;&#35265;&#24230;&#32500;&#25345;&#19981;&#21464;.</p>
                              <p>&#24403;&#28982;, Together
                              &#20445;&#25345;&#27169;&#22411;&#22270;&#19982;&#20195;&#30721;&#30340;&#21516;&#27493;,
                              &#33258;&#21160;&#23558;&#22768;&#26126;&#22686;&#21152;&#21040;&#28304;&#20195;&#30721;&#20013;.
                              &#19979;&#22270;&#26174;&#31034;&#20102;&#26412;&#27493;&#22312;
                              Editor
                              &#38754;&#26495;&#20013;&#30340;&#32467;&#26524;.</p>
								<p><img src="images/airline/pro4_newattributeedit.png" width="359" height="172" border="0" alt="Editor pane" hspace="5">
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
        <p>&#19979;&#38754;&#26159;&#22312; Designer
        &#38754;&#26495;&#31181;&#20026;&#31867;&#22686;&#21152;&#29305;&#24615;&#30340;&#20960;&#31181;&#26041;&#27861;.</p>
		<ul>
			<li>&#22914;&#26524;&#31867;&#20013;&#24050;&#26377;&#29305;&#24615;,
              &#32780;&#20320;&#24819;&#32487;&#32493;&#22686;&#21152;,
              &#20320;&#21487;&#20197;&#36873;&#20013;&#29305;&#24615;&#25353;
              &lt;Insert&gt;.
			<li>&#22914;&#26524;&#31867;&#20013;&#24050;&#26377;&#29305;&#24615;,
              &#32780;&#20320;&#24819;&#22312;&#31867;&#20869;&#37096;&#22797;&#21046;&#29305;&#24615;,
              &#20320;&#21487;&#20197;&#22312;&#29305;&#24615;&#30340;&#21491;&#38190;&#33756;&#21333;&#20013;&#36873;&#25321;
              &quot;clone&quot;,
              &#28982;&#21518;&#20462;&#25913;&#32467;&#26524;.		<li>&#22914;&#26524;&#24819;&#22312;&#31867;&#20043;&#38388;&#22797;&#21046;&#29305;&#24615;,
              &#20808;&#36873;&#20013;&#29305;&#24615;,
              &#24182;&#22312;&#20854;&#21491;&#38190;&#33756;&#21333;&#36873;&#25321;
              &quot;copy&quot;.
              &#28982;&#21518;&#22312;&#30446;&#26631;&#31867;&#30340;&#21491;&#38190;&#33756;&#21333;&#20013;&#36873;&#25321;
              &quot;paste&quot;.		<li>&#22914;&#26524;&#24819;&#22312;&#31867;&#20043;&#38388;&#31227;&#21160;&#29305;&#24615;,
              &#21487;&#20197;&#23558;&#29305;&#24615;&#20174;&#19968;&#20010;&#31867;&#25302;&#21160;&#21040;&#21478;&#19968;&#20010;&#31867;.
              &#24403;&#20320;&#23558;&#29305;&#24615;&#25302;&#21160;&#21040;&#19968;&#20010;&#21512;&#27861;&#30340;&#30446;&#26631;&#31867;&#26102;,
              &#31867;&#30340;&#21608;&#22260;&#23558;&#26174;&#31034;&#20809;&#22280;.	<li>&#22914;&#26524;&#24819;&#22312;&#31867;&#20043;&#38388;&#22797;&#21046;&#29305;&#24615;,
              &#21487;&#20197;&#25353; &lt;Ctrl&gt;
              &#28982;&#21518;&#25302;&#21160;&#29305;&#24615;.	</ul>
        <p>&#20320;&#36824;&#21487;&#20197;&#22312;&#31867;&#20869;&#37096;&#25302;&#21160;&#29305;&#24615;&#26469;&#25913;&#21464;&#23427;&#20204;&#30340;&#39034;&#24207;.</p>
		<a name="businessrules"></a>
		<table border="0" cellpadding="0" cellspacing="2" bgcolor="#993300" width="100%">
			<tr>
				<td bgcolor="#993300">
					<table border="0" cellpadding="0" cellspacing="2" bgcolor="#ffffcc" width="100%">
						<tr>
							<td bgcolor="#ffffcc"><b>&#25805;&#20316;&#27493;&#39588;:</b> 
                              &#20462;&#25913; <b>Reservation</b>
                              &#31867;&#20013; <b>name</b> 
                              &#29305;&#24615;&#30340;&#23646;&#24615;. 
								<ol>
									<li>&#23558;&#21021;&#22987;&#20540;&#35774;&#32622;&#20026;
                                      null &#23383;&#31526;&#20018;. 
									<li>&#23558; &quot;Requirement description&quot;
                                      &#35774;&#32622;&#20026; &quot;Last name
                                      first&quot;.
									<li>&#23558; &quot;author&quot;
                                      &#35774;&#32622;&#20026;&#20320;&#30340;&#21517;&#23383;.
								</ol>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
        <p>&#19979;&#22270;&#26174;&#31034;&#20102;&#32534;&#36753;&#29305;&#24615;&#30340;&#23646;&#24615;&#21487;&#20197;&#22312;&#20195;&#30721;&#20013;&#29983;&#25104;
        Javadoc &#27880;&#37322;.</p>
		<table border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc">
			<tr>
				<td bgcolor="#bbbbbb">
					<table border="0" cellpadding="5" cellspacing="2">
						<tr>
							<td bgcolor="white" valign="top">&#20320;&#21487;&#20197;&#36890;&#36807;&#31867;&#25104;&#21592;&#30340;&#23646;&#24615;&#26597;&#30475;&#22120;&#20462;&#25913;&#20854;&#23646;&#24615;.(&#27492;&#26102;&#27880;&#24847;&#36873;&#20013;&#30340;&#26159;&#31867;&#25104;&#21592;&#32780;&#19981;&#26159;&#25972;&#20010;&#31867;.)
								<ul>
									<li>&#22312;&#23646;&#24615;&#26597;&#30475;&#22120;&#30340;
                                      Properties
                                      &#39029;&#35774;&#32622;&#21021;&#22987;&#20540;. 
									<li>&#22312;&#23646;&#24615;&#26597;&#30475;&#22120;&#30340;
                                      Requirements &#39029;&#35774;&#32622;
                                      &quot;author&quot; &#21644; &quot;Requirement description&quot;.								</ul>
                              <p>&#23436;&#25104;&#20462;&#25913;&#21518;,
                              &#25353; &lt;Ctrl&gt;+&lt;Enter&gt;.
                              &#36825;&#26679;&#23558;&#20445;&#23384;&#20462;&#25913;&#24182;&#20851;&#38381;&#23646;&#24615;&#26597;&#30475;&#22120;.</p>
							</td>
							<td bgcolor="white" valign="top"><img src="images/airline/pro4_attributerequirements.png" width="385" height="204" border="0" alt="Attribute requirements" hspace="5"></td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<p></p>
		<table border="0" cellpadding="0" cellspacing="2" bgcolor="#993300" width="100%">
			<tr>
				<td bgcolor="#993300">
					<table border="0" cellpadding="0" cellspacing="2" bgcolor="#ffffcc" width="100%">
						<tr>
							<td bgcolor="#ffffcc"><b>&#25805;&#20316;&#27493;&#39588;:</b> 
                              &#22312; <b>AirlinePD</b>
                              &#30340;&#20116;&#20010;&#31867;&#20013;&#22686;&#21152;&#26032;&#30340;&#29305;&#24615;.
                              &#29992; Designer &#38754;&#26495;,
                              &#32780;&#19981;&#35201;&#29992; Editor
                              &#38754;&#26495;.								<ol>
									<li><b>Agent --</b> <b>name</b>  (&#20174; <b>Reservation</b> 

⌨️ 快捷键说明

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