ProjektGraph/out/JavaDoc/visualizationElements/Edge.html
2024-07-09 16:03:03 +02:00

614 lines
44 KiB
HTML

<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (21) on Tue Jul 09 12:47:01 CEST 2024 -->
<title>Edge</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-07-09">
<meta name="description" content="declaration: package: visualizationElements, class: Edge">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../script-dir/jquery-ui.min.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
<script type="text/javascript" src="../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
<script type="text/javascript">var pathtoroot = "../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript ist im Browser deaktiviert.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Navigationslinks umschalten"><span class="nav-bar-toggle-icon">&nbsp;</span><span class="nav-bar-toggle-icon">&nbsp;</span><span class="nav-bar-toggle-icon">&nbsp;</span></button>
<div class="skip-nav"><a href="#skip-navbar-top" title="Navigations-Links überspringen">Navigations-Links überspringen</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../index.html">Überblick</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">Klasse</li>
<li><a href="package-tree.html">Baum</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html#class">Hilfe</a></li>
</ul>
<ul class="sub-nav-list-small">
<li>
<p>Übersicht:</p>
<ul>
<li>Verschachtelt</li>
<li><a href="#field-summary">Feld</a></li>
<li><a href="#constructor-summary">Konstruktor</a></li>
<li><a href="#method-summary">Methode</a></li>
</ul>
</li>
<li>
<p>Details:</p>
<ul>
<li><a href="#field-detail">Feld</a></li>
<li><a href="#constructor-detail">Konstruktor</a></li>
<li><a href="#method-detail">Methode</a></li>
</ul>
</li>
</ul>
</div>
<div class="sub-nav">
<div id="navbar-sub-list">
<ul class="sub-nav-list">
<li>Übersicht:&nbsp;</li>
<li>Verschachtelt&nbsp;|&nbsp;</li>
<li><a href="#field-summary">Feld</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Konstruktor</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Methode</a></li>
</ul>
<ul class="sub-nav-list">
<li>Details:&nbsp;</li>
<li><a href="#field-detail">Feld</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Konstruktor</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Methode</a></li>
</ul>
</div>
<div class="nav-list-search"><a href="../search.html">SEARCH</a>
<input type="text" id="search-input" disabled placeholder="Suchen">
<input type="reset" id="reset-button" disabled value="reset">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">visualizationElements</a></div>
<h1 title="Klasse Edge" class="title">Klasse Edge</h1>
</div>
<div class="inheritance" title="Vererbungsbaum"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html" title="Klasse oder Schnittstelle in java.lang" class="external-link">java.lang.Object</a>
<div class="inheritance">visualizationElements.Edge</div>
</div>
<section class="class-description" id="class-description">
<hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">Edge</span>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html" title="Klasse oder Schnittstelle in java.lang" class="external-link">Object</a></span></div>
<div class="block">Represents an edge of a graph.</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- =========== FIELD SUMMARY =========== -->
<li>
<section class="field-summary" id="field-summary">
<h2>Feldübersicht</h2>
<div class="caption"><span>Felder</span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifizierer und Typ</div>
<div class="table-header col-second">Feld</div>
<div class="table-header col-last">Beschreibung</div>
<div class="col-first even-row-color"><code>(Package privat) float</code></div>
<div class="col-second even-row-color"><code><a href="#baseX" class="member-name-link">baseX</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>(Package privat) float</code></div>
<div class="col-second odd-row-color"><code><a href="#baseY" class="member-name-link">baseY</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>private <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Color.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Color</a></code></div>
<div class="col-second even-row-color"><code><a href="#color" class="member-name-link">color</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>private <a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a></code></div>
<div class="col-second odd-row-color"><code><a href="#destination" class="member-name-link">destination</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>private <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="Klasse oder Schnittstelle in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color"><code><a href="#marking" class="member-name-link">marking</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>private <a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a></code></div>
<div class="col-second odd-row-color"><code><a href="#source" class="member-name-link">source</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>(Package privat) int[]</code></div>
<div class="col-second even-row-color"><code><a href="#xPoints" class="member-name-link">xPoints</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>(Package privat) int[]</code></div>
<div class="col-second odd-row-color"><code><a href="#yPoints" class="member-name-link">yPoints</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
</div>
</section>
</li>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Konstruktorübersicht</h2>
<div class="caption"><span>Konstruktoren</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Konstruktor</div>
<div class="table-header col-last">Beschreibung</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(visualizationElements.Vertex,visualizationElements.Vertex)" class="member-name-link">Edge</a><wbr>(<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;source,
<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;destination)</code></div>
<div class="col-last even-row-color">
<div class="block">Creates a new Edge.</div>
</div>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(visualizationElements.Vertex,visualizationElements.Vertex,java.awt.Color)" class="member-name-link">Edge</a><wbr>(<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;source,
<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;destination,
<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Color.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Color</a>&nbsp;color)</code></div>
<div class="col-last odd-row-color">
<div class="block">Creates a new Edge.</div>
</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(visualizationElements.Vertex,visualizationElements.Vertex,java.lang.String)" class="member-name-link">Edge</a><wbr>(<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;source,
<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;destination,
<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="Klasse oder Schnittstelle in java.lang" class="external-link">String</a>&nbsp;marking)</code></div>
<div class="col-last even-row-color">
<div class="block">Creates a new Edge.</div>
</div>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(visualizationElements.Vertex,visualizationElements.Vertex,java.lang.String,java.awt.Color)" class="member-name-link">Edge</a><wbr>(<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;source,
<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;destination,
<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="Klasse oder Schnittstelle in java.lang" class="external-link">String</a>&nbsp;marking,
<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Color.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Color</a>&nbsp;color)</code></div>
<div class="col-last odd-row-color">
<div class="block">Creates a new Edge.</div>
</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Methodenübersicht</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">Alle Methoden</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instanzmethoden</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Konkrete Methoden</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifizierer und Typ</div>
<div class="table-header col-second">Methode</div>
<div class="table-header col-last">Beschreibung</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#createArrow(int,int,int,int)" class="member-name-link">createArrow</a><wbr>(int&nbsp;sourceX,
int&nbsp;sourceY,
int&nbsp;destinationX,
int&nbsp;destinationY)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates data to draw an arrow for directed edges.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#createArrowDataForDirectEdges(visualizationElements.EdgeStyle)" class="member-name-link">createArrowDataForDirectEdges</a><wbr>(<a href="EdgeStyle.html" title="Enum-Klasse in visualizationElements">EdgeStyle</a>&nbsp;edgeStyle)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates an arrow for directed edges.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#createArrowDataForLoops()" class="member-name-link">createArrowDataForLoops</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates an arrow for directed loops.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#drawDirectedAngeledEdge(java.awt.Graphics)" class="member-name-link">drawDirectedAngeledEdge</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Draws a directed edge directly from source vertex to destination vertex.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#drawDirectedDirectEdge(java.awt.Graphics)" class="member-name-link">drawDirectedDirectEdge</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Draws a directed edge directly from source vertex to destination vertex.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#drawDirectedLoop(java.awt.Graphics)" class="member-name-link">drawDirectedLoop</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Draws a directed loop.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#drawUndirectedAngeledLoop(java.awt.Graphics)" class="member-name-link">drawUndirectedAngeledLoop</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Draws an undirected angled loop.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#drawUndirectedAngledEdge(java.awt.Graphics)" class="member-name-link">drawUndirectedAngledEdge</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Draws an undirected angled edge from source vertex to destination vertex.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#drawUndirectedDirectDoubleEdge(java.awt.Graphics)" class="member-name-link">drawUndirectedDirectDoubleEdge</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Draws an undirected double edge directly from one vertex to another.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#drawUndirectedDirectEdge(java.awt.Graphics)" class="member-name-link">drawUndirectedDirectEdge</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Draws an undirected edge directly from one vertex to another.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#drawUndirectedLoop(java.awt.Graphics)" class="member-name-link">drawUndirectedLoop</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Draws an undirected loop.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Color.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Color</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getColor()" class="member-name-link">getColor</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDestination()" class="member-name-link">getDestination</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="Klasse oder Schnittstelle in java.lang" class="external-link">String</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMarking()" class="member-name-link">getMarking</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSource()" class="member-name-link">getSource</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setColor(java.awt.Color)" class="member-name-link">setColor</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Color.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Color</a>&nbsp;color)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDestination(visualizationElements.Vertex)" class="member-name-link">setDestination</a><wbr>(<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;destination)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMarking(java.lang.String)" class="member-name-link">setMarking</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="Klasse oder Schnittstelle in java.lang" class="external-link">String</a>&nbsp;marking)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSource(visualizationElements.Vertex)" class="member-name-link">setSource</a><wbr>(<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;source)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Von Klasse geerbte Methoden&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html" title="Klasse oder Schnittstelle in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#clone()" title="Klasse oder Schnittstelle in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="Klasse oder Schnittstelle in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#finalize()" title="Klasse oder Schnittstelle in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#getClass()" title="Klasse oder Schnittstelle in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#hashCode()" title="Klasse oder Schnittstelle in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#notify()" title="Klasse oder Schnittstelle in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#notifyAll()" title="Klasse oder Schnittstelle in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#toString()" title="Klasse oder Schnittstelle in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#wait()" title="Klasse oder Schnittstelle in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#wait(long)" title="Klasse oder Schnittstelle in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="Klasse oder Schnittstelle in java.lang" class="external-link">wait</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ FIELD DETAIL =========== -->
<li>
<section class="field-details" id="field-detail">
<h2>Felddetails</h2>
<ul class="member-list">
<li>
<section class="detail" id="source">
<h3>source</h3>
<div class="member-signature"><span class="modifiers">private</span>&nbsp;<span class="return-type"><a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a></span>&nbsp;<span class="element-name">source</span></div>
</section>
</li>
<li>
<section class="detail" id="destination">
<h3>destination</h3>
<div class="member-signature"><span class="modifiers">private</span>&nbsp;<span class="return-type"><a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a></span>&nbsp;<span class="element-name">destination</span></div>
</section>
</li>
<li>
<section class="detail" id="color">
<h3>color</h3>
<div class="member-signature"><span class="modifiers">private</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Color.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Color</a></span>&nbsp;<span class="element-name">color</span></div>
</section>
</li>
<li>
<section class="detail" id="marking">
<h3>marking</h3>
<div class="member-signature"><span class="modifiers">private</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="Klasse oder Schnittstelle in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">marking</span></div>
</section>
</li>
<li>
<section class="detail" id="xPoints">
<h3>xPoints</h3>
<div class="member-signature"><span class="return-type">int[]</span>&nbsp;<span class="element-name">xPoints</span></div>
</section>
</li>
<li>
<section class="detail" id="yPoints">
<h3>yPoints</h3>
<div class="member-signature"><span class="return-type">int[]</span>&nbsp;<span class="element-name">yPoints</span></div>
</section>
</li>
<li>
<section class="detail" id="baseX">
<h3>baseX</h3>
<div class="member-signature"><span class="return-type">float</span>&nbsp;<span class="element-name">baseX</span></div>
</section>
</li>
<li>
<section class="detail" id="baseY">
<h3>baseY</h3>
<div class="member-signature"><span class="return-type">float</span>&nbsp;<span class="element-name">baseY</span></div>
</section>
</li>
</ul>
</section>
</li>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li>
<section class="constructor-details" id="constructor-detail">
<h2>Konstruktordetails</h2>
<ul class="member-list">
<li>
<section class="detail" id="&lt;init&gt;(visualizationElements.Vertex,visualizationElements.Vertex,java.lang.String,java.awt.Color)">
<h3>Edge</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">Edge</span><wbr><span class="parameters">(<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;source,
<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;destination,
<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="Klasse oder Schnittstelle in java.lang" class="external-link">String</a>&nbsp;marking,
<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Color.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Color</a>&nbsp;color)</span></div>
<div class="block">Creates a new Edge.</div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>source</code> - The vertex the edge starts at.</dd>
<dd><code>destination</code> - The vertex the edge ends at.</dd>
<dd><code>marking</code> - Marking of the edge.</dd>
<dd><code>color</code> - Coloring the edge is drawn.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(visualizationElements.Vertex,visualizationElements.Vertex,java.awt.Color)">
<h3>Edge</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">Edge</span><wbr><span class="parameters">(<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;source,
<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;destination,
<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Color.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Color</a>&nbsp;color)</span></div>
<div class="block">Creates a new Edge.</div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>source</code> - The vertex the edge starts at.</dd>
<dd><code>destination</code> - The vertex the edge ends at.</dd>
<dd><code>color</code> - Coloring the edge is drawn.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(visualizationElements.Vertex,visualizationElements.Vertex,java.lang.String)">
<h3>Edge</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">Edge</span><wbr><span class="parameters">(<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;source,
<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;destination,
<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="Klasse oder Schnittstelle in java.lang" class="external-link">String</a>&nbsp;marking)</span></div>
<div class="block">Creates a new Edge.</div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>source</code> - The vertex the edge starts at.</dd>
<dd><code>destination</code> - The vertex the edge ends at.</dd>
<dd><code>marking</code> - Marking of the edge.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(visualizationElements.Vertex,visualizationElements.Vertex)">
<h3>Edge</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">Edge</span><wbr><span class="parameters">(<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;source,
<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;destination)</span></div>
<div class="block">Creates a new Edge.</div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>source</code> - The vertex the edge starts at.</dd>
<dd><code>destination</code> - The vertex the edge ends at.</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Methodendetails</h2>
<ul class="member-list">
<li>
<section class="detail" id="setSource(visualizationElements.Vertex)">
<h3>setSource</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setSource</span><wbr><span class="parameters">(<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;source)</span></div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>source</code> - the source to set</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSource()">
<h3>getSource</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a></span>&nbsp;<span class="element-name">getSource</span>()</div>
<dl class="notes">
<dt>Gibt zurück:</dt>
<dd>the source</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setDestination(visualizationElements.Vertex)">
<h3>setDestination</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setDestination</span><wbr><span class="parameters">(<a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a>&nbsp;destination)</span></div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>destination</code> - the destination to set</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDestination()">
<h3>getDestination</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Vertex.html" title="Klasse in visualizationElements">Vertex</a></span>&nbsp;<span class="element-name">getDestination</span>()</div>
<dl class="notes">
<dt>Gibt zurück:</dt>
<dd>the destination</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setColor(java.awt.Color)">
<h3>setColor</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setColor</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Color.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Color</a>&nbsp;color)</span></div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>color</code> - the color to set</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getColor()">
<h3>getColor</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Color.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Color</a></span>&nbsp;<span class="element-name">getColor</span>()</div>
<dl class="notes">
<dt>Gibt zurück:</dt>
<dd>the color</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setMarking(java.lang.String)">
<h3>setMarking</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setMarking</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="Klasse oder Schnittstelle in java.lang" class="external-link">String</a>&nbsp;marking)</span></div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>marking</code> - the marking to set</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getMarking()">
<h3>getMarking</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="Klasse oder Schnittstelle in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getMarking</span>()</div>
<dl class="notes">
<dt>Gibt zurück:</dt>
<dd>the marking</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="drawUndirectedDirectDoubleEdge(java.awt.Graphics)">
<h3>drawUndirectedDirectDoubleEdge</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">drawUndirectedDirectDoubleEdge</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</span></div>
<div class="block">Draws an undirected double edge directly from one vertex to another.</div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>g</code> - Graphics object to draw to DrawArea.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="drawUndirectedLoop(java.awt.Graphics)">
<h3>drawUndirectedLoop</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">drawUndirectedLoop</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</span></div>
<div class="block">Draws an undirected loop.</div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>g</code> - Graphics object to draw to DrawArea.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="drawUndirectedDirectEdge(java.awt.Graphics)">
<h3>drawUndirectedDirectEdge</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">drawUndirectedDirectEdge</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</span></div>
<div class="block">Draws an undirected edge directly from one vertex to another.</div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>g</code> - Graphics object to draw to DrawArea.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="drawUndirectedAngeledLoop(java.awt.Graphics)">
<h3>drawUndirectedAngeledLoop</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">drawUndirectedAngeledLoop</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</span></div>
<div class="block">Draws an undirected angled loop.</div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>g</code> - Graphics object to draw to DrawArea.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="drawUndirectedAngledEdge(java.awt.Graphics)">
<h3>drawUndirectedAngledEdge</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">drawUndirectedAngledEdge</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</span></div>
<div class="block">Draws an undirected angled edge from source vertex to destination vertex.</div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>g</code> - Graphics object to draw to DrawArea.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="drawDirectedAngeledEdge(java.awt.Graphics)">
<h3>drawDirectedAngeledEdge</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">drawDirectedAngeledEdge</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</span></div>
<div class="block">Draws a directed edge directly from source vertex to destination vertex.</div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>g</code> - Graphics object to draw to DrawArea.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="drawDirectedLoop(java.awt.Graphics)">
<h3>drawDirectedLoop</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">drawDirectedLoop</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</span></div>
<div class="block">Draws a directed loop.</div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>g</code> - Graphics object to draw to DrawArea.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="drawDirectedDirectEdge(java.awt.Graphics)">
<h3>drawDirectedDirectEdge</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">drawDirectedDirectEdge</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Graphics.html" title="Klasse oder Schnittstelle in java.awt" class="external-link">Graphics</a>&nbsp;g)</span></div>
<div class="block">Draws a directed edge directly from source vertex to destination vertex.</div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>g</code> - Graphics object to draw to DrawArea.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="createArrowDataForDirectEdges(visualizationElements.EdgeStyle)">
<h3>createArrowDataForDirectEdges</h3>
<div class="member-signature"><span class="modifiers">private</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">createArrowDataForDirectEdges</span><wbr><span class="parameters">(<a href="EdgeStyle.html" title="Enum-Klasse in visualizationElements">EdgeStyle</a>&nbsp;edgeStyle)</span></div>
<div class="block">Creates an arrow for directed edges.</div>
</section>
</li>
<li>
<section class="detail" id="createArrowDataForLoops()">
<h3>createArrowDataForLoops</h3>
<div class="member-signature"><span class="modifiers">private</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">createArrowDataForLoops</span>()</div>
<div class="block">Creates an arrow for directed loops.</div>
</section>
</li>
<li>
<section class="detail" id="createArrow(int,int,int,int)">
<h3>createArrow</h3>
<div class="member-signature"><span class="modifiers">private</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">createArrow</span><wbr><span class="parameters">(int&nbsp;sourceX,
int&nbsp;sourceY,
int&nbsp;destinationX,
int&nbsp;destinationY)</span></div>
<div class="block">Creates data to draw an arrow for directed edges.</div>
<dl class="notes">
<dt>Parameter:</dt>
<dd><code>sourceX</code> - x position of the source vertex.</dd>
<dd><code>sourceY</code> - y position of the source vertex.</dd>
<dd><code>destinationX</code> - x position of the destination vertex.</dd>
<dd><code>destinationY</code> - y position of the destination vertex.</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
</div>
</div>
</body>
</html>