Subtrees hinzugefügt
6
Software/alg_gr_6er_wuerfeln/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
*.sh
|
||||
*.class
|
||||
*.ctxt
|
||||
repo.adoc
|
||||
repo_subtree.adoc
|
||||
/alt
|
||||
6
Software/alg_gr_6er_wuerfeln/01_6er_Wuerfeln_Loes/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
*.sh
|
||||
*.class
|
||||
*.ctxt
|
||||
repo.adoc
|
||||
repo_subtree.adoc
|
||||
/alt
|
||||
|
|
@ -0,0 +1,333 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<title>Spieler</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Spieler";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="Wuerfel.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Spieler.html" target="_top">Frames</a></li>
|
||||
<li><a href="Spieler.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<h2 title="Class Spieler" class="title">Class Spieler</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>Spieler</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Spieler</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Verwaltet einen Spieler für das Spiel 6er-Würfeln. Der Spieler hat
|
||||
jeweils die Wahl zu Würfeln oder Aufzuhören und die Punkte zu sichern.
|
||||
Würfelt er eine 6, verliert er die Punkte sofort. Dazu muss
|
||||
dem Spieler ein Würfel-Objekt bekannt sein.</div>
|
||||
<dl><dt><span class="strong">Version:</span></dt>
|
||||
<dd>1.0 vom 19.06.2012</dd>
|
||||
<dt><span class="strong">Author:</span></dt>
|
||||
<dd>Thomas Schaller</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="Spieler.html#Spieler()">Spieler</a></strong>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#aufhoeren()">aufhoeren</a></strong>()</code>
|
||||
<div class="block">Der Spieler beendet den aktuellen Durchgang.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#getGesamtsumme()">getGesamtsumme</a></strong>()</code>
|
||||
<div class="block">Liefert die Gesamtsumme aller Durchgänge.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#getSumme()">getSumme</a></strong>()</code>
|
||||
<div class="block">Liefert die Summe der Augenzahlen des aktuellen Durchgangs.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#setWuerfel(Wuerfel)">setWuerfel</a></strong>(<a href="Wuerfel.html" title="class in <Unnamed>">Wuerfel</a> wuerfel)</code>
|
||||
<div class="block">Dem Spieler wird ein Würfel-Objekt übergeben.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#wuerfeln()">wuerfeln</a></strong>()</code>
|
||||
<div class="block">Der Spieler würfelt 1x.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Spieler()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Spieler</h4>
|
||||
<pre>public Spieler()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getSumme()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSumme</h4>
|
||||
<pre>public int getSumme()</pre>
|
||||
<div class="block">Liefert die Summe der Augenzahlen des aktuellen Durchgangs.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Summe der Augenzahlen</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getGesamtsumme()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getGesamtsumme</h4>
|
||||
<pre>public int getGesamtsumme()</pre>
|
||||
<div class="block">Liefert die Gesamtsumme aller Durchgänge. Dabei werden die Augenzahlen jedes
|
||||
Durchgangs addiert, sobald die Methode Aufhören aufgerufen wird.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Gesamtsumme aller Durchgänge.</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="wuerfeln()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>wuerfeln</h4>
|
||||
<pre>public int wuerfeln()</pre>
|
||||
<div class="block">Der Spieler würfelt 1x. Wirft er eine 6 verliert er die aktuell gesammelten
|
||||
Augen, ansonsten wird die gewürfelte Zahl hinzuaddiert.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Summe der Augenzahlen des aktuellen Durchgangs</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="aufhoeren()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>aufhoeren</h4>
|
||||
<pre>public void aufhoeren()</pre>
|
||||
<div class="block">Der Spieler beendet den aktuellen Durchgang. Alle in diesem Durchgang gesammelten
|
||||
Punkte werden zur Gesamtsumme hinzuaddiert.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setWuerfel(Wuerfel)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>setWuerfel</h4>
|
||||
<pre>public void setWuerfel(<a href="Wuerfel.html" title="class in <Unnamed>">Wuerfel</a> wuerfel)</pre>
|
||||
<div class="block">Dem Spieler wird ein Würfel-Objekt übergeben.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>wuerfel</code> - Würfel, den der Spieler benutzen soll.</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="Wuerfel.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Spieler.html" target="_top">Frames</a></li>
|
||||
<li><a href="Spieler.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,281 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<title>Wuerfel</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Wuerfel";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Wuerfel.html" target="_top">Frames</a></li>
|
||||
<li><a href="Wuerfel.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<h2 title="Class Wuerfel" class="title">Class Wuerfel</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>Wuerfel</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Wuerfel</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Die Klasse Würfel stellt die Fähigkeiten eines Würfels bereit. Beim Würfeln werden
|
||||
Zufallszahlen zwischen 1 und 6 erzeugt. Das Ergebnis des letzten Wurfs kann abgefragt
|
||||
werden.</div>
|
||||
<dl><dt><span class="strong">Version:</span></dt>
|
||||
<dd>1.0 vom 19.06.2012</dd>
|
||||
<dt><span class="strong">Author:</span></dt>
|
||||
<dd>Thomas Schaller</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="Wuerfel.html#Wuerfel()">Wuerfel</a></strong>()</code>
|
||||
<div class="block">Erzeugt einen Würfeln.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="Wuerfel.html#getWurf()">getWurf</a></strong>()</code>
|
||||
<div class="block">Liefert die Augenzahl des letzten Würfelwurfs.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Wuerfel.html#wuerfeln()">wuerfeln</a></strong>()</code>
|
||||
<div class="block">Der Würfel wird geworfen.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Wuerfel()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Wuerfel</h4>
|
||||
<pre>public Wuerfel()</pre>
|
||||
<div class="block">Erzeugt einen Würfeln.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getWurf()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getWurf</h4>
|
||||
<pre>public int getWurf()</pre>
|
||||
<div class="block">Liefert die Augenzahl des letzten Würfelwurfs.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Augenzahl</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="wuerfeln()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>wuerfeln</h4>
|
||||
<pre>public void wuerfeln()</pre>
|
||||
<div class="block">Der Würfel wird geworfen. Dazu wird eine neue Zufallszahl zwischen 1 und 6 erzeugt.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Wuerfel.html" target="_top">Frames</a></li>
|
||||
<li><a href="Wuerfel.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:35 CEST 2012 -->
|
||||
<title>All Classes</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>" target="classFrame">Spieler</a></li>
|
||||
<li><a href="Wuerfel.html" title="class in <Unnamed>" target="classFrame">Wuerfel</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:35 CEST 2012 -->
|
||||
<title>All Classes</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>">Spieler</a></li>
|
||||
<li><a href="Wuerfel.html" title="class in <Unnamed>">Wuerfel</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<title>Constant Field Values</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Constant Field Values";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
|
||||
<li><a href="constant-values.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
|
||||
<h2 title="Contents">Contents</h2>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
|
||||
<li><a href="constant-values.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:35 CEST 2012 -->
|
||||
<title>Deprecated List</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Deprecated List";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li class="navBarCell1Rev">Deprecated</li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
|
||||
<li><a href="deprecated-list.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Deprecated API" class="title">Deprecated API</h1>
|
||||
<h2 title="Contents">Contents</h2>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li class="navBarCell1Rev">Deprecated</li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
|
||||
<li><a href="deprecated-list.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,208 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:35 CEST 2012 -->
|
||||
<title>API Help</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="API Help";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
|
||||
<li><a href="help-doc.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">How This API Document Is Organized</h1>
|
||||
<div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h2>Package</h2>
|
||||
<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:</p>
|
||||
<ul>
|
||||
<li>Interfaces (italic)</li>
|
||||
<li>Classes</li>
|
||||
<li>Enums</li>
|
||||
<li>Exceptions</li>
|
||||
<li>Errors</li>
|
||||
<li>Annotation Types</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Class/Interface</h2>
|
||||
<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p>
|
||||
<ul>
|
||||
<li>Class inheritance diagram</li>
|
||||
<li>Direct Subclasses</li>
|
||||
<li>All Known Subinterfaces</li>
|
||||
<li>All Known Implementing Classes</li>
|
||||
<li>Class/interface declaration</li>
|
||||
<li>Class/interface description</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Nested Class Summary</li>
|
||||
<li>Field Summary</li>
|
||||
<li>Constructor Summary</li>
|
||||
<li>Method Summary</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Field Detail</li>
|
||||
<li>Constructor Detail</li>
|
||||
<li>Method Detail</li>
|
||||
</ul>
|
||||
<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Annotation Type</h2>
|
||||
<p>Each annotation type has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Annotation Type declaration</li>
|
||||
<li>Annotation Type description</li>
|
||||
<li>Required Element Summary</li>
|
||||
<li>Optional Element Summary</li>
|
||||
<li>Element Detail</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Enum</h2>
|
||||
<p>Each enum has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Enum declaration</li>
|
||||
<li>Enum description</li>
|
||||
<li>Enum Constant Summary</li>
|
||||
<li>Enum Constant Detail</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Tree (Class Hierarchy)</h2>
|
||||
<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.</p>
|
||||
<ul>
|
||||
<li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li>
|
||||
<li>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Deprecated API</h2>
|
||||
<p>The <a href="deprecated-list.html">Deprecated API</a> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Index</h2>
|
||||
<p>The <a href="index-all.html">Index</a> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Prev/Next</h2>
|
||||
<p>These links take you to the next or previous class, interface, package, or related page.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Frames/No Frames</h2>
|
||||
<p>These links show and hide the HTML frames. All pages are available with or without frames.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>All Classes</h2>
|
||||
<p>The <a href="allclasses-noframe.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Serialized Form</h2>
|
||||
<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Constant Field Values</h2>
|
||||
<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<em>This help file applies to API documentation generated using the standard doclet.</em></div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
|
||||
<li><a href="help-doc.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,174 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<title>Index</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="./stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Index";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="./package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="./overview-tree.html">Tree</a></li>
|
||||
<li><a href="./deprecated-list.html">Deprecated</a></li>
|
||||
<li class="navBarCell1Rev">Index</li>
|
||||
<li><a href="./help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="./index.html?index-all.html" target="_top">Frames</a></li>
|
||||
<li><a href="index-all.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="./allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="contentContainer"><a href="#_A_">A</a> <a href="#_G_">G</a> <a href="#_S_">S</a> <a href="#_W_">W</a> <a name="_A_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">A</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Spieler.html#aufhoeren()">aufhoeren()</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Der Spieler beendet den aktuellen Durchgang.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_G_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">G</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Spieler.html#getGesamtsumme()">getGesamtsumme()</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert die Gesamtsumme aller Durchgänge.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spieler.html#getSumme()">getSumme()</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert die Summe der Augenzahlen des aktuellen Durchgangs.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Wuerfel.html#getWurf()">getWurf()</a></span> - Method in class <a href="./Wuerfel.html" title="class in <Unnamed>">Wuerfel</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert die Augenzahl des letzten Würfelwurfs.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_S_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">S</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Spieler.html#setWuerfel(Wuerfel)">setWuerfel(Wuerfel)</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Dem Spieler wird ein Würfel-Objekt übergeben.</div>
|
||||
</dd>
|
||||
<dt><a href="./Spieler.html" title="class in <Unnamed>"><span class="strong">Spieler</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||||
<dd>
|
||||
<div class="block">Verwaltet einen Spieler für das Spiel 6er-Würfeln.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spieler.html#Spieler()">Spieler()</a></span> - Constructor for class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd> </dd>
|
||||
</dl>
|
||||
<a name="_W_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">W</h2>
|
||||
<dl>
|
||||
<dt><a href="./Wuerfel.html" title="class in <Unnamed>"><span class="strong">Wuerfel</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||||
<dd>
|
||||
<div class="block">Die Klasse Würfel stellt die Fähigkeiten eines Würfels bereit.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Wuerfel.html#Wuerfel()">Wuerfel()</a></span> - Constructor for class <a href="./Wuerfel.html" title="class in <Unnamed>">Wuerfel</a></dt>
|
||||
<dd>
|
||||
<div class="block">Erzeugt einen Würfeln.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spieler.html#wuerfeln()">wuerfeln()</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Der Spieler würfelt 1x.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Wuerfel.html#wuerfeln()">wuerfeln()</a></span> - Method in class <a href="./Wuerfel.html" title="class in <Unnamed>">Wuerfel</a></dt>
|
||||
<dd>
|
||||
<div class="block">Der Würfel wird geworfen.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a href="#_A_">A</a> <a href="#_G_">G</a> <a href="#_S_">S</a> <a href="#_W_">W</a> </div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="./package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="./overview-tree.html">Tree</a></li>
|
||||
<li><a href="./deprecated-list.html">Deprecated</a></li>
|
||||
<li class="navBarCell1Rev">Index</li>
|
||||
<li><a href="./help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="./index.html?index-all.html" target="_top">Frames</a></li>
|
||||
<li><a href="index-all.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="./allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc on Tue Sep 04 10:58:35 CEST 2012 -->
|
||||
<title>Generated Documentation (Untitled)</title>
|
||||
<script type="text/javascript">
|
||||
targetPage = "" + window.location.search;
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
targetPage = targetPage.substring(1);
|
||||
if (targetPage.indexOf(":") != -1)
|
||||
targetPage = "undefined";
|
||||
function loadFrames() {
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
top.classFrame.location = top.targetPage;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
|
||||
<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
|
||||
<frame src="Spieler.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
|
||||
<noframes>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<h2>Frame Alert</h2>
|
||||
<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="Spieler.html">Non-frame version</a>.</p>
|
||||
</noframes>
|
||||
</frameset>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,121 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<title>Class Hierarchy</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Class Hierarchy";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="overview-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For All Packages</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle"><a href="Spieler.html" title="class in <Unnamed>"><span class="strong">Spieler</span></a></li>
|
||||
<li type="circle"><a href="Wuerfel.html" title="class in <Unnamed>"><span class="strong">Wuerfel</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="overview-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<title>&lt;Unnamed&gt;</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar"><a href="package-summary.html" target="classFrame"><Unnamed></a></h1>
|
||||
<div class="indexContainer">
|
||||
<h2 title="Classes">Classes</h2>
|
||||
<ul title="Classes">
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>" target="classFrame">Spieler</a></li>
|
||||
<li><a href="Wuerfel.html" title="class in <Unnamed>" target="classFrame">Wuerfel</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1 @@
|
|||
|
||||
|
|
@ -0,0 +1,130 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Package</li>
|
||||
<li>Next Package</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Package" class="title">Package <Unnamed></h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
|
||||
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Class</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="Spieler.html" title="class in <Unnamed>">Spieler</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Verwaltet einen Spieler für das Spiel 6er-Würfeln.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="Wuerfel.html" title="class in <Unnamed>">Wuerfel</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Die Klasse Würfel stellt die Fähigkeiten eines Würfels bereit.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Package</li>
|
||||
<li>Next Package</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,121 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<title> Class Hierarchy</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title=" Class Hierarchy";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For Package <Unnamed></h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle"><a href="Spieler.html" title="class in <Unnamed>"><span class="strong">Spieler</span></a></li>
|
||||
<li type="circle"><a href="Wuerfel.html" title="class in <Unnamed>"><span class="strong">Wuerfel</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 291 B |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 849 B |
|
|
@ -0,0 +1,474 @@
|
|||
/* Javadoc style sheet */
|
||||
/*
|
||||
Overall document style
|
||||
*/
|
||||
body {
|
||||
background-color:#ffffff;
|
||||
color:#353833;
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
font-size:76%;
|
||||
margin:0;
|
||||
}
|
||||
a:link, a:visited {
|
||||
text-decoration:none;
|
||||
color:#4c6b87;
|
||||
}
|
||||
a:hover, a:focus {
|
||||
text-decoration:none;
|
||||
color:#bb7a2a;
|
||||
}
|
||||
a:active {
|
||||
text-decoration:none;
|
||||
color:#4c6b87;
|
||||
}
|
||||
a[name] {
|
||||
color:#353833;
|
||||
}
|
||||
a[name]:hover {
|
||||
text-decoration:none;
|
||||
color:#353833;
|
||||
}
|
||||
pre {
|
||||
font-size:1.3em;
|
||||
}
|
||||
h1 {
|
||||
font-size:1.8em;
|
||||
}
|
||||
h2 {
|
||||
font-size:1.5em;
|
||||
}
|
||||
h3 {
|
||||
font-size:1.4em;
|
||||
}
|
||||
h4 {
|
||||
font-size:1.3em;
|
||||
}
|
||||
h5 {
|
||||
font-size:1.2em;
|
||||
}
|
||||
h6 {
|
||||
font-size:1.1em;
|
||||
}
|
||||
ul {
|
||||
list-style-type:disc;
|
||||
}
|
||||
code, tt {
|
||||
font-size:1.2em;
|
||||
}
|
||||
dt code {
|
||||
font-size:1.2em;
|
||||
}
|
||||
table tr td dt code {
|
||||
font-size:1.2em;
|
||||
vertical-align:top;
|
||||
}
|
||||
sup {
|
||||
font-size:.6em;
|
||||
}
|
||||
/*
|
||||
Document title and Copyright styles
|
||||
*/
|
||||
.clear {
|
||||
clear:both;
|
||||
height:0px;
|
||||
overflow:hidden;
|
||||
}
|
||||
.aboutLanguage {
|
||||
float:right;
|
||||
padding:0px 21px;
|
||||
font-size:.8em;
|
||||
z-index:200;
|
||||
margin-top:-7px;
|
||||
}
|
||||
.legalCopy {
|
||||
margin-left:.5em;
|
||||
}
|
||||
.bar a, .bar a:link, .bar a:visited, .bar a:active {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
}
|
||||
.bar a:hover, .bar a:focus {
|
||||
color:#bb7a2a;
|
||||
}
|
||||
.tab {
|
||||
background-color:#0066FF;
|
||||
background-image:url(resources/titlebar.gif);
|
||||
background-position:left top;
|
||||
background-repeat:no-repeat;
|
||||
color:#ffffff;
|
||||
padding:8px;
|
||||
width:5em;
|
||||
font-weight:bold;
|
||||
}
|
||||
/*
|
||||
Navigation bar styles
|
||||
*/
|
||||
.bar {
|
||||
background-image:url(resources/background.gif);
|
||||
background-repeat:repeat-x;
|
||||
color:#FFFFFF;
|
||||
padding:.8em .5em .4em .8em;
|
||||
height:auto;/*height:1.8em;*/
|
||||
font-size:1em;
|
||||
margin:0;
|
||||
}
|
||||
.topNav {
|
||||
background-image:url(resources/background.gif);
|
||||
background-repeat:repeat-x;
|
||||
color:#FFFFFF;
|
||||
float:left;
|
||||
padding:0;
|
||||
width:100%;
|
||||
clear:right;
|
||||
height:2.8em;
|
||||
padding-top:10px;
|
||||
overflow:hidden;
|
||||
}
|
||||
.bottomNav {
|
||||
margin-top:10px;
|
||||
background-image:url(resources/background.gif);
|
||||
background-repeat:repeat-x;
|
||||
color:#FFFFFF;
|
||||
float:left;
|
||||
padding:0;
|
||||
width:100%;
|
||||
clear:right;
|
||||
height:2.8em;
|
||||
padding-top:10px;
|
||||
overflow:hidden;
|
||||
}
|
||||
.subNav {
|
||||
background-color:#dee3e9;
|
||||
border-bottom:1px solid #9eadc0;
|
||||
float:left;
|
||||
width:100%;
|
||||
overflow:hidden;
|
||||
}
|
||||
.subNav div {
|
||||
clear:left;
|
||||
float:left;
|
||||
padding:0 0 5px 6px;
|
||||
}
|
||||
ul.navList, ul.subNavList {
|
||||
float:left;
|
||||
margin:0 25px 0 0;
|
||||
padding:0;
|
||||
}
|
||||
ul.navList li{
|
||||
list-style:none;
|
||||
float:left;
|
||||
padding:3px 6px;
|
||||
}
|
||||
ul.subNavList li{
|
||||
list-style:none;
|
||||
float:left;
|
||||
font-size:90%;
|
||||
}
|
||||
.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
}
|
||||
.topNav a:hover, .bottomNav a:hover {
|
||||
text-decoration:none;
|
||||
color:#bb7a2a;
|
||||
}
|
||||
.navBarCell1Rev {
|
||||
background-image:url(resources/tab.gif);
|
||||
background-color:#a88834;
|
||||
color:#FFFFFF;
|
||||
margin: auto 5px;
|
||||
border:1px solid #c9aa44;
|
||||
}
|
||||
/*
|
||||
Page header and footer styles
|
||||
*/
|
||||
.header, .footer {
|
||||
clear:both;
|
||||
margin:0 20px;
|
||||
padding:5px 0 0 0;
|
||||
}
|
||||
.indexHeader {
|
||||
margin:10px;
|
||||
position:relative;
|
||||
}
|
||||
.indexHeader h1 {
|
||||
font-size:1.3em;
|
||||
}
|
||||
.title {
|
||||
color:#2c4557;
|
||||
margin:10px 0;
|
||||
}
|
||||
.subTitle {
|
||||
margin:5px 0 0 0;
|
||||
}
|
||||
.header ul {
|
||||
margin:0 0 25px 0;
|
||||
padding:0;
|
||||
}
|
||||
.footer ul {
|
||||
margin:20px 0 5px 0;
|
||||
}
|
||||
.header ul li, .footer ul li {
|
||||
list-style:none;
|
||||
font-size:1.2em;
|
||||
}
|
||||
/*
|
||||
Heading styles
|
||||
*/
|
||||
div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
|
||||
background-color:#dee3e9;
|
||||
border-top:1px solid #9eadc0;
|
||||
border-bottom:1px solid #9eadc0;
|
||||
margin:0 0 6px -8px;
|
||||
padding:2px 5px;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList li.blockList h3 {
|
||||
background-color:#dee3e9;
|
||||
border-top:1px solid #9eadc0;
|
||||
border-bottom:1px solid #9eadc0;
|
||||
margin:0 0 6px -8px;
|
||||
padding:2px 5px;
|
||||
}
|
||||
ul.blockList ul.blockList li.blockList h3 {
|
||||
padding:0;
|
||||
margin:15px 0;
|
||||
}
|
||||
ul.blockList li.blockList h2 {
|
||||
padding:0px 0 20px 0;
|
||||
}
|
||||
/*
|
||||
Page layout container styles
|
||||
*/
|
||||
.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
|
||||
clear:both;
|
||||
padding:10px 20px;
|
||||
position:relative;
|
||||
}
|
||||
.indexContainer {
|
||||
margin:10px;
|
||||
position:relative;
|
||||
font-size:1.0em;
|
||||
}
|
||||
.indexContainer h2 {
|
||||
font-size:1.1em;
|
||||
padding:0 0 3px 0;
|
||||
}
|
||||
.indexContainer ul {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
.indexContainer ul li {
|
||||
list-style:none;
|
||||
}
|
||||
.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
|
||||
font-size:1.1em;
|
||||
font-weight:bold;
|
||||
margin:10px 0 0 0;
|
||||
color:#4E4E4E;
|
||||
}
|
||||
.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
|
||||
margin:10px 0 10px 20px;
|
||||
}
|
||||
.serializedFormContainer dl.nameValue dt {
|
||||
margin-left:1px;
|
||||
font-size:1.1em;
|
||||
display:inline;
|
||||
font-weight:bold;
|
||||
}
|
||||
.serializedFormContainer dl.nameValue dd {
|
||||
margin:0 0 0 1px;
|
||||
font-size:1.1em;
|
||||
display:inline;
|
||||
}
|
||||
/*
|
||||
List styles
|
||||
*/
|
||||
ul.horizontal li {
|
||||
display:inline;
|
||||
font-size:0.9em;
|
||||
}
|
||||
ul.inheritance {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
ul.inheritance li {
|
||||
display:inline;
|
||||
list-style:none;
|
||||
}
|
||||
ul.inheritance li ul.inheritance {
|
||||
margin-left:15px;
|
||||
padding-left:15px;
|
||||
padding-top:1px;
|
||||
}
|
||||
ul.blockList, ul.blockListLast {
|
||||
margin:10px 0 10px 0;
|
||||
padding:0;
|
||||
}
|
||||
ul.blockList li.blockList, ul.blockListLast li.blockList {
|
||||
list-style:none;
|
||||
margin-bottom:25px;
|
||||
}
|
||||
ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
|
||||
padding:0px 20px 5px 10px;
|
||||
border:1px solid #9eadc0;
|
||||
background-color:#f9f9f9;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
|
||||
padding:0 0 5px 8px;
|
||||
background-color:#ffffff;
|
||||
border:1px solid #9eadc0;
|
||||
border-top:none;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
|
||||
margin-left:0;
|
||||
padding-left:0;
|
||||
padding-bottom:15px;
|
||||
border:none;
|
||||
border-bottom:1px solid #9eadc0;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
|
||||
list-style:none;
|
||||
border-bottom:none;
|
||||
padding-bottom:0;
|
||||
}
|
||||
table tr td dl, table tr td dl dt, table tr td dl dd {
|
||||
margin-top:0;
|
||||
margin-bottom:1px;
|
||||
}
|
||||
/*
|
||||
Table styles
|
||||
*/
|
||||
.contentContainer table, .classUseContainer table, .constantValuesContainer table {
|
||||
border-bottom:1px solid #9eadc0;
|
||||
width:100%;
|
||||
}
|
||||
.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table {
|
||||
width:100%;
|
||||
}
|
||||
.contentContainer .description table, .contentContainer .details table {
|
||||
border-bottom:none;
|
||||
}
|
||||
.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{
|
||||
vertical-align:top;
|
||||
padding-right:20px;
|
||||
}
|
||||
.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast,
|
||||
.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast,
|
||||
.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne,
|
||||
.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne {
|
||||
padding-right:3px;
|
||||
}
|
||||
.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption {
|
||||
position:relative;
|
||||
text-align:left;
|
||||
background-repeat:no-repeat;
|
||||
color:#FFFFFF;
|
||||
font-weight:bold;
|
||||
clear:none;
|
||||
overflow:hidden;
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
}
|
||||
caption a:link, caption a:hover, caption a:active, caption a:visited {
|
||||
color:#FFFFFF;
|
||||
}
|
||||
.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span {
|
||||
white-space:nowrap;
|
||||
padding-top:8px;
|
||||
padding-left:8px;
|
||||
display:block;
|
||||
float:left;
|
||||
background-image:url(resources/titlebar.gif);
|
||||
height:18px;
|
||||
}
|
||||
.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd {
|
||||
width:10px;
|
||||
background-image:url(resources/titlebar_end.gif);
|
||||
background-repeat:no-repeat;
|
||||
background-position:top right;
|
||||
position:relative;
|
||||
float:left;
|
||||
}
|
||||
ul.blockList ul.blockList li.blockList table {
|
||||
margin:0 0 12px 0px;
|
||||
width:100%;
|
||||
}
|
||||
.tableSubHeadingColor {
|
||||
background-color: #EEEEFF;
|
||||
}
|
||||
.altColor {
|
||||
background-color:#eeeeef;
|
||||
}
|
||||
.rowColor {
|
||||
background-color:#ffffff;
|
||||
}
|
||||
.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td {
|
||||
text-align:left;
|
||||
padding:3px 3px 3px 7px;
|
||||
}
|
||||
th.colFirst, th.colLast, th.colOne, .constantValuesContainer th {
|
||||
background:#dee3e9;
|
||||
border-top:1px solid #9eadc0;
|
||||
border-bottom:1px solid #9eadc0;
|
||||
text-align:left;
|
||||
padding:3px 3px 3px 7px;
|
||||
}
|
||||
td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
|
||||
font-weight:bold;
|
||||
}
|
||||
td.colFirst, th.colFirst {
|
||||
border-left:1px solid #9eadc0;
|
||||
white-space:nowrap;
|
||||
}
|
||||
td.colLast, th.colLast {
|
||||
border-right:1px solid #9eadc0;
|
||||
}
|
||||
td.colOne, th.colOne {
|
||||
border-right:1px solid #9eadc0;
|
||||
border-left:1px solid #9eadc0;
|
||||
}
|
||||
table.overviewSummary {
|
||||
padding:0px;
|
||||
margin-left:0px;
|
||||
}
|
||||
table.overviewSummary td.colFirst, table.overviewSummary th.colFirst,
|
||||
table.overviewSummary td.colOne, table.overviewSummary th.colOne {
|
||||
width:25%;
|
||||
vertical-align:middle;
|
||||
}
|
||||
table.packageSummary td.colFirst, table.overviewSummary th.colFirst {
|
||||
width:25%;
|
||||
vertical-align:middle;
|
||||
}
|
||||
/*
|
||||
Content styles
|
||||
*/
|
||||
.description pre {
|
||||
margin-top:0;
|
||||
}
|
||||
.deprecatedContent {
|
||||
margin:0;
|
||||
padding:10px 0;
|
||||
}
|
||||
.docSummary {
|
||||
padding:0;
|
||||
}
|
||||
/*
|
||||
Formatting effect styles
|
||||
*/
|
||||
.sourceLineNo {
|
||||
color:green;
|
||||
padding:0 30px 0 0;
|
||||
}
|
||||
h1.hidden {
|
||||
visibility:hidden;
|
||||
overflow:hidden;
|
||||
font-size:.9em;
|
||||
}
|
||||
.block {
|
||||
display:block;
|
||||
margin:3px 0 0 0;
|
||||
}
|
||||
.strong {
|
||||
font-weight:bold;
|
||||
}
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
/**
|
||||
* Verwaltet einen Spieler fuer das Spiel 6er-Wuerfeln. Der Spieler hat
|
||||
* jeweils die Wahl zu Wuerfeln oder Aufzuhueren und die Punkte zu sichern.
|
||||
* Wuerfelt er eine 6, verliert er die Punkte sofort. Dazu muss
|
||||
* dem Spieler ein Wuerfel-Objekt bekannt sein.
|
||||
*
|
||||
* @version 1.0 vom 19.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class Spieler {
|
||||
|
||||
// Anfang Attribute
|
||||
// Summe der Augenzahlen des aktuelle Durchgangs
|
||||
private int summe = 0;
|
||||
// Gesamtsumme der Augenzahlen aller Durchguenge
|
||||
private int gesamtsumme = 0;
|
||||
// Wuerfel-Objekt, das zum Wuerfeln verwendet wird.
|
||||
private Wuerfel wuerfel = null;
|
||||
// Ende Attribute
|
||||
|
||||
// Anfang Methoden
|
||||
/** Liefert die Summe der Augenzahlen des aktuellen Durchgangs.
|
||||
* @return Summe der Augenzahlen
|
||||
*/
|
||||
public int getSumme() {
|
||||
return summe;
|
||||
}
|
||||
|
||||
/** Liefert die Gesamtsumme aller Durchguenge. Dabei werden die Augenzahlen jedes
|
||||
* Durchgangs addiert, sobald die Methode Aufhueren aufgerufen wird.
|
||||
* @return Gesamtsumme aller Durchguenge.
|
||||
*/
|
||||
public int getGesamtsumme() {
|
||||
return gesamtsumme;
|
||||
}
|
||||
|
||||
/** Der Spieler wuerfelt 1x. Wirft er eine 6 verliert er die aktuell gesammelten
|
||||
* Augen, ansonsten wird die gewuerfelte Zahl hinzuaddiert.
|
||||
* @return Summe der Augenzahlen des aktuellen Durchgangs
|
||||
*/
|
||||
public int wuerfeln() {
|
||||
wuerfel.wuerfeln();
|
||||
if (wuerfel.getWurf()==6) {
|
||||
summe = 0;
|
||||
} else {
|
||||
summe = summe + wuerfel.getWurf();
|
||||
}// end of if
|
||||
return summe;
|
||||
}
|
||||
|
||||
/** Der Spieler beendet den aktuellen Durchgang. Alle in diesem Durchgang gesammelten
|
||||
* Punkte werden zur Gesamtsumme hinzuaddiert.
|
||||
*/
|
||||
public void aufhoeren() {
|
||||
gesamtsumme = gesamtsumme + summe;
|
||||
summe = 0;
|
||||
}
|
||||
|
||||
/** Dem Spieler wird ein Wuerfel-Objekt uebergeben.
|
||||
* @param wuerfel Wuerfel, den der Spieler benutzen soll.
|
||||
*/
|
||||
public void setWuerfel(Wuerfel wuerfel) {
|
||||
this.wuerfel = wuerfel;
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
} // end of Spieler
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* Die Klasse Wuerfel stellt die Fuehigkeiten eines Wuerfels bereit. Beim Wuerfeln werden
|
||||
* Zufallszahlen zwischen 1 und 6 erzeugt. Das Ergebnis des letzten Wurfs kann abgefragt
|
||||
* werden.
|
||||
*
|
||||
* @version 1.0 vom 19.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class Wuerfel {
|
||||
|
||||
// Anfang Attribute
|
||||
// Speichert den aktuellen Wurf
|
||||
private int wurf;
|
||||
// Stellt ein Random-Objekt fuer die Erzeugung der Zufallszahlen bereit
|
||||
private Random zufallszahlen = new Random();
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt einen Wuerfeln.
|
||||
*/
|
||||
public Wuerfel() {;
|
||||
// Am Anfang sofort eine Zufallszahl erzeugen
|
||||
wuerfeln();
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
/** Liefert die Augenzahl des letzten Wuerfelwurfs.
|
||||
* @return Augenzahl
|
||||
*/
|
||||
public int getWurf() {
|
||||
return wurf;
|
||||
}
|
||||
|
||||
/** Der Wuerfel wird geworfen. Dazu wird eine neue Zufallszahl zwischen 1 und 6 erzeugt.
|
||||
*/
|
||||
public void wuerfeln() {
|
||||
wurf = zufallszahlen.nextInt(6)+1;
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
} // end of Wuerfel
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
#BlueJ package file
|
||||
dependency1.from=Spieler
|
||||
dependency1.to=Wuerfel
|
||||
dependency1.type=UsesDependency
|
||||
editor.fx.0.height=0
|
||||
editor.fx.0.width=0
|
||||
editor.fx.0.x=0
|
||||
editor.fx.0.y=0
|
||||
objectbench.height=93
|
||||
objectbench.width=417
|
||||
package.divider.horizontal=0.6
|
||||
package.divider.vertical=0.726027397260274
|
||||
package.editor.height=258
|
||||
package.editor.width=295
|
||||
package.editor.x=479
|
||||
package.editor.y=219
|
||||
package.frame.height=466
|
||||
package.frame.width=441
|
||||
package.numDependencies=1
|
||||
package.numTargets=2
|
||||
package.showExtends=true
|
||||
package.showUses=true
|
||||
project.charset=UTF-8
|
||||
readme.height=60
|
||||
readme.name=@README
|
||||
readme.width=49
|
||||
readme.x=10
|
||||
readme.y=10
|
||||
target1.height=70
|
||||
target1.name=Spieler
|
||||
target1.showInterface=false
|
||||
target1.type=ClassTarget
|
||||
target1.width=120
|
||||
target1.x=130
|
||||
target1.y=10
|
||||
target2.height=70
|
||||
target2.name=Wuerfel
|
||||
target2.showInterface=false
|
||||
target2.type=ClassTarget
|
||||
target2.width=120
|
||||
target2.x=10
|
||||
target2.y=90
|
||||
6
Software/alg_gr_6er_wuerfeln/02_6er_Wuerfeln_mit_GUI_Loes/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
*.sh
|
||||
*.class
|
||||
*.ctxt
|
||||
repo.adoc
|
||||
repo_subtree.adoc
|
||||
/alt
|
||||
|
|
@ -0,0 +1,129 @@
|
|||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import javax.swing.*;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
Swing-component for input and output of numeric values.
|
||||
*/
|
||||
|
||||
public class JNumberField extends JTextField {
|
||||
|
||||
/** constructor for a JNumberField */
|
||||
public JNumberField() {
|
||||
enableEvents(AWTEvent.KEY_EVENT_MASK);
|
||||
}
|
||||
|
||||
/** Gets a double-value from the JNumberField. */
|
||||
public double getDouble() {
|
||||
Double d = new Double(getText());
|
||||
return d.doubleValue();
|
||||
}
|
||||
|
||||
/** Gets a float-value from the JNumberField. */
|
||||
public float getFloat() {
|
||||
Double d = new Double(getText());
|
||||
return d.floatValue();
|
||||
}
|
||||
|
||||
/** Gets an int-value from the JNumberField. */
|
||||
public int getInt() {
|
||||
Double d = new Double(getText());
|
||||
return d.intValue();
|
||||
}
|
||||
|
||||
/** Gets a long-value from the JNumberField. */
|
||||
public long getLong() {
|
||||
Double d = new Double(getText());
|
||||
return d.longValue();
|
||||
}
|
||||
|
||||
/** Checks wether the JNumberField contains a valid numeric value. */
|
||||
public boolean isNumeric() {
|
||||
final String Digits = "(\\p{Digit}+)";
|
||||
final String HexDigits = "(\\p{XDigit}+)";
|
||||
// an exponent is 'e' or 'E' followed by an optionally
|
||||
// signed decimal integer.
|
||||
final String Exp = "[eE][+-]?"+Digits;
|
||||
final String fpRegex =
|
||||
("[\\x00-\\x20]*"+ // Optional leading "whitespace"
|
||||
"[+-]?(" + // Optional sign character
|
||||
"NaN|" + // "NaN" string
|
||||
"Infinity|" + // "Infinity" string
|
||||
|
||||
// A decimal floating-point string representing a finite positive
|
||||
// number without a leading sign has at most five basic pieces:
|
||||
// Digits . Digits ExponentPart FloatTypeSuffix
|
||||
//
|
||||
// Since this method allows integer-only strings as input
|
||||
// in addition to strings of floating-point literals, the
|
||||
// two sub-patterns below are simplifications of the grammar
|
||||
// productions from the Java Language Specification, 2nd
|
||||
// edition, section 3.10.2.
|
||||
|
||||
// Digits ._opt Digits_opt ExponentPart_opt FloatTypeSuffix_opt
|
||||
"((("+Digits+"(\\.)?("+Digits+"?)("+Exp+")?)|"+
|
||||
|
||||
// . Digits ExponentPart_opt FloatTypeSuffix_opt
|
||||
"(\\.("+Digits+")("+Exp+")?)|"+
|
||||
|
||||
// Hexadecimal strings
|
||||
"((" +
|
||||
// 0[xX] HexDigits ._opt BinaryExponent FloatTypeSuffix_opt
|
||||
"(0[xX]" + HexDigits + "(\\.)?)|" +
|
||||
|
||||
// 0[xX] HexDigits_opt . HexDigits BinaryExponent FloatTypeSuffix_opt
|
||||
"(0[xX]" + HexDigits + "?(\\.)" + HexDigits + ")" +
|
||||
|
||||
")[pP][+-]?" + Digits + "))" +
|
||||
"[fFdD]?))" +
|
||||
"[\\x00-\\x20]*");// Optional trailing "whitespace"
|
||||
|
||||
return java.util.regex.Pattern.matches(fpRegex, getText());
|
||||
}
|
||||
|
||||
/** Sets a double-value into the JNumberField. */
|
||||
public void setDouble(double d) {
|
||||
setText(String.valueOf(d));
|
||||
}
|
||||
|
||||
/** Sets a double-value with N digits into the JNumberField. */
|
||||
public void setDouble(double d, int N) {
|
||||
setText(String.format(Locale.ENGLISH, "%." + N + "f", d));
|
||||
}
|
||||
|
||||
/** Sets a float-value into the JNumberField. */
|
||||
public void setFloat(float f) {
|
||||
setText(String.valueOf(f));
|
||||
}
|
||||
|
||||
/** Sets a float-value with N digits into the JNumberField. */
|
||||
public void setFloat(float f, int N) {
|
||||
setText(String.format(Locale.ENGLISH, "%." + N + "f", f));
|
||||
}
|
||||
|
||||
/** Sets an int-value into the JNumberField. */
|
||||
public void setInt(int i) {
|
||||
setText(String.valueOf(i));
|
||||
}
|
||||
|
||||
/** Sets a long-value into the JNumberField. */
|
||||
public void setLong(long l) {
|
||||
setText(String.valueOf(l));
|
||||
}
|
||||
|
||||
/** Clears the JNumberField */
|
||||
public void clear() {
|
||||
setText("");
|
||||
}
|
||||
|
||||
protected void processKeyEvent(KeyEvent e) {
|
||||
super.processKeyEvent(e);
|
||||
if (isNumeric() || getText().equals("-") ||
|
||||
getText().equals("") || getText().equals("."))
|
||||
setBackground(Color.white);
|
||||
else
|
||||
setBackground(Color.red);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,264 @@
|
|||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import javax.swing.*;
|
||||
import javax.swing.event.*;
|
||||
|
||||
/**
|
||||
* Stellt eine GUI fuer das Spiel 6er-Wuerfeln bereit. Es kuennen zwei Spieler
|
||||
* gegeneinander spielen. Es startet immer Spieler 1. Dieser kann so lange
|
||||
* wuerfeln wie er muechte, solange er keine 6 wuerfelt. Danach werden die Buttons
|
||||
* fuer Spieler 2 aktiviert.
|
||||
*
|
||||
* @version 1.0 vom 16.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class SechserWuerfelnGUI extends JFrame {
|
||||
|
||||
// Anfang Attribute
|
||||
|
||||
// Wuerfel fuer das Spiel erzeugen
|
||||
private Wuerfel w = new Wuerfel();
|
||||
// Zwei Spieler erzeugen
|
||||
private Spieler sp1 = new Spieler();
|
||||
private Spieler sp2 = new Spieler();
|
||||
|
||||
// Elemente der GUI
|
||||
private JPanel jPanel1 = new JPanel(null, true);
|
||||
private JLabel jLabel1 = new JLabel();
|
||||
private JNumberField jNFGesamtpunkte1 = new JNumberField();
|
||||
private JPanel jPanel3 = new JPanel(null, true);
|
||||
private JButton jBSpieler1Wuerfeln = new JButton();
|
||||
private JButton jBSpieler1Beenden = new JButton();
|
||||
private JLabel jLabel4 = new JLabel();
|
||||
private JLabel jLabel5 = new JLabel();
|
||||
private JNumberField jNFWuerfel1 = new JNumberField();
|
||||
private JNumberField jNFPunkte1 = new JNumberField();
|
||||
private JLabel jLabel3 = new JLabel();
|
||||
private WuerfelPanel wuerfelPanel1 = new WuerfelPanel(w);
|
||||
private JPanel jPanel11 = new JPanel(null, true);
|
||||
private JLabel jLabel11 = new JLabel();
|
||||
private JNumberField jNFGesamtpunkte2 = new JNumberField();
|
||||
private JPanel jPanel31 = new JPanel(null, true);
|
||||
private JButton jBSpieler2Wuerfeln = new JButton();
|
||||
private JButton jBSpieler2Beenden = new JButton();
|
||||
private JNumberField jNFWuerfel2 = new JNumberField();
|
||||
private JNumberField jNFPunkte2 = new JNumberField();
|
||||
private JLabel jLabel41 = new JLabel();
|
||||
private JLabel jLabel51 = new JLabel();
|
||||
private JLabel jLabel31 = new JLabel();
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt die GUI
|
||||
* @param title Fenstertitel
|
||||
*/
|
||||
public SechserWuerfelnGUI(String title) {
|
||||
// Frame-Initialisierung
|
||||
super(title);
|
||||
setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
|
||||
int frameWidth = 536;
|
||||
int frameHeight = 205;
|
||||
setSize(frameWidth, frameHeight);
|
||||
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
|
||||
int x = (d.width - getSize().width) / 2;
|
||||
int y = (d.height - getSize().height) / 2;
|
||||
setLocation(x, y);
|
||||
setResizable(false);
|
||||
Container cp = getContentPane();
|
||||
cp.setLayout(null);
|
||||
// Anfang Komponenten
|
||||
|
||||
jPanel1.setBounds(8, 8, 193, 161);
|
||||
jPanel1.setOpaque(true);
|
||||
jPanel1.setBackground(new Color(0xC0C0C0));
|
||||
cp.add(jPanel1);
|
||||
jLabel1.setBounds(8, 8, 110, 20);
|
||||
jLabel1.setText("Spieler 1");
|
||||
jPanel1.add(jLabel1);
|
||||
wuerfelPanel1.setBounds(216, 40, 97, 89);
|
||||
cp.add(wuerfelPanel1);
|
||||
jNFGesamtpunkte1.setBounds(120, 32, 51, 20);
|
||||
jNFGesamtpunkte1.setText("0");
|
||||
jNFGesamtpunkte1.setEditable(false);
|
||||
jNFGesamtpunkte1.setHorizontalAlignment(SwingConstants.RIGHT);
|
||||
jPanel1.add(jNFGesamtpunkte1);
|
||||
jPanel3.setBounds(8, 64, 177, 89);
|
||||
jPanel3.setOpaque(false);
|
||||
jPanel3.setBorder(BorderFactory.createEtchedBorder(1, new Color(0xC0C0C0), Color.DARK_GRAY));
|
||||
jPanel1.add(jPanel3);
|
||||
jLabel3.setBounds(8, 32, 94, 20);
|
||||
jLabel3.setText("Gesamtpunkte");
|
||||
jPanel1.add(jLabel3);
|
||||
jBSpieler1Wuerfeln.setBounds(8, 56, 75, 25);
|
||||
jBSpieler1Wuerfeln.setText("Wuerfeln");
|
||||
jBSpieler1Wuerfeln.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler1Wuerfeln.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler1Wuerfeln_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jPanel3.add(jBSpieler1Wuerfeln);
|
||||
jBSpieler1Beenden.setBounds(88, 56, 75, 25);
|
||||
jBSpieler1Beenden.setText("Sichern");
|
||||
jBSpieler1Beenden.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler1Beenden.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler1Beenden_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jPanel3.add(jBSpieler1Beenden);
|
||||
jLabel4.setBounds(8, 8, 88, 20);
|
||||
jLabel4.setText("aktueller Wurf:");
|
||||
jPanel3.add(jLabel4);
|
||||
jLabel5.setBounds(8, 32, 86, 20);
|
||||
jLabel5.setText("Punkte:");
|
||||
jPanel3.add(jLabel5);
|
||||
jNFWuerfel1.setBounds(112, 8, 51, 20);
|
||||
jNFWuerfel1.setText("");
|
||||
jNFWuerfel1.setEditable(false);
|
||||
jNFWuerfel1.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
jPanel3.add(jNFWuerfel1);
|
||||
jNFPunkte1.setBounds(112, 32, 51, 20);
|
||||
jNFPunkte1.setText("");
|
||||
jNFPunkte1.setEditable(false);
|
||||
jNFPunkte1.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
jPanel3.add(jNFPunkte1);
|
||||
jPanel11.setBounds(328, 8, 193, 161);
|
||||
jPanel11.setOpaque(true);
|
||||
jPanel11.setBackground(new Color(0xC0C0C0));
|
||||
cp.add(jPanel11);
|
||||
jLabel11.setBounds(8, 8, 110, 20);
|
||||
jLabel11.setText("Spieler 2");
|
||||
jPanel11.add(jLabel11);
|
||||
jNFGesamtpunkte2.setBounds(120, 32, 51, 20);
|
||||
jNFGesamtpunkte2.setText("0");
|
||||
jNFGesamtpunkte2.setEditable(false);
|
||||
jNFGesamtpunkte2.setHorizontalAlignment(SwingConstants.RIGHT);
|
||||
jPanel11.add(jNFGesamtpunkte2);
|
||||
jPanel31.setBounds(8, 64, 177, 89);
|
||||
jPanel31.setOpaque(false);
|
||||
jPanel31.setBorder(BorderFactory.createEtchedBorder(1, new Color(0xC0C0C0), Color.DARK_GRAY));
|
||||
jPanel11.add(jPanel31);
|
||||
jLabel31.setBounds(8, 32, 94, 20);
|
||||
jLabel31.setText("Gesamtpunkte");
|
||||
jPanel11.add(jLabel31);
|
||||
jBSpieler2Wuerfeln.setBounds(8, 56, 75, 25);
|
||||
jBSpieler2Wuerfeln.setText("Wuerfeln");
|
||||
jBSpieler2Wuerfeln.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler2Wuerfeln.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler2Wuerfeln_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jBSpieler2Wuerfeln.setEnabled(false);
|
||||
jPanel31.add(jBSpieler2Wuerfeln);
|
||||
jBSpieler2Beenden.setBounds(88, 56, 75, 25);
|
||||
jBSpieler2Beenden.setText("Sichern");
|
||||
jBSpieler2Beenden.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler2Beenden.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler2Beenden_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jBSpieler2Beenden.setEnabled(false);
|
||||
jPanel31.add(jBSpieler2Beenden);
|
||||
jNFWuerfel2.setBounds(112, 8, 51, 20);
|
||||
jNFWuerfel2.setText("");
|
||||
jNFWuerfel2.setEditable(false);
|
||||
jNFWuerfel2.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
jPanel31.add(jNFWuerfel2);
|
||||
jNFPunkte2.setBounds(112, 32, 51, 20);
|
||||
jNFPunkte2.setText("");
|
||||
jNFPunkte2.setEditable(false);
|
||||
jNFPunkte2.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
jPanel31.add(jNFPunkte2);
|
||||
jLabel41.setBounds(8, 8, 88, 20);
|
||||
jLabel41.setText("aktueller Wurf:");
|
||||
jPanel31.add(jLabel41);
|
||||
jLabel51.setBounds(8, 32, 86, 20);
|
||||
jLabel51.setText("Punkte:");
|
||||
jPanel31.add(jLabel51);
|
||||
// Ende Komponenten
|
||||
|
||||
// Spieler ueber den Wuerfel informieren
|
||||
sp1.setWuerfel(w);
|
||||
sp2.setWuerfel(w);
|
||||
|
||||
setVisible(true);
|
||||
} // end of public SechserWuerfelnGUI
|
||||
|
||||
// Anfang Methoden
|
||||
/** Spieler 1 drueckt den Button Wuerfeln
|
||||
*/
|
||||
public void jBSpieler1Wuerfeln_ActionPerformed(ActionEvent evt) {
|
||||
// wuerfeln
|
||||
sp1.wuerfeln();
|
||||
|
||||
// Anzeigen aktualisieren
|
||||
jNFPunkte1.setInt(sp1.getSumme());
|
||||
jNFWuerfel1.setInt(w.getWurf());
|
||||
wuerfelPanel1.repaint();
|
||||
|
||||
// Bei einer 6 muss der Spieler aufhueren und Spieler 2 ist dran
|
||||
if (w.getWurf() == 6) {
|
||||
jBSpieler1Beenden_ActionPerformed(evt);
|
||||
} // end of if
|
||||
|
||||
} // end of jBSpieler1Wuerfeln_ActionPerformed
|
||||
|
||||
/** Spieler 1 drueckt Button Beenden
|
||||
*/
|
||||
public void jBSpieler1Beenden_ActionPerformed(ActionEvent evt) {
|
||||
// Punkte sichern
|
||||
sp1.aufhoeren();
|
||||
|
||||
// Anzeigen aktualisieren
|
||||
jNFGesamtpunkte1.setInt(sp1.getGesamtsumme());
|
||||
|
||||
// Buttons aktivieren/deaktivieren
|
||||
jBSpieler1Wuerfeln.setEnabled(false);
|
||||
jBSpieler1Beenden.setEnabled(false);
|
||||
jBSpieler2Wuerfeln.setEnabled(true);
|
||||
jBSpieler2Beenden.setEnabled(true);
|
||||
} // end of jBSpieler1Beenden_ActionPerformed
|
||||
|
||||
/** Spieler 2 drueckt den Button Wuerfeln
|
||||
*/
|
||||
public void jBSpieler2Wuerfeln_ActionPerformed(ActionEvent evt) {
|
||||
// wuerfeln
|
||||
sp2.wuerfeln();
|
||||
|
||||
// Anzeigen aktualisieren
|
||||
jNFPunkte2.setInt(sp2.getSumme());
|
||||
jNFWuerfel2.setInt(w.getWurf());
|
||||
wuerfelPanel1.repaint();
|
||||
|
||||
// Bei einer 6 muss der Spieler aufhueren und Spieler 2 ist dran
|
||||
if (w.getWurf() == 6) {
|
||||
jBSpieler2Beenden_ActionPerformed(evt);
|
||||
} // end of if
|
||||
} // end of jBSpieler2Wuerfeln_ActionPerformed
|
||||
|
||||
/** Spieler 1 drueckt Button Beenden
|
||||
*/
|
||||
public void jBSpieler2Beenden_ActionPerformed(ActionEvent evt) {
|
||||
// Punkte sichern
|
||||
sp2.aufhoeren();
|
||||
|
||||
// Anzeigen aktualisieren
|
||||
jNFGesamtpunkte2.setInt(sp2.getGesamtsumme());
|
||||
|
||||
// Buttons aktivieren/deaktivieren
|
||||
jBSpieler2Wuerfeln.setEnabled(false);
|
||||
jBSpieler2Beenden.setEnabled(false);
|
||||
jBSpieler1Wuerfeln.setEnabled(true);
|
||||
jBSpieler1Beenden.setEnabled(true);
|
||||
} // end of jBSpieler2Beenden_ActionPerformed
|
||||
|
||||
// Ende Methoden
|
||||
|
||||
public static void main(String[] args) {
|
||||
new SechserWuerfelnGUI("SechserWuerfelnGUI");
|
||||
} // end of main
|
||||
|
||||
} // end of class SechserWuerfelnGUI
|
||||
|
|
@ -0,0 +1,645 @@
|
|||
object SechserWuerfelnGUI: TFGUIFormular
|
||||
Tag = 3
|
||||
Left = 676
|
||||
Top = 131
|
||||
BorderIcons = [biSystemMenu, biMinimize]
|
||||
Caption = 'SechserWuerfelnGUI'
|
||||
ClientHeight = 177
|
||||
ClientWidth = 530
|
||||
Color = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -10
|
||||
Font.Name = 'MS Sans Serif'
|
||||
Font.Style = []
|
||||
FormStyle = fsMDIChild
|
||||
OldCreateOrder = True
|
||||
Position = poDesigned
|
||||
Visible = True
|
||||
WindowState = wsMaximized
|
||||
OnClose = FormClose
|
||||
OnCloseQuery = FormCloseQuery
|
||||
OnResize = FormResize
|
||||
FrameType = 5
|
||||
Resizable = False
|
||||
Undecorated = False
|
||||
Background = clBtnFace
|
||||
PixelsPerInch = 96
|
||||
TextHeight = 13
|
||||
object jPanel1: TJPanel
|
||||
Tag = 12
|
||||
Left = 8
|
||||
Top = 8
|
||||
Width = 193
|
||||
Height = 161
|
||||
Foreground = 3355443
|
||||
Background = clSilver
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
object jLabel1: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 8
|
||||
Width = 110
|
||||
Height = 20
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'Spieler 1'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
object jNFGesamtpunkte1: TJNumberField
|
||||
Tag = 21
|
||||
Left = 120
|
||||
Top = 32
|
||||
Width = 51
|
||||
Height = 20
|
||||
Cursor = crIBeam
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clWhite
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = []
|
||||
HorizontalAlignment = RIGHT
|
||||
Text = '0'
|
||||
Editable = False
|
||||
end
|
||||
object jPanel3: TJPanel
|
||||
Tag = 12
|
||||
Left = 8
|
||||
Top = 64
|
||||
Width = 177
|
||||
Height = 89
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Border.BorderType = EtchedBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clSilver
|
||||
Border.EtchShadowColor = 4210752
|
||||
Border.Etchtype = 1
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
object jBSpieler1Wuerfeln: TJButton
|
||||
Tag = 4
|
||||
Left = 8
|
||||
Top = 56
|
||||
Width = 75
|
||||
Height = 25
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = 15658734
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
actionPerformed = 'jBSpieler1Wuerfeln_ActionPerformed'
|
||||
Text = 'W'#252'rfeln'
|
||||
Mnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
Selected = False
|
||||
BorderPainted = True
|
||||
FocusPainted = False
|
||||
ContentAreaFilled = True
|
||||
HorizontalAlignment = CENTER
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
RolloverEnabled = False
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
end
|
||||
object jBSpieler1Beenden: TJButton
|
||||
Tag = 4
|
||||
Left = 88
|
||||
Top = 56
|
||||
Width = 75
|
||||
Height = 25
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = 15658734
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
actionPerformed = 'jBSpieler1Beenden_ActionPerformed'
|
||||
Text = 'Sichern'
|
||||
Mnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
Selected = False
|
||||
BorderPainted = True
|
||||
FocusPainted = False
|
||||
ContentAreaFilled = True
|
||||
HorizontalAlignment = CENTER
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
RolloverEnabled = False
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
end
|
||||
object jLabel4: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 8
|
||||
Width = 88
|
||||
Height = 20
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'aktueller Wurf:'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
object jLabel5: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 32
|
||||
Width = 86
|
||||
Height = 20
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'Punkte:'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
object jNFWuerfel1: TJNumberField
|
||||
Tag = 21
|
||||
Left = 112
|
||||
Top = 8
|
||||
Width = 51
|
||||
Height = 20
|
||||
Cursor = crIBeam
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clWhite
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = []
|
||||
HorizontalAlignment = CENTER
|
||||
Editable = False
|
||||
end
|
||||
object jNFPunkte1: TJNumberField
|
||||
Tag = 21
|
||||
Left = 112
|
||||
Top = 32
|
||||
Width = 51
|
||||
Height = 20
|
||||
Cursor = crIBeam
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clWhite
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = []
|
||||
HorizontalAlignment = CENTER
|
||||
Editable = False
|
||||
end
|
||||
end
|
||||
object jLabel3: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 32
|
||||
Width = 94
|
||||
Height = 20
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'Gesamtpunkte'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
end
|
||||
object wuerfelPanel1: TJPanel
|
||||
Tag = 38
|
||||
Left = 216
|
||||
Top = 40
|
||||
Width = 97
|
||||
Height = 89
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
end
|
||||
object jPanel11: TJPanel
|
||||
Tag = 12
|
||||
Left = 328
|
||||
Top = 8
|
||||
Width = 193
|
||||
Height = 161
|
||||
Foreground = 3355443
|
||||
Background = clSilver
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
object jLabel11: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 8
|
||||
Width = 110
|
||||
Height = 20
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'Spieler 2'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
object jNFGesamtpunkte2: TJNumberField
|
||||
Tag = 21
|
||||
Left = 120
|
||||
Top = 32
|
||||
Width = 51
|
||||
Height = 20
|
||||
Cursor = crIBeam
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clWhite
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = []
|
||||
HorizontalAlignment = RIGHT
|
||||
Text = '0'
|
||||
Editable = False
|
||||
end
|
||||
object jPanel31: TJPanel
|
||||
Tag = 12
|
||||
Left = 8
|
||||
Top = 64
|
||||
Width = 177
|
||||
Height = 89
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Border.BorderType = EtchedBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clSilver
|
||||
Border.EtchShadowColor = 4210752
|
||||
Border.Etchtype = 1
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
object jBSpieler2Wuerfeln: TJButton
|
||||
Tag = 4
|
||||
Left = 8
|
||||
Top = 56
|
||||
Width = 75
|
||||
Height = 25
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = 15658734
|
||||
Enabled = False
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'W'#252'rfeln'
|
||||
Mnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
Selected = False
|
||||
BorderPainted = True
|
||||
FocusPainted = False
|
||||
ContentAreaFilled = True
|
||||
HorizontalAlignment = CENTER
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
RolloverEnabled = False
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
end
|
||||
object jBSpieler2Beenden: TJButton
|
||||
Tag = 4
|
||||
Left = 88
|
||||
Top = 56
|
||||
Width = 75
|
||||
Height = 25
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = 15658734
|
||||
Enabled = False
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'Sichern'
|
||||
Mnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
Selected = False
|
||||
BorderPainted = True
|
||||
FocusPainted = False
|
||||
ContentAreaFilled = True
|
||||
HorizontalAlignment = CENTER
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
RolloverEnabled = False
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
end
|
||||
object jNFWuerfel2: TJNumberField
|
||||
Tag = 21
|
||||
Left = 112
|
||||
Top = 8
|
||||
Width = 51
|
||||
Height = 20
|
||||
Cursor = crIBeam
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clWhite
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = []
|
||||
HorizontalAlignment = CENTER
|
||||
Editable = False
|
||||
end
|
||||
object jNFPunkte2: TJNumberField
|
||||
Tag = 21
|
||||
Left = 112
|
||||
Top = 32
|
||||
Width = 51
|
||||
Height = 20
|
||||
Cursor = crIBeam
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clWhite
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = []
|
||||
HorizontalAlignment = CENTER
|
||||
Editable = False
|
||||
end
|
||||
object jLabel41: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 8
|
||||
Width = 88
|
||||
Height = 20
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'aktueller Wurf:'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
object jLabel51: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 32
|
||||
Width = 86
|
||||
Height = 20
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'Punkte:'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
end
|
||||
object jLabel31: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 32
|
||||
Width = 94
|
||||
Height = 20
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'Gesamtpunkte'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
/**
|
||||
* Verwaltet einen Spieler fuer das Spiel 6er-Wuerfeln. Der Spieler hat
|
||||
* jeweils die Wahl zu Wuerfeln oder Aufzuhueren und die Punkte zu sichern.
|
||||
* Wuerfelt er eine 6, verliert er die Punkte sofort. Dazu muss
|
||||
* dem Spieler ein Wuerfel-Objekt bekannt sein.
|
||||
*
|
||||
* @version 1.0 vom 19.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class Spieler {
|
||||
|
||||
// Anfang Attribute
|
||||
// Summe der Augenzahlen des aktuelle Durchgangs
|
||||
private int summe = 0;
|
||||
// Gesamtsumme der Augenzahlen aller Durchguenge
|
||||
private int gesamtsumme = 0;
|
||||
// Wuerfel-Objekt, das zum Wuerfeln verwendet wird.
|
||||
private Wuerfel wuerfel = null;
|
||||
// Ende Attribute
|
||||
|
||||
// Anfang Methoden
|
||||
/** Liefert die Summe der Augenzahlen des aktuellen Durchgangs.
|
||||
* @return Summe der Augenzahlen
|
||||
*/
|
||||
public int getSumme() {
|
||||
return summe;
|
||||
}
|
||||
|
||||
/** Liefert die Gesamtsumme aller Durchguenge. Dabei werden die Augenzahlen jedes
|
||||
* Durchgangs addiert, sobald die Methode Aufhueren aufgerufen wird.
|
||||
* @return Gesamtsumme aller Durchguenge.
|
||||
*/
|
||||
public int getGesamtsumme() {
|
||||
return gesamtsumme;
|
||||
}
|
||||
|
||||
/** Der Spieler wuerfelt 1x. Wirft er eine 6 verliert er die aktuell gesammelten
|
||||
* Augen, ansonsten wird die gewuerfelte Zahl hinzuaddiert.
|
||||
* @return Summe der Augenzahlen des aktuellen Durchgangs
|
||||
*/
|
||||
public int wuerfeln() {
|
||||
wuerfel.wuerfeln();
|
||||
if (wuerfel.getWurf()==6) {
|
||||
summe = 0;
|
||||
} else {
|
||||
summe = summe + wuerfel.getWurf();
|
||||
}// end of if
|
||||
return summe;
|
||||
}
|
||||
|
||||
/** Der Spieler beendet den aktuellen Durchgang. Alle in diesem Durchgang gesammelten
|
||||
* Punkte werden zur Gesamtsumme hinzuaddiert.
|
||||
*/
|
||||
public void aufhoeren() {
|
||||
gesamtsumme = gesamtsumme + summe;
|
||||
summe = 0;
|
||||
}
|
||||
|
||||
/** Dem Spieler wird ein Wuerfel-Objekt uebergeben.
|
||||
* @param wuerfel Wuerfel, den der Spieler benutzen soll.
|
||||
*/
|
||||
public void setWuerfel(Wuerfel wuerfel) {
|
||||
this.wuerfel = wuerfel;
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
} // end of Spieler
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* Die Klasse Wuerfel stellt die Fuehigkeiten eines Wuerfels bereit. Beim Wuerfeln werden
|
||||
* Zufallszahlen zwischen 1 und 6 erzeugt. Das Ergebnis des letzten Wurfs kann abgefragt
|
||||
* werden.
|
||||
*
|
||||
* @version 1.0 vom 19.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class Wuerfel {
|
||||
|
||||
// Anfang Attribute
|
||||
// Speichert den aktuellen Wurf
|
||||
private int wurf;
|
||||
// Stellt ein Random-Objekt fuer die Erzeugung der Zufallszahlen bereit
|
||||
private Random zufallszahlen = new Random();
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt einen Wuerfeln.
|
||||
*/
|
||||
public Wuerfel() {;
|
||||
// Am Anfang sofort eine Zufallszahl erzeugen
|
||||
wuerfeln();
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
/** Liefert die Augenzahl des letzten Wuerfelwurfs.
|
||||
* @return Augenzahl
|
||||
*/
|
||||
public int getWurf() {
|
||||
return wurf;
|
||||
}
|
||||
|
||||
/** Der Wuerfel wird geworfen. Dazu wird eine neue Zufallszahl zwischen 1 und 6 erzeugt.
|
||||
*/
|
||||
public void wuerfeln() {
|
||||
wurf = zufallszahlen.nextInt(6)+1;
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
} // end of Wuerfel
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
import javax.swing.JPanel;
|
||||
import java.awt.*;
|
||||
|
||||
/** Dies ist ein spezielles Panel, das in der Lage ist, die oben liegende Augenzahl
|
||||
* eines Wuerfel-Objekt graphisch darzustellen.
|
||||
*/
|
||||
|
||||
public class WuerfelPanel extends JPanel {
|
||||
|
||||
// Anfang Attribute
|
||||
// Speichert die Bilder von Wuerfeln mit der Augenzahl 1-6 oben.
|
||||
private Image[] bilder = new Image[6];
|
||||
// Speichert das Wuerfel-Objekt, das im Panel visualisiert werden soll.
|
||||
private Wuerfel w;
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt ein Wuerfelpanel.
|
||||
* @param w Wuerfel-Objekt, das visualisiert werden soll.
|
||||
*/
|
||||
public WuerfelPanel(Wuerfel w) {
|
||||
this.w = w;
|
||||
// Laden der 6 Bilder wuerfel_1.gif - wuerfel_6.gif
|
||||
for (int i = 0; i <6 ; i++ ) {
|
||||
bilder[i] = Toolkit.getDefaultToolkit().getImage("wuerfel_"+(i+1)+".gif");
|
||||
} // end of for
|
||||
this.setBackground(Color.white);
|
||||
}
|
||||
|
||||
/** Zeichnet das Panel neu. Das richtige Bild zur Augenzahl des Wuerfels wird angezeigt. Diese
|
||||
* Methode wird automatisch von Java zum Zeichnen aufgerufen.
|
||||
* @param g ein Graphics-Objekt
|
||||
*/
|
||||
public void paint(Graphics g) {
|
||||
// super.paint ist notwendig, damit der Hintergrund richtig gezeichnet wird.
|
||||
super.paint(g);
|
||||
g.drawImage(bilder[w.getWurf()-1],15,15,Color.white,this);
|
||||
}
|
||||
|
||||
} // end of WuerfelPanel
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
Bilder von Würfel:
|
||||
eigenes Werk (Schaller, 2012)
|
||||
|
|
@ -0,0 +1,81 @@
|
|||
#BlueJ package file
|
||||
dependency1.from=SechserWuerfelnGUI
|
||||
dependency1.to=Wuerfel
|
||||
dependency1.type=UsesDependency
|
||||
dependency2.from=SechserWuerfelnGUI
|
||||
dependency2.to=Spieler
|
||||
dependency2.type=UsesDependency
|
||||
dependency3.from=SechserWuerfelnGUI
|
||||
dependency3.to=WuerfelPanel
|
||||
dependency3.type=UsesDependency
|
||||
dependency4.from=Spieler
|
||||
dependency4.to=Wuerfel
|
||||
dependency4.type=UsesDependency
|
||||
dependency5.from=WuerfelPanel
|
||||
dependency5.to=Wuerfel
|
||||
dependency5.type=UsesDependency
|
||||
editor.fx.0.height=0
|
||||
editor.fx.0.width=0
|
||||
editor.fx.0.x=0
|
||||
editor.fx.0.y=0
|
||||
objectbench.height=93
|
||||
objectbench.width=645
|
||||
package.divider.horizontal=0.6
|
||||
package.divider.vertical=0.771689497716895
|
||||
package.editor.height=331
|
||||
package.editor.width=523
|
||||
package.editor.x=105
|
||||
package.editor.y=407
|
||||
package.frame.height=539
|
||||
package.frame.width=669
|
||||
package.numDependencies=5
|
||||
package.numTargets=6
|
||||
package.showExtends=true
|
||||
package.showUses=true
|
||||
project.charset=UTF-8
|
||||
readme.height=60
|
||||
readme.name=@README
|
||||
readme.width=49
|
||||
readme.x=10
|
||||
readme.y=10
|
||||
target1.height=70
|
||||
target1.name=SechserWuerfelnGUI
|
||||
target1.showInterface=false
|
||||
target1.type=ClassTarget
|
||||
target1.width=160
|
||||
target1.x=220
|
||||
target1.y=70
|
||||
target2.height=70
|
||||
target2.name=WuerfelPanel
|
||||
target2.showInterface=false
|
||||
target2.type=ClassTarget
|
||||
target2.width=120
|
||||
target2.x=10
|
||||
target2.y=170
|
||||
target3.height=70
|
||||
target3.name=Spieler
|
||||
target3.showInterface=false
|
||||
target3.type=ClassTarget
|
||||
target3.width=120
|
||||
target3.x=350
|
||||
target3.y=180
|
||||
target4.height=70
|
||||
target4.name=Wuerfel
|
||||
target4.showInterface=false
|
||||
target4.type=ClassTarget
|
||||
target4.width=120
|
||||
target4.x=160
|
||||
target4.y=230
|
||||
target5.height=70
|
||||
target5.name=bildquellen.txt
|
||||
target5.type=TextTarget
|
||||
target5.width=120
|
||||
target5.x=80
|
||||
target5.y=10
|
||||
target6.height=70
|
||||
target6.name=JNumberField
|
||||
target6.showInterface=false
|
||||
target6.type=ClassTarget
|
||||
target6.width=120
|
||||
target6.x=10
|
||||
target6.y=90
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
11
Software/alg_gr_6er_wuerfeln/readme.adoc
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
= Material :
|
||||
|
||||
|===
|
||||
|Zuordnung|
|
||||
|Klassenstufe|
|
||||
|Bildungsplanbezug |
|
||||
|Werkzeug|
|
||||
|Autoren|
|
||||
|===
|
||||
|
||||
== Inhalt
|
||||
6
Software/alg_oo_3d_grafik/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
*.sh
|
||||
*.class
|
||||
*.ctxt
|
||||
repo.adoc
|
||||
repo_subtree.adoc
|
||||
/alt
|
||||
6
Software/alg_oo_3d_grafik/01_3D-Grafik_Loes/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
*.sh
|
||||
*.class
|
||||
*.ctxt
|
||||
repo.adoc
|
||||
repo_subtree.adoc
|
||||
/alt
|
||||
47
Software/alg_oo_3d_grafik/01_3D-Grafik_Loes/Board3D.java
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import java.util.*;
|
||||
import javax.swing.JPanel;
|
||||
|
||||
/** AnzeigePanel fuer eine 3D-Szene. Die Berechnung mit zwei Augenpunkten ermueglicht eine Rot-Cyan-Darstellung
|
||||
* des Bildes, die mit einer entsprechenden Brille einen echten rueumlichen Eindruck vermittelt.
|
||||
* ueber einen MouseLisener wird auueerdem die Drehung des Szene ermueglicht.
|
||||
*/
|
||||
class Board3D extends JPanel {
|
||||
// Informationen ueber die Szene
|
||||
private ArrayList<Strecke> szene = new ArrayList<Strecke>(); // Szene, die aus einer Liste von Strecken besteht
|
||||
private Punkt viewpoint = new Punkt(0, 0, -25); // Ausgangspunkt fuer die Berechnung des Bildes (zwischen den beiden Augenpunkten)
|
||||
|
||||
/** Erzeugt neues 3D-Panel mit schwarzem Hintergrund und Mauslistenern
|
||||
*/
|
||||
public Board3D() {
|
||||
super();
|
||||
this.setBackground(Color.BLACK); // Schwarzer Hintergrund, damit die Linien besser hervortreten.
|
||||
}
|
||||
|
||||
/** Fuegt eine Strecke der Szene hinzu
|
||||
* @param s Referenz auf die neue Strecke
|
||||
*/
|
||||
public void addStrecke(Strecke s) {
|
||||
szene.add(s);
|
||||
}
|
||||
|
||||
/** Zeichnet komplette Szene mit zwei Farben fuer linkes und rechtes Auge.
|
||||
* @param g Grafikkontext
|
||||
*/
|
||||
public void paint(Graphics g) {
|
||||
super.paint(g);
|
||||
|
||||
Graphics2D g2 = (Graphics2D) g;
|
||||
|
||||
// Dicke Linie in weiue auswuehlen
|
||||
BasicStroke dickeLinie = new BasicStroke(3.0f);
|
||||
g2.setStroke(dickeLinie);
|
||||
g2.setColor(Color.white);
|
||||
|
||||
for (Strecke s: szene) { // Alle Strecken zeichnen
|
||||
s.draw(g, viewpoint);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
103
Software/alg_oo_3d_grafik/01_3D-Grafik_Loes/DrawIt3DGUI.java
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import javax.swing.*;
|
||||
import javax.swing.event.*;
|
||||
import java.io.FileReader;
|
||||
import java.util.Scanner;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
*
|
||||
* GUI zum Zeichnen einer 3D-Szene
|
||||
*
|
||||
* @version 1.0 vom 10.04.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class DrawIt3DGUI extends JFrame {
|
||||
// Anfang Attribute
|
||||
private Board3D board1 = new Board3D();
|
||||
|
||||
|
||||
// Ende Attribute
|
||||
|
||||
public DrawIt3DGUI(String title) {
|
||||
// Frame-Initialisierung
|
||||
super(title);
|
||||
setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
|
||||
int frameWidth = 909;
|
||||
int frameHeight = 731;
|
||||
setSize(frameWidth, frameHeight);
|
||||
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
|
||||
int x = (d.width - getSize().width) / 2;
|
||||
int y = (d.height - getSize().height) / 2;
|
||||
setLocation(x, y);
|
||||
Container cp = getContentPane();
|
||||
cp.setLayout(null);
|
||||
// Anfang Komponenten
|
||||
|
||||
board1.setBounds(0, 0, 900, 700);
|
||||
cp.add(board1);
|
||||
// Ende Komponenten
|
||||
|
||||
Punkt p1 = new Punkt(-2,-3,2);
|
||||
Punkt p2 = new Punkt(2,-3,2);
|
||||
Punkt p3 = new Punkt(2,-3,-2);
|
||||
Punkt p4 = new Punkt(-2,-3,-2);
|
||||
Punkt p5 = new Punkt(-2,2,2);
|
||||
Punkt p6 = new Punkt(2,2,2);
|
||||
Punkt p7 = new Punkt(2,2,-2);
|
||||
Punkt p8 = new Punkt(-2,2,-2);
|
||||
Punkt p9 = new Punkt(0,6,0);
|
||||
board1.addStrecke(new Strecke(p1,p2));
|
||||
board1.addStrecke(new Strecke(p2,p3));
|
||||
board1.addStrecke(new Strecke(p3,p4));
|
||||
board1.addStrecke(new Strecke(p4,p1));
|
||||
board1.addStrecke(new Strecke(p5,p6));
|
||||
board1.addStrecke(new Strecke(p6,p7));
|
||||
board1.addStrecke(new Strecke(p7,p8));
|
||||
board1.addStrecke(new Strecke(p8,p5));
|
||||
board1.addStrecke(new Strecke(p1,p5));
|
||||
board1.addStrecke(new Strecke(p2,p6));
|
||||
board1.addStrecke(new Strecke(p3,p7));
|
||||
board1.addStrecke(new Strecke(p4,p8));
|
||||
board1.addStrecke(new Strecke(p5,p9));
|
||||
board1.addStrecke(new Strecke(p6,p9));
|
||||
board1.addStrecke(new Strecke(p7,p9));
|
||||
board1.addStrecke(new Strecke(p8,p9));
|
||||
|
||||
p1 = new Punkt(2,-3,1.5);
|
||||
p2 = new Punkt(6,-3,1.5);
|
||||
p3 = new Punkt(6,-3,-1);
|
||||
p4 = new Punkt(2,-3,-1);
|
||||
p5 = new Punkt(2,0,1.5);
|
||||
p6 = new Punkt(6,0,1.5);
|
||||
p7 = new Punkt(6,0,-1);
|
||||
p8 = new Punkt(2,0,-1);
|
||||
board1.addStrecke(new Strecke(p1,p2));
|
||||
board1.addStrecke(new Strecke(p2,p3));
|
||||
board1.addStrecke(new Strecke(p3,p4));
|
||||
board1.addStrecke(new Strecke(p4,p1));
|
||||
board1.addStrecke(new Strecke(p5,p6));
|
||||
board1.addStrecke(new Strecke(p6,p7));
|
||||
board1.addStrecke(new Strecke(p7,p8));
|
||||
board1.addStrecke(new Strecke(p8,p5));
|
||||
board1.addStrecke(new Strecke(p1,p5));
|
||||
board1.addStrecke(new Strecke(p2,p6));
|
||||
board1.addStrecke(new Strecke(p3,p7));
|
||||
board1.addStrecke(new Strecke(p4,p8));
|
||||
|
||||
cp.setBackground(Color.black);
|
||||
|
||||
setResizable(false);
|
||||
setVisible(true);
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
// Ende Methoden
|
||||
|
||||
public static void main(String[] args) {
|
||||
new DrawIt3DGUI("DrawIt3DGUI");
|
||||
}
|
||||
}
|
||||
57
Software/alg_oo_3d_grafik/01_3D-Grafik_Loes/DrawIt3DGUI.jfm
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
object drawIt3DGUI: TFGUIFormular
|
||||
Left = 401
|
||||
Top = 2
|
||||
BorderIcons = [biSystemMenu, biMinimize]
|
||||
Caption = 'F:\Informatik\OOP\Fortbildung\3DGrafik\DrawIt3DGUI.jfm'
|
||||
ClientHeight = 703
|
||||
ClientWidth = 903
|
||||
Color = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -13
|
||||
Font.Name = 'MS Sans Serif'
|
||||
Font.Style = []
|
||||
FormStyle = fsMDIChild
|
||||
OldCreateOrder = True
|
||||
Position = poDesigned
|
||||
Visible = True
|
||||
WindowState = wsMaximized
|
||||
OnClose = FormClose
|
||||
OnCloseQuery = FormCloseQuery
|
||||
OnResize = FormResize
|
||||
FrameType = 5
|
||||
Resizable = False
|
||||
Undecorated = False
|
||||
Background = clBtnFace
|
||||
PixelsPerInch = 96
|
||||
TextHeight = 16
|
||||
object board1: TJPanel
|
||||
Tag = 12
|
||||
Left = 0
|
||||
Top = 0
|
||||
Width = 900
|
||||
Height = 700
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -15
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
end
|
||||
end
|
||||
58
Software/alg_oo_3d_grafik/01_3D-Grafik_Loes/Gerade.java
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
/**
|
||||
* Speichert die Informationen ueber eine Gerade im Raum. Dazu werden
|
||||
* Stuetz- und Richtungsvektor der Geraden gespeichert. Fuer die Berechnung eines
|
||||
* 3D-Bildes kann auueerdem der Schnittpunkt mit der XY-Ebene(=Bildschirmebene) berechnet werden.
|
||||
*
|
||||
* @version 1.0 vom 10.04.2011
|
||||
* @author T. Schaller
|
||||
*/
|
||||
|
||||
public class Gerade {
|
||||
|
||||
// Anfang Attribute
|
||||
private Punkt stuetzpunkt; // Stuetzpunkt der Geraden
|
||||
private Vektor richtungsvektor; // Richtungsvektor der Geraden
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt eine Gerade aus zwei Punkten. Punkt1 wird als Stuetzpunkt, der Vektor von P1 nach P2 als Richtungsvektor benutzt.
|
||||
* @param p1 1. Punkt der Gerade
|
||||
* @param p2 2. Punkt der Gerade
|
||||
*/
|
||||
public Gerade(Punkt p1, Punkt p2) {;
|
||||
stuetzpunkt = p1;
|
||||
richtungsvektor = new Vektor(p2.getX()-p1.getX(),p2.getY()-p1.getY(),p2.getZ()-p1.getZ());
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
/** Liefert den Richtungsvektor der Gerade
|
||||
* @return Richtungsvektor
|
||||
*/
|
||||
public Vektor getRichtungsvektor() {
|
||||
return richtungsvektor;
|
||||
}
|
||||
|
||||
/** Liefert den Stuetzpunkt der Gerade
|
||||
* @return Stuetzpunkt
|
||||
*/
|
||||
public Punkt getStuetzpunkt() {
|
||||
return stuetzpunkt;
|
||||
}
|
||||
|
||||
/** Liefert den Schnittpunkt der Gerade mit der XY-Ebene (d.h. z-Koordinate = 0)
|
||||
* Die Gerade, die bei der Berechnung vorkommen kuennen nicht in der XY-Ebene liegen, da
|
||||
* der Augenpunkt immer ein Punkt der Gerade ist und auueerhalb der Ebene liegt.
|
||||
* @return Schnittpunkt mit der XY-Ebene, falls es diesen gibt; sonst null
|
||||
*/
|
||||
public Punkt getSchnittpunktXYEbene() {
|
||||
if (richtungsvektor.getZ() ==0) { // Gerade ist parallel zur XY-Ebene
|
||||
return null;
|
||||
}
|
||||
else
|
||||
{
|
||||
double l = -stuetzpunkt.getZ()/richtungsvektor.getZ(); // Parameterwert fuer Gerade bestimmen
|
||||
return new Punkt(stuetzpunkt.getX()+l*richtungsvektor.getX(),stuetzpunkt.getY()+l*richtungsvektor.getY(),stuetzpunkt.getZ()+l*richtungsvektor.getZ());
|
||||
}
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
}
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
[Files]
|
||||
File0=Board3D.java
|
||||
File1=DrawIt3DGUI.java
|
||||
File2=Gerade.java
|
||||
File3=Punkt.java
|
||||
File4=Strecke.java
|
||||
File5=Vektor.java
|
||||
|
||||
[Box: - Board3D]
|
||||
X=480
|
||||
Y=50
|
||||
MinVis=0
|
||||
|
||||
[Box: - DrawIt3DGUI]
|
||||
X=182
|
||||
Y=67
|
||||
MinVis=0
|
||||
|
||||
[Box: - Gerade]
|
||||
X=19
|
||||
Y=342
|
||||
MinVis=0
|
||||
|
||||
[Box: - Punkt]
|
||||
X=343
|
||||
Y=341
|
||||
MinVis=0
|
||||
|
||||
[Box: - Strecke]
|
||||
X=706
|
||||
Y=348
|
||||
MinVis=0
|
||||
|
||||
[Box: - Vektor]
|
||||
X=194
|
||||
Y=589
|
||||
MinVis=0
|
||||
|
||||
[Diagram]
|
||||
OffsetX=0
|
||||
OffsetY=0
|
||||
ShowAssoc=1
|
||||
Visibility=0
|
||||
ShowParameter=2
|
||||
SortOrder=0
|
||||
ShowIcons=0
|
||||
Fontname=MS Sans Serif
|
||||
Fontsize=10
|
||||
|
||||
[Connections]
|
||||
V0=Board3D#Strecke#Aggregation#1##n#0#0#
|
||||
V1=Board3D#Punkt#AssociationDirected#1##1#0#0#
|
||||
V2=DrawIt3DGUI#Board3D#Aggregation#1##1#0#0#
|
||||
V3=Gerade#Punkt#AssociationDirected#1##1#0#0#
|
||||
V4=Gerade#Vektor#Aggregation#1##1#0#0#
|
||||
V5=Punkt#Vektor#Inheritends####0#0#
|
||||
V6=Strecke#Punkt#AssociationDirected#1##2#0#0#
|
||||
|
||||
[Interactive]
|
||||
I0=
|
||||
|
||||
[Window]
|
||||
Left=-8
|
||||
Top=-30
|
||||
Width=1936
|
||||
Height=705
|
||||
|
||||
55
Software/alg_oo_3d_grafik/01_3D-Grafik_Loes/Punkt.java
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
/**
|
||||
* Speichert die Informationen ueber eine Punkt im Raum.
|
||||
* Die Information ueber die Lage des Punktes werden mit Hilfe eines Ortsvektors
|
||||
* gespeichert.
|
||||
*
|
||||
* @version 1.0 vom 11.4.2011
|
||||
* @author T. Schaller
|
||||
*/
|
||||
|
||||
public class Punkt {
|
||||
|
||||
// Anfang Attribute
|
||||
private Vektor ortsvektor; // Ortsvektor des Punktes
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt einen neuen Punkt mit den Koordinaten (x|y|z)
|
||||
* @param x x-Koordinate
|
||||
* @param y y-Koordinate
|
||||
* @param z z-Koordinate
|
||||
*/
|
||||
Punkt(double x, double y, double z) {
|
||||
ortsvektor = new Vektor(x,y,z);
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
/** liefert die x-Koordinate des Ortsvektors des Punktes
|
||||
* @return x-Koordinate
|
||||
*/
|
||||
public double getX() {
|
||||
return ortsvektor.getX();
|
||||
}
|
||||
|
||||
/** liefert die y-Koordinate des Ortsvektors des Punktes
|
||||
* @return y-Koordinate
|
||||
*/
|
||||
public double getY() {
|
||||
return ortsvektor.getY();
|
||||
}
|
||||
|
||||
/** liefert die z-Koordinate des Ortsvektors des Punktes
|
||||
* @return z-Koordinate
|
||||
*/
|
||||
public double getZ() {
|
||||
return ortsvektor.getZ();
|
||||
}
|
||||
|
||||
/** Verschiebt den Punkt um einen Vektor v. Dazu werden die Koordinaten
|
||||
* des Ortsvektors zu den Koordinaten des Schiebevektors addiert.
|
||||
* @param v Verschiebevektor
|
||||
*/
|
||||
public void verschiebe(Vektor v) {
|
||||
ortsvektor.add(v);
|
||||
}
|
||||
// Ende Methoden
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
/**
|
||||
* Speichert die Informationen ueber eine Punkt im Raum.
|
||||
* Die Information ueber die Lage des Punktes werden mit Hilfe eines Ortsvektors
|
||||
* gespeichert.
|
||||
*
|
||||
* @version 1.0 vom 11.4.2011
|
||||
* @author T. Schaller
|
||||
*/
|
||||
|
||||
public class Punkt_VarianteVererbung extends Vektor {
|
||||
|
||||
/** Erzeugt einen neuen Punkt mit den Koordinaten (x|y|z)
|
||||
* @param x x-Koordinate
|
||||
* @param y y-Koordinate
|
||||
* @param z z-Koordinate
|
||||
*/
|
||||
Punkt_VarianteVererbung(double x, double y, double z) {
|
||||
super(x,y,z);
|
||||
}
|
||||
|
||||
/** Verschiebt den Punkt um einen Vektor v. Dazu werden die Koordinaten
|
||||
* des Ortsvektors zu den Koordinaten des Schiebevektors addiert.
|
||||
* @param v Verschiebevektor
|
||||
*/
|
||||
public void verschiebe(Vektor v) {
|
||||
super.add(v);
|
||||
}
|
||||
// Ende Methoden
|
||||
}
|
||||
59
Software/alg_oo_3d_grafik/01_3D-Grafik_Loes/Strecke.java
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
import java.awt.*;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* Speichert die notwendigen Informationen (Start- und Endpunkt) zu einer
|
||||
* Strecke.
|
||||
*
|
||||
* @version 1.0 vom 10.04.2011
|
||||
* @author T. Schaller
|
||||
*/
|
||||
|
||||
public class Strecke {
|
||||
|
||||
// Anfang Attribute
|
||||
private Punkt point1; // Referenz auf Start- und Endpunkt
|
||||
private Punkt point2;
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt eine neue Strecken
|
||||
* @param p0 Startpunkt
|
||||
* @param p1 Endpunkt
|
||||
*/
|
||||
|
||||
public Strecke(Punkt point1, Punkt point2) {
|
||||
this.point1 = point1;
|
||||
this.point2 = point2;
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
/** Liefert Start- oder Endpunkt der Strecke
|
||||
* @param i (1=Startpunkt, 2 = Endpunkt)
|
||||
* @return Referenz auf den Punkt
|
||||
*/
|
||||
public Punkt getPunkt(int i) {
|
||||
if (i==1) {
|
||||
return point1;
|
||||
} else {
|
||||
return point2;
|
||||
} // end of if
|
||||
}
|
||||
|
||||
|
||||
public void draw(Graphics g, Punkt viewpoint) {
|
||||
|
||||
Gerade g1 = new Gerade(viewpoint,point1); // Gerade durch Augenpunkt und 1.Punkt der Strecke (Blickstrahl)
|
||||
Gerade g2 = new Gerade(viewpoint,point2); // Gerade durch Augenpunkt und 2.Punkt der Strecke (Blickstrahl)
|
||||
|
||||
Punkt sp1 = g1.getSchnittpunktXYEbene(); // Schnittpunkte der Blickstrahlen mit der Bildschirmebene (XY-Ebene)
|
||||
Punkt sp2 = g2.getSchnittpunktXYEbene();
|
||||
|
||||
if ((sp1 != null) && (sp2 != null)) { // Falls es Schnittpunkte gibt, Linie zeichnen (Skaliert um Faktor 50)
|
||||
g.drawLine((int) ( sp1.getX() * 50) + 450, // +450/+350, damit die Szene in der Mitte des Bildschirms gezeichnet wird.
|
||||
(int) (-sp1.getY() * 50) + 350,
|
||||
(int) ( sp2.getX() * 50) + 450,
|
||||
(int) (-sp2.getY() * 50) + 350);
|
||||
}
|
||||
}
|
||||
// Ende Methoden
|
||||
}
|
||||
91
Software/alg_oo_3d_grafik/01_3D-Grafik_Loes/Testen.java
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
/**
|
||||
*
|
||||
* Beschreibung
|
||||
* Testklasse, um die einzelnen Funktionen der Klassen fuer die 3D-Grafik zu testen.
|
||||
*
|
||||
* @version 1.0 vom 10.04.2011
|
||||
* @author Schaller
|
||||
*/
|
||||
|
||||
public class Testen {
|
||||
|
||||
public static void main(String[] args) {
|
||||
Vektor v = new Vektor(2, 1, -4);
|
||||
System.out.println("Vektor erzeugt.");
|
||||
if (v.getX()!=2 || v.getY() != 1 || v.getZ()!=-4) {
|
||||
System.out.println("Koordinaten des Vektors kuennen nicht richtig abgefragt werden oder werden im Konstruktor nicht richtig gesetzt.");
|
||||
} else {
|
||||
System.out.println("get-Methode des Vektors funktioniert");
|
||||
}// end of if
|
||||
v.setX(4);
|
||||
v.setY(-2);
|
||||
v.setZ(3);
|
||||
if (v.getX()!=4 || v.getY() != -2 || v.getZ()!=3) {
|
||||
System.out.println("Koordinaten des Vektors werden mit set nicht richtig angepasst.");
|
||||
} else {
|
||||
System.out.println("set-Methode des Vektors funktioniert");
|
||||
}// end of if
|
||||
Vektor v2 = new Vektor(1,1,1);
|
||||
v.add(v2);
|
||||
if (v.getX()!=5 || v.getY() != -1 || v.getZ()!=4) {
|
||||
System.out.println("Methode add des Vektors arbeitet nicht korrekt.");
|
||||
} else {
|
||||
System.out.println("add-Methode des Vektors funktioniert");
|
||||
}// end of if
|
||||
|
||||
Punkt p1 = new Punkt(0,2,-5);
|
||||
System.out.println("Punkt erzeugt.");
|
||||
if (p1.getX()!=0 || p1.getY() != 2 || p1.getZ()!=-5) {
|
||||
System.out.println("Koordinaten des Punktes kuennen nicht richtig abgefragt werden");
|
||||
} else {
|
||||
System.out.println("get-Methode des Punktes funktioniert");
|
||||
}// end of if
|
||||
p1.verschiebe(v);
|
||||
if (p1.getX()!=5 || p1.getY() != 1 || p1.getZ()!=-1) {
|
||||
System.out.println("verschieben Methode des Punktes arbeitet nicht korrekt.");
|
||||
} else {
|
||||
System.out.println("verschiebe-Methode des Punktes funktioniert");
|
||||
}// end of if
|
||||
|
||||
Punkt p2 = new Punkt(10,4,10);
|
||||
Strecke st = new Strecke(p1,p2);
|
||||
System.out.println("Strecke erzeugt");
|
||||
if (st.getPunkt(1)!=p1 || st.getPunkt(2)!=p2) {
|
||||
System.out.println("Punkte werden nicht korrekt in der Strecke gespeichert oder falsch mit get ausgelesen (getPunkt(0) soll 1. Punkt liefern, getPunkt(1) den 2. Punkt)");
|
||||
} else {
|
||||
System.out.println("Konstruktor und get-Methode der Strecke arbeiten korrekt");
|
||||
}// end of if
|
||||
|
||||
p1 = new Punkt(10,2,17);
|
||||
p2 = new Punkt(4,-4,-17);
|
||||
Gerade g = new Gerade(p1,p2);
|
||||
System.out.println("Gerade erzeugt");
|
||||
if (g.getStuetzpunkt() != p1) {
|
||||
System.out.println("Konstruktor oder getStuetzpunkt arbeiten nicht korrekt. (Erster uebergebener Punkt im Konstruktor soll Stuetzpunkt werden).");
|
||||
} else {
|
||||
System.out.println("Stuetzpunkt korrekt gespeichert und getStuetzpunkt funktioniert.");
|
||||
}// end of if
|
||||
v = g.getRichtungsvektor();
|
||||
if (v.getX()!=-6 || v.getY() != -6 || v.getZ()!=-34) {
|
||||
System.out.println("Richtungsvektor ist falsch. Entweder Konstruktor oder getRichtungsvektor arbeiten nicht korrekt (Richtungsvektor = p2 -p1).");
|
||||
} else {
|
||||
System.out.println("Richtungsvektor korrekt berechnet und getRichtungsvektor funktioniert");
|
||||
}// end of if
|
||||
Punkt sp = g.getSchnittpunktXYEbene();
|
||||
if (sp.getX()!=7 || sp.getY() != -1 || sp.getZ()!=0) {
|
||||
System.out.println("getSchnittpunktXYEbene arbeitet nicht korrekt, wenn es Schnittpunkt gibt.");
|
||||
} else {
|
||||
System.out.println("getSchnittpunktXYEbene funktioniert, wenn es Schnittpunkt gibt");
|
||||
}// end of if
|
||||
p1 = new Punkt(10,2,17);
|
||||
p2 = new Punkt(4,-4,17);
|
||||
g = new Gerade(p1,p2);
|
||||
sp = g.getSchnittpunktXYEbene();
|
||||
if (sp != null) {
|
||||
System.out.println("getSchnittpunktXYEbene arbeitet nicht korrekt, wenn es keinen Schnittpunkt gibt (Methode soll null zurueckliefern).");
|
||||
} else {
|
||||
System.out.println("getSchnittpunktXYEbene funktioniert, wenn es keinen Schnittpunkt gibt");
|
||||
}// end of if
|
||||
|
||||
}
|
||||
}
|
||||
81
Software/alg_oo_3d_grafik/01_3D-Grafik_Loes/Vektor.java
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
/**
|
||||
* Speichert die Information ueber einen Vektor im dreidimensionalen Raum.
|
||||
*
|
||||
*
|
||||
* @version 1.0 vom 10.04.2011
|
||||
* @author T. Schaller
|
||||
*/
|
||||
|
||||
public class Vektor {
|
||||
|
||||
// Anfang Attribute
|
||||
private double x = 0; // Koordinaten des Vektors
|
||||
private double y = 0;
|
||||
private double z = 0;
|
||||
// Ende Attribute
|
||||
|
||||
// Anfang Methoden
|
||||
/** Erzeugt einen neuen Vektor mit den angegebenen Koordinaten
|
||||
* @param x x-Koordinate
|
||||
* @param y y-Koordinate
|
||||
* @param z z-Koordinate
|
||||
*/
|
||||
public Vektor(double x, double y, double z) {
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.z = z;
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
/** Addiert den uebergebenen Vektor. Dazu werden die Koordinaten
|
||||
* der beiden Vektoren addiert.
|
||||
* @param v Vektor, der addiert werden soll.
|
||||
*/
|
||||
public void add(Vektor v) {
|
||||
x += v.x; y += v.y; z += v.z;
|
||||
}
|
||||
|
||||
/** Liefert die x-Koordinate des Vektors
|
||||
* @return x-Koordinate
|
||||
*/
|
||||
public double getX() {
|
||||
return x;
|
||||
}
|
||||
|
||||
/** Setzt die x-Koordinate des Vektors
|
||||
* @param x-Koordinate
|
||||
*/
|
||||
public void setX(double x) {
|
||||
this.x = x;
|
||||
}
|
||||
|
||||
/** Liefert die y-Koordinate des Vektors
|
||||
* @return y-Koordinate
|
||||
*/
|
||||
public double getY() {
|
||||
return y;
|
||||
}
|
||||
|
||||
/** Setzt die y-Koordinate des Vektors
|
||||
* @param y-Koordinate
|
||||
*/
|
||||
public void setY(double y) {
|
||||
this.y = y;
|
||||
}
|
||||
|
||||
/** Liefert die z-Koordinate des Vektors
|
||||
* @return z-Koordinate
|
||||
*/
|
||||
public double getZ() {
|
||||
return z;
|
||||
}
|
||||
|
||||
/** Setzt die z-Koordinate des Vektors
|
||||
* @param z z-Koordinate
|
||||
*/
|
||||
public void setZ(double z) {
|
||||
this.z = z;
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
}
|
||||
|
|
@ -0,0 +1,414 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title>DrawIt3DGUI</title>
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="DrawIt3DGUI";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="Gerade.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?DrawIt3DGUI.html" target="_top">Frames</a></li>
|
||||
<li><a href="DrawIt3DGUI.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_classes_inherited_from_class_javax.swing.JFrame">Nested</a> | </li>
|
||||
<li><a href="#fields_inherited_from_class_javax.swing.JFrame">Field</a> | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<h2 title="Class DrawIt3DGUI" class="title">Class DrawIt3DGUI</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.awt.Component</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.awt.Container</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.awt.Window</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.awt.Frame</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>javax.swing.JFrame</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>DrawIt3DGUI</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants</dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">DrawIt3DGUI</span>
|
||||
extends javax.swing.JFrame</pre>
|
||||
<div class="block">GUI zum Zeichnen einer 3D-Szene</div>
|
||||
<dl><dt><span class="strong">Version:</span></dt>
|
||||
<dd>1.0 vom 10.04.2012</dd>
|
||||
<dt><span class="strong">Author:</span></dt>
|
||||
<dd>Thomas Schaller</dd>
|
||||
<dt><span class="strong">See Also:</span></dt><dd><a href="serialized-form.html#DrawIt3DGUI">Serialized Form</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_class_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_javax.swing.JFrame">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class javax.swing.JFrame</h3>
|
||||
<code>javax.swing.JFrame.AccessibleJFrame</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Frame">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class java.awt.Frame</h3>
|
||||
<code>java.awt.Frame.AccessibleAWTFrame</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Window">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class java.awt.Window</h3>
|
||||
<code>java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Container">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class java.awt.Container</h3>
|
||||
<code>java.awt.Container.AccessibleAWTContainer</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Component">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class java.awt.Component</h3>
|
||||
<code>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_javax.swing.JFrame">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class javax.swing.JFrame</h3>
|
||||
<code>accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_java.awt.Frame">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class java.awt.Frame</h3>
|
||||
<code>CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_java.awt.Component">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class java.awt.Component</h3>
|
||||
<code>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_javax.swing.WindowConstants">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface javax.swing.WindowConstants</h3>
|
||||
<code>DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_java.awt.image.ImageObserver">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface java.awt.image.ImageObserver</h3>
|
||||
<code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="DrawIt3DGUI.html#DrawIt3DGUI(java.lang.String)">DrawIt3DGUI</a></strong>(java.lang.String title)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><strong><a href="DrawIt3DGUI.html#main(java.lang.String[])">main</a></strong>(java.lang.String[] args)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_javax.swing.JFrame">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class javax.swing.JFrame</h3>
|
||||
<code>addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Frame">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.awt.Frame</h3>
|
||||
<code>addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Window">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.awt.Window</h3>
|
||||
<code>addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Container">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.awt.Container</h3>
|
||||
<code>add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Component">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.awt.Component</h3>
|
||||
<code>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.awt.MenuContainer">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.awt.MenuContainer</h3>
|
||||
<code>getFont, postEvent</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="DrawIt3DGUI(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>DrawIt3DGUI</h4>
|
||||
<pre>public DrawIt3DGUI(java.lang.String title)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="main(java.lang.String[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>main</h4>
|
||||
<pre>public static void main(java.lang.String[] args)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="Gerade.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?DrawIt3DGUI.html" target="_top">Frames</a></li>
|
||||
<li><a href="DrawIt3DGUI.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_classes_inherited_from_class_javax.swing.JFrame">Nested</a> | </li>
|
||||
<li><a href="#fields_inherited_from_class_javax.swing.JFrame">Field</a> | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,306 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title>Gerade</title>
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Gerade";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="DrawIt3DGUI.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="Punkt.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Gerade.html" target="_top">Frames</a></li>
|
||||
<li><a href="Gerade.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<h2 title="Class Gerade" class="title">Class Gerade</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>Gerade</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Gerade</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Speichert die Informationen über eine Gerade im Raum. Dazu werden
|
||||
Stütz- und Richtungsvektor der Geraden gespeichert. Für die Berechnung eines
|
||||
3D-Bildes kann außerdem der Schnittpunkt mit der XY-Ebene(=Bildschirmebene) berechnet werden.</div>
|
||||
<dl><dt><span class="strong">Version:</span></dt>
|
||||
<dd>1.0 vom 10.04.2011</dd>
|
||||
<dt><span class="strong">Author:</span></dt>
|
||||
<dd>T. Schaller</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="Gerade.html#Gerade(Punkt, Punkt)">Gerade</a></strong>(<a href="Punkt.html" title="class in <Unnamed>">Punkt</a> p1,
|
||||
<a href="Punkt.html" title="class in <Unnamed>">Punkt</a> p2)</code>
|
||||
<div class="block">Erzeugt eine Gerade aus zwei Punkten.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="Vektor.html" title="class in <Unnamed>">Vektor</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="Gerade.html#getRichtungsvektor()">getRichtungsvektor</a></strong>()</code>
|
||||
<div class="block">Liefert den Richtungsvektor der Gerade</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="Punkt.html" title="class in <Unnamed>">Punkt</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="Gerade.html#getSchnittpunktXYEbene()">getSchnittpunktXYEbene</a></strong>()</code>
|
||||
<div class="block">Liefert den Schnittpunkt der Gerade mit der XY-Ebene (d.h. z-Koordinate = 0)
|
||||
Die Gerade, die bei der Berechnung vorkommen können nicht in der XY-Ebene liegen, da
|
||||
der Augenpunkt immer ein Punkt der Gerade ist und außerhalb der Ebene liegt.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="Punkt.html" title="class in <Unnamed>">Punkt</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="Gerade.html#getStuetzpunkt()">getStuetzpunkt</a></strong>()</code>
|
||||
<div class="block">Liefert den Stützpunkt der Gerade</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Gerade(Punkt, Punkt)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Gerade</h4>
|
||||
<pre>public Gerade(<a href="Punkt.html" title="class in <Unnamed>">Punkt</a> p1,
|
||||
<a href="Punkt.html" title="class in <Unnamed>">Punkt</a> p2)</pre>
|
||||
<div class="block">Erzeugt eine Gerade aus zwei Punkten. Punkt1 wird als Stützpunkt, der Vektor von P1 nach P2 als Richtungsvektor benutzt.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>p1</code> - 1. Punkt der Gerade</dd><dd><code>p2</code> - 2. Punkt der Gerade</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getRichtungsvektor()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getRichtungsvektor</h4>
|
||||
<pre>public <a href="Vektor.html" title="class in <Unnamed>">Vektor</a> getRichtungsvektor()</pre>
|
||||
<div class="block">Liefert den Richtungsvektor der Gerade</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Richtungsvektor</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getStuetzpunkt()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getStuetzpunkt</h4>
|
||||
<pre>public <a href="Punkt.html" title="class in <Unnamed>">Punkt</a> getStuetzpunkt()</pre>
|
||||
<div class="block">Liefert den Stützpunkt der Gerade</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Stützpunkt</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getSchnittpunktXYEbene()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getSchnittpunktXYEbene</h4>
|
||||
<pre>public <a href="Punkt.html" title="class in <Unnamed>">Punkt</a> getSchnittpunktXYEbene()</pre>
|
||||
<div class="block">Liefert den Schnittpunkt der Gerade mit der XY-Ebene (d.h. z-Koordinate = 0)
|
||||
Die Gerade, die bei der Berechnung vorkommen können nicht in der XY-Ebene liegen, da
|
||||
der Augenpunkt immer ein Punkt der Gerade ist und außerhalb der Ebene liegt.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Schnittpunkt mit der XY-Ebene, falls es diesen gibt; sonst null</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="DrawIt3DGUI.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="Punkt.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Gerade.html" target="_top">Frames</a></li>
|
||||
<li><a href="Gerade.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 16 KiB |
|
|
@ -0,0 +1,280 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title>Punkt</title>
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Punkt";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Gerade.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="Strecke.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Punkt.html" target="_top">Frames</a></li>
|
||||
<li><a href="Punkt.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<h2 title="Class Punkt" class="title">Class Punkt</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>Punkt</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Punkt</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Speichert die Informationen über eine Punkt im Raum.
|
||||
Die Information über die Lage des Punktes werden mit Hilfe eines Ortsvektors
|
||||
gespeichert.</div>
|
||||
<dl><dt><span class="strong">Version:</span></dt>
|
||||
<dd>1.0 vom 11.4.2011</dd>
|
||||
<dt><span class="strong">Author:</span></dt>
|
||||
<dd>T. Schaller</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<td class="colLast"><code><strong><a href="Punkt.html#getX()">getX</a></strong>()</code>
|
||||
<div class="block">liefert die x-Koordinate des Ortsvektors des Punktes</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<td class="colLast"><code><strong><a href="Punkt.html#getY()">getY</a></strong>()</code>
|
||||
<div class="block">liefert die y-Koordinate des Ortsvektors des Punktes</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<td class="colLast"><code><strong><a href="Punkt.html#getZ()">getZ</a></strong>()</code>
|
||||
<div class="block">liefert die z-Koordinate des Ortsvektors des Punktes</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Punkt.html#verschiebe(Vektor)">verschiebe</a></strong>(<a href="Vektor.html" title="class in <Unnamed>">Vektor</a> v)</code>
|
||||
<div class="block">Verschiebt den Punkt um einen Vektor v.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getX()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getX</h4>
|
||||
<pre>public double getX()</pre>
|
||||
<div class="block">liefert die x-Koordinate des Ortsvektors des Punktes</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>x-Koordinate</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getY()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getY</h4>
|
||||
<pre>public double getY()</pre>
|
||||
<div class="block">liefert die y-Koordinate des Ortsvektors des Punktes</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>y-Koordinate</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getZ()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getZ</h4>
|
||||
<pre>public double getZ()</pre>
|
||||
<div class="block">liefert die z-Koordinate des Ortsvektors des Punktes</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>z-Koordinate</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="verschiebe(Vektor)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>verschiebe</h4>
|
||||
<pre>public void verschiebe(<a href="Vektor.html" title="class in <Unnamed>">Vektor</a> v)</pre>
|
||||
<div class="block">Verschiebt den Punkt um einen Vektor v. Dazu werden die Koordinaten
|
||||
des Ortsvektors zu den Koordinaten des Schiebevektors addiert.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Verschiebevektor</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Gerade.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="Strecke.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Punkt.html" target="_top">Frames</a></li>
|
||||
<li><a href="Punkt.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
user:Benutzer[a]
|
||||
board1:Board3D
|
||||
/p1:Punkt
|
||||
/o1:Vektor
|
||||
/p2:Punkt
|
||||
/o2:Vektor
|
||||
/s:Strecke
|
||||
|
||||
|
||||
user:p1.new(10,20,5)
|
||||
p1:o1.new(10,20,5)
|
||||
user:p2.new(20,-4,12)
|
||||
p2:o2.new(20,-4,12)
|
||||
user:s.new(p1,p2)
|
||||
user:board1.addStrecke(s)
|
||||
|
After Width: | Height: | Size: 18 KiB |
|
|
@ -0,0 +1,54 @@
|
|||
user:Benutzer[a]
|
||||
board1:Board3D
|
||||
viewpoint:Punkt
|
||||
ortsvektor:Vektor
|
||||
s:Strecke
|
||||
p1:Punkt
|
||||
o1:Vektor
|
||||
p2:Punkt
|
||||
o2:Vektor
|
||||
/g1:Gerade
|
||||
/richtungsvektor1:Vektor
|
||||
/g2:Gerade
|
||||
/richtungsvektor2:Vektor
|
||||
/sp1:Punkt
|
||||
/o3:Vektor
|
||||
/sp2:Punkt
|
||||
/o4:Vektor
|
||||
|
||||
[c: für jede Strecke der Szene]
|
||||
user:board1.paint(g)
|
||||
board1:s.draw(g, viewpoint)
|
||||
s:g1.new(viewport,p1)
|
||||
g1:xyz=viewpoint.getXYZ()
|
||||
viewpoint:xyz=ortsvektor.getXYZ()
|
||||
g1:xyz=p1.getXYZ()
|
||||
p1:xyz=o1.getXYZ()
|
||||
g1:richtungsvektor1.new(p1-viewpoint)
|
||||
s:g2.new(viewport,p2)
|
||||
g2:xyz=viewpoint.getXYZ()
|
||||
viewpoint:xyz=ortsvektor.getXYZ()
|
||||
g2:xyz=p2.getXYZ()
|
||||
p2:xzy=o2.getXYZ()
|
||||
g2:richtungsvektor2.new(p2-viewpoint)
|
||||
s:sp1=g1.getSchnittpunktXYEbene()
|
||||
g1:z=richtungsvektor1.getZ()
|
||||
g1:z=viewpoint.getZ()
|
||||
viewpoint:z=ortsvektor.getZ()
|
||||
g1:z=richtungsvektor1.getZ()
|
||||
g1:xyz=viewpoint.getXYZ()
|
||||
viewpoint:xyz=ortsvektor.getXYZ()
|
||||
g1:xyz=richtungsvektor1.getXYZ()
|
||||
g1:sp1.new(x,y,z)
|
||||
s:sp2=g2.getSchnittpunktXYEbene()
|
||||
g2:z=richtungsvektor2.getZ()
|
||||
g2:z=viewpoint.getZ()
|
||||
viewpoint:z=ortsvektor.getZ()
|
||||
g2:z=richtungsvektor2.getZ()
|
||||
g2:xyz=viewpoint.getXYZ()
|
||||
viewpoint:xyz=ortsvektor.getXYZ()
|
||||
g2:xyz=richtungsvektor2.getXYZ()
|
||||
g2:sp2.new(x,y,z)
|
||||
[/c]
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 87 KiB |
|
|
@ -0,0 +1,283 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title>Strecke</title>
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Strecke";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Punkt.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="Vektor.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Strecke.html" target="_top">Frames</a></li>
|
||||
<li><a href="Strecke.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<h2 title="Class Strecke" class="title">Class Strecke</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>Strecke</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Strecke</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Speichert die notwendigen Informationen (Start- und Endpunkt) zu einer
|
||||
Strecke.</div>
|
||||
<dl><dt><span class="strong">Version:</span></dt>
|
||||
<dd>1.0 vom 10.04.2011</dd>
|
||||
<dt><span class="strong">Author:</span></dt>
|
||||
<dd>T. Schaller</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="Strecke.html#Strecke(Punkt, Punkt)">Strecke</a></strong>(<a href="Punkt.html" title="class in <Unnamed>">Punkt</a> point1,
|
||||
<a href="Punkt.html" title="class in <Unnamed>">Punkt</a> point2)</code>
|
||||
<div class="block">Erzeugt eine neue Strecken</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Strecke.html#draw(java.awt.Graphics, Punkt)">draw</a></strong>(java.awt.Graphics g,
|
||||
<a href="Punkt.html" title="class in <Unnamed>">Punkt</a> viewpoint)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="Punkt.html" title="class in <Unnamed>">Punkt</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="Strecke.html#getPunkt(int)">getPunkt</a></strong>(int i)</code>
|
||||
<div class="block">Liefert Start- oder Endpunkt der Strecke</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Strecke(Punkt, Punkt)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Strecke</h4>
|
||||
<pre>public Strecke(<a href="Punkt.html" title="class in <Unnamed>">Punkt</a> point1,
|
||||
<a href="Punkt.html" title="class in <Unnamed>">Punkt</a> point2)</pre>
|
||||
<div class="block">Erzeugt eine neue Strecken</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>p0</code> - Startpunkt</dd><dd><code>p1</code> - Endpunkt</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getPunkt(int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getPunkt</h4>
|
||||
<pre>public <a href="Punkt.html" title="class in <Unnamed>">Punkt</a> getPunkt(int i)</pre>
|
||||
<div class="block">Liefert Start- oder Endpunkt der Strecke</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - (1=Startpunkt, 2 = Endpunkt)</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>Referenz auf den Punkt</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="draw(java.awt.Graphics, Punkt)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>draw</h4>
|
||||
<pre>public void draw(java.awt.Graphics g,
|
||||
<a href="Punkt.html" title="class in <Unnamed>">Punkt</a> viewpoint)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Punkt.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="Vektor.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Strecke.html" target="_top">Frames</a></li>
|
||||
<li><a href="Strecke.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,371 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title>Vektor</title>
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Vektor";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Strecke.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Vektor.html" target="_top">Frames</a></li>
|
||||
<li><a href="Vektor.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<h2 title="Class Vektor" class="title">Class Vektor</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>Vektor</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Vektor</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Speichert die Information über einen Vektor im dreidimensionalen Raum.</div>
|
||||
<dl><dt><span class="strong">Version:</span></dt>
|
||||
<dd>1.0 vom 10.04.2011</dd>
|
||||
<dt><span class="strong">Author:</span></dt>
|
||||
<dd>T. Schaller</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="Vektor.html#Vektor(double, double, double)">Vektor</a></strong>(double x,
|
||||
double y,
|
||||
double z)</code>
|
||||
<div class="block">Erzeugt einen neuen Vektor mit den angegebenen Koordinaten</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Vektor.html#add(Vektor)">add</a></strong>(<a href="Vektor.html" title="class in <Unnamed>">Vektor</a> v)</code>
|
||||
<div class="block">Addiert den übergebenen Vektor.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<td class="colLast"><code><strong><a href="Vektor.html#getX()">getX</a></strong>()</code>
|
||||
<div class="block">Liefert die x-Koordinate des Vektors</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<td class="colLast"><code><strong><a href="Vektor.html#getY()">getY</a></strong>()</code>
|
||||
<div class="block">Liefert die y-Koordinate des Vektors</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<td class="colLast"><code><strong><a href="Vektor.html#getZ()">getZ</a></strong>()</code>
|
||||
<div class="block">Liefert die z-Koordinate des Vektors</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Vektor.html#setX(double)">setX</a></strong>(double x)</code>
|
||||
<div class="block">Setzt die x-Koordinate des Vektors</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Vektor.html#setY(double)">setY</a></strong>(double y)</code>
|
||||
<div class="block">Setzt die y-Koordinate des Vektors</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Vektor.html#setZ(double)">setZ</a></strong>(double z)</code>
|
||||
<div class="block">Setzt die z-Koordinate des Vektors</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Vektor(double, double, double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Vektor</h4>
|
||||
<pre>public Vektor(double x,
|
||||
double y,
|
||||
double z)</pre>
|
||||
<div class="block">Erzeugt einen neuen Vektor mit den angegebenen Koordinaten</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - x-Koordinate</dd><dd><code>y</code> - y-Koordinate</dd><dd><code>z</code> - z-Koordinate</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="add(Vektor)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>add</h4>
|
||||
<pre>public void add(<a href="Vektor.html" title="class in <Unnamed>">Vektor</a> v)</pre>
|
||||
<div class="block">Addiert den übergebenen Vektor. Dazu werden die Koordinaten
|
||||
der beiden Vektoren addiert.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Vektor, der addiert werden soll.</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getX()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getX</h4>
|
||||
<pre>public double getX()</pre>
|
||||
<div class="block">Liefert die x-Koordinate des Vektors</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>x-Koordinate</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setX(double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setX</h4>
|
||||
<pre>public void setX(double x)</pre>
|
||||
<div class="block">Setzt die x-Koordinate des Vektors</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x-Koordinate</code> - </dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getY()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getY</h4>
|
||||
<pre>public double getY()</pre>
|
||||
<div class="block">Liefert die y-Koordinate des Vektors</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>y-Koordinate</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setY(double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setY</h4>
|
||||
<pre>public void setY(double y)</pre>
|
||||
<div class="block">Setzt die y-Koordinate des Vektors</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>y-Koordinate</code> - </dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getZ()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getZ</h4>
|
||||
<pre>public double getZ()</pre>
|
||||
<div class="block">Liefert die z-Koordinate des Vektors</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>z-Koordinate</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setZ(double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>setZ</h4>
|
||||
<pre>public void setZ(double z)</pre>
|
||||
<div class="block">Setzt die z-Koordinate des Vektors</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>z</code> - z-Koordinate</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Strecke.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Vektor.html" target="_top">Frames</a></li>
|
||||
<li><a href="Vektor.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title>All Classes</title>
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="DrawIt3DGUI.html" title="class in <Unnamed>" target="classFrame">DrawIt3DGUI</a></li>
|
||||
<li><a href="Gerade.html" title="class in <Unnamed>" target="classFrame">Gerade</a></li>
|
||||
<li><a href="Punkt.html" title="class in <Unnamed>" target="classFrame">Punkt</a></li>
|
||||
<li><a href="Strecke.html" title="class in <Unnamed>" target="classFrame">Strecke</a></li>
|
||||
<li><a href="Vektor.html" title="class in <Unnamed>" target="classFrame">Vektor</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title>All Classes</title>
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="DrawIt3DGUI.html" title="class in <Unnamed>">DrawIt3DGUI</a></li>
|
||||
<li><a href="Gerade.html" title="class in <Unnamed>">Gerade</a></li>
|
||||
<li><a href="Punkt.html" title="class in <Unnamed>">Punkt</a></li>
|
||||
<li><a href="Strecke.html" title="class in <Unnamed>">Strecke</a></li>
|
||||
<li><a href="Vektor.html" title="class in <Unnamed>">Vektor</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title>Constant Field Values</title>
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Constant Field Values";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
|
||||
<li><a href="constant-values.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
|
||||
<h2 title="Contents">Contents</h2>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
|
||||
<li><a href="constant-values.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title>Deprecated List</title>
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Deprecated List";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li class="navBarCell1Rev">Deprecated</li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
|
||||
<li><a href="deprecated-list.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Deprecated API" class="title">Deprecated API</h1>
|
||||
<h2 title="Contents">Contents</h2>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li class="navBarCell1Rev">Deprecated</li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
|
||||
<li><a href="deprecated-list.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,208 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title>API Help</title>
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="API Help";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
|
||||
<li><a href="help-doc.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">How This API Document Is Organized</h1>
|
||||
<div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h2>Package</h2>
|
||||
<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:</p>
|
||||
<ul>
|
||||
<li>Interfaces (italic)</li>
|
||||
<li>Classes</li>
|
||||
<li>Enums</li>
|
||||
<li>Exceptions</li>
|
||||
<li>Errors</li>
|
||||
<li>Annotation Types</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Class/Interface</h2>
|
||||
<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p>
|
||||
<ul>
|
||||
<li>Class inheritance diagram</li>
|
||||
<li>Direct Subclasses</li>
|
||||
<li>All Known Subinterfaces</li>
|
||||
<li>All Known Implementing Classes</li>
|
||||
<li>Class/interface declaration</li>
|
||||
<li>Class/interface description</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Nested Class Summary</li>
|
||||
<li>Field Summary</li>
|
||||
<li>Constructor Summary</li>
|
||||
<li>Method Summary</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Field Detail</li>
|
||||
<li>Constructor Detail</li>
|
||||
<li>Method Detail</li>
|
||||
</ul>
|
||||
<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Annotation Type</h2>
|
||||
<p>Each annotation type has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Annotation Type declaration</li>
|
||||
<li>Annotation Type description</li>
|
||||
<li>Required Element Summary</li>
|
||||
<li>Optional Element Summary</li>
|
||||
<li>Element Detail</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Enum</h2>
|
||||
<p>Each enum has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Enum declaration</li>
|
||||
<li>Enum description</li>
|
||||
<li>Enum Constant Summary</li>
|
||||
<li>Enum Constant Detail</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Tree (Class Hierarchy)</h2>
|
||||
<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.</p>
|
||||
<ul>
|
||||
<li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li>
|
||||
<li>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Deprecated API</h2>
|
||||
<p>The <a href="deprecated-list.html">Deprecated API</a> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Index</h2>
|
||||
<p>The <a href="index-all.html">Index</a> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Prev/Next</h2>
|
||||
<p>These links take you to the next or previous class, interface, package, or related page.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Frames/No Frames</h2>
|
||||
<p>These links show and hide the HTML frames. All pages are available with or without frames.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>All Classes</h2>
|
||||
<p>The <a href="allclasses-noframe.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Serialized Form</h2>
|
||||
<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Constant Field Values</h2>
|
||||
<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<em>This help file applies to API documentation generated using the standard doclet.</em></div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
|
||||
<li><a href="help-doc.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,251 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title>Index</title>
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="./stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Index";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="./package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="./overview-tree.html">Tree</a></li>
|
||||
<li><a href="./deprecated-list.html">Deprecated</a></li>
|
||||
<li class="navBarCell1Rev">Index</li>
|
||||
<li><a href="./help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="./index.html?index-all.html" target="_top">Frames</a></li>
|
||||
<li><a href="index-all.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="./allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="contentContainer"><a href="#_A_">A</a> <a href="#_D_">D</a> <a href="#_G_">G</a> <a href="#_M_">M</a> <a href="#_P_">P</a> <a href="#_S_">S</a> <a href="#_V_">V</a> <a name="_A_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">A</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Vektor.html#add(Vektor)">add(Vektor)</a></span> - Method in class <a href="./Vektor.html" title="class in <Unnamed>">Vektor</a></dt>
|
||||
<dd>
|
||||
<div class="block">Addiert den übergebenen Vektor.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_D_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">D</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Strecke.html#draw(java.awt.Graphics, Punkt)">draw(Graphics, Punkt)</a></span> - Method in class <a href="./Strecke.html" title="class in <Unnamed>">Strecke</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="./DrawIt3DGUI.html" title="class in <Unnamed>"><span class="strong">DrawIt3DGUI</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||||
<dd>
|
||||
<div class="block">GUI zum Zeichnen einer 3D-Szene</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./DrawIt3DGUI.html#DrawIt3DGUI(java.lang.String)">DrawIt3DGUI(String)</a></span> - Constructor for class <a href="./DrawIt3DGUI.html" title="class in <Unnamed>">DrawIt3DGUI</a></dt>
|
||||
<dd> </dd>
|
||||
</dl>
|
||||
<a name="_G_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">G</h2>
|
||||
<dl>
|
||||
<dt><a href="./Gerade.html" title="class in <Unnamed>"><span class="strong">Gerade</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||||
<dd>
|
||||
<div class="block">Speichert die Informationen über eine Gerade im Raum.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Gerade.html#Gerade(Punkt, Punkt)">Gerade(Punkt, Punkt)</a></span> - Constructor for class <a href="./Gerade.html" title="class in <Unnamed>">Gerade</a></dt>
|
||||
<dd>
|
||||
<div class="block">Erzeugt eine Gerade aus zwei Punkten.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Strecke.html#getPunkt(int)">getPunkt(int)</a></span> - Method in class <a href="./Strecke.html" title="class in <Unnamed>">Strecke</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert Start- oder Endpunkt der Strecke</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Gerade.html#getRichtungsvektor()">getRichtungsvektor()</a></span> - Method in class <a href="./Gerade.html" title="class in <Unnamed>">Gerade</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert den Richtungsvektor der Gerade</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Gerade.html#getSchnittpunktXYEbene()">getSchnittpunktXYEbene()</a></span> - Method in class <a href="./Gerade.html" title="class in <Unnamed>">Gerade</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert den Schnittpunkt der Gerade mit der XY-Ebene (d.h. z-Koordinate = 0)
|
||||
Die Gerade, die bei der Berechnung vorkommen können nicht in der XY-Ebene liegen, da
|
||||
der Augenpunkt immer ein Punkt der Gerade ist und außerhalb der Ebene liegt.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Gerade.html#getStuetzpunkt()">getStuetzpunkt()</a></span> - Method in class <a href="./Gerade.html" title="class in <Unnamed>">Gerade</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert den Stützpunkt der Gerade</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Punkt.html#getX()">getX()</a></span> - Method in class <a href="./Punkt.html" title="class in <Unnamed>">Punkt</a></dt>
|
||||
<dd>
|
||||
<div class="block">liefert die x-Koordinate des Ortsvektors des Punktes</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Vektor.html#getX()">getX()</a></span> - Method in class <a href="./Vektor.html" title="class in <Unnamed>">Vektor</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert die x-Koordinate des Vektors</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Punkt.html#getY()">getY()</a></span> - Method in class <a href="./Punkt.html" title="class in <Unnamed>">Punkt</a></dt>
|
||||
<dd>
|
||||
<div class="block">liefert die y-Koordinate des Ortsvektors des Punktes</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Vektor.html#getY()">getY()</a></span> - Method in class <a href="./Vektor.html" title="class in <Unnamed>">Vektor</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert die y-Koordinate des Vektors</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Punkt.html#getZ()">getZ()</a></span> - Method in class <a href="./Punkt.html" title="class in <Unnamed>">Punkt</a></dt>
|
||||
<dd>
|
||||
<div class="block">liefert die z-Koordinate des Ortsvektors des Punktes</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Vektor.html#getZ()">getZ()</a></span> - Method in class <a href="./Vektor.html" title="class in <Unnamed>">Vektor</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert die z-Koordinate des Vektors</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_M_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">M</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./DrawIt3DGUI.html#main(java.lang.String[])">main(String[])</a></span> - Static method in class <a href="./DrawIt3DGUI.html" title="class in <Unnamed>">DrawIt3DGUI</a></dt>
|
||||
<dd> </dd>
|
||||
</dl>
|
||||
<a name="_P_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">P</h2>
|
||||
<dl>
|
||||
<dt><a href="./Punkt.html" title="class in <Unnamed>"><span class="strong">Punkt</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||||
<dd>
|
||||
<div class="block">Speichert die Informationen über eine Punkt im Raum.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_S_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">S</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Vektor.html#setX(double)">setX(double)</a></span> - Method in class <a href="./Vektor.html" title="class in <Unnamed>">Vektor</a></dt>
|
||||
<dd>
|
||||
<div class="block">Setzt die x-Koordinate des Vektors</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Vektor.html#setY(double)">setY(double)</a></span> - Method in class <a href="./Vektor.html" title="class in <Unnamed>">Vektor</a></dt>
|
||||
<dd>
|
||||
<div class="block">Setzt die y-Koordinate des Vektors</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Vektor.html#setZ(double)">setZ(double)</a></span> - Method in class <a href="./Vektor.html" title="class in <Unnamed>">Vektor</a></dt>
|
||||
<dd>
|
||||
<div class="block">Setzt die z-Koordinate des Vektors</div>
|
||||
</dd>
|
||||
<dt><a href="./Strecke.html" title="class in <Unnamed>"><span class="strong">Strecke</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||||
<dd>
|
||||
<div class="block">Speichert die notwendigen Informationen (Start- und Endpunkt) zu einer
|
||||
Strecke.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Strecke.html#Strecke(Punkt, Punkt)">Strecke(Punkt, Punkt)</a></span> - Constructor for class <a href="./Strecke.html" title="class in <Unnamed>">Strecke</a></dt>
|
||||
<dd>
|
||||
<div class="block">Erzeugt eine neue Strecken</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_V_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">V</h2>
|
||||
<dl>
|
||||
<dt><a href="./Vektor.html" title="class in <Unnamed>"><span class="strong">Vektor</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||||
<dd>
|
||||
<div class="block">Speichert die Information über einen Vektor im dreidimensionalen Raum.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Vektor.html#Vektor(double, double, double)">Vektor(double, double, double)</a></span> - Constructor for class <a href="./Vektor.html" title="class in <Unnamed>">Vektor</a></dt>
|
||||
<dd>
|
||||
<div class="block">Erzeugt einen neuen Vektor mit den angegebenen Koordinaten</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Punkt.html#verschiebe(Vektor)">verschiebe(Vektor)</a></span> - Method in class <a href="./Punkt.html" title="class in <Unnamed>">Punkt</a></dt>
|
||||
<dd>
|
||||
<div class="block">Verschiebt den Punkt um einen Vektor v.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a href="#_A_">A</a> <a href="#_D_">D</a> <a href="#_G_">G</a> <a href="#_M_">M</a> <a href="#_P_">P</a> <a href="#_S_">S</a> <a href="#_V_">V</a> </div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="./package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="./overview-tree.html">Tree</a></li>
|
||||
<li><a href="./deprecated-list.html">Deprecated</a></li>
|
||||
<li class="navBarCell1Rev">Index</li>
|
||||
<li><a href="./help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="./index.html?index-all.html" target="_top">Frames</a></li>
|
||||
<li><a href="index-all.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="./allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title>Generated Documentation (Untitled)</title>
|
||||
<script type="text/javascript">
|
||||
targetPage = "" + window.location.search;
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
targetPage = targetPage.substring(1);
|
||||
if (targetPage.indexOf(":") != -1)
|
||||
targetPage = "undefined";
|
||||
function loadFrames() {
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
top.classFrame.location = top.targetPage;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
|
||||
<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
|
||||
<frame src="DrawIt3DGUI.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
|
||||
<noframes>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<h2>Frame Alert</h2>
|
||||
<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="DrawIt3DGUI.html">Non-frame version</a>.</p>
|
||||
</noframes>
|
||||
</frameset>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,144 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title>Class Hierarchy</title>
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Class Hierarchy";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="overview-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For All Packages</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">java.awt.Container
|
||||
<ul>
|
||||
<li type="circle">java.awt.Window (implements javax.accessibility.Accessible)
|
||||
<ul>
|
||||
<li type="circle">java.awt.Frame (implements java.awt.MenuContainer)
|
||||
<ul>
|
||||
<li type="circle">javax.swing.JFrame (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants)
|
||||
<ul>
|
||||
<li type="circle"><a href="DrawIt3DGUI.html" title="class in <Unnamed>"><span class="strong">DrawIt3DGUI</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li type="circle"><a href="Gerade.html" title="class in <Unnamed>"><span class="strong">Gerade</span></a></li>
|
||||
<li type="circle"><a href="Punkt.html" title="class in <Unnamed>"><span class="strong">Punkt</span></a></li>
|
||||
<li type="circle"><a href="Strecke.html" title="class in <Unnamed>"><span class="strong">Strecke</span></a></li>
|
||||
<li type="circle"><a href="Vektor.html" title="class in <Unnamed>"><span class="strong">Vektor</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="overview-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title>&lt;Unnamed&gt;</title>
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar"><a href="package-summary.html" target="classFrame"><Unnamed></a></h1>
|
||||
<div class="indexContainer">
|
||||
<h2 title="Classes">Classes</h2>
|
||||
<ul title="Classes">
|
||||
<li><a href="DrawIt3DGUI.html" title="class in <Unnamed>" target="classFrame">DrawIt3DGUI</a></li>
|
||||
<li><a href="Gerade.html" title="class in <Unnamed>" target="classFrame">Gerade</a></li>
|
||||
<li><a href="Punkt.html" title="class in <Unnamed>" target="classFrame">Punkt</a></li>
|
||||
<li><a href="Strecke.html" title="class in <Unnamed>" target="classFrame">Strecke</a></li>
|
||||
<li><a href="Vektor.html" title="class in <Unnamed>" target="classFrame">Vektor</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1 @@
|
|||
|
||||
|
|
@ -0,0 +1,149 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Package</li>
|
||||
<li>Next Package</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Package" class="title">Package <Unnamed></h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
|
||||
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Class</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="DrawIt3DGUI.html" title="class in <Unnamed>">DrawIt3DGUI</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">GUI zum Zeichnen einer 3D-Szene</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="Gerade.html" title="class in <Unnamed>">Gerade</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Speichert die Informationen über eine Gerade im Raum.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="Punkt.html" title="class in <Unnamed>">Punkt</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Speichert die Informationen über eine Punkt im Raum.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="Strecke.html" title="class in <Unnamed>">Strecke</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Speichert die notwendigen Informationen (Start- und Endpunkt) zu einer
|
||||
Strecke.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="Vektor.html" title="class in <Unnamed>">Vektor</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Speichert die Information über einen Vektor im dreidimensionalen Raum.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Package</li>
|
||||
<li>Next Package</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,144 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title> Class Hierarchy</title>
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title=" Class Hierarchy";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For Package <Unnamed></h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">java.awt.Container
|
||||
<ul>
|
||||
<li type="circle">java.awt.Window (implements javax.accessibility.Accessible)
|
||||
<ul>
|
||||
<li type="circle">java.awt.Frame (implements java.awt.MenuContainer)
|
||||
<ul>
|
||||
<li type="circle">javax.swing.JFrame (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants)
|
||||
<ul>
|
||||
<li type="circle"><a href="DrawIt3DGUI.html" title="class in <Unnamed>"><span class="strong">DrawIt3DGUI</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li type="circle"><a href="Gerade.html" title="class in <Unnamed>"><span class="strong">Gerade</span></a></li>
|
||||
<li type="circle"><a href="Punkt.html" title="class in <Unnamed>"><span class="strong">Punkt</span></a></li>
|
||||
<li type="circle"><a href="Strecke.html" title="class in <Unnamed>"><span class="strong">Strecke</span></a></li>
|
||||
<li type="circle"><a href="Vektor.html" title="class in <Unnamed>"><span class="strong">Vektor</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 291 B |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 849 B |
|
|
@ -0,0 +1,147 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Mon Jan 07 09:55:49 CET 2013 -->
|
||||
<title>Serialized Form</title>
|
||||
<meta name="date" content="2013-01-07">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Serialized Form";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li>
|
||||
<li><a href="serialized-form.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Serialized Form" class="title">Serialized Form</h1>
|
||||
</div>
|
||||
<div class="serializedFormContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h2 title="Package">Package &lt;Unnamed&gt;</h2>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="DrawIt3DGUI">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class <a href="DrawIt3DGUI.html" title="class in <Unnamed>">DrawIt3DGUI</a> extends javax.swing.JFrame implements Serializable</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="serializedForm">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Serialized Fields</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockListLast">
|
||||
<h4>board1</h4>
|
||||
<pre>Board3D board1</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList"><a name="JNumberField">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class JNumberField extends javax.swing.JTextField implements Serializable</h3>
|
||||
</li>
|
||||
<li class="blockList"><a name="NumberField">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class NumberField extends java.awt.TextField implements Serializable</h3>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li>
|
||||
<li><a href="serialized-form.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,474 @@
|
|||
/* Javadoc style sheet */
|
||||
/*
|
||||
Overall document style
|
||||
*/
|
||||
body {
|
||||
background-color:#ffffff;
|
||||
color:#353833;
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
font-size:76%;
|
||||
margin:0;
|
||||
}
|
||||
a:link, a:visited {
|
||||
text-decoration:none;
|
||||
color:#4c6b87;
|
||||
}
|
||||
a:hover, a:focus {
|
||||
text-decoration:none;
|
||||
color:#bb7a2a;
|
||||
}
|
||||
a:active {
|
||||
text-decoration:none;
|
||||
color:#4c6b87;
|
||||
}
|
||||
a[name] {
|
||||
color:#353833;
|
||||
}
|
||||
a[name]:hover {
|
||||
text-decoration:none;
|
||||
color:#353833;
|
||||
}
|
||||
pre {
|
||||
font-size:1.3em;
|
||||
}
|
||||
h1 {
|
||||
font-size:1.8em;
|
||||
}
|
||||
h2 {
|
||||
font-size:1.5em;
|
||||
}
|
||||
h3 {
|
||||
font-size:1.4em;
|
||||
}
|
||||
h4 {
|
||||
font-size:1.3em;
|
||||
}
|
||||
h5 {
|
||||
font-size:1.2em;
|
||||
}
|
||||
h6 {
|
||||
font-size:1.1em;
|
||||
}
|
||||
ul {
|
||||
list-style-type:disc;
|
||||
}
|
||||
code, tt {
|
||||
font-size:1.2em;
|
||||
}
|
||||
dt code {
|
||||
font-size:1.2em;
|
||||
}
|
||||
table tr td dt code {
|
||||
font-size:1.2em;
|
||||
vertical-align:top;
|
||||
}
|
||||
sup {
|
||||
font-size:.6em;
|
||||
}
|
||||
/*
|
||||
Document title and Copyright styles
|
||||
*/
|
||||
.clear {
|
||||
clear:both;
|
||||
height:0px;
|
||||
overflow:hidden;
|
||||
}
|
||||
.aboutLanguage {
|
||||
float:right;
|
||||
padding:0px 21px;
|
||||
font-size:.8em;
|
||||
z-index:200;
|
||||
margin-top:-7px;
|
||||
}
|
||||
.legalCopy {
|
||||
margin-left:.5em;
|
||||
}
|
||||
.bar a, .bar a:link, .bar a:visited, .bar a:active {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
}
|
||||
.bar a:hover, .bar a:focus {
|
||||
color:#bb7a2a;
|
||||
}
|
||||
.tab {
|
||||
background-color:#0066FF;
|
||||
background-image:url(resources/titlebar.gif);
|
||||
background-position:left top;
|
||||
background-repeat:no-repeat;
|
||||
color:#ffffff;
|
||||
padding:8px;
|
||||
width:5em;
|
||||
font-weight:bold;
|
||||
}
|
||||
/*
|
||||
Navigation bar styles
|
||||
*/
|
||||
.bar {
|
||||
background-image:url(resources/background.gif);
|
||||
background-repeat:repeat-x;
|
||||
color:#FFFFFF;
|
||||
padding:.8em .5em .4em .8em;
|
||||
height:auto;/*height:1.8em;*/
|
||||
font-size:1em;
|
||||
margin:0;
|
||||
}
|
||||
.topNav {
|
||||
background-image:url(resources/background.gif);
|
||||
background-repeat:repeat-x;
|
||||
color:#FFFFFF;
|
||||
float:left;
|
||||
padding:0;
|
||||
width:100%;
|
||||
clear:right;
|
||||
height:2.8em;
|
||||
padding-top:10px;
|
||||
overflow:hidden;
|
||||
}
|
||||
.bottomNav {
|
||||
margin-top:10px;
|
||||
background-image:url(resources/background.gif);
|
||||
background-repeat:repeat-x;
|
||||
color:#FFFFFF;
|
||||
float:left;
|
||||
padding:0;
|
||||
width:100%;
|
||||
clear:right;
|
||||
height:2.8em;
|
||||
padding-top:10px;
|
||||
overflow:hidden;
|
||||
}
|
||||
.subNav {
|
||||
background-color:#dee3e9;
|
||||
border-bottom:1px solid #9eadc0;
|
||||
float:left;
|
||||
width:100%;
|
||||
overflow:hidden;
|
||||
}
|
||||
.subNav div {
|
||||
clear:left;
|
||||
float:left;
|
||||
padding:0 0 5px 6px;
|
||||
}
|
||||
ul.navList, ul.subNavList {
|
||||
float:left;
|
||||
margin:0 25px 0 0;
|
||||
padding:0;
|
||||
}
|
||||
ul.navList li{
|
||||
list-style:none;
|
||||
float:left;
|
||||
padding:3px 6px;
|
||||
}
|
||||
ul.subNavList li{
|
||||
list-style:none;
|
||||
float:left;
|
||||
font-size:90%;
|
||||
}
|
||||
.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
}
|
||||
.topNav a:hover, .bottomNav a:hover {
|
||||
text-decoration:none;
|
||||
color:#bb7a2a;
|
||||
}
|
||||
.navBarCell1Rev {
|
||||
background-image:url(resources/tab.gif);
|
||||
background-color:#a88834;
|
||||
color:#FFFFFF;
|
||||
margin: auto 5px;
|
||||
border:1px solid #c9aa44;
|
||||
}
|
||||
/*
|
||||
Page header and footer styles
|
||||
*/
|
||||
.header, .footer {
|
||||
clear:both;
|
||||
margin:0 20px;
|
||||
padding:5px 0 0 0;
|
||||
}
|
||||
.indexHeader {
|
||||
margin:10px;
|
||||
position:relative;
|
||||
}
|
||||
.indexHeader h1 {
|
||||
font-size:1.3em;
|
||||
}
|
||||
.title {
|
||||
color:#2c4557;
|
||||
margin:10px 0;
|
||||
}
|
||||
.subTitle {
|
||||
margin:5px 0 0 0;
|
||||
}
|
||||
.header ul {
|
||||
margin:0 0 25px 0;
|
||||
padding:0;
|
||||
}
|
||||
.footer ul {
|
||||
margin:20px 0 5px 0;
|
||||
}
|
||||
.header ul li, .footer ul li {
|
||||
list-style:none;
|
||||
font-size:1.2em;
|
||||
}
|
||||
/*
|
||||
Heading styles
|
||||
*/
|
||||
div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
|
||||
background-color:#dee3e9;
|
||||
border-top:1px solid #9eadc0;
|
||||
border-bottom:1px solid #9eadc0;
|
||||
margin:0 0 6px -8px;
|
||||
padding:2px 5px;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList li.blockList h3 {
|
||||
background-color:#dee3e9;
|
||||
border-top:1px solid #9eadc0;
|
||||
border-bottom:1px solid #9eadc0;
|
||||
margin:0 0 6px -8px;
|
||||
padding:2px 5px;
|
||||
}
|
||||
ul.blockList ul.blockList li.blockList h3 {
|
||||
padding:0;
|
||||
margin:15px 0;
|
||||
}
|
||||
ul.blockList li.blockList h2 {
|
||||
padding:0px 0 20px 0;
|
||||
}
|
||||
/*
|
||||
Page layout container styles
|
||||
*/
|
||||
.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
|
||||
clear:both;
|
||||
padding:10px 20px;
|
||||
position:relative;
|
||||
}
|
||||
.indexContainer {
|
||||
margin:10px;
|
||||
position:relative;
|
||||
font-size:1.0em;
|
||||
}
|
||||
.indexContainer h2 {
|
||||
font-size:1.1em;
|
||||
padding:0 0 3px 0;
|
||||
}
|
||||
.indexContainer ul {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
.indexContainer ul li {
|
||||
list-style:none;
|
||||
}
|
||||
.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
|
||||
font-size:1.1em;
|
||||
font-weight:bold;
|
||||
margin:10px 0 0 0;
|
||||
color:#4E4E4E;
|
||||
}
|
||||
.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
|
||||
margin:10px 0 10px 20px;
|
||||
}
|
||||
.serializedFormContainer dl.nameValue dt {
|
||||
margin-left:1px;
|
||||
font-size:1.1em;
|
||||
display:inline;
|
||||
font-weight:bold;
|
||||
}
|
||||
.serializedFormContainer dl.nameValue dd {
|
||||
margin:0 0 0 1px;
|
||||
font-size:1.1em;
|
||||
display:inline;
|
||||
}
|
||||
/*
|
||||
List styles
|
||||
*/
|
||||
ul.horizontal li {
|
||||
display:inline;
|
||||
font-size:0.9em;
|
||||
}
|
||||
ul.inheritance {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
ul.inheritance li {
|
||||
display:inline;
|
||||
list-style:none;
|
||||
}
|
||||
ul.inheritance li ul.inheritance {
|
||||
margin-left:15px;
|
||||
padding-left:15px;
|
||||
padding-top:1px;
|
||||
}
|
||||
ul.blockList, ul.blockListLast {
|
||||
margin:10px 0 10px 0;
|
||||
padding:0;
|
||||
}
|
||||
ul.blockList li.blockList, ul.blockListLast li.blockList {
|
||||
list-style:none;
|
||||
margin-bottom:25px;
|
||||
}
|
||||
ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
|
||||
padding:0px 20px 5px 10px;
|
||||
border:1px solid #9eadc0;
|
||||
background-color:#f9f9f9;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
|
||||
padding:0 0 5px 8px;
|
||||
background-color:#ffffff;
|
||||
border:1px solid #9eadc0;
|
||||
border-top:none;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
|
||||
margin-left:0;
|
||||
padding-left:0;
|
||||
padding-bottom:15px;
|
||||
border:none;
|
||||
border-bottom:1px solid #9eadc0;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
|
||||
list-style:none;
|
||||
border-bottom:none;
|
||||
padding-bottom:0;
|
||||
}
|
||||
table tr td dl, table tr td dl dt, table tr td dl dd {
|
||||
margin-top:0;
|
||||
margin-bottom:1px;
|
||||
}
|
||||
/*
|
||||
Table styles
|
||||
*/
|
||||
.contentContainer table, .classUseContainer table, .constantValuesContainer table {
|
||||
border-bottom:1px solid #9eadc0;
|
||||
width:100%;
|
||||
}
|
||||
.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table {
|
||||
width:100%;
|
||||
}
|
||||
.contentContainer .description table, .contentContainer .details table {
|
||||
border-bottom:none;
|
||||
}
|
||||
.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{
|
||||
vertical-align:top;
|
||||
padding-right:20px;
|
||||
}
|
||||
.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast,
|
||||
.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast,
|
||||
.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne,
|
||||
.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne {
|
||||
padding-right:3px;
|
||||
}
|
||||
.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption {
|
||||
position:relative;
|
||||
text-align:left;
|
||||
background-repeat:no-repeat;
|
||||
color:#FFFFFF;
|
||||
font-weight:bold;
|
||||
clear:none;
|
||||
overflow:hidden;
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
}
|
||||
caption a:link, caption a:hover, caption a:active, caption a:visited {
|
||||
color:#FFFFFF;
|
||||
}
|
||||
.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span {
|
||||
white-space:nowrap;
|
||||
padding-top:8px;
|
||||
padding-left:8px;
|
||||
display:block;
|
||||
float:left;
|
||||
background-image:url(resources/titlebar.gif);
|
||||
height:18px;
|
||||
}
|
||||
.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd {
|
||||
width:10px;
|
||||
background-image:url(resources/titlebar_end.gif);
|
||||
background-repeat:no-repeat;
|
||||
background-position:top right;
|
||||
position:relative;
|
||||
float:left;
|
||||
}
|
||||
ul.blockList ul.blockList li.blockList table {
|
||||
margin:0 0 12px 0px;
|
||||
width:100%;
|
||||
}
|
||||
.tableSubHeadingColor {
|
||||
background-color: #EEEEFF;
|
||||
}
|
||||
.altColor {
|
||||
background-color:#eeeeef;
|
||||
}
|
||||
.rowColor {
|
||||
background-color:#ffffff;
|
||||
}
|
||||
.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td {
|
||||
text-align:left;
|
||||
padding:3px 3px 3px 7px;
|
||||
}
|
||||
th.colFirst, th.colLast, th.colOne, .constantValuesContainer th {
|
||||
background:#dee3e9;
|
||||
border-top:1px solid #9eadc0;
|
||||
border-bottom:1px solid #9eadc0;
|
||||
text-align:left;
|
||||
padding:3px 3px 3px 7px;
|
||||
}
|
||||
td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
|
||||
font-weight:bold;
|
||||
}
|
||||
td.colFirst, th.colFirst {
|
||||
border-left:1px solid #9eadc0;
|
||||
white-space:nowrap;
|
||||
}
|
||||
td.colLast, th.colLast {
|
||||
border-right:1px solid #9eadc0;
|
||||
}
|
||||
td.colOne, th.colOne {
|
||||
border-right:1px solid #9eadc0;
|
||||
border-left:1px solid #9eadc0;
|
||||
}
|
||||
table.overviewSummary {
|
||||
padding:0px;
|
||||
margin-left:0px;
|
||||
}
|
||||
table.overviewSummary td.colFirst, table.overviewSummary th.colFirst,
|
||||
table.overviewSummary td.colOne, table.overviewSummary th.colOne {
|
||||
width:25%;
|
||||
vertical-align:middle;
|
||||
}
|
||||
table.packageSummary td.colFirst, table.overviewSummary th.colFirst {
|
||||
width:25%;
|
||||
vertical-align:middle;
|
||||
}
|
||||
/*
|
||||
Content styles
|
||||
*/
|
||||
.description pre {
|
||||
margin-top:0;
|
||||
}
|
||||
.deprecatedContent {
|
||||
margin:0;
|
||||
padding:10px 0;
|
||||
}
|
||||
.docSummary {
|
||||
padding:0;
|
||||
}
|
||||
/*
|
||||
Formatting effect styles
|
||||
*/
|
||||
.sourceLineNo {
|
||||
color:green;
|
||||
padding:0 30px 0 0;
|
||||
}
|
||||
h1.hidden {
|
||||
visibility:hidden;
|
||||
overflow:hidden;
|
||||
font-size:.9em;
|
||||
}
|
||||
.block {
|
||||
display:block;
|
||||
margin:3px 0 0 0;
|
||||
}
|
||||
.strong {
|
||||
font-weight:bold;
|
||||
}
|
||||
111
Software/alg_oo_3d_grafik/01_3D-Grafik_Loes/package.bluej
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
#BlueJ package file
|
||||
dependency1.from=DrawIt3DGUI
|
||||
dependency1.to=Strecke
|
||||
dependency1.type=UsesDependency
|
||||
dependency10.from=Testen
|
||||
dependency10.to=Gerade
|
||||
dependency10.type=UsesDependency
|
||||
dependency2.from=Gerade
|
||||
dependency2.to=Punkt
|
||||
dependency2.type=UsesDependency
|
||||
dependency3.from=Gerade
|
||||
dependency3.to=Vektor
|
||||
dependency3.type=UsesDependency
|
||||
dependency4.from=Board3D
|
||||
dependency4.to=Strecke
|
||||
dependency4.type=UsesDependency
|
||||
dependency5.from=Board3D
|
||||
dependency5.to=Punkt
|
||||
dependency5.type=UsesDependency
|
||||
dependency6.from=Punkt
|
||||
dependency6.to=Vektor
|
||||
dependency6.type=UsesDependency
|
||||
dependency7.from=Testen
|
||||
dependency7.to=Vektor
|
||||
dependency7.type=UsesDependency
|
||||
dependency8.from=Testen
|
||||
dependency8.to=Punkt
|
||||
dependency8.type=UsesDependency
|
||||
dependency9.from=Testen
|
||||
dependency9.to=Strecke
|
||||
dependency9.type=UsesDependency
|
||||
editor.fx.0.height=737
|
||||
editor.fx.0.width=800
|
||||
editor.fx.0.x=420
|
||||
editor.fx.0.y=157
|
||||
objectbench.height=93
|
||||
objectbench.width=820
|
||||
package.divider.horizontal=0.6
|
||||
package.divider.vertical=0.7802197802197802
|
||||
package.editor.height=348
|
||||
package.editor.width=698
|
||||
package.editor.x=62
|
||||
package.editor.y=414
|
||||
package.frame.height=556
|
||||
package.frame.width=844
|
||||
package.numDependencies=10
|
||||
package.numTargets=8
|
||||
package.showExtends=true
|
||||
package.showUses=true
|
||||
project.charset=UTF-8
|
||||
readme.height=60
|
||||
readme.name=@README
|
||||
readme.width=49
|
||||
readme.x=10
|
||||
readme.y=10
|
||||
target1.height=70
|
||||
target1.name=Gerade
|
||||
target1.showInterface=false
|
||||
target1.type=ClassTarget
|
||||
target1.width=120
|
||||
target1.x=300
|
||||
target1.y=130
|
||||
target2.height=70
|
||||
target2.name=Strecke
|
||||
target2.showInterface=false
|
||||
target2.type=ClassTarget
|
||||
target2.width=120
|
||||
target2.x=160
|
||||
target2.y=130
|
||||
target3.height=70
|
||||
target3.name=Board3D
|
||||
target3.showInterface=false
|
||||
target3.type=ClassTarget
|
||||
target3.width=120
|
||||
target3.x=80
|
||||
target3.y=20
|
||||
target4.height=70
|
||||
target4.name=Testen
|
||||
target4.showInterface=false
|
||||
target4.type=ClassTarget
|
||||
target4.width=120
|
||||
target4.x=530
|
||||
target4.y=20
|
||||
target5.height=70
|
||||
target5.name=Vektor
|
||||
target5.showInterface=false
|
||||
target5.type=ClassTarget
|
||||
target5.width=120
|
||||
target5.x=440
|
||||
target5.y=130
|
||||
target6.height=70
|
||||
target6.name=Punkt
|
||||
target6.showInterface=false
|
||||
target6.type=ClassTarget
|
||||
target6.width=120
|
||||
target6.x=10
|
||||
target6.y=130
|
||||
target7.height=70
|
||||
target7.name=Punkt_VarianteVererbung
|
||||
target7.showInterface=false
|
||||
target7.type=ClassTarget
|
||||
target7.width=200
|
||||
target7.x=290
|
||||
target7.y=240
|
||||
target8.height=70
|
||||
target8.name=DrawIt3DGUI
|
||||
target8.showInterface=false
|
||||
target8.type=ClassTarget
|
||||
target8.width=120
|
||||
target8.x=230
|
||||
target8.y=20
|
||||
6
Software/alg_oo_3d_grafik/02_3D-Grafik_Profiversion/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
*.sh
|
||||
*.class
|
||||
*.ctxt
|
||||
repo.adoc
|
||||
repo_subtree.adoc
|
||||
/alt
|
||||
153
Software/alg_oo_3d_grafik/02_3D-Grafik_Profiversion/Board3D.java
Normal file
|
|
@ -0,0 +1,153 @@
|
|||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import java.util.*;
|
||||
import javax.swing.JPanel;
|
||||
|
||||
/** AnzeigePanel fuer eine 3D-Szene. Die Berechnung mit zwei Augenpunkten ermueglicht eine Rot-Cyan-Darstellung
|
||||
* des Bildes, die mit einer entsprechenden Brille einen echten rueumlichen Eindruck vermittelt.
|
||||
* ueber einen MouseLisener wird auueerdem die Drehung des Szene ermueglicht.
|
||||
*/
|
||||
class Board3D extends JPanel implements MouseListener, MouseMotionListener, MouseWheelListener {
|
||||
// Informationen ueber die Szene
|
||||
private ArrayList<Strecke> szene = new ArrayList<Strecke>(); // Szene, die aus einer Liste von Strecken besteht
|
||||
private ArrayList<Strecke> szene_transformiert = new ArrayList<Strecke>(); // Szene, die aus einer Liste von Strecken besteht , transformiert mit der Drehung
|
||||
|
||||
private Punkt viewpoint = new Punkt(0, 0, -25); // Ausgangspunkt fuer die Berechnung des Bildes (zwischen den beiden Augenpunkten)
|
||||
private double augenabstand = 1.1; // Abstand der beide Augenpunkte
|
||||
|
||||
// Informationen fuer Mausbewegungen
|
||||
private MouseEvent startpunkt; // Mauskoordinaten, an denen die Maustaste fuer eine Rotation gedrueckt wurde
|
||||
private boolean rotate = false; // wird die Szene rotiert (linke Maustaste) oder verschoben (andere Maustasten)?
|
||||
private Matrix transformation = Matrix.Translation(0, 0, 0); // Transformationsmatrix, mit der die Szene multipliziert werden muss, um die Rotation mit der Maus zu ermueglichen
|
||||
private Matrix old_transformation = null; // Transformationsmatirx, die zu Beginn der Mausaktion gueltig war
|
||||
|
||||
/** Erzeugt neues 3D-Panel mit schwarzem Hintergrund und Mauslistenern
|
||||
*/
|
||||
public Board3D() {
|
||||
super();
|
||||
this.setBackground(Color.BLACK); // Schwarzer Hintergrund, damit die Linien besser hervortreten.
|
||||
|
||||
addMouseListener(this); // MouseListener fuer die Bewegung der Szene
|
||||
addMouseMotionListener(this);
|
||||
addMouseWheelListener(this);
|
||||
}
|
||||
|
||||
// MouseListener
|
||||
public void mousePressed(MouseEvent e) {
|
||||
startpunkt = e; // Startpunkt der Mausbewegung
|
||||
old_transformation = transformation; // und aktuelle Transformation merken
|
||||
|
||||
if (e.getButton() == MouseEvent.BUTTON1) { // Bei linker Maustaste rotieren, rechts verschieben
|
||||
rotate = true;
|
||||
} else {
|
||||
rotate = false;
|
||||
}
|
||||
}
|
||||
|
||||
public void mouseReleased(MouseEvent e) {
|
||||
startpunkt = null; // Mausbewegung ist zu Ende
|
||||
}
|
||||
|
||||
public void mouseDragged(MouseEvent e) {
|
||||
if (startpunkt != null) { // Mausbewegung ist aktiv
|
||||
float d1 = e.getX() - startpunkt.getX(); // Differenzen zum Startpunkt berechnen
|
||||
float d2 = e.getY() - startpunkt.getY();
|
||||
|
||||
if (rotate) {
|
||||
transformation = old_transformation.mulitpliziere(Matrix.RotationY(-d1 / 100)); // Rotationsbewegung X-Differenz => Rotation um Y-Achse bezogen auf Ursprungstransformation zu Beginn der Mausbewegung
|
||||
transformation = transformation.mulitpliziere(Matrix.RotationZ(d2 / 100)); // Y-Differenz => Rotation um Z-Achse
|
||||
} else {
|
||||
transformation = old_transformation.mulitpliziere(Matrix.Translation(d1 / 100.0, 0, -d2 / 100.0)); // Translationsbewegung
|
||||
}
|
||||
repaint();
|
||||
}
|
||||
}
|
||||
|
||||
public void mouseWheelMoved(MouseWheelEvent e) {
|
||||
int notches = e.getWheelRotation();
|
||||
|
||||
if (notches > 0) { // Skalierung durch Mausrad
|
||||
transformation = transformation.mulitpliziere(Matrix.Skalierung(1.04));
|
||||
} else {
|
||||
transformation = transformation.mulitpliziere(Matrix.Skalierung(0.98));
|
||||
}
|
||||
|
||||
repaint();
|
||||
}
|
||||
|
||||
// andere Mausevents werden nicht benuetigt
|
||||
public void mouseEntered(MouseEvent e) {}
|
||||
|
||||
public void mouseExited(MouseEvent e) {}
|
||||
|
||||
public void mouseClicked(MouseEvent e) {}
|
||||
|
||||
public void mouseMoved(MouseEvent e) {}
|
||||
|
||||
// MouseWheelListener
|
||||
/** Setzt den Augenabstand neu
|
||||
* @param a neuer Augenabstand
|
||||
*/
|
||||
public void setAugenabstand(double a) {
|
||||
augenabstand += a;
|
||||
}
|
||||
|
||||
/** Luescht die gespeicherten Strecken.
|
||||
*/
|
||||
public void clearSzene() {
|
||||
szene = new ArrayList<Strecke>();
|
||||
repaint();
|
||||
}
|
||||
|
||||
/** Fuegt eine Strecke der Szene hinzu
|
||||
* @param s Referenz auf die neue Strecke
|
||||
*/
|
||||
public void addStrecke(Strecke s) {
|
||||
szene.add(s);
|
||||
repaint();
|
||||
}
|
||||
|
||||
/** Zeichnet komplette Szene mit zwei Farben fuer linkes und rechtes Auge.
|
||||
* @param g Grafikkontext
|
||||
*/
|
||||
public void paint(Graphics g) {
|
||||
super.paint(g);
|
||||
|
||||
Graphics2D g2 = (Graphics2D) g;
|
||||
|
||||
// Dicke Linie in cyan auswuehlen
|
||||
BasicStroke duenneLinie = new BasicStroke(1.0f);
|
||||
g2.setStroke(duenneLinie);
|
||||
g2.setColor(Color.cyan);
|
||||
|
||||
// Rechten Augenpunkt bestimmen und zeichnen
|
||||
Punkt viewpoint2 = new Punkt(viewpoint.getX(), viewpoint.getY(), viewpoint.getZ());
|
||||
viewpoint2.verschiebe(new Vektor(+augenabstand/2.0, 0, 0));
|
||||
zeichneStrecken(g2, viewpoint2);
|
||||
|
||||
// Nicht ganz so dicke Linie in rot (wirkt intensiver)
|
||||
duenneLinie = new BasicStroke(1.0f);
|
||||
g2.setStroke(duenneLinie);
|
||||
g2.setColor(new Color(255, 00, 00));
|
||||
g2.setXORMode(Color.black); // Rot und Cyan sollen sich zu weiue erguenzen
|
||||
// Linken Augenpunkt bestimmen und Szene erneut zeichnen
|
||||
viewpoint2 = new Punkt(viewpoint.getX(), viewpoint.getY(), viewpoint.getZ());
|
||||
viewpoint2.verschiebe(new Vektor(-augenabstand/2, 0, 0));
|
||||
zeichneStrecken(g2, viewpoint2);
|
||||
}
|
||||
|
||||
/** Zeichnet die Strecken auf einen Grafikkontext gesehen von einem bestimmten Augenpunkt
|
||||
* @param g Grafikkontext
|
||||
* @param v Augenpunkt
|
||||
*/
|
||||
private void zeichneStrecken(Graphics2D g, Punkt v) {
|
||||
szene_transformiert.clear();
|
||||
for (Strecke s: szene) {
|
||||
szene_transformiert.add(new Strecke(transformation.multipliziere(s.getPunkt(0)),transformation.multipliziere(s.getPunkt(1))));
|
||||
} // end of for
|
||||
|
||||
for (Strecke s: szene_transformiert) { // Alle Strecken zeichnen
|
||||
s.draw(g,v);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,241 @@
|
|||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import javax.swing.*;
|
||||
import javax.swing.event.*;
|
||||
import java.io.FileReader;
|
||||
import java.util.Scanner;
|
||||
import java.util.Locale;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import javax.swing.filechooser.FileFilter;
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
*
|
||||
* GUI fuer die 3D-Darstellung von Drahtmodellen
|
||||
* Es kann der Augenabstand verstellt werden
|
||||
* und es kuennen Wavefront obj-Files geladen werden.
|
||||
*
|
||||
* @version 1.0 vom 10.04.2011
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class DrawIt3DGUI extends JFrame {
|
||||
// Anfang Attribute
|
||||
private Board3D board1 = new Board3D();
|
||||
private JButton jBAugenabstandPlus = new JButton();
|
||||
private JButton jBAugenabstandMinus = new JButton();
|
||||
private JButton jBLoad = new JButton();
|
||||
private static JFileChooser dateiauswahldialog = new JFileChooser(System.getProperty("user.dir"));
|
||||
// Ende Attribute
|
||||
|
||||
public DrawIt3DGUI(String title) {
|
||||
// Frame-Initialisierung
|
||||
super(title);
|
||||
setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
|
||||
int frameWidth = 1026;
|
||||
int frameHeight = 732;
|
||||
setSize(frameWidth, frameHeight);
|
||||
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
|
||||
int x = (d.width - getSize().width) / 2;
|
||||
int y = (d.height - getSize().height) / 2;
|
||||
setLocation(x, y);
|
||||
Container cp = getContentPane();
|
||||
cp.setLayout(null);
|
||||
// Anfang Komponenten
|
||||
|
||||
board1.setBounds(0, 0, 900, 700);
|
||||
cp.add(board1);
|
||||
jBAugenabstandPlus.setBounds(912, 56, 99, 25);
|
||||
jBAugenabstandPlus.setText("Augenabs. +");
|
||||
jBAugenabstandPlus.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBAugenabstandPlus.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBAugenabstandPlus_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jBAugenabstandPlus.setFont(new Font("Dialog", Font.PLAIN, 13));
|
||||
cp.add(jBAugenabstandPlus);
|
||||
jBAugenabstandMinus.setBounds(912, 96, 99, 25);
|
||||
jBAugenabstandMinus.setText("Augenabs. -");
|
||||
jBAugenabstandMinus.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBAugenabstandMinus.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBAugenabstandMinus_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jBAugenabstandMinus.setFont(new Font("Dialog", Font.PLAIN, 13));
|
||||
cp.add(jBAugenabstandMinus);
|
||||
jBLoad.setBounds(912, 192, 99, 25);
|
||||
jBLoad.setText("Bild laden");
|
||||
jBLoad.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBLoad.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBLoad_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
cp.add(jBLoad);
|
||||
// Ende Komponenten
|
||||
|
||||
Punkt p1 = new Punkt(-2,-3,2);
|
||||
Punkt p2 = new Punkt(2,-3,2);
|
||||
Punkt p3 = new Punkt(2,-3,-2);
|
||||
Punkt p4 = new Punkt(-2,-3,-2);
|
||||
Punkt p5 = new Punkt(-2,2,2);
|
||||
Punkt p6 = new Punkt(2,2,2);
|
||||
Punkt p7 = new Punkt(2,2,-2);
|
||||
Punkt p8 = new Punkt(-2,2,-2);
|
||||
Punkt p9 = new Punkt(0,6,0);
|
||||
board1.addStrecke(new Strecke(p1,p2));
|
||||
board1.addStrecke(new Strecke(p2,p3));
|
||||
board1.addStrecke(new Strecke(p3,p4));
|
||||
board1.addStrecke(new Strecke(p4,p1));
|
||||
board1.addStrecke(new Strecke(p5,p6));
|
||||
board1.addStrecke(new Strecke(p6,p7));
|
||||
board1.addStrecke(new Strecke(p7,p8));
|
||||
board1.addStrecke(new Strecke(p8,p5));
|
||||
board1.addStrecke(new Strecke(p1,p5));
|
||||
board1.addStrecke(new Strecke(p2,p6));
|
||||
board1.addStrecke(new Strecke(p3,p7));
|
||||
board1.addStrecke(new Strecke(p4,p8));
|
||||
board1.addStrecke(new Strecke(p5,p9));
|
||||
board1.addStrecke(new Strecke(p6,p9));
|
||||
board1.addStrecke(new Strecke(p7,p9));
|
||||
board1.addStrecke(new Strecke(p8,p9));
|
||||
|
||||
p1 = new Punkt(2,-3,1.5);
|
||||
p2 = new Punkt(6,-3,1.5);
|
||||
p3 = new Punkt(6,-3,-1);
|
||||
p4 = new Punkt(2,-3,-1);
|
||||
p5 = new Punkt(2,0,1.5);
|
||||
p6 = new Punkt(6,0,1.5);
|
||||
p7 = new Punkt(6,0,-1);
|
||||
p8 = new Punkt(2,0,-1);
|
||||
board1.addStrecke(new Strecke(p1,p2));
|
||||
board1.addStrecke(new Strecke(p2,p3));
|
||||
board1.addStrecke(new Strecke(p3,p4));
|
||||
board1.addStrecke(new Strecke(p4,p1));
|
||||
board1.addStrecke(new Strecke(p5,p6));
|
||||
board1.addStrecke(new Strecke(p6,p7));
|
||||
board1.addStrecke(new Strecke(p7,p8));
|
||||
board1.addStrecke(new Strecke(p8,p5));
|
||||
board1.addStrecke(new Strecke(p1,p5));
|
||||
board1.addStrecke(new Strecke(p2,p6));
|
||||
board1.addStrecke(new Strecke(p3,p7));
|
||||
board1.addStrecke(new Strecke(p4,p8));
|
||||
|
||||
cp.setBackground(Color.black);
|
||||
|
||||
setResizable(false);
|
||||
setVisible(true);
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
public void jBAugenabstandPlus_ActionPerformed(ActionEvent evt) {
|
||||
// TODO hier Quelltext einfuegen
|
||||
board1.setAugenabstand(0.1);
|
||||
board1.repaint();
|
||||
|
||||
}
|
||||
|
||||
public void jBAugenabstandMinus_ActionPerformed(ActionEvent evt) {
|
||||
// TODO hier Quelltext einfuegen
|
||||
board1.setAugenabstand(-0.1);
|
||||
board1.repaint();
|
||||
}
|
||||
|
||||
/** Luedt ein Wavefront obj-File. Allerdings muessen in dem obj-File
|
||||
* vorher die Punkte durch Kommas ersetzt werden.
|
||||
*/
|
||||
public void jBLoad_ActionPerformed(ActionEvent evt) {
|
||||
// Dateiauswahldialog fuer *.obj Files anbieten
|
||||
dateiauswahldialog.setFileFilter(new FileFilter() {
|
||||
public boolean accept(File f) {
|
||||
return f.getName().toLowerCase().endsWith(".obj") || f.isDirectory();
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return "WavaFront Obj-Dateien";
|
||||
}
|
||||
});
|
||||
// Nur weitermachen, wenn Benutzer wirklich File gewuehlt hat
|
||||
int ergebnis = dateiauswahldialog.showOpenDialog(this);
|
||||
if(ergebnis != JFileChooser.APPROVE_OPTION) { // abgebrochen
|
||||
return;
|
||||
}
|
||||
|
||||
// Alte Szene lueschen
|
||||
board1.clearSzene();
|
||||
|
||||
// Einlesen: plist speichert alle Punkte, slist die Kanten die schon eingefuegt sind
|
||||
ArrayList<Punkt> plist = new ArrayList<Punkt>();
|
||||
ArrayList<Long> slist = new ArrayList<Long>();
|
||||
|
||||
try {
|
||||
FileReader fin = new FileReader(dateiauswahldialog.getSelectedFile());
|
||||
Scanner src = new Scanner(fin);
|
||||
String str;
|
||||
// Dateiinformation sind durch Leerzeichen getrennt. So kuennen die Werte einzeln eingelesen werden
|
||||
while (src.hasNextLine()) {
|
||||
String zeile = src.nextLine();
|
||||
Scanner scZeile = new Scanner(zeile);
|
||||
scZeile.useLocale(Locale.ENGLISH);
|
||||
if (scZeile.hasNext()) {
|
||||
|
||||
String kennung = scZeile.next();
|
||||
// Alles ignorieren auueer Zahlen, die nach einem "v" = Vertex oder "f" = Face kommen
|
||||
if (kennung.equals("v")) { // Punkt einlesen, es folgen drei Kommezahlen fuer die Koordinaten
|
||||
plist.add(new Punkt(scZeile.nextDouble(),scZeile.nextDouble(),scZeile.nextDouble()));
|
||||
} // end of if
|
||||
if (kennung.equals("f")) { // Flueche, es folgen die Nummern der Eckpunkte der Flueche => Randbegrenzungen einfuegen
|
||||
int start; // erster Eckpunkt, damit man am Ende die Figur schlieueen kann
|
||||
int akt;
|
||||
int next;
|
||||
String eintrag = scZeile.next();
|
||||
Scanner scEintrag = new Scanner(eintrag);
|
||||
scEintrag.useDelimiter("/");
|
||||
start = scEintrag.nextInt();
|
||||
akt = start;
|
||||
while (scZeile.hasNext()) {
|
||||
eintrag = scZeile.next(); // nuechster Eckpunkt der Flueche
|
||||
scEintrag = new Scanner(eintrag);
|
||||
scEintrag.useDelimiter("/");
|
||||
next = scEintrag.nextInt();
|
||||
|
||||
long l = akt * plist.size() + next; // Kontrollieren, welche Kanten schon eingefuegt sind. Doppelte Kanten fuehren zur Auslueschung des Bildes
|
||||
if (!slist.contains(l)) {
|
||||
board1.addStrecke(new Strecke(plist.get(akt-1),plist.get(next-1)));
|
||||
slist.add(l);
|
||||
l = next*plist.size()+akt; // Kante von a nach b ist die gleiche wie von b nach a
|
||||
slist.add(l);
|
||||
} // end of if
|
||||
// end of if
|
||||
akt = next;
|
||||
} // end of while
|
||||
// Figur schlieueen
|
||||
long l = akt * plist.size() + start;
|
||||
if (!slist.contains(l)) {
|
||||
board1.addStrecke(new Strecke(plist.get(start-1),plist.get(akt-1)));
|
||||
slist.add(l);
|
||||
l = start*plist.size()+akt;
|
||||
slist.add(l);
|
||||
}
|
||||
|
||||
} // end of if
|
||||
} // end of if
|
||||
|
||||
}
|
||||
fin.close();
|
||||
} catch(Exception e) {
|
||||
System.out.println(e);
|
||||
} // end of try
|
||||
|
||||
board1.repaint();
|
||||
} // end of jBLoad_ActionPerformed
|
||||
|
||||
// Ende Methoden
|
||||
|
||||
public static void main(String[] args) {
|
||||
new DrawIt3DGUI("DrawIt3DGUI");
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,186 @@
|
|||
object drawIt3DGUI: TFGUIFormular
|
||||
Left = 118
|
||||
Top = -16
|
||||
BorderIcons = [biSystemMenu, biMinimize]
|
||||
Caption = 'F:\Informatik\OOP\Fortbildung\3DGrafik\DrawIt3DGUI.jfm'
|
||||
ClientHeight = 704
|
||||
ClientWidth = 1020
|
||||
Color = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -13
|
||||
Font.Name = 'MS Sans Serif'
|
||||
Font.Style = []
|
||||
FormStyle = fsMDIChild
|
||||
OldCreateOrder = True
|
||||
Position = poDesigned
|
||||
Visible = True
|
||||
WindowState = wsMaximized
|
||||
OnClose = FormClose
|
||||
OnCloseQuery = FormCloseQuery
|
||||
OnResize = FormResize
|
||||
FrameType = 5
|
||||
Resizable = False
|
||||
Undecorated = False
|
||||
Background = clBtnFace
|
||||
PixelsPerInch = 96
|
||||
TextHeight = 16
|
||||
object jBAugenabstandMinus: TJButton
|
||||
Tag = 4
|
||||
Left = 912
|
||||
Top = 96
|
||||
Width = 99
|
||||
Height = 25
|
||||
Foreground = clWindowText
|
||||
Background = 15658734
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -13
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = []
|
||||
actionPerformed = 'jBAugenabstandMinus_ActionPerformed'
|
||||
Text = 'Augenabs. -'
|
||||
Mnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
Selected = False
|
||||
BorderPainted = True
|
||||
FocusPainted = False
|
||||
ContentAreaFilled = True
|
||||
HorizontalAlignment = CENTER
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
RolloverEnabled = False
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
end
|
||||
object jBAugenabstandPlus: TJButton
|
||||
Tag = 4
|
||||
Left = 912
|
||||
Top = 56
|
||||
Width = 99
|
||||
Height = 25
|
||||
Foreground = clWindowText
|
||||
Background = 15658734
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -13
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = []
|
||||
actionPerformed = 'jBAugenabstandPlus_ActionPerformed'
|
||||
Text = 'Augenabs. +'
|
||||
Mnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
Selected = False
|
||||
BorderPainted = True
|
||||
FocusPainted = False
|
||||
ContentAreaFilled = True
|
||||
HorizontalAlignment = CENTER
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
RolloverEnabled = False
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
end
|
||||
object board1: TJPanel
|
||||
Tag = 12
|
||||
Left = 0
|
||||
Top = 0
|
||||
Width = 900
|
||||
Height = 700
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -15
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
end
|
||||
object jBLoad: TJButton
|
||||
Tag = 4
|
||||
Left = 912
|
||||
Top = 192
|
||||
Width = 99
|
||||
Height = 25
|
||||
Foreground = 3355443
|
||||
Background = 15658734
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
actionPerformed = 'jBLoad_ActionPerformed'
|
||||
Text = 'Bild laden'
|
||||
Mnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
Selected = False
|
||||
BorderPainted = True
|
||||
FocusPainted = False
|
||||
ContentAreaFilled = True
|
||||
HorizontalAlignment = CENTER
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
RolloverEnabled = False
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
end
|
||||
end
|
||||
|
|
@ -0,0 +1,58 @@
|
|||
/**
|
||||
* Speichert die Informationen ueber eine Gerade im Raum. Dazu werden
|
||||
* Stuetz- und Richtungsvektor der Geraden gespeichert. Fuer die Berechnung eines
|
||||
* 3D-Bildes kann auueerdem der Schnittpunkt mit der XY-Ebene(=Bildschirmebene) berechnet werden.
|
||||
*
|
||||
* @version 1.0 vom 10.04.2011
|
||||
* @author T. Schaller
|
||||
*/
|
||||
|
||||
public class Gerade {
|
||||
|
||||
// Anfang Attribute
|
||||
private Punkt stuetzpunkt; // Stuetzpunkt der Geraden
|
||||
private Vektor richtungsvektor; // Richtungsvektor der Geraden
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt eine Gerade aus zwei Punkten. Punkt1 wird als Stuetzpunkt, der Vektor von P1 nach P2 als Richtungsvektor benutzt.
|
||||
* @param p1 1. Punkt der Gerade
|
||||
* @param p2 2. Punkt der Gerade
|
||||
*/
|
||||
public Gerade(Punkt p1, Punkt p2) {;
|
||||
stuetzpunkt = p1;
|
||||
richtungsvektor = new Vektor(p2.getX()-p1.getX(),p2.getY()-p1.getY(),p2.getZ()-p1.getZ());
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
/** Liefert den Richtungsvektor der Gerade
|
||||
* @return Richtungsvektor
|
||||
*/
|
||||
public Vektor getRichtungsvektor() {
|
||||
return richtungsvektor;
|
||||
}
|
||||
|
||||
/** Liefert den Stuetzpunkt der Gerade
|
||||
* @return Stuetzpunkt
|
||||
*/
|
||||
public Punkt getStuetzpunkt() {
|
||||
return stuetzpunkt;
|
||||
}
|
||||
|
||||
/** Liefert den Schnittpunkt der Gerade mit der XY-Ebene (d.h. z-Koordinate = 0)
|
||||
* Die Gerade, die bei der Berechnung vorkommen kuennen nicht in der XY-Ebene liegen, da
|
||||
* der Augenpunkt immer ein Punkt der Gerade ist und auueerhalb der Ebene liegt.
|
||||
* @return Schnittpunkt mit der XY-Ebene, falls es diesen gibt; sonst null
|
||||
*/
|
||||
public Punkt getSchnittpunktXYEbene() {
|
||||
if (richtungsvektor.getZ() ==0) { // Gerade ist parallel zur XY-Ebene
|
||||
return null;
|
||||
}
|
||||
else
|
||||
{
|
||||
double l = -stuetzpunkt.getZ()/richtungsvektor.getZ(); // Parameterwert fuer Gerade bestimmen
|
||||
return new Punkt(stuetzpunkt.getX()+l*richtungsvektor.getX(),stuetzpunkt.getY()+l*richtungsvektor.getY(),stuetzpunkt.getZ()+l*richtungsvektor.getZ());
|
||||
}
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
}
|
||||
152
Software/alg_oo_3d_grafik/02_3D-Grafik_Profiversion/Matrix.java
Normal file
|
|
@ -0,0 +1,152 @@
|
|||
/**
|
||||
* Matrix zur 3D-Transformation von Punkten. Es wird eine 4x4 Matrix benutzt, um
|
||||
* mit homogenen Koordinaten arbeiten zu kuennen. Damit lassen sich nicht nur Drehung
|
||||
* und Skalierung, sondern auch Verschiebung ueber die Multiplikation einer Matrix mit einem
|
||||
* Ortsvektor beschreiben.
|
||||
*
|
||||
* @version 1.0 vom 12.4.2011
|
||||
* @author T. Schaller
|
||||
*/
|
||||
|
||||
public class Matrix {
|
||||
|
||||
// Anfang Attribute
|
||||
private double[][] m = new double[4][4];
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt eine neutrale Matrix, d.h. in der Diagonalen stehen Einsen, sonst Nullen.
|
||||
*/
|
||||
public Matrix () {
|
||||
for (int i = 0; i< 4; i++) {
|
||||
set(i,i,1);
|
||||
}
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
/** Multipliziert die 4x4 Matrix (eigentlich nur die obere 4x3 Matrix) mit
|
||||
* einem 3D-Vektor. Die 4. Dimension der homogenen Koordinaten wird hier nicht benuetigt.
|
||||
* @param v 3D-Vektor
|
||||
* @return 3D-Vektor
|
||||
*/
|
||||
Vektor multipliziere(Vektor v) {
|
||||
return new Vektor(m[0][0]*v.getX()+m[0][1]*v.getY()+m[0][2]*v.getZ()+m[0][3],
|
||||
m[1][0]*v.getX()+m[1][1]*v.getY()+m[1][2]*v.getZ()+m[1][3],
|
||||
m[2][0]*v.getX()+m[2][1]*v.getY()+m[2][2]*v.getZ()+m[2][3]);
|
||||
}
|
||||
|
||||
/** Multipliziert die 4x4 Matrix (eigentlich nur die obere 4x3 Matrix) mit
|
||||
* dem 3D-Ortsvektor eines Punktes. Die 4. Dimension der homogenen Koordinaten wird hier nicht benuetigt.
|
||||
* @param p 3D-Punkt
|
||||
* @return 3D-Punkt
|
||||
*/
|
||||
Punkt multipliziere(Punkt p) {
|
||||
return new Punkt(m[0][0]*p.getX()+m[0][1]*p.getY()+m[0][2]*p.getZ()+m[0][3],
|
||||
m[1][0]*p.getX()+m[1][1]*p.getY()+m[1][2]*p.getZ()+m[1][3],
|
||||
m[2][0]*p.getX()+m[2][1]*p.getY()+m[2][2]*p.getZ()+m[2][3]);
|
||||
}
|
||||
|
||||
/** Multipliziert die 4x4 Matrix mit einer anderen 4x4 Matrix.
|
||||
* @param m Matrix mit der multipliziert werden soll.
|
||||
* @return 4x4 Matrix
|
||||
*/
|
||||
|
||||
Matrix mulitpliziere(Matrix m) {
|
||||
double f;
|
||||
Matrix m2 = new Matrix();
|
||||
for (int i=0;i<4;i++) {
|
||||
for (int j=0;j<4;j++) {
|
||||
f =0;
|
||||
for (int k=0; k<4;k++) {
|
||||
f += this.get(k,j) * m.get(i,k);
|
||||
}
|
||||
m2.set(i,j,f);
|
||||
}
|
||||
}
|
||||
return m2;
|
||||
}
|
||||
|
||||
/** Setzt einen Koeffizienten der 4x4 Matrix.
|
||||
* @param x Spalte, in der ersetzt werden soll
|
||||
* @param y Zeile, in der ersetzt werden soll
|
||||
* @param f neuer Koeffizientenwert
|
||||
*/
|
||||
public void set(int x, int y, double f) {
|
||||
m[x][y] = f;
|
||||
}
|
||||
|
||||
/** Liefert einen Koeffizienten der 4x4 Matrix.
|
||||
* @param x Spalte des Koeffizienten
|
||||
* @param y Zeile des Koeffizienten
|
||||
* @return Wert des Koeffizienten
|
||||
*/
|
||||
public double get(int x, int y) {
|
||||
return m[x][y];
|
||||
}
|
||||
|
||||
/** Erzeugt eine Matrix fuer eine Verschiebung
|
||||
* @param x x-Komponente der Verschiebung
|
||||
* @param y y-Komponente der Verschiebung
|
||||
* @param z z-Komponente der Verschiebung
|
||||
* @return Translationsmatrix
|
||||
*/
|
||||
public static Matrix Translation(double x, double y, double z) {
|
||||
Matrix m = new Matrix();
|
||||
m.set(0,3,x);
|
||||
m.set(1,3,y);
|
||||
m.set(2,3,z);
|
||||
return m;
|
||||
}
|
||||
|
||||
/** Erzeugt eine Matrix fuer eine Rotation um die X-Achse
|
||||
* @param alpha Bogenmaue fuer den Winkel der Rotation
|
||||
* @return Rotationsmatrix
|
||||
*/
|
||||
public static Matrix RotationX(double alpha) {
|
||||
Matrix m = new Matrix();
|
||||
m.set(1,1,Math.cos(alpha));
|
||||
m.set(1,2,-Math.sin(alpha));
|
||||
m.set(2,1,Math.sin(alpha));
|
||||
m.set(2,2,Math.cos(alpha));
|
||||
return m;
|
||||
}
|
||||
|
||||
/** Erzeugt eine Matrix fuer eine Rotation um die Y-Achse
|
||||
* @param alpha Bogenmaue fuer den Winkel der Rotation
|
||||
* @return Rotationsmatrix
|
||||
*/
|
||||
public static Matrix RotationY(double alpha) {
|
||||
Matrix m = new Matrix();
|
||||
m.set(0,0,Math.cos(alpha));
|
||||
m.set(0,2,Math.sin(alpha));
|
||||
m.set(2,0,-Math.sin(alpha));
|
||||
m.set(2,2,Math.cos(alpha));
|
||||
return m;
|
||||
}
|
||||
|
||||
/** Erzeugt eine Matrix fuer eine Rotation um die Z-Achse
|
||||
* @param alpha Bogenmaue fuer den Winkel der Rotation
|
||||
* @return Rotationsmatrix
|
||||
*/
|
||||
public static Matrix RotationZ(double alpha) {
|
||||
Matrix m = new Matrix();
|
||||
m.set(0,0,Math.cos(alpha));
|
||||
m.set(0,1,-Math.sin(alpha));
|
||||
m.set(1,0,Math.sin(alpha));
|
||||
m.set(1,1,Math.cos(alpha));
|
||||
return m;
|
||||
}
|
||||
|
||||
/** Erzeugt eine Matrix fuer eine Skalierung um einen Faktor
|
||||
* @param scale Skalierungsfaktor
|
||||
* @return Skalierungsmatrix
|
||||
*/
|
||||
public static Matrix Skalierung(double scale) {
|
||||
Matrix m = new Matrix();
|
||||
m.set(0,0,scale);
|
||||
m.set(1,1,scale);
|
||||
m.set(2,2,scale);
|
||||
return m;
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
}
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
/**
|
||||
* Speichert die Informationen ueber eine Punkt im Raum.
|
||||
* Die Information ueber die Lage des Punktes werden mit Hilfe eines Ortsvektors
|
||||
* gespeichert.
|
||||
*
|
||||
* @version 1.0 vom 11.4.2011
|
||||
* @author T. Schaller
|
||||
*/
|
||||
|
||||
public class Punkt {
|
||||
|
||||
// Anfang Attribute
|
||||
private Vektor ortsvektor; // Ortsvektor des Punktes
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt einen neuen Punkt mit den Koordinaten (x|y|z)
|
||||
* @param x x-Koordinate
|
||||
* @param y y-Koordinate
|
||||
* @param z z-Koordinate
|
||||
*/
|
||||
Punkt(double x, double y, double z) {
|
||||
ortsvektor = new Vektor(x,y,z);
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
/** liefert die x-Koordinate des Ortsvektors des Punktes
|
||||
* @return x-Koordinate
|
||||
*/
|
||||
public double getX() {
|
||||
return ortsvektor.getX();
|
||||
}
|
||||
|
||||
/** liefert die y-Koordinate des Ortsvektors des Punktes
|
||||
* @return y-Koordinate
|
||||
*/
|
||||
public double getY() {
|
||||
return ortsvektor.getY();
|
||||
}
|
||||
|
||||
/** liefert die z-Koordinate des Ortsvektors des Punktes
|
||||
* @return z-Koordinate
|
||||
*/
|
||||
public double getZ() {
|
||||
return ortsvektor.getZ();
|
||||
}
|
||||
|
||||
/** Verschiebt den Punkt um einen Vektor v. Dazu werden die Koordinaten
|
||||
* des Ortsvektors zu den Koordinaten des Schiebevektors addiert.
|
||||
* @param v Verschiebevektor
|
||||
*/
|
||||
public void verschiebe(Vektor v) {
|
||||
ortsvektor.add(v);
|
||||
}
|
||||
// Ende Methoden
|
||||
}
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
import java.awt.*;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* Speichert die notwendigen Informationen (Start- und Endpunkt) zu einer
|
||||
* Strecke.
|
||||
*
|
||||
* @version 1.0 vom 10.04.2011
|
||||
* @author T. Schaller
|
||||
*/
|
||||
|
||||
public class Strecke {
|
||||
|
||||
// Anfang Attribute
|
||||
private Punkt point1; // Referenz auf Start- und Endpunkt
|
||||
private Punkt point2;
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt eine neue Strecken
|
||||
* @param p0 Startpunkt
|
||||
* @param p1 Endpunkt
|
||||
*/
|
||||
|
||||
public Strecke(Punkt point1, Punkt point2) {
|
||||
this.point1 = point1;
|
||||
this.point2 = point2;
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
/** Liefert Start- oder Endpunkt der Strecke
|
||||
* @param i (1=Startpunkt, 2 = Endpunkt)
|
||||
* @return Referenz auf den Punkt
|
||||
*/
|
||||
public Punkt getPunkt(int i) {
|
||||
if (i==1) {
|
||||
return point1;
|
||||
} else {
|
||||
return point2;
|
||||
} // end of if
|
||||
}
|
||||
|
||||
|
||||
public void draw(Graphics g, Punkt viewpoint) {
|
||||
|
||||
Gerade g1 = new Gerade(viewpoint,point1); // Gerade durch Augenpunkt und 1.Punkt der Strecke (Blickstrahl)
|
||||
Gerade g2 = new Gerade(viewpoint,point2); // Gerade durch Augenpunkt und 2.Punkt der Strecke (Blickstrahl)
|
||||
|
||||
Punkt sp1 = g1.getSchnittpunktXYEbene(); // Schnittpunkte der Blickstrahlen mit der Bildschirmebene (XY-Ebene)
|
||||
Punkt sp2 = g2.getSchnittpunktXYEbene();
|
||||
|
||||
if ((sp1 != null) && (sp2 != null)) { // Falls es Schnittpunkte gibt, Linie zeichnen (Skaliert um Faktor 50)
|
||||
g.drawLine((int) ( sp1.getX() * 50) + 450, // +450/+350, damit die Szene in der Mitte des Bildschirms gezeichnet wird.
|
||||
(int) (-sp1.getY() * 50) + 350,
|
||||
(int) ( sp2.getX() * 50) + 450,
|
||||
(int) (-sp2.getY() * 50) + 350);
|
||||
}
|
||||
}
|
||||
// Ende Methoden
|
||||
}
|
||||
|
|
@ -0,0 +1,81 @@
|
|||
/**
|
||||
* Speichert die Information ueber einen Vektor im dreidimensionalen Raum.
|
||||
*
|
||||
*
|
||||
* @version 1.0 vom 10.04.2011
|
||||
* @author T. Schaller
|
||||
*/
|
||||
|
||||
public class Vektor {
|
||||
|
||||
// Anfang Attribute
|
||||
private double x = 0; // Koordinaten des Vektors
|
||||
private double y = 0;
|
||||
private double z = 0;
|
||||
// Ende Attribute
|
||||
|
||||
// Anfang Methoden
|
||||
/** Erzeugt einen neuen Vektor mit den angegebenen Koordinaten
|
||||
* @param x x-Koordinate
|
||||
* @param y y-Koordinate
|
||||
* @param z z-Koordinate
|
||||
*/
|
||||
public Vektor(double x, double y, double z) {
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.z = z;
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
/** Addiert den uebergebenen Vektor. Dazu werden die Koordinaten
|
||||
* der beiden Vektoren addiert.
|
||||
* @param v Vektor, der addiert werden soll.
|
||||
*/
|
||||
public void add(Vektor v) {
|
||||
x += v.x; y += v.y; z += v.z;
|
||||
}
|
||||
|
||||
/** Liefert die x-Koordinate des Vektors
|
||||
* @return x-Koordinate
|
||||
*/
|
||||
public double getX() {
|
||||
return x;
|
||||
}
|
||||
|
||||
/** Setzt die x-Koordinate des Vektors
|
||||
* @param x-Koordinate
|
||||
*/
|
||||
public void setX(double x) {
|
||||
this.x = x;
|
||||
}
|
||||
|
||||
/** Liefert die y-Koordinate des Vektors
|
||||
* @return y-Koordinate
|
||||
*/
|
||||
public double getY() {
|
||||
return y;
|
||||
}
|
||||
|
||||
/** Setzt die y-Koordinate des Vektors
|
||||
* @param y-Koordinate
|
||||
*/
|
||||
public void setY(double y) {
|
||||
this.y = y;
|
||||
}
|
||||
|
||||
/** Liefert die z-Koordinate des Vektors
|
||||
* @return z-Koordinate
|
||||
*/
|
||||
public double getZ() {
|
||||
return z;
|
||||
}
|
||||
|
||||
/** Setzt die z-Koordinate des Vektors
|
||||
* @param z z-Koordinate
|
||||
*/
|
||||
public void setZ(double z) {
|
||||
this.z = z;
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
}
|
||||
|
|
@ -0,0 +1,110 @@
|
|||
#BlueJ package file
|
||||
dependency1.from=DrawIt3DGUI
|
||||
dependency1.to=Board3D
|
||||
dependency1.type=UsesDependency
|
||||
dependency10.from=Matrix
|
||||
dependency10.to=Punkt
|
||||
dependency10.type=UsesDependency
|
||||
dependency11.from=Gerade
|
||||
dependency11.to=Punkt
|
||||
dependency11.type=UsesDependency
|
||||
dependency12.from=Gerade
|
||||
dependency12.to=Vektor
|
||||
dependency12.type=UsesDependency
|
||||
dependency2.from=DrawIt3DGUI
|
||||
dependency2.to=Punkt
|
||||
dependency2.type=UsesDependency
|
||||
dependency3.from=DrawIt3DGUI
|
||||
dependency3.to=Strecke
|
||||
dependency3.type=UsesDependency
|
||||
dependency4.from=Punkt
|
||||
dependency4.to=Vektor
|
||||
dependency4.type=UsesDependency
|
||||
dependency5.from=Board3D
|
||||
dependency5.to=Strecke
|
||||
dependency5.type=UsesDependency
|
||||
dependency6.from=Board3D
|
||||
dependency6.to=Punkt
|
||||
dependency6.type=UsesDependency
|
||||
dependency7.from=Board3D
|
||||
dependency7.to=Matrix
|
||||
dependency7.type=UsesDependency
|
||||
dependency8.from=Board3D
|
||||
dependency8.to=Vektor
|
||||
dependency8.type=UsesDependency
|
||||
dependency9.from=Matrix
|
||||
dependency9.to=Vektor
|
||||
dependency9.type=UsesDependency
|
||||
editor.fx.0.height=737
|
||||
editor.fx.0.width=800
|
||||
editor.fx.0.x=420
|
||||
editor.fx.0.y=157
|
||||
objectbench.height=93
|
||||
objectbench.width=879
|
||||
package.divider.horizontal=0.6
|
||||
package.divider.vertical=0.7811816192560175
|
||||
package.editor.height=350
|
||||
package.editor.width=757
|
||||
package.editor.x=63
|
||||
package.editor.y=408
|
||||
package.frame.height=558
|
||||
package.frame.width=903
|
||||
package.numDependencies=12
|
||||
package.numTargets=7
|
||||
package.showExtends=true
|
||||
package.showUses=true
|
||||
project.charset=UTF-8
|
||||
readme.height=60
|
||||
readme.name=@README
|
||||
readme.width=49
|
||||
readme.x=10
|
||||
readme.y=10
|
||||
target1.height=70
|
||||
target1.name=Gerade
|
||||
target1.showInterface=false
|
||||
target1.type=ClassTarget
|
||||
target1.width=120
|
||||
target1.x=300
|
||||
target1.y=210
|
||||
target2.height=70
|
||||
target2.name=Matrix
|
||||
target2.showInterface=false
|
||||
target2.type=ClassTarget
|
||||
target2.width=120
|
||||
target2.x=580
|
||||
target2.y=210
|
||||
target3.height=70
|
||||
target3.name=Strecke
|
||||
target3.showInterface=false
|
||||
target3.type=ClassTarget
|
||||
target3.width=120
|
||||
target3.x=160
|
||||
target3.y=210
|
||||
target4.height=70
|
||||
target4.name=Board3D
|
||||
target4.showInterface=false
|
||||
target4.type=ClassTarget
|
||||
target4.width=120
|
||||
target4.x=20
|
||||
target4.y=90
|
||||
target5.height=70
|
||||
target5.name=Vektor
|
||||
target5.showInterface=false
|
||||
target5.type=ClassTarget
|
||||
target5.width=120
|
||||
target5.x=440
|
||||
target5.y=210
|
||||
target6.height=70
|
||||
target6.name=Punkt
|
||||
target6.showInterface=false
|
||||
target6.type=ClassTarget
|
||||
target6.width=120
|
||||
target6.x=20
|
||||
target6.y=210
|
||||
target7.height=70
|
||||
target7.name=DrawIt3DGUI
|
||||
target7.showInterface=false
|
||||
target7.type=ClassTarget
|
||||
target7.width=120
|
||||
target7.x=210
|
||||
target7.y=90
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
OBJ Files - A 3D Object Format
|
||||
Link: http://people.sc.fsu.edu/~jburkardt/data/obj/obj.html
|
||||
Lizenz: GNU LGPL license.
|
||||
Abrufdatum: 17.05.2019
|
||||
|
|
@ -0,0 +1,744 @@
|
|||
# Viewpoint Datalabs International, Inc. Copyright 1996
|
||||
|
||||
|
||||
mtllib ./vp.mtl
|
||||
|
||||
g
|
||||
v 3.070224 -0.119728 0.996443
|
||||
v 5.942016 -0.012019 4.157199
|
||||
v 6.614015 -0.063428 4.157199
|
||||
v 5.759114 0.000000 1.664500
|
||||
v 3.070224 -0.449143 0.929434
|
||||
v 5.000295 -0.539011 1.315104
|
||||
v 3.070224 -0.604752 0.872464
|
||||
v 3.070224 -0.866525 0.730690
|
||||
v 3.070224 -0.959007 0.650256
|
||||
v 3.070224 -1.053631 0.163277
|
||||
v 2.983248 -1.080021 -0.880639
|
||||
v 6.130317 -1.100022 -1.106943
|
||||
v 3.739287 -4.334102 -0.876958
|
||||
v 4.400283 -4.682100 -0.952940
|
||||
v 3.038248 -4.334102 -0.811319
|
||||
v 3.180259 -4.550090 -0.921939
|
||||
v 2.700250 -4.334102 -0.947940
|
||||
v 0.840214 -2.480049 -1.050312
|
||||
v 1.208789 -1.060728 0.203820
|
||||
v 1.208789 -1.054148 0.411073
|
||||
v 1.208789 -0.958092 0.610367
|
||||
v 1.208789 -0.875165 0.685964
|
||||
v 1.208789 -0.621528 0.854704
|
||||
v 1.208789 -0.467365 0.922276
|
||||
v -4.649089 -1.039587 0.209476
|
||||
v -4.649345 -0.922345 0.432259
|
||||
v -4.649708 -0.652575 0.753550
|
||||
v -4.999902 -1.012545 0.094530
|
||||
v -4.999240 -0.870266 0.347384
|
||||
v -4.999321 -0.802315 0.416133
|
||||
v -4.906714 -0.620194 0.686502
|
||||
v -4.999759 -0.491153 0.805206
|
||||
v -5.568033 -0.119200 0.568687
|
||||
v -5.349121 -0.814175 0.247113
|
||||
v -5.348800 -0.938377 -0.030175
|
||||
v -6.499984 -0.676000 -0.433500
|
||||
v -6.499984 -0.610000 -0.164800
|
||||
v -6.499984 -0.240000 0.109600
|
||||
v -7.649984 0.000000 -0.620000
|
||||
v 1.209237 -1.080021 -1.321617
|
||||
v 3.070224 0.119728 0.996443
|
||||
v 3.093016 0.040804 1.276300
|
||||
v 6.614015 0.063428 4.157199
|
||||
v 3.070224 0.449143 0.929434
|
||||
v 5.000295 0.539011 1.315104
|
||||
v 3.070224 0.604752 0.872464
|
||||
v 3.070224 0.866525 0.730690
|
||||
v 5.000295 1.149023 1.260104
|
||||
v 3.070224 0.959007 0.650256
|
||||
v 3.070224 1.053627 0.449897
|
||||
v 5.000295 1.428028 0.442095
|
||||
v 3.070224 1.053631 0.163277
|
||||
v 2.983248 1.080021 -0.880639
|
||||
v 5.000295 1.302926 -1.259946
|
||||
v 3.739287 4.334102 -0.876958
|
||||
v 4.400283 4.682100 -0.952940
|
||||
v 3.038248 4.334102 -0.811319
|
||||
v 3.180259 4.550090 -0.921939
|
||||
v 1.209237 1.080021 -0.636414
|
||||
v 2.700250 4.334102 -0.947940
|
||||
v 0.169216 1.990039 -1.063281
|
||||
v 1.208789 1.060728 0.203820
|
||||
v 1.208789 1.054148 0.411073
|
||||
v 1.208789 0.958092 0.610367
|
||||
v 1.208789 0.875165 0.685964
|
||||
v 1.208789 0.621528 0.854704
|
||||
v 1.208789 0.467365 0.922276
|
||||
v -4.649089 1.039587 0.209476
|
||||
v -4.649345 0.922345 0.432259
|
||||
v -4.649708 0.652575 0.753550
|
||||
v -4.649856 0.514670 0.885149
|
||||
v -4.649964 0.160748 0.994500
|
||||
v -4.999902 1.012545 0.094530
|
||||
v -4.999240 0.870266 0.347384
|
||||
v -4.999321 0.802315 0.416133
|
||||
v -4.999759 0.491153 0.805206
|
||||
v -4.999948 0.160720 0.980689
|
||||
v -5.299752 0.147914 0.811038
|
||||
v -5.349121 0.814175 0.247113
|
||||
v -5.348800 0.938377 -0.030175
|
||||
v -6.499984 0.676000 -0.433500
|
||||
v -6.499931 0.693962 -0.748535
|
||||
v -6.499984 0.610000 -0.164800
|
||||
v -6.499984 0.523000 -0.048800
|
||||
v -6.499984 0.240000 0.109600
|
||||
v 1.209237 1.080021 -1.321617
|
||||
v -5.568033 0.119200 0.568687
|
||||
v -5.299752 -0.147914 0.811038
|
||||
v -4.999948 -0.160720 0.980689
|
||||
v -4.649964 -0.160748 0.994500
|
||||
v 1.208789 -0.130179 0.996071
|
||||
v 1.208789 0.130179 0.996071
|
||||
v 3.093016 -0.040804 1.276300
|
||||
v 5.942016 0.012019 4.157199
|
||||
v 7.043714 0.000000 4.157199
|
||||
v 4.998233 -0.130896 1.193100
|
||||
v 5.171283 -1.310384 -1.055942
|
||||
v 6.130317 1.100022 -1.106943
|
||||
v 2.983248 -1.080021 -1.351649
|
||||
v 2.983248 1.080021 -1.351649
|
||||
v -6.499931 -0.693962 -0.748535
|
||||
v -4.999902 -1.000020 -0.943979
|
||||
v 0.169216 -1.990039 -1.063281
|
||||
v 5.000295 -1.510030 0.750093
|
||||
v 5.000295 -0.874017 1.399122
|
||||
v 5.000295 -1.149023 1.260104
|
||||
v 5.000295 0.874017 1.399122
|
||||
v -7.074984 -0.304058 -0.264426
|
||||
v -7.074984 0.139529 -0.169387
|
||||
v -7.074984 0.304058 -0.264426
|
||||
v -7.074957 0.403450 -0.684268
|
||||
v -7.074984 0.393008 -0.495246
|
||||
v -7.074984 0.354637 -0.334026
|
||||
v -7.074984 0.057454 -0.155083
|
||||
v -7.074984 -0.354637 -0.334026
|
||||
v -7.074984 -0.393008 -0.495246
|
||||
v -7.074957 -0.403450 -0.684268
|
||||
v -7.074984 -0.139529 -0.169387
|
||||
v -7.074984 -0.057454 -0.155083
|
||||
v 5.257180 -0.244260 -0.448877
|
||||
v 5.275361 -0.389797 -0.446328
|
||||
v 5.534085 -0.255527 -0.410058
|
||||
v 5.858724 -0.171973 -0.364548
|
||||
v 6.246687 -0.127423 -0.310161
|
||||
v 6.245811 -0.209802 -0.310283
|
||||
v 5.957494 -0.242908 -0.350702
|
||||
v 5.684797 -0.367023 -0.388930
|
||||
v 5.030259 -0.310424 -0.039389
|
||||
v 5.218888 -0.403501 -0.175729
|
||||
v 5.254566 -0.476272 -0.297997
|
||||
v 5.497149 -0.409135 -0.146573
|
||||
v 5.811742 -0.367356 -0.029404
|
||||
v 6.194348 -0.345081 0.063191
|
||||
v 6.203377 -0.386271 -0.007583
|
||||
v 5.919040 -0.402825 -0.076394
|
||||
v 5.661265 -0.464884 -0.221067
|
||||
v 5.030257 -0.815056 -0.039376
|
||||
v 5.218887 -0.721987 -0.175721
|
||||
v 5.254566 -0.649223 -0.297993
|
||||
v 5.497147 -0.716354 -0.146565
|
||||
v 5.811740 -0.758129 -0.029394
|
||||
v 6.194347 -0.780403 0.063202
|
||||
v 6.203376 -0.739216 -0.007574
|
||||
v 5.919039 -0.722663 -0.076386
|
||||
v 5.661264 -0.660610 -0.221062
|
||||
v 5.533661 -0.562752 -0.410117
|
||||
v 5.257178 -0.881243 -0.448860
|
||||
v 5.275359 -0.735706 -0.446319
|
||||
v 5.534083 -0.869976 -0.410042
|
||||
v 5.858722 -0.953530 -0.364528
|
||||
v 6.246684 -0.998080 -0.310138
|
||||
v 6.245809 -0.915701 -0.310265
|
||||
v 5.957492 -0.882595 -0.350685
|
||||
v 5.684796 -0.758480 -0.388920
|
||||
v 5.151601 -0.815102 -0.904963
|
||||
v 5.295470 -0.722016 -0.722016
|
||||
v 5.296154 -0.649239 -0.594654
|
||||
v 5.571022 -0.716382 -0.673535
|
||||
v 5.905705 -0.758165 -0.699682
|
||||
v 6.299025 -0.780442 -0.683500
|
||||
v 6.288245 -0.739248 -0.612975
|
||||
v 5.995947 -0.722692 -0.625000
|
||||
v 5.708329 -0.660628 -0.556788
|
||||
v 5.295474 -0.403530 -0.722041
|
||||
v 5.296155 -0.476288 -0.594668
|
||||
v 5.571025 -0.409163 -0.673559
|
||||
v 5.905710 -0.367392 -0.699712
|
||||
v 6.299029 -0.345120 -0.683534
|
||||
v 6.288249 -0.386303 -0.613002
|
||||
v 5.995951 -0.402854 -0.625025
|
||||
v 5.708331 -0.464902 -0.556803
|
||||
v 5.218888 0.403501 -0.175729
|
||||
v 5.257180 0.244260 -0.448877
|
||||
v 5.254566 0.476272 -0.297997
|
||||
v 5.275361 0.389797 -0.446328
|
||||
v 5.497149 0.409135 -0.146573
|
||||
v 5.534085 0.255527 -0.410058
|
||||
v 5.811742 0.367356 -0.029404
|
||||
v 5.858724 0.171973 -0.364548
|
||||
v 6.194348 0.345081 0.063191
|
||||
v 6.246687 0.127423 -0.310161
|
||||
v 6.203377 0.386271 -0.007583
|
||||
v 6.245811 0.209802 -0.310283
|
||||
v 5.919040 0.402825 -0.076394
|
||||
v 5.957494 0.242908 -0.350702
|
||||
v 5.661265 0.464884 -0.221067
|
||||
v 5.684797 0.367023 -0.388930
|
||||
v 5.218887 0.721987 -0.175721
|
||||
v 5.254566 0.649223 -0.297993
|
||||
v 5.497147 0.716354 -0.146565
|
||||
v 5.811740 0.758129 -0.029394
|
||||
v 6.194347 0.780403 0.063202
|
||||
v 6.203376 0.739216 -0.007574
|
||||
v 5.919039 0.722663 -0.076386
|
||||
v 5.661264 0.660610 -0.221062
|
||||
v 5.257178 0.881243 -0.448860
|
||||
v 5.275359 0.735706 -0.446319
|
||||
v 5.534083 0.869976 -0.410042
|
||||
v 5.858722 0.953530 -0.364528
|
||||
v 6.246684 0.998080 -0.310138
|
||||
v 6.245809 0.915701 -0.310265
|
||||
v 5.957492 0.882595 -0.350685
|
||||
v 5.684796 0.758480 -0.388920
|
||||
v 5.533661 0.562752 -0.410117
|
||||
v 5.295470 0.722016 -0.722016
|
||||
v 5.296154 0.649239 -0.594654
|
||||
v 5.571022 0.716382 -0.673535
|
||||
v 5.905705 0.758165 -0.699682
|
||||
v 6.299025 0.780442 -0.683500
|
||||
v 6.288245 0.739248 -0.612975
|
||||
v 5.995947 0.722692 -0.625000
|
||||
v 5.708329 0.660628 -0.556788
|
||||
v 5.295474 0.403530 -0.722041
|
||||
v 5.296155 0.476288 -0.594668
|
||||
v 5.571025 0.409163 -0.673559
|
||||
v 5.905710 0.367392 -0.699712
|
||||
v 6.299029 0.345120 -0.683534
|
||||
v 6.288249 0.386303 -0.613002
|
||||
v 5.995951 0.402854 -0.625025
|
||||
v 5.708331 0.464902 -0.556803
|
||||
v 5.165639 -0.318491 0.637328
|
||||
v 5.166101 -0.159250 0.913146
|
||||
v 4.998497 -0.252327 1.074635
|
||||
v 5.183997 -0.172954 0.637297
|
||||
v 5.184248 -0.086480 0.787078
|
||||
v 5.445252 -0.307224 0.636859
|
||||
v 5.445698 -0.153617 0.902920
|
||||
v 5.773065 -0.390779 0.636310
|
||||
v 5.773632 -0.195395 0.974730
|
||||
v 6.164821 -0.435329 0.635652
|
||||
v 6.165453 -0.217671 1.012654
|
||||
v 6.163937 -0.352950 0.635654
|
||||
v 6.164450 -0.176480 0.941314
|
||||
v 5.872800 -0.319843 0.636142
|
||||
v 5.873264 -0.159926 0.913131
|
||||
v 5.597437 -0.195729 0.636604
|
||||
v 5.597722 -0.097867 0.806108
|
||||
v 5.444824 0.000000 0.636860
|
||||
v 5.166102 0.159236 0.913155
|
||||
v 5.184248 0.086472 0.787083
|
||||
v 5.445698 0.153603 0.902928
|
||||
v 5.773632 0.195378 0.974740
|
||||
v 6.165453 0.217651 1.012665
|
||||
v 6.164450 0.176464 0.941323
|
||||
v 5.873265 0.159912 0.913140
|
||||
v 5.597722 0.097858 0.806113
|
||||
v 5.165639 0.318491 0.637345
|
||||
v 4.997765 0.504639 0.637636
|
||||
v 5.183997 0.172954 0.637307
|
||||
v 5.445252 0.307224 0.636875
|
||||
v 5.773065 0.390779 0.636330
|
||||
v 6.164821 0.435329 0.635675
|
||||
v 6.163937 0.352950 0.635673
|
||||
v 5.872800 0.319843 0.636159
|
||||
v 5.597437 0.195729 0.636614
|
||||
v 5.165176 0.159265 0.361518
|
||||
v 4.997031 0.252350 0.200598
|
||||
v 5.183746 0.086488 0.487521
|
||||
v 5.444806 0.153631 0.370806
|
||||
v 5.772497 0.195413 0.297899
|
||||
v 6.164188 0.217691 0.258662
|
||||
v 6.163424 0.176496 0.330003
|
||||
v 5.872335 0.159941 0.359162
|
||||
v 5.597153 0.097876 0.467105
|
||||
v 5.165176 -0.159221 0.361493
|
||||
v 4.997031 -0.252281 0.200558
|
||||
v 5.183746 -0.086464 0.487507
|
||||
v 5.444806 -0.153589 0.370782
|
||||
v 5.772497 -0.195360 0.297868
|
||||
v 6.164188 -0.217631 0.258628
|
||||
v 6.163424 -0.176448 0.329975
|
||||
v 5.872335 -0.159897 0.359136
|
||||
v 5.597153 -0.097850 0.467090
|
||||
v 5.090927 -1.067391 -0.472156
|
||||
v 5.171283 1.310384 -1.055942
|
||||
v 5.151606 0.310470 -0.905003
|
||||
v 5.151606 -0.310470 -0.905003
|
||||
v 5.030257 0.815056 -0.039376
|
||||
v 5.030259 0.310424 -0.039389
|
||||
v 5.090930 -0.058113 -0.472183
|
||||
v 5.090930 0.058113 -0.472183
|
||||
v 5.000295 -1.210004 0.173074
|
||||
v 5.000295 1.210004 0.173074
|
||||
v 5.000295 -1.428028 0.442095
|
||||
v 4.997764 -0.504639 0.637610
|
||||
v 4.998497 0.252304 1.074648
|
||||
v 4.998233 0.130896 1.193100
|
||||
v 5.000295 1.510030 0.750093
|
||||
v 5.151601 0.815102 -0.904963
|
||||
v 5.090927 1.067391 -0.472156
|
||||
v 3.070224 -1.053627 0.449897
|
||||
v -5.349205 0.737229 0.323968
|
||||
v -5.349205 -0.737229 0.323968
|
||||
v -5.349476 -0.470935 0.566062
|
||||
v -6.499984 -0.098825 0.133439
|
||||
v -6.499984 0.098825 0.133439
|
||||
v -6.499984 -0.523000 -0.048800
|
||||
v -5.349476 0.470935 0.566062
|
||||
v -4.999902 1.000020 -0.943979
|
||||
v 0.840214 2.480049 -1.050312
|
||||
v 1.209237 -1.080021 -0.636414
|
||||
v 3.804262 4.682100 -0.938960
|
||||
v 5.000295 -1.302926 -1.259946
|
||||
v 3.804262 -4.682100 -0.938960
|
||||
v -4.649856 -0.514670 0.885149
|
||||
v -4.999492 0.681710 0.569242
|
||||
v -4.649417 0.860391 0.497003
|
||||
v -4.906714 0.620194 0.686502
|
||||
v -4.649417 -0.860391 0.497003
|
||||
v -4.999492 -0.681710 0.569242
|
||||
# 310 vertices
|
||||
|
||||
# 0 vertex parms
|
||||
|
||||
# 0 texture vertices
|
||||
|
||||
# 0 normals
|
||||
|
||||
g windows
|
||||
usemtl glass
|
||||
s 1
|
||||
f 310 32 294
|
||||
f 76 308 306
|
||||
f 294 88 33
|
||||
f 310 31 32
|
||||
f 88 294 32
|
||||
f 87 33 88 78
|
||||
f 87 78 298
|
||||
f 298 76 306
|
||||
f 298 78 76
|
||||
g tail
|
||||
usemtl bone
|
||||
s 4
|
||||
f 95 3 96 4
|
||||
f 4 287 43 95
|
||||
f 94 2 3 43
|
||||
f 3 2 93 96
|
||||
f 41 1 93 42
|
||||
f 41 42 287
|
||||
f 43 3 95
|
||||
f 287 42 94 43
|
||||
f 42 93 2 94
|
||||
f 96 93 1
|
||||
g rearbody
|
||||
s 6
|
||||
f 275 98 54
|
||||
f 96 223 286 287
|
||||
f 97 277 155
|
||||
f 276 281 280 277
|
||||
f 276 275 289
|
||||
f 283 282 128 279
|
||||
f 283 290 275
|
||||
f 257 51 248
|
||||
f 282 303 97
|
||||
f 96 6 106
|
||||
f 303 12 97
|
||||
f 104 285 223
|
||||
f 97 155 274
|
||||
f 284 282 266
|
||||
f 286 288 287
|
||||
f 137 128 282
|
||||
f 283 279 278
|
||||
f 248 288 286
|
||||
f 6 105 106
|
||||
f 275 54 283
|
||||
f 284 266 285
|
||||
f 96 287 4
|
||||
f 284 285 104
|
||||
f 248 51 288
|
||||
f 283 278 290
|
||||
f 274 137 282
|
||||
f 289 275 290
|
||||
f 97 12 98 275
|
||||
f 48 107 45
|
||||
f 96 106 104
|
||||
f 282 283 257 266
|
||||
f 97 275 276 277
|
||||
f 104 223 96
|
||||
f 257 283 51
|
||||
f 97 274 282
|
||||
f 128 280 281 279
|
||||
f 287 288 48
|
||||
f 287 48 45
|
||||
g body
|
||||
s 7
|
||||
f 309 31 310
|
||||
f 294 33 295
|
||||
f 108 118 39
|
||||
f 80 79 74 73
|
||||
f 49 47 48
|
||||
f 5 1 91 24
|
||||
f 10 291 20 19
|
||||
f 294 295 38
|
||||
f 78 77 76
|
||||
f 81 82 111 112
|
||||
f 65 66 46 47
|
||||
f 30 309 310
|
||||
f 5 105 6
|
||||
f 30 29 26 309
|
||||
f 68 62 59 299
|
||||
f 78 88 89 77
|
||||
f 118 38 295 119
|
||||
f 83 81 112 113
|
||||
f 64 65 47 49
|
||||
f 35 37 36
|
||||
f 23 8 7
|
||||
f 24 91 90 305
|
||||
f 62 52 53 59
|
||||
f 296 85 109 114
|
||||
f 79 292 75 74
|
||||
f 50 49 288
|
||||
f 22 23 27
|
||||
f 282 10 11 303
|
||||
f 293 294 297
|
||||
f 71 72 92 67
|
||||
f 112 39 113
|
||||
f 310 294 293
|
||||
f 305 90 89
|
||||
f 308 70 307
|
||||
f 296 87 298
|
||||
f 114 39 119
|
||||
f 71 77 72
|
||||
f 45 107 44
|
||||
f 8 23 22
|
||||
f 7 5 24 23
|
||||
f 287 44 41
|
||||
f 307 69 74 75
|
||||
f 92 91 1 41
|
||||
f 63 62 68
|
||||
f 28 29 34 35
|
||||
f 105 7 8 106
|
||||
f 32 89 88
|
||||
f 49 48 288
|
||||
f 82 81 299
|
||||
f 115 37 297 108
|
||||
f 113 39 110
|
||||
f 73 74 69 68
|
||||
f 29 30 293 34
|
||||
f 291 104 9
|
||||
f 22 27 309
|
||||
f 54 53 52 283
|
||||
f 83 79 80
|
||||
f 83 80 81
|
||||
f 48 47 46 107
|
||||
f 25 20 21 26
|
||||
f 301 11 10 19
|
||||
f 39 115 108
|
||||
f 306 307 75
|
||||
f 110 39 109
|
||||
f 292 298 306
|
||||
f 306 308 307
|
||||
f 70 66 65
|
||||
f 294 38 297
|
||||
f 5 6 96
|
||||
f 85 84 110 109
|
||||
f 62 63 50 52
|
||||
f 102 25 28
|
||||
f 9 106 8
|
||||
f 310 293 30
|
||||
f 70 71 66
|
||||
f 77 89 90 72
|
||||
f 66 71 67
|
||||
f 297 37 34 293
|
||||
f 106 9 104
|
||||
f 25 19 20
|
||||
f 44 107 46
|
||||
f 85 296 298
|
||||
f 117 101 36 116
|
||||
f 111 39 112
|
||||
f 307 70 65
|
||||
f 35 34 37
|
||||
f 23 305 27
|
||||
f 102 301 19 25
|
||||
f 50 288 51
|
||||
f 80 73 299
|
||||
f 84 298 292
|
||||
f 49 50 63 64
|
||||
f 32 305 89
|
||||
f 1 5 96
|
||||
f 32 31 27 305
|
||||
f 66 67 44 46
|
||||
f 296 295 33 87
|
||||
f 291 10 282
|
||||
f 81 80 299
|
||||
f 309 27 31
|
||||
f 84 85 298
|
||||
f 116 36 37 115
|
||||
f 292 79 83 84
|
||||
f 283 52 51
|
||||
f 309 26 21 22
|
||||
f 284 291 282
|
||||
f 102 36 101
|
||||
f 65 64 69 307
|
||||
f 295 296 114 119
|
||||
f 73 68 299
|
||||
f 39 116 115
|
||||
f 105 5 7
|
||||
f 23 24 305
|
||||
f 39 117 116
|
||||
f 77 71 76
|
||||
f 109 39 114
|
||||
f 297 38 118 108
|
||||
f 75 292 306
|
||||
f 39 118 119
|
||||
f 21 20 291 9
|
||||
f 9 8 22 21
|
||||
f 287 45 44
|
||||
f 71 70 308 76
|
||||
f 84 83 113 110
|
||||
f 67 92 41 44
|
||||
f 25 26 29 28
|
||||
f 104 291 284
|
||||
f 102 28 35
|
||||
f 69 64 63 68
|
||||
f 72 90 91 92
|
||||
f 52 50 51
|
||||
f 102 35 36
|
||||
g wings
|
||||
s 5
|
||||
f 16 15 17
|
||||
f 304 15 16
|
||||
f 300 57 60
|
||||
f 14 13 304
|
||||
f 59 53 55 57
|
||||
f 60 57 58
|
||||
f 18 301 103
|
||||
f 300 59 57
|
||||
f 304 13 15
|
||||
f 56 55 53 54
|
||||
f 15 13 11 301
|
||||
f 61 59 300
|
||||
f 57 55 302
|
||||
f 103 301 102
|
||||
f 17 15 301
|
||||
f 303 11 13 14
|
||||
f 58 57 302
|
||||
f 302 55 56
|
||||
f 17 301 18
|
||||
f 299 59 61
|
||||
g tiles
|
||||
usemtl fldkdkgrey
|
||||
s 3
|
||||
f 302 56 54
|
||||
f 18 103 40
|
||||
f 16 17 99
|
||||
f 86 61 300
|
||||
f 99 304 16
|
||||
f 303 14 304
|
||||
f 99 303 304
|
||||
f 17 18 99
|
||||
f 302 54 100
|
||||
f 58 302 100
|
||||
f 100 86 300
|
||||
f 18 40 99
|
||||
f 100 60 58
|
||||
f 100 300 60
|
||||
f 101 117 111 82
|
||||
f 102 101 82 299
|
||||
f 117 39 111
|
||||
f 99 100 54 303
|
||||
f 303 54 98 12
|
||||
f 86 100 99 40
|
||||
f 40 103 61 86
|
||||
f 299 61 103 102
|
||||
g enginside
|
||||
usemtl redbrick
|
||||
s 9
|
||||
f 238 255 246
|
||||
f 194 202 201 193
|
||||
f 153 162 163 154
|
||||
f 144 153 154 145
|
||||
f 184 194 193 182
|
||||
f 238 246 237
|
||||
f 272 234 232 271
|
||||
f 236 237 235 234
|
||||
f 204 195 186
|
||||
f 134 143 144 135
|
||||
f 143 152 153 144
|
||||
f 204 203 195
|
||||
f 237 246 245 235
|
||||
f 273 236 234 272
|
||||
f 238 237 236
|
||||
f 185 184 182 183
|
||||
f 135 144 145 136
|
||||
f 154 163 146
|
||||
f 195 203 202 194
|
||||
f 235 245 244 233
|
||||
f 264 273 272 263
|
||||
f 219 185 183 218
|
||||
f 187 186 184 185
|
||||
f 136 145 146
|
||||
f 161 169 170 162
|
||||
f 204 220 212
|
||||
f 255 264 263 254
|
||||
f 234 235 233 232
|
||||
f 186 195 194 184
|
||||
f 145 154 146
|
||||
f 152 161 162 153
|
||||
f 204 212 203
|
||||
f 246 255 254 245
|
||||
f 238 236 273
|
||||
f 204 187 220
|
||||
f 169 125 126 170
|
||||
f 126 135 136 127
|
||||
f 163 171 146
|
||||
f 203 212 211 202
|
||||
f 245 254 253 244
|
||||
f 238 273 264
|
||||
f 211 219 218 210
|
||||
f 170 126 127 171
|
||||
f 127 136 146
|
||||
f 162 170 171 163
|
||||
f 202 211 210 201
|
||||
f 238 264 255
|
||||
f 254 263 262 253
|
||||
f 212 220 219 211
|
||||
f 171 127 146
|
||||
f 125 134 135 126
|
||||
f 204 186 187
|
||||
f 220 187 185 219
|
||||
f 263 272 271 262
|
||||
g engout
|
||||
usemtl black
|
||||
f 251 260 259 250
|
||||
f 209 217 216 208
|
||||
f 157 165 166 158
|
||||
f 132 141 142 133
|
||||
f 179 178 176 177
|
||||
f 215 177 175 214
|
||||
f 270 230 228 269
|
||||
f 227 241 240 225
|
||||
f 191 199 198 190
|
||||
f 150 159 160 151
|
||||
f 131 140 141 132
|
||||
f 177 176 174 175
|
||||
f 230 231 229 228
|
||||
f 269 228 226 268
|
||||
f 229 242 241 227
|
||||
f 192 200 199 191
|
||||
f 139 148 149 140
|
||||
f 130 139 140 131
|
||||
f 180 192 191 178
|
||||
f 228 229 227 226
|
||||
f 268 226 224 267
|
||||
f 231 243 242 229
|
||||
f 176 190 189 174
|
||||
f 140 149 150 141
|
||||
f 149 158 159 150
|
||||
f 190 198 197 189
|
||||
f 243 252 251 242
|
||||
f 259 268 267 258
|
||||
f 216 179 177 215
|
||||
f 181 180 178 179
|
||||
f 121 130 131 122
|
||||
f 167 123 124 168
|
||||
f 208 216 215 207
|
||||
f 250 259 258 249
|
||||
f 252 261 260 251
|
||||
f 198 207 206 197
|
||||
f 158 166 167 159
|
||||
f 123 132 133 124
|
||||
f 166 122 123 167
|
||||
f 207 215 214 206
|
||||
f 261 270 269 260
|
||||
f 241 250 249 240
|
||||
f 199 208 207 198
|
||||
f 159 167 168 160
|
||||
f 122 131 132 123
|
||||
f 165 121 122 166
|
||||
f 217 181 179 216
|
||||
f 260 269 268 259
|
||||
f 242 251 250 241
|
||||
f 200 209 208 199
|
||||
f 148 157 158 149
|
||||
f 141 150 151 142
|
||||
f 178 191 190 176
|
||||
f 226 227 225 224
|
||||
g engmount
|
||||
usemtl brass
|
||||
s 11
|
||||
f 225 240 239 222
|
||||
f 164 120 121 165
|
||||
f 128 137 138 129
|
||||
f 196 205 289 290
|
||||
f 265 221 285 266
|
||||
f 206 214 213 205
|
||||
f 138 147 148 139
|
||||
f 174 189 188 172
|
||||
f 249 258 256 247
|
||||
f 221 222 223 285
|
||||
f 155 277 164 156
|
||||
f 274 155 156 147
|
||||
f 213 173 281 276
|
||||
f 258 267 265 256
|
||||
f 189 197 196 188
|
||||
f 120 129 130 121
|
||||
f 173 172 279 281
|
||||
f 239 247 248 286
|
||||
f 205 213 276 289
|
||||
f 137 274 147 138
|
||||
f 156 164 165 157
|
||||
f 224 225 222 221
|
||||
f 247 256 257 248
|
||||
f 172 188 278 279
|
||||
f 280 128 129 120
|
||||
f 188 196 290 278
|
||||
f 256 265 266 257
|
||||
f 214 175 173 213
|
||||
f 147 156 157 148
|
||||
f 175 174 172 173
|
||||
f 240 249 247 239
|
||||
f 222 239 286 223
|
||||
f 277 280 120 164
|
||||
f 129 138 139 130
|
||||
f 197 206 205 196
|
||||
f 267 224 221 265
|
||||
g engrim
|
||||
usemtl dkdkgrey
|
||||
s off
|
||||
f 233 244 243 231
|
||||
f 124 133 134 125
|
||||
f 262 271 270 261
|
||||
f 142 151 152 143
|
||||
f 253 262 261 252
|
||||
f 151 160 161 152
|
||||
f 244 253 252 243
|
||||
f 160 168 169 161
|
||||
f 201 210 209 200
|
||||
f 271 232 230 270
|
||||
f 133 142 143 134
|
||||
f 232 233 231 230
|
||||
f 183 182 180 181
|
||||
f 218 183 181 217
|
||||
f 182 193 192 180
|
||||
f 210 218 217 209
|
||||
f 193 201 200 192
|
||||
f 168 124 125 169
|
||||
# 393 elements
|
||||