diff --git a/+libs/LICENSECommonsIO.txt b/+libs/LICENSECommonsIO.txt index 43e91eb..6b0b127 100644 --- a/+libs/LICENSECommonsIO.txt +++ b/+libs/LICENSECommonsIO.txt @@ -1,203 +1,203 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + diff --git a/GraphenTester.java b/GraphenTester.java index 99a265b..0e9d0c5 100644 --- a/GraphenTester.java +++ b/GraphenTester.java @@ -13,7 +13,8 @@ import control.Controller; * offen bleiben. Dann bitte das Programm über die Main-Funktion starten. * * @author Dirk Zechnall, Thomas Schaller - * @version 12.02.2021 (v6.6) + * @version 28.02.2023 (v7.0) + * */ public class GraphenTester extends Application { @@ -23,15 +24,21 @@ public class GraphenTester extends Application { try { FXMLLoader loader = new FXMLLoader(getClass().getResource("/view/graphenalgorithmen.fxml")); Controller c = new Controller(); + c.setStage(primaryStage); loader.setController(c); VBox root = (VBox) loader.load(); Scene scene = new Scene(root); Image icon = new Image("/view/icon.png"); primaryStage.getIcons().add(icon); primaryStage.setScene(scene); - primaryStage.setTitle("Graphentester"); primaryStage.show(); - primaryStage.setOnCloseRequest(e->c.mBeenden(null)); + primaryStage.setOnCloseRequest(e -> + { + c.saveAktConfig(); + + c.mBeenden(null); + System.exit(0); + }); } diff --git a/README.TXT b/README.TXT index 6bfcb1b..83f9d3a 100644 --- a/README.TXT +++ b/README.TXT @@ -1,15 +1,13 @@ -PROJEKTBEZEICHNUNG: GraphenTester -PROJEKTZWECK: Didaktisches Werkzeug um Graphenrepräsentation und -algorithmen kennen zu lernen -VERSION oder DATUM: 09.12.2020 - -INSTALLATIONSHINWEISE: -im Ordner Hintergrund - -WIE IST DAS PROJEKT IN BLUEJ ZU STARTEN: -Rechtsklick auf die Klasse Graphentester ---> new ---> OK - -AUTOR(EN): Dirk Zechnall / Thomas Schaller -********************************************************************************************** - +PROJEKTBEZEICHNUNG: GraphenTester +PROJEKTZWECK: Didaktisches Werkzeug um Graphenrepräsentation und -algorithmen kennen zu lernen +VERSION oder DATUM: 24.06.2021 + +WIE IST DAS PROJEKT IN BLUEJ ZU STARTEN: +Rechtsklick auf die Klasse Graphentester +--> new +--> OK + +AUTOR(EN): Dirk Zechnall / Thomas Schaller + +UPSTREAM URL: https://edugit.edugit.org/ts-zsl-rska/graphentester/-/tree/master/3_vorlagen_tauschordner/1_graphentester + diff --git a/algorithmen/GraphAlgo.java b/algorithmen/GraphAlgo.java index df3c54b..ff0ebae 100644 --- a/algorithmen/GraphAlgo.java +++ b/algorithmen/GraphAlgo.java @@ -8,25 +8,24 @@ import javafx.scene.control.Alert; import javafx.scene.control.Alert.AlertType; import javafx.scene.control.ButtonType; import javafx.application.Platform; -import javafx.scene.control.TextInputDialog; -import java.util.Optional; /** * - * description + * Abstrakte Oberklasse für alle zu simulierende Algorithmen + * Diese müssen die Methode getBezeichnung(): String und fuehreAlgorithmusAus() überschreiben. * - * @version 1.0 from 26.04.2019 - * @author + * @version 6.7 (Dez. 2020) + * @author Thomas Schaller */ public abstract class GraphAlgo extends Thread { // Anfang Attribute - private boolean stepping; - private boolean waitforrepaint; - private boolean waitforclick; - protected boolean inArbeit; - private GraphPlotter gp; + private boolean stepping; // Einzelschrittmodus + private boolean waitforrepaint; // wird gerade gezeichnet (=> nicht nochmal zeichnen beauftragen) + private boolean waitforclick; // wird auf Klick für nächsten Step gewartet + protected boolean inArbeit; + protected GraphPlotter gp; private Knoten startKnoten; private int speed =100; private Hilfe hilfe; @@ -35,6 +34,9 @@ public abstract class GraphAlgo extends Thread { // Ende Attribute // Anfang Methoden + /** + * Erzeugt neues Algorithmus-Objekt + */ public GraphAlgo() { stepping = true; waitforrepaint = false; @@ -43,6 +45,11 @@ public abstract class GraphAlgo extends Thread { setDaemon(true); } + /** + * Setzt die Referenz auf die GraphAnzeige und das Hilfefenster + * @param graphPlotter + * @param hilfe + */ public void setGUIElemente(GraphPlotter graphPlotter, Hilfe hilfe) { gp = graphPlotter; g = gp.getGraph(); @@ -50,15 +57,31 @@ public abstract class GraphAlgo extends Thread { if (hilfe != null) hilfe.setGraphPlotter(gp); } + /** + * Setzt Referenz auf den Graphen + * @param g Graph auf den der Algorithmus angewendet wird + */ public void setGraph(Graph g) { this.g = g; gp = null; hilfe = null; } + /** + * Gibt Referenz auf den Graphen zurück + * @return g Graph, auf den der Algorithmus angewendet wird + */ + public Graph getGraph() { + return g; + } + + /** + * Muss vom Algorithmus aufgerufen werden, um einen Haltepunkt zu setzen + */ public void step() { if(gp == null) return; try{ + //System.out.println("Step"); gp.updateImage(); aktuellerZustand = g.getStatus(); waitforclick = true; @@ -68,6 +91,7 @@ public abstract class GraphAlgo extends Thread { Thread.sleep(10); i++; } + if (hilfe != null) hilfe.setReviewAllowed(false); g.setStatus(aktuellerZustand); aktuellerZustand = null; @@ -77,30 +101,41 @@ public abstract class GraphAlgo extends Thread { } } - public boolean getWaitforrepaint() { - return waitforrepaint; - } - - public void setWaitforrepaint(boolean waitforrepaintNeu) { - waitforrepaint = waitforrepaintNeu; - } - + /** + * Wird gerade auf einen Buttonklick für den nächsten Step gewartet? + * @return true/false + */ public boolean getWaitforclick() { return waitforclick; } + /** + * Setzt, ob gewartet wird. Damit kann übermittelt werden, dass der Button gedrückt wurde + * @param wairforclickNeu Soll weiter gewartet werden? + */ public void setWaitforclick(boolean waitforclickNeu) { waitforclick = waitforclickNeu; } + /** + * Setzt, ob im Einzelschrittmodus ausgeführt werden soll + * @param stepping true/false + */ public void setStepping(boolean stepping) { this.stepping = stepping; } + /** + * Setzt die Wartezeit im automatischen Modus + * @param delay Wartezeit + */ public void setSpeed(int delay) { this.speed = delay; } + /** + * Ausführung des Algorithmus + */ public void run() { if(!inArbeit && gp != null) @@ -110,9 +145,10 @@ public abstract class GraphAlgo extends Thread { try{ if (hilfe != null) hilfe.setReviewAllowed(false); fuehreAlgorithmusAus(); + gp.updateImage(); // System.out.println("Algorithmus beendet"); } catch( ThreadDeath e){ - // System.out.println("Algorithmus vorzeitig beendet."); + // System.out.println("Algorithmus vorzeitig beendet."+e); } if (hilfe != null) hilfe.setReviewAllowed(true); inArbeit = false; @@ -125,10 +161,18 @@ public abstract class GraphAlgo extends Thread { } // Ende Methoden + /** + * Setzen des Startknotens + * @param k Startknoten + */ public void setStartKnoten(Knoten k) { startKnoten = k; } + /** + * Abfragen des Startknotens für den Algorithmus + * @return gesetzter Startknoten oder Knoten Nr. 0 + */ public Knoten getStartKnoten() { if (startKnoten != null) { return startKnoten; @@ -137,24 +181,22 @@ public abstract class GraphAlgo extends Thread { } // end of if-else } + /** + * Methode für den eigentlichen Algorithmus + */ public abstract void fuehreAlgorithmusAus(); + /** + * Name des Algorithmus für die Dropdown-Auswahl + */ public abstract String getBezeichnung(); - public void eingabe() { - Platform.runLater(() -> { - TextInputDialog dialog = new TextInputDialog(); // create an instance - - dialog.setTitle("Title"); - // other formatting etc - - Optional result = dialog.showAndWait(); - // this shows the dialog, waits until it is closed, and stores the result - - - }); - } - + /** + * Öffnet ein Anzeigefenster mit einer Meldung. Die + * Meldung wird ggf. auch im Hilfefenster angezeigt. + * Ist für die Verwendung im Algorithmus gedacht. + * @param s Meldung + */ public void melde(String s) { info(s); Platform.runLater(() -> { @@ -165,22 +207,53 @@ public abstract class GraphAlgo extends Thread { }); } + /** + * Text in das Hilfefenster einfügen + * Ist für die Verwendung im Algorithmus gedacht. + * @param s Hilfetext + */ public void info(String s) { if(hilfe != null) hilfe.append(s+"\n"); } + /** + * Löscht das Hilfefenster + */ public void resetInfo() { if(hilfe != null) hilfe.loescheAlles(); } + /** + * Rückt im Hilfefenster eine Ebene tiefer ein. + * Ist für die Verwendung im Algorithmus gedacht. + */ public void infoIndentMore() { if(hilfe != null) hilfe.indentMore(); } + /** + * Rückt im Hilfefenster eine Ebene aus. + * Ist für die Verwendung im Algorithmus gedacht. + */ public void infoIndentLess() { if(hilfe != null) hilfe.indentLess(); } + /** + * Initialisiert den Graphen + */ + public void init() { + gp.getGraphOptions().knotenKurztext = new String[]{"Wert"}; + gp.getGraphOptions().knotenLangtext = new String[]{"Infotext","Wert","Markiert","Besucht"}; + if(g.isGewichtet()) { + gp.getGraphOptions().kanteKurztext = new String[]{"Gewicht"}; + gp.getGraphOptions().kanteLangtext = new String[]{"Gewicht","Markiert","Gelöscht"}; + } else { + gp.getGraphOptions().kanteKurztext = new String[]{}; + gp.getGraphOptions().kanteLangtext = new String[]{"Markiert","Gelöscht"}; + } + } + } diff --git a/algorithmen/GraphAlgo_BellmanFord.java b/algorithmen/GraphAlgo_BellmanFord.java index 2319f4b..812fc5f 100644 --- a/algorithmen/GraphAlgo_BellmanFord.java +++ b/algorithmen/GraphAlgo_BellmanFord.java @@ -29,15 +29,19 @@ public class GraphAlgo_BellmanFord extends GraphAlgo { } } + public void init() { + for(Knoten k : g.getAlleKnoten()) { + k.setWert(Double.POSITIVE_INFINITY); + } + info("Setze alle Entfernungen auf unendlich"); + } + // Anfang Methoden public void fuehreAlgorithmusAus() { if (g.getAnzahlKnoten()==0) { return; } - for(Knoten k : g.getAlleKnoten()) { - k.setWert(1000); - } - info("Setze alle Entfernungen auf unendlich (1000)"); + getStartKnoten().setWert(0); info("Setze Startknoten auf Entfernung 0"); step(); diff --git a/algorithmen/GraphAlgo_Dijkstra.java b/algorithmen/GraphAlgo_Dijkstra.java index 164793f..009fdf2 100644 --- a/algorithmen/GraphAlgo_Dijkstra.java +++ b/algorithmen/GraphAlgo_Dijkstra.java @@ -22,6 +22,13 @@ public class GraphAlgo_Dijkstra extends GraphAlgo { return "Kürzester Pfad (Dijkstra)"; } + public void init() { + super.init(); + for(Knoten k : g.getAlleKnoten()) { + k.setWert(Double.POSITIVE_INFINITY); + } + info("Setze alle Entfernungen auf unendlich"); + } // Anfang Methoden public void fuehreAlgorithmusAus() { @@ -50,13 +57,10 @@ public class GraphAlgo_Dijkstra extends GraphAlgo { if(!n.isMarkiert()){ info("- ist noch nicht markiert"); Kante ka = g.getKante(k, n); - if(!n.isBesucht() || n.getDoubleWert() > k.getDoubleWert()+ka.getGewicht()){ + if(n.getDoubleWert() > k.getDoubleWert()+ka.getGewicht()){ if(n.isBesucht()) { List eingehend = g.getEingehendeKanten(n, ka2 -> !ka2.isGeloescht() && ka2.isMarkiert()); Kante alterWeg = eingehend.get(0); - // Kante alterWeg = g.beschraenkeKantenAuf(g.getEingehendeKanten(n), Graph.MARKIERT, Graph.NICHTGELOESCHT).get(0); - // alterWeg.setGeloescht(true); - // alterWeg.setMarkiert(false); alterWeg.setGeloescht(true); alterWeg.setMarkiert(false); diff --git a/algorithmen/GraphAlgo_DijkstraMitVorgaenger.java b/algorithmen/GraphAlgo_DijkstraMitVorgaenger.java new file mode 100644 index 0000000..015ceee --- /dev/null +++ b/algorithmen/GraphAlgo_DijkstraMitVorgaenger.java @@ -0,0 +1,109 @@ +package algorithmen; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.nio.file.*; +import java.util.Arrays; + +import graph.*; +/** + * Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen. + * Algorithmus: Dijkstra + * + * @version 1.0 from 10.12.2020 + * @author Thomas Schaller + */ + +public class GraphAlgo_DijkstraMitVorgaenger extends GraphAlgo { + + // Anfang Attribute + public String getBezeichnung() { + return "Kürzester Pfad (Dijkstra mit Vorgänger)"; + } + + + public void init() { + List alle = g.getAlleKnoten(); + for(Knoten k : alle) { + k.set("Vorgänger","-"); + k.set("Entfernung",Double.POSITIVE_INFINITY); + k.setSortierkriterium("Entfernung"); + } + gp.getGraphOptions().knotenKurztext = new String[]{"Entfernung","Vorgänger"}; + gp.getGraphOptions().knotenLangtext = new String[]{"Infotext","Entfernung","Vorgänger","Markiert","Besucht"}; + } + + public void fuehreAlgorithmusAus() { + if (g.getAnzahlKnoten()==0) { + return; + } + + + + info("Erzeuge leere toDo-Liste und füge Startknoten hinzu"); + List toDo = new ArrayList(); + getStartKnoten().setBesucht(true); + getStartKnoten().set("Entfernung", 0); + toDo.add(getStartKnoten()); + + while(toDo.size()>0) { + info("Sortiere toDo-Liste nach der Entfernung"); + Collections.sort(toDo); + info("Nimm ersten Knoten aus der toDo-Liste (momentan "+toDo.size()+" Elemente) heraus"); + Knoten k = toDo.remove(0); + infoIndentMore(); + k.setMarkiert(true); + info("Markiere den Knoten"); + info("Er hat Entfernung "+k.getString("Entfernung")); + info("Für jeden Nachbarknoten"); + infoIndentMore(); + for(Knoten n : g.getNachbarknoten(k)) { + if(!n.isMarkiert()){ + if(!n.getInfotext().isEmpty()) { + info("- "+n.getInfotext()+" ist noch nicht markiert"); + } else { + info("- Knoten Nr. "+g.getNummer(n)+" ist noch nicht markiert"); + } + Kante ka = g.getKante(k, n); + if(!n.isBesucht() || n.getDouble("Entfernung") > k.getDouble("Entfernung") + ka.getGewicht()){ + if(n.isBesucht()) { + List eingehend = g.getEingehendeKanten(n, ka2 -> !ka2.isGeloescht() && ka2.isMarkiert()); + Kante alterWeg = eingehend.get(0); + // Kante alterWeg = g.beschraenkeKantenAuf(g.getEingehendeKanten(n), Graph.MARKIERT, Graph.NICHTGELOESCHT).get(0); + // alterWeg.setGeloescht(true); + // alterWeg.setMarkiert(false); + alterWeg.setGeloescht(true); + alterWeg.setMarkiert(false); + + info(" loesche bisherigen Weg dorthin"); + } + + n.set("Entfernung", k.getInt("Entfernung")+ka.getGewicht()); + if(k.getInfotext().equals("")) { + n.set("Vorgänger",g.getNummer(k)); + } else { + n.set("Vorgänger",k.getInfotext()); + } + if(!toDo.contains(n)) toDo.add(n); + ka.setMarkiert(true); + n.setBesucht(true); + info(" setze Entfernung "+n.getString("Entfernung")+" und füge ggf. ToDo-Liste hinzu."); + info(" toDo-Liste hat jetzt "+toDo.size()+" Elemente"); + } else { + info(" keine neue beste Entfernung"); + ka.setGeloescht(true); + } + } + } + infoIndentLess(); + infoIndentLess(); + step(); + } + info("ToDo-Liste fertig abgearbeitet"); + + } // end + // Ende Methoden + +} + diff --git a/algorithmen/GraphAlgo_DominatingSetGreedyA.java b/algorithmen/GraphAlgo_DominatingSetGreedyA.java index c39e18e..7187cf6 100644 --- a/algorithmen/GraphAlgo_DominatingSetGreedyA.java +++ b/algorithmen/GraphAlgo_DominatingSetGreedyA.java @@ -18,7 +18,7 @@ import graph.*; * @author Thomas Schaller */ -public class GraphAlgo_DominatingSetGreedyA extends GraphAlgo_DominatingSetGreedy { +public class GraphAlgo_DominatingSetGreedyA extends GraphAlgo { // Anfang Attribute @@ -29,7 +29,7 @@ public class GraphAlgo_DominatingSetGreedyA extends GraphAlgo_DominatingSetGreed /** Bestimmt besten Knoten nach Strategie: * Nimm den Knoten mit den meisten Nachbarn */ - public Knoten bestimmeBesten() { + private Knoten bestimmeBesten() { List knoten = g.getAlleKnoten(k->!k.isMarkiert()); info("Wiederhole für jeden noch nicht markierten Knoten"); @@ -47,5 +47,32 @@ public class GraphAlgo_DominatingSetGreedyA extends GraphAlgo_DominatingSetGreed return bester; } + // Anfang Methoden + public void fuehreAlgorithmusAus() { + if (g.getAnzahlKnoten()==0) { + return; + } + List knoten = g.getAlleKnoten(k->!k.isMarkiert() && !k.isBesucht()); + info("Solange es noch nicht überdeckte Knoten gibt, wiederhole..."); + int nr = 1; + while(knoten.size() > 0) { + info("Bestimme "+(nr++)+". hinzuzufügenden Knoten"); + infoIndentMore(); + Knoten bester = bestimmeBesten(); + bester.setMarkiert(true); + bester.setBesucht(false); + info("Markiere diesen Knoten ..."); + List nachbarn = g.getNachbarknoten(bester,kn->!kn.isMarkiert() && !kn.isBesucht()); + for(Knoten k : nachbarn) { + k.setBesucht(true); + } + info("... und setze alle bisher nicht überdeckten Nachbarn auf besucht"); + knoten = g.getAlleKnoten(kn->!kn.isMarkiert() && !kn.isBesucht()); + step(); + infoIndentLess(); + }// end of while + + } + // Ende Methoden } diff --git a/algorithmen/GraphAlgo_DominatingSetGreedyB.java b/algorithmen/GraphAlgo_DominatingSetGreedyB.java index fbb3ff9..3f0bff9 100644 --- a/algorithmen/GraphAlgo_DominatingSetGreedyB.java +++ b/algorithmen/GraphAlgo_DominatingSetGreedyB.java @@ -17,7 +17,7 @@ import graph.*; * @author Thomas Schaller */ -public class GraphAlgo_DominatingSetGreedyB extends GraphAlgo_DominatingSetGreedy { +public class GraphAlgo_DominatingSetGreedyB extends GraphAlgo { // Anfang Attribute @@ -28,7 +28,7 @@ public class GraphAlgo_DominatingSetGreedyB extends GraphAlgo_DominatingSetGreed /** Bestimmt besten Knoten nach Strategie: * Nimm den Knoten mit den wenigsten Nachbarn */ - protected Knoten bestimmeBesten() { + private Knoten bestimmeBesten() { List knoten = g.getAlleKnoten(k->!k.isMarkiert()); info("Wiederhole für jeden noch nicht markierten Knoten"); @@ -46,4 +46,32 @@ public class GraphAlgo_DominatingSetGreedyB extends GraphAlgo_DominatingSetGreed return bester; } + // Anfang Methoden + public void fuehreAlgorithmusAus() { + if (g.getAnzahlKnoten()==0) { + return; + } + List knoten = g.getAlleKnoten(k->!k.isMarkiert() && !k.isBesucht()); + info("Solange es noch nicht überdeckte Knoten gibt, wiederhole..."); + int nr = 1; + while(knoten.size() > 0) { + info("Bestimme "+(nr++)+". hinzuzufügenden Knoten"); + infoIndentMore(); + Knoten bester = bestimmeBesten(); + bester.setMarkiert(true); + bester.setBesucht(false); + info("Markiere diesen Knoten ..."); + List nachbarn = g.getNachbarknoten(bester,kn->!kn.isMarkiert() && !kn.isBesucht()); + for(Knoten k : nachbarn) { + k.setBesucht(true); + } + info("... und setze alle bisher nicht überdeckten Nachbarn auf besucht"); + knoten = g.getAlleKnoten(kn->!kn.isMarkiert() && !kn.isBesucht()); + step(); + infoIndentLess(); + }// end of while + + } + + // Ende Methoden } diff --git a/algorithmen/GraphAlgo_DominatingSetGreedyC.java b/algorithmen/GraphAlgo_DominatingSetGreedyC.java index 4480857..31dda8b 100644 --- a/algorithmen/GraphAlgo_DominatingSetGreedyC.java +++ b/algorithmen/GraphAlgo_DominatingSetGreedyC.java @@ -18,7 +18,7 @@ import graph.*; * @author Thomas Schaller */ -public class GraphAlgo_DominatingSetGreedyC extends GraphAlgo_DominatingSetGreedy { +public class GraphAlgo_DominatingSetGreedyC extends GraphAlgo { // Anfang Attribute @@ -29,7 +29,7 @@ public class GraphAlgo_DominatingSetGreedyC extends GraphAlgo_DominatingSetGreed /** Bestimmt besten Knoten nach Strategie: * Nimm den Knoten mit den meisten Nachbarn */ - protected Knoten bestimmeBesten() { + private Knoten bestimmeBesten() { List knoten = g.getAlleKnoten(k->!k.isMarkiert()); info("Wiederhole für jeden noch nicht markierten Knoten"); @@ -48,5 +48,32 @@ public class GraphAlgo_DominatingSetGreedyC extends GraphAlgo_DominatingSetGreed return bester; } - + // Anfang Methoden + public void fuehreAlgorithmusAus() { + if (g.getAnzahlKnoten()==0) { + return; + } + List knoten = g.getAlleKnoten(k->!k.isMarkiert() && !k.isBesucht()); + info("Solange es noch nicht überdeckte Knoten gibt, wiederhole..."); + int nr = 1; + while(knoten.size() > 0) { + info("Bestimme "+(nr++)+". hinzuzufügenden Knoten"); + infoIndentMore(); + Knoten bester = bestimmeBesten(); + bester.setMarkiert(true); + bester.setBesucht(false); + info("Markiere diesen Knoten ..."); + List nachbarn = g.getNachbarknoten(bester,kn->!kn.isMarkiert() && !kn.isBesucht()); + for(Knoten k : nachbarn) { + k.setBesucht(true); + } + info("... und setze alle bisher nicht überdeckten Nachbarn auf besucht"); + knoten = g.getAlleKnoten(kn->!kn.isMarkiert() && !kn.isBesucht()); + step(); + infoIndentLess(); + }// end of while + + } + + // Ende Methoden } diff --git a/algorithmen/GraphAlgo_DominatingSetGreedyD.java b/algorithmen/GraphAlgo_DominatingSetGreedyD.java index 534a508..fdb1a3c 100644 --- a/algorithmen/GraphAlgo_DominatingSetGreedyD.java +++ b/algorithmen/GraphAlgo_DominatingSetGreedyD.java @@ -18,7 +18,7 @@ import graph.*; * @author Thomas Schaller */ -public class GraphAlgo_DominatingSetGreedyD extends GraphAlgo_DominatingSetGreedy { +public class GraphAlgo_DominatingSetGreedyD extends GraphAlgo { // Anfang Attribute @@ -29,7 +29,7 @@ public class GraphAlgo_DominatingSetGreedyD extends GraphAlgo_DominatingSetGreed /** Bestimmt besten Knoten nach Strategie: * Nimm den Knoten mit den meisten Nachbarn */ - protected Knoten bestimmeBesten() { + private Knoten bestimmeBesten() { List knoten = g.getAlleKnoten(k->!k.isMarkiert()); info("Wiederhole für jeden noch nicht markierten Knoten"); @@ -48,4 +48,32 @@ public class GraphAlgo_DominatingSetGreedyD extends GraphAlgo_DominatingSetGreed return bester; } + // Anfang Methoden + public void fuehreAlgorithmusAus() { + if (g.getAnzahlKnoten()==0) { + return; + } + List knoten = g.getAlleKnoten(k->!k.isMarkiert() && !k.isBesucht()); + info("Solange es noch nicht überdeckte Knoten gibt, wiederhole..."); + int nr = 1; + while(knoten.size() > 0) { + info("Bestimme "+(nr++)+". hinzuzufügenden Knoten"); + infoIndentMore(); + Knoten bester = bestimmeBesten(); + bester.setMarkiert(true); + bester.setBesucht(false); + info("Markiere diesen Knoten ..."); + List nachbarn = g.getNachbarknoten(bester,kn->!kn.isMarkiert() && !kn.isBesucht()); + for(Knoten k : nachbarn) { + k.setBesucht(true); + } + info("... und setze alle bisher nicht überdeckten Nachbarn auf besucht"); + knoten = g.getAlleKnoten(kn->!kn.isMarkiert() && !kn.isBesucht()); + step(); + infoIndentLess(); + }// end of while + + } + + // Ende Methoden } diff --git a/algorithmen/GraphAlgo_DominatingSetGreedyE.java b/algorithmen/GraphAlgo_DominatingSetGreedyE.java index f5381d9..67b250f 100644 --- a/algorithmen/GraphAlgo_DominatingSetGreedyE.java +++ b/algorithmen/GraphAlgo_DominatingSetGreedyE.java @@ -18,7 +18,7 @@ import graph.*; * @author Thomas Schaller */ -public class GraphAlgo_DominatingSetGreedyE extends GraphAlgo_DominatingSetGreedy { +public class GraphAlgo_DominatingSetGreedyE extends GraphAlgo { // Anfang Attribute @@ -30,7 +30,7 @@ public class GraphAlgo_DominatingSetGreedyE extends GraphAlgo_DominatingSetGreed * ein nicht abgedeckten Knoten, der von einem beliebigen schon ausgewählten Knoten die Entfernung 3 hat */ - protected Knoten bestimmeBesten() { + private Knoten bestimmeBesten() { Random r= new Random(); List markierte = g.getAlleKnoten(k->k.isMarkiert() ); @@ -67,5 +67,32 @@ public class GraphAlgo_DominatingSetGreedyE extends GraphAlgo_DominatingSetGreed return bester; } - + // Anfang Methoden + public void fuehreAlgorithmusAus() { + if (g.getAnzahlKnoten()==0) { + return; + } + List knoten = g.getAlleKnoten(k->!k.isMarkiert() && !k.isBesucht()); + info("Solange es noch nicht überdeckte Knoten gibt, wiederhole..."); + int nr = 1; + while(knoten.size() > 0) { + info("Bestimme "+(nr++)+". hinzuzufügenden Knoten"); + infoIndentMore(); + Knoten bester = bestimmeBesten(); + bester.setMarkiert(true); + bester.setBesucht(false); + info("Markiere diesen Knoten ..."); + List nachbarn = g.getNachbarknoten(bester,kn->!kn.isMarkiert() && !kn.isBesucht()); + for(Knoten k : nachbarn) { + k.setBesucht(true); + } + info("... und setze alle bisher nicht überdeckten Nachbarn auf besucht"); + knoten = g.getAlleKnoten(kn->!kn.isMarkiert() && !kn.isBesucht()); + step(); + infoIndentLess(); + }// end of while + + } + + // Ende Methoden } diff --git a/algorithmen/GraphAlgo_DominatingSetGreedyF.java b/algorithmen/GraphAlgo_DominatingSetGreedyF.java index 3108c7a..21673c2 100644 --- a/algorithmen/GraphAlgo_DominatingSetGreedyF.java +++ b/algorithmen/GraphAlgo_DominatingSetGreedyF.java @@ -18,7 +18,7 @@ import graph.*; * @author Thomas Schaller */ -public class GraphAlgo_DominatingSetGreedyF extends GraphAlgo_DominatingSetGreedy { +public class GraphAlgo_DominatingSetGreedyF extends GraphAlgo { // Anfang Attribute @@ -30,7 +30,7 @@ public class GraphAlgo_DominatingSetGreedyF extends GraphAlgo_DominatingSetGreed * ein nicht abgedeckten Knoten, der von einem beliebigen schon ausgewählten Knoten die Entfernung 3 hat */ - protected Knoten bestimmeBesten() { + private Knoten bestimmeBesten() { Random r= new Random(); List markierte = g.getAlleKnoten(k->k.isMarkiert() ); @@ -67,4 +67,32 @@ public class GraphAlgo_DominatingSetGreedyF extends GraphAlgo_DominatingSetGreed return bester; } + // Anfang Methoden + public void fuehreAlgorithmusAus() { + if (g.getAnzahlKnoten()==0) { + return; + } + List knoten = g.getAlleKnoten(k->!k.isMarkiert() && !k.isBesucht()); + info("Solange es noch nicht überdeckte Knoten gibt, wiederhole..."); + int nr = 1; + while(knoten.size() > 0) { + info("Bestimme "+(nr++)+". hinzuzufügenden Knoten"); + infoIndentMore(); + Knoten bester = bestimmeBesten(); + bester.setMarkiert(true); + bester.setBesucht(false); + info("Markiere diesen Knoten ..."); + List nachbarn = g.getNachbarknoten(bester,kn->!kn.isMarkiert() && !kn.isBesucht()); + for(Knoten k : nachbarn) { + k.setBesucht(true); + } + info("... und setze alle bisher nicht überdeckten Nachbarn auf besucht"); + knoten = g.getAlleKnoten(kn->!kn.isMarkiert() && !kn.isBesucht()); + step(); + infoIndentLess(); + }// end of while + + } + + // Ende Methoden } diff --git a/algorithmen/GraphAlgo_DominatingSetGreedyG.java b/algorithmen/GraphAlgo_DominatingSetGreedyG.java index c7730ec..cb4e7cf 100644 --- a/algorithmen/GraphAlgo_DominatingSetGreedyG.java +++ b/algorithmen/GraphAlgo_DominatingSetGreedyG.java @@ -18,7 +18,7 @@ import graph.*; * @author Thomas Schaller */ -public class GraphAlgo_DominatingSetGreedyG extends GraphAlgo_DominatingSetGreedy { +public class GraphAlgo_DominatingSetGreedyG extends GraphAlgo { // Anfang Attribute @@ -30,7 +30,7 @@ public class GraphAlgo_DominatingSetGreedyG extends GraphAlgo_DominatingSetGreed * ein nicht abgedeckten Knoten, der von einem beliebigen schon ausgewählten Knoten die Entfernung 3 hat */ - protected Knoten bestimmeBesten() { + private Knoten bestimmeBesten() { Random r= new Random(); List markierte = g.getAlleKnoten(k->k.isMarkiert() ); @@ -67,4 +67,32 @@ public class GraphAlgo_DominatingSetGreedyG extends GraphAlgo_DominatingSetGreed return bester; } + // Anfang Methoden + public void fuehreAlgorithmusAus() { + if (g.getAnzahlKnoten()==0) { + return; + } + List knoten = g.getAlleKnoten(k->!k.isMarkiert() && !k.isBesucht()); + info("Solange es noch nicht überdeckte Knoten gibt, wiederhole..."); + int nr = 1; + while(knoten.size() > 0) { + info("Bestimme "+(nr++)+". hinzuzufügenden Knoten"); + infoIndentMore(); + Knoten bester = bestimmeBesten(); + bester.setMarkiert(true); + bester.setBesucht(false); + info("Markiere diesen Knoten ..."); + List nachbarn = g.getNachbarknoten(bester,kn->!kn.isMarkiert() && !kn.isBesucht()); + for(Knoten k : nachbarn) { + k.setBesucht(true); + } + info("... und setze alle bisher nicht überdeckten Nachbarn auf besucht"); + knoten = g.getAlleKnoten(kn->!kn.isMarkiert() && !kn.isBesucht()); + step(); + infoIndentLess(); + }// end of while + + } + + // Ende Methoden } diff --git a/algorithmen/GraphAlgo_DominatingSetGreedyH.java b/algorithmen/GraphAlgo_DominatingSetGreedyH.java index 05845e0..b1d7c8d 100644 --- a/algorithmen/GraphAlgo_DominatingSetGreedyH.java +++ b/algorithmen/GraphAlgo_DominatingSetGreedyH.java @@ -18,7 +18,7 @@ import graph.*; * @author Thomas Schaller */ -public class GraphAlgo_DominatingSetGreedyH extends GraphAlgo_DominatingSetGreedy { +public class GraphAlgo_DominatingSetGreedyH extends GraphAlgo { // Anfang Attribute @@ -29,7 +29,7 @@ public class GraphAlgo_DominatingSetGreedyH extends GraphAlgo_DominatingSetGreed /** Bestimmt besten Knoten nach Strategie: * ein nicht abgedeckten Knoten, der von möglichst vielen schon ausgewählten Knoten die Entfernung 3 hat */ - protected Knoten bestimmeBesten() { + private Knoten bestimmeBesten() { Random r = new Random(); List markierte = g.getAlleKnoten(k->k.isMarkiert() ); List nichtabgedeckte = g.getAlleKnoten(k->!k.isMarkiert() && !k.isBesucht() ); @@ -70,4 +70,32 @@ public class GraphAlgo_DominatingSetGreedyH extends GraphAlgo_DominatingSetGreed return bester; } + // Anfang Methoden + public void fuehreAlgorithmusAus() { + if (g.getAnzahlKnoten()==0) { + return; + } + List knoten = g.getAlleKnoten(k->!k.isMarkiert() && !k.isBesucht()); + info("Solange es noch nicht überdeckte Knoten gibt, wiederhole..."); + int nr = 1; + while(knoten.size() > 0) { + info("Bestimme "+(nr++)+". hinzuzufügenden Knoten"); + infoIndentMore(); + Knoten bester = bestimmeBesten(); + bester.setMarkiert(true); + bester.setBesucht(false); + info("Markiere diesen Knoten ..."); + List nachbarn = g.getNachbarknoten(bester,kn->!kn.isMarkiert() && !kn.isBesucht()); + for(Knoten k : nachbarn) { + k.setBesucht(true); + } + info("... und setze alle bisher nicht überdeckten Nachbarn auf besucht"); + knoten = g.getAlleKnoten(kn->!kn.isMarkiert() && !kn.isBesucht()); + step(); + infoIndentLess(); + }// end of while + + } + + // Ende Methoden } diff --git a/algorithmen/GraphAlgo_DominatingSetGreedyI.java b/algorithmen/GraphAlgo_DominatingSetGreedyI.java index 5fce4d6..cdcf6d9 100644 --- a/algorithmen/GraphAlgo_DominatingSetGreedyI.java +++ b/algorithmen/GraphAlgo_DominatingSetGreedyI.java @@ -18,7 +18,7 @@ import graph.*; * @author Thomas Schaller */ -public class GraphAlgo_DominatingSetGreedyI extends GraphAlgo_DominatingSetGreedy { +public class GraphAlgo_DominatingSetGreedyI extends GraphAlgo { // Anfang Attribute @@ -30,7 +30,7 @@ public class GraphAlgo_DominatingSetGreedyI extends GraphAlgo_DominatingSetGreed * ein nicht abgedeckten Knoten, der von den ausgewählten Knoten eine möglichst große Entfernung hat */ - protected Knoten bestimmeBesten() { + private Knoten bestimmeBesten() { Random r = new Random(); List markierte = g.getAlleKnoten(k->k.isMarkiert() ); List nichtabgedeckte = g.getAlleKnoten(k->!k.isMarkiert() && !k.isBesucht() ); @@ -82,4 +82,33 @@ public class GraphAlgo_DominatingSetGreedyI extends GraphAlgo_DominatingSetGreed return bester; } + + // Anfang Methoden + public void fuehreAlgorithmusAus() { + if (g.getAnzahlKnoten()==0) { + return; + } + List knoten = g.getAlleKnoten(k->!k.isMarkiert() && !k.isBesucht()); + info("Solange es noch nicht überdeckte Knoten gibt, wiederhole..."); + int nr = 1; + while(knoten.size() > 0) { + info("Bestimme "+(nr++)+". hinzuzufügenden Knoten"); + infoIndentMore(); + Knoten bester = bestimmeBesten(); + bester.setMarkiert(true); + bester.setBesucht(false); + info("Markiere diesen Knoten ..."); + List nachbarn = g.getNachbarknoten(bester,kn->!kn.isMarkiert() && !kn.isBesucht()); + for(Knoten k : nachbarn) { + k.setBesucht(true); + } + info("... und setze alle bisher nicht überdeckten Nachbarn auf besucht"); + knoten = g.getAlleKnoten(kn->!kn.isMarkiert() && !kn.isBesucht()); + step(); + infoIndentLess(); + }// end of while + + } + + // Ende Methoden } diff --git a/algorithmen/package.bluej b/algorithmen/package.bluej index 95b2c6b..a7985f2 100644 --- a/algorithmen/package.bluej +++ b/algorithmen/package.bluej @@ -1,261 +1,268 @@ -#BlueJ package file -dependency1.from=GraphAlgo_DominatingSetGreedyF -dependency1.to=GraphAlgo -dependency1.type=UsesDependency -dependency2.from=GraphAlgo_DominatingSetGreedyF -dependency2.to=GraphAlgo_Moore -dependency2.type=UsesDependency -dependency3.from=GraphAlgo_DominatingSetGreedyG -dependency3.to=GraphAlgo -dependency3.type=UsesDependency -dependency4.from=GraphAlgo_DominatingSetGreedyG -dependency4.to=GraphAlgo_Moore -dependency4.type=UsesDependency -dependency5.from=GraphAlgo_DominatingSetGreedyE -dependency5.to=GraphAlgo -dependency5.type=UsesDependency -dependency6.from=GraphAlgo_DominatingSetGreedyE -dependency6.to=GraphAlgo_Moore -dependency6.type=UsesDependency -dependency7.from=GraphAlgo_DominatingSetGreedyH -dependency7.to=GraphAlgo -dependency7.type=UsesDependency -dependency8.from=GraphAlgo_DominatingSetGreedyH -dependency8.to=GraphAlgo_Moore -dependency8.type=UsesDependency -objectbench.height=157 -objectbench.width=1896 -package.divider.horizontal=0.6003172085646312 -package.divider.vertical=0.829698857736241 -package.editor.height=792 -package.editor.width=1774 -package.editor.x=1919 -package.editor.y=0 -package.frame.height=1054 -package.frame.width=1922 -package.numDependencies=8 -package.numTargets=31 -package.showExtends=true -package.showUses=true -readme.height=60 -readme.name=@README -readme.width=49 -readme.x=10 -readme.y=10 -target1.height=50 -target1.name=GraphAlgo_ColoringGreedyRandom -target1.showInterface=false -target1.type=ClassTarget -target1.width=260 -target1.x=600 -target1.y=590 -target10.height=50 -target10.name=GraphAlgo_DominatingSetGreedyF -target10.showInterface=false -target10.type=ClassTarget -target10.width=260 -target10.x=290 -target10.y=420 -target11.height=50 -target11.name=GraphAlgo_DominatingSetGreedyG -target11.showInterface=false -target11.type=ClassTarget -target11.width=260 -target11.x=290 -target11.y=470 -target12.height=50 -target12.name=GraphAlgo_TSPGreedy -target12.showInterface=false -target12.type=ClassTarget -target12.width=230 -target12.x=600 -target12.y=160 -target13.height=50 -target13.name=GraphAlgo_DominatingSetGreedyD -target13.showInterface=false -target13.type=ClassTarget -target13.width=260 -target13.x=290 -target13.y=320 -target14.height=50 -target14.name=GraphAlgo_TSPGenetisch -target14.showInterface=false -target14.type=ClassTarget -target14.width=230 -target14.x=600 -target14.y=340 -target15.height=50 -target15.name=GraphAlgo_DominatingSetGreedyE -target15.showInterface=false -target15.type=ClassTarget -target15.width=260 -target15.x=290 -target15.y=370 -target16.height=50 -target16.name=GraphAlgo_DominatingSetGenetisch -target16.showInterface=false -target16.type=ClassTarget -target16.width=270 -target16.x=290 -target16.y=640 -target17.height=50 -target17.name=GraphAlgo_ZyklusBacktracking -target17.showInterface=false -target17.type=ClassTarget -target17.width=230 -target17.x=20 -target17.y=640 -target18.height=50 -target18.name=GraphAlgo_DominatingSetGreedyH -target18.showInterface=false -target18.type=ClassTarget -target18.width=260 -target18.x=290 -target18.y=520 -target19.height=50 -target19.name=GraphAlgo_DominatingSetGreedyI -target19.showInterface=false -target19.type=ClassTarget -target19.width=250 -target19.x=290 -target19.y=570 -target2.height=50 -target2.name=GraphAlgo_Tiefensuche -target2.showInterface=false -target2.type=ClassTarget -target2.width=210 -target2.x=20 -target2.y=170 -target20.height=50 -target20.name=GraphAlgo_Moore -target20.showInterface=false -target20.type=ClassTarget -target20.width=210 -target20.x=20 -target20.y=440 -target21.height=50 -target21.name=GraphAlgo_BellmanFord -target21.showInterface=false -target21.type=ClassTarget -target21.width=210 -target21.x=20 -target21.y=560 -target22.height=50 -target22.name=GraphAlgo_Breitensuche -target22.showInterface=false -target22.type=ClassTarget -target22.width=210 -target22.x=20 -target22.y=290 -target23.height=50 -target23.name=GraphAlgo_toplogischeSortierung -target23.showInterface=false -target23.type=ClassTarget -target23.width=250 -target23.x=20 -target23.y=370 -target24.height=50 -target24.name=GraphAlgo_DominatingSetBacktracking -target24.showInterface=false -target24.type=ClassTarget -target24.width=290 -target24.x=290 -target24.y=100 -target25.height=50 -target25.name=GraphAlgo_ColoringGreedy -target25.showInterface=false -target25.type=ClassTarget -target25.width=240 -target25.x=600 -target25.y=530 -target26.height=50 -target26.name=GraphAlgo_EulerkreisExistenz -target26.showInterface=false -target26.type=ClassTarget -target26.width=220 -target26.x=20 -target26.y=100 -target27.height=50 -target27.name=GraphAlgo_TSPGreedy2 -target27.showInterface=false -target27.type=ClassTarget -target27.width=230 -target27.x=600 -target27.y=220 -target28.height=50 -target28.name=GraphAlgo_TiefensucheRek -target28.showInterface=false -target28.type=ClassTarget -target28.width=210 -target28.x=20 -target28.y=230 -target29.height=50 -target29.name=GraphAlgo_ColoringBacktracking -target29.showInterface=false -target29.type=ClassTarget -target29.width=250 -target29.x=600 -target29.y=470 -target3.height=50 -target3.name=GraphAlgo_MST_Prim -target3.showInterface=false -target3.type=ClassTarget -target3.width=230 -target3.x=890 -target3.y=100 -target30.height=50 -target30.name=GraphAlgo_Dijkstra -target30.showInterface=false -target30.type=ClassTarget -target30.width=210 -target30.x=20 -target30.y=500 -target31.height=50 -target31.name=GraphAlgo_TSPGreedyOpt -target31.showInterface=false -target31.type=ClassTarget -target31.width=230 -target31.x=600 -target31.y=280 -target4.height=50 -target4.name=GraphAlgo_TSPBacktracking -target4.showInterface=false -target4.type=ClassTarget -target4.width=230 -target4.x=600 -target4.y=100 -target5.height=50 -target5.name=GraphAlgo_DominatingSetGreedyB -target5.showInterface=false -target5.type=ClassTarget -target5.width=260 -target5.x=290 -target5.y=220 -target6.height=50 -target6.name=GraphAlgo -target6.showInterface=false -target6.type=AbstractTarget -target6.width=90 -target6.x=310 -target6.y=10 -target7.height=50 -target7.name=GraphAlgo_DominatingSetGreedyC -target7.showInterface=false -target7.type=ClassTarget -target7.width=260 -target7.x=290 -target7.y=270 -target8.height=50 -target8.name=GraphAlgo_MST_Kruskal -target8.showInterface=false -target8.type=ClassTarget -target8.width=230 -target8.x=890 -target8.y=160 -target9.height=50 -target9.name=GraphAlgo_DominatingSetGreedyA -target9.showInterface=false -target9.type=ClassTarget -target9.width=260 -target9.x=290 -target9.y=170 +#BlueJ package file +dependency1.from=GraphAlgo_DominatingSetGreedyF +dependency1.to=GraphAlgo +dependency1.type=UsesDependency +dependency2.from=GraphAlgo_DominatingSetGreedyF +dependency2.to=GraphAlgo_Moore +dependency2.type=UsesDependency +dependency3.from=GraphAlgo_DominatingSetGreedyG +dependency3.to=GraphAlgo +dependency3.type=UsesDependency +dependency4.from=GraphAlgo_DominatingSetGreedyG +dependency4.to=GraphAlgo_Moore +dependency4.type=UsesDependency +dependency5.from=GraphAlgo_DominatingSetGreedyE +dependency5.to=GraphAlgo +dependency5.type=UsesDependency +dependency6.from=GraphAlgo_DominatingSetGreedyE +dependency6.to=GraphAlgo_Moore +dependency6.type=UsesDependency +dependency7.from=GraphAlgo_DominatingSetGreedyH +dependency7.to=GraphAlgo +dependency7.type=UsesDependency +dependency8.from=GraphAlgo_DominatingSetGreedyH +dependency8.to=GraphAlgo_Moore +dependency8.type=UsesDependency +objectbench.height=140 +objectbench.width=750 +package.divider.horizontal=0.6003172085646312 +package.divider.vertical=0.822463768115942 +package.editor.height=661 +package.editor.width=1133 +package.editor.x=234 +package.editor.y=49 +package.frame.height=928 +package.frame.width=1297 +package.numDependencies=8 +package.numTargets=32 +package.showExtends=true +package.showUses=true +readme.height=60 +readme.name=@README +readme.width=49 +readme.x=10 +readme.y=10 +target1.height=50 +target1.name=GraphAlgo_ColoringGreedyRandom +target1.showInterface=false +target1.type=ClassTarget +target1.width=290 +target1.x=600 +target1.y=590 +target10.height=50 +target10.name=GraphAlgo_DominatingSetGreedyF +target10.showInterface=false +target10.type=ClassTarget +target10.width=280 +target10.x=290 +target10.y=420 +target11.height=50 +target11.name=GraphAlgo_DominatingSetGreedyG +target11.showInterface=false +target11.type=ClassTarget +target11.width=290 +target11.x=290 +target11.y=470 +target12.height=50 +target12.name=GraphAlgo_TSPGreedy +target12.showInterface=false +target12.type=ClassTarget +target12.width=230 +target12.x=600 +target12.y=160 +target13.height=50 +target13.name=GraphAlgo_DominatingSetGreedyD +target13.showInterface=false +target13.type=ClassTarget +target13.width=290 +target13.x=290 +target13.y=320 +target14.height=50 +target14.name=GraphAlgo_TSPGenetisch +target14.showInterface=false +target14.type=ClassTarget +target14.width=230 +target14.x=600 +target14.y=340 +target15.height=50 +target15.name=GraphAlgo_DominatingSetGreedyE +target15.showInterface=false +target15.type=ClassTarget +target15.width=280 +target15.x=290 +target15.y=370 +target16.height=50 +target16.name=GraphAlgo_DominatingSetGenetisch +target16.showInterface=false +target16.type=ClassTarget +target16.width=300 +target16.x=290 +target16.y=640 +target17.height=50 +target17.name=GraphAlgo_ZyklusBacktracking +target17.showInterface=false +target17.type=ClassTarget +target17.width=210 +target17.x=20 +target17.y=410 +target18.height=50 +target18.name=GraphAlgo_DominatingSetGreedyH +target18.showInterface=false +target18.type=ClassTarget +target18.width=290 +target18.x=290 +target18.y=520 +target19.height=50 +target19.name=GraphAlgo_DominatingSetGreedyI +target19.showInterface=false +target19.type=ClassTarget +target19.width=280 +target19.x=290 +target19.y=570 +target2.height=50 +target2.name=GraphAlgo_Tiefensuche +target2.showInterface=false +target2.type=ClassTarget +target2.width=210 +target2.x=20 +target2.y=160 +target20.height=50 +target20.name=GraphAlgo_Moore +target20.showInterface=false +target20.type=ClassTarget +target20.width=210 +target20.x=10 +target20.y=480 +target21.height=50 +target21.name=GraphAlgo_BellmanFord +target21.showInterface=false +target21.type=ClassTarget +target21.width=210 +target21.x=10 +target21.y=660 +target22.height=50 +target22.name=GraphAlgo_Breitensuche +target22.showInterface=false +target22.type=ClassTarget +target22.width=210 +target22.x=20 +target22.y=280 +target23.height=50 +target23.name=GraphAlgo_toplogischeSortierung +target23.showInterface=false +target23.type=ClassTarget +target23.width=210 +target23.x=20 +target23.y=350 +target24.height=50 +target24.name=GraphAlgo_DominatingSetBacktracking +target24.showInterface=false +target24.type=ClassTarget +target24.width=320 +target24.x=290 +target24.y=100 +target25.height=50 +target25.name=GraphAlgo_ColoringGreedy +target25.showInterface=false +target25.type=ClassTarget +target25.width=240 +target25.x=600 +target25.y=530 +target26.height=50 +target26.name=GraphAlgo_DijkstraMitVorgaenger +target26.showInterface=false +target26.type=ClassTarget +target26.width=210 +target26.x=10 +target26.y=600 +target27.height=50 +target27.name=GraphAlgo_EulerkreisExistenz +target27.showInterface=false +target27.type=ClassTarget +target27.width=210 +target27.x=20 +target27.y=100 +target28.height=50 +target28.name=GraphAlgo_TiefensucheRek +target28.showInterface=false +target28.type=ClassTarget +target28.width=210 +target28.x=20 +target28.y=220 +target29.height=50 +target29.name=GraphAlgo_TSPGreedy2 +target29.showInterface=false +target29.type=ClassTarget +target29.width=230 +target29.x=600 +target29.y=220 +target3.height=50 +target3.name=GraphAlgo_MST_Prim +target3.showInterface=false +target3.type=ClassTarget +target3.width=230 +target3.x=890 +target3.y=100 +target30.height=50 +target30.name=GraphAlgo_ColoringBacktracking +target30.showInterface=false +target30.type=ClassTarget +target30.width=270 +target30.x=600 +target30.y=470 +target31.height=50 +target31.name=GraphAlgo_Dijkstra +target31.showInterface=false +target31.type=ClassTarget +target31.width=210 +target31.x=10 +target31.y=540 +target32.height=50 +target32.name=GraphAlgo_TSPGreedyOpt +target32.showInterface=false +target32.type=ClassTarget +target32.width=230 +target32.x=600 +target32.y=280 +target4.height=50 +target4.name=GraphAlgo_TSPBacktracking +target4.showInterface=false +target4.type=ClassTarget +target4.width=240 +target4.x=600 +target4.y=100 +target5.height=50 +target5.name=GraphAlgo_DominatingSetGreedyB +target5.showInterface=false +target5.type=ClassTarget +target5.width=290 +target5.x=290 +target5.y=220 +target6.height=50 +target6.name=GraphAlgo +target6.showInterface=false +target6.type=AbstractTarget +target6.width=100 +target6.x=310 +target6.y=10 +target7.height=50 +target7.name=GraphAlgo_DominatingSetGreedyC +target7.showInterface=false +target7.type=ClassTarget +target7.width=290 +target7.x=290 +target7.y=270 +target8.height=50 +target8.name=GraphAlgo_MST_Kruskal +target8.showInterface=false +target8.type=ClassTarget +target8.width=230 +target8.x=890 +target8.y=160 +target9.height=50 +target9.name=GraphAlgo_DominatingSetGreedyA +target9.showInterface=false +target9.type=ClassTarget +target9.width=290 +target9.x=290 +target9.y=170 diff --git a/beispielgraphen/02_topologischesortierung/01_aufbausimulation1.csv b/beispielgraphen/02_topologischesortierung/01_aufbausimulation1.csv index a399cf1..b52d928 100644 --- a/beispielgraphen/02_topologischesortierung/01_aufbausimulation1.csv +++ b/beispielgraphen/02_topologischesortierung/01_aufbausimulation1.csv @@ -22,5 +22,5 @@ Schweinefarm,124,239,4 Metzger,171,404,5,6 Kohlemine,425,441,7,8 Erzmine,734,308,7 -Eisenschmelze,576,315,8 -Werkzeugmacher,401,258,0,4,5,6 \ No newline at end of file +Eisenschmelze,552,336,8 +Werkzeugmacher,401,258,0,4,5,7 \ No newline at end of file diff --git a/beispielgraphen/02_topologischesortierung/02_aufbausimulation2.csv b/beispielgraphen/02_topologischesortierung/02_aufbausimulation2.csv index 443b508..347b375 100644 --- a/beispielgraphen/02_topologischesortierung/02_aufbausimulation2.csv +++ b/beispielgraphen/02_topologischesortierung/02_aufbausimulation2.csv @@ -3,7 +3,7 @@ showWeights,0 # Knoteninfo anzeigen 1,Knoteninfo nicht anzeigen 0 showInfoText,1 # Knoten leer 0, Knotenname anzeigen 1, Wert des Knoten anzeigen 2 -vertexStyle,2 +vertexStyle,1 # Bild im Hintergrund (bitte im "images"-Ordner ablegen) --> Dateiname angeben. Fall kein Bild bitte 0 schreiben! image,siedler.png # @@ -24,4 +24,4 @@ Kohlemine,423,445,7,8 Erzmine,724,314,7 Eisenschmelze,537,326,8 Werkzeugmacher,389,246,0,4 -Fischerhütte,741,456,6,5 +Fischerhütte,741,456,6,5 \ No newline at end of file diff --git a/config.csv b/config.csv new file mode 100644 index 0000000..e01ccdb --- /dev/null +++ b/config.csv @@ -0,0 +1,3 @@ +false,false +272.0,138.0,1648.0,822.0 +H:\GitTest\3_vorlagen_tauschordner\1_graphentester\beispielgraphen\03_routenplanung\03_badenbaden.csv diff --git a/control/Controller.java b/control/Controller.java index 6707ca0..2df4018 100644 --- a/control/Controller.java +++ b/control/Controller.java @@ -3,6 +3,11 @@ package control; import imp.*; import graph.*; import algorithmen.*; +import java.io.FileReader; +import java.io.BufferedReader; +import java.io.IOException; +import java.io.PrintWriter; +import java.io.FileWriter; import javafx.fxml.*; import javafx.scene.control.*; @@ -18,6 +23,7 @@ import java.io.File; import java.nio.file.*; import javafx.stage.FileChooser.ExtensionFilter; import javafx.scene.image.Image; +import javafx.geometry.Rectangle2D; import java.util.List; import java.util.ArrayList; @@ -26,11 +32,14 @@ import javafx.collections.ObservableList; * Die Klasse Controller stellt den Controller des Hauptfensters / Menu dar. * * @author Thomas Schaller - * @version v6.7 (9.12.2020) + * @version 03.03.2023 (v7.1) + * v7.0: Die aktuelle Bildschirmposition und der angezeigte Graph werden in config.csv abgelegt. + * v7.1: Verzeichnisauswahl für Laden/Speichern verbessert */ public class Controller { - private String version = "6.8 (Februar 2021)"; + private String version = "7.0 (Februar 2023)"; + private String pfad; // Pfad der aktuell angezeigten Datei @FXML private TabPane tpRekursionen; @@ -74,8 +83,10 @@ public class Controller { private FileChooser dateidialog; private Graph graph; private GraphOptions options; + private Stage stage; public void initialize() { + dateidialog = new FileChooser(); dateidialog.setInitialDirectory(new File("beispielgraphen")); @@ -85,6 +96,60 @@ public class Controller { tpRekursionen.getSelectionModel().selectedItemProperty(). addListener((value, tabOld, tabNew) -> changeTab(tabOld, tabNew)); + BufferedReader in =null; + try{ + in = new BufferedReader(new FileReader("config.csv")); + String fullScreen = in.readLine(); + String posSize = in.readLine(); + String[] ps = posSize.split(","); + Rectangle2D ss = Screen.getPrimary().getBounds(); + + stage.setX(Double.parseDouble(ps[0])); + stage.setY(Double.parseDouble(ps[1])); + stage.setWidth(Math.min(Double.parseDouble(ps[2]), ss.getWidth()-Double.parseDouble(ps[0]))); + stage.setHeight(Math.min(Double.parseDouble(ps[3]), ss.getHeight()-Double.parseDouble(ps[1]))); + String[] fs = fullScreen.split(","); + if(fs[0].equals("true")) stage.setFullScreen(true); + if(fs[1].equals("true")) stage.setMaximized(true); + pfad = in.readLine(); + File f = new File(pfad); + f.getCanonicalPath(); + if(!pfad.isBlank() && f.exists()){ + graphLaden(pfad); + dateidialog.setInitialDirectory((f.getAbsoluteFile()).getParentFile()); + } else { + pfad = ""; + } + } + catch(Exception e) { + pfad = ""; + dateidialog.setInitialDirectory(new File("beispielgraphen")); + } + finally{ + try{if(in != null) in.close();} catch(IOException e) {} + showTitle(); + } + + } + + public void saveAktConfig() { + PrintWriter pWriter = null; + String s = "config.csv"; + try { + pWriter = new PrintWriter(new FileWriter(s)); + pWriter.println(stage.isFullScreen()+","+stage.isMaximized()); + stage.setFullScreen(false); + stage.setMaximized(false); + pWriter.println(stage.getX()+","+stage.getY()+","+stage.getWidth()+","+ stage.getHeight()); + pWriter.println(pfad); + } catch (IOException ioe) { + ioe.printStackTrace(); + } finally { + if (pWriter != null) { + pWriter.flush(); + pWriter.close(); + } + } } private void changeTab(Tab tabOld, Tab tabNew) { @@ -113,20 +178,26 @@ public class Controller { } catch(Exception e) { - System.out.println(e); + // System.out.println(e); } } + public void setStage(Stage s){ + stage = s; + } + @FXML void mNeuerGraph(ActionEvent event) { while(tpRekursionen.getTabs().size()>1) tpRekursionen.getTabs().remove(1); TabMitController tc = (TabMitController) (tpRekursionen.getTabs().get(0)); - options = new GraphOptions(); graph = new Graph(); + options = new GraphOptions(graph); tc.setGraph(graph, options); + pfad = ""; + showTitle(); menuChangeAnsicht(); } @@ -154,7 +225,7 @@ public class Controller { tpRekursionen.getSelectionModel().select(newtab); } catch(Exception e) { - System.out.println(e); + //System.out.println(e); } } @@ -173,7 +244,7 @@ public class Controller { tpRekursionen.getSelectionModel().select(newtab); } catch(Exception e) { - System.out.println(e); + // System.out.println(e); } } @@ -233,10 +304,11 @@ public class Controller { @FXML public void mBeenden(ActionEvent event) { + saveAktConfig(); schliesseTabs(); ((Stage)tpRekursionen.getScene().getWindow()).close(); + System.exit(0); } - void menuChangeAnsicht() { TabMitController tc = (TabMitController) (tpRekursionen.getSelectionModel().getSelectedItem()); @@ -322,43 +394,74 @@ public class Controller { @FXML void mOeffnen(ActionEvent event) { + dateidialog.getExtensionFilters().clear(); + dateidialog.getExtensionFilters().add(new ExtensionFilter("Graph-Datei (*.csv)", "*.csv")); + File file = dateidialog.showOpenDialog(null); if (file != null) { graphLaden(file.getAbsolutePath()); + dateidialog.setInitialDirectory(file.getAbsoluteFile().getParentFile()); } } - void graphLaden(String dateiname) { + void graphLaden(String p) { while(tpRekursionen.getTabs().size()>2) tpRekursionen.getTabs().remove(1); - TabMitController tc = (TabMitController) (tpRekursionen.getTabs().get(0)); - options = new GraphOptions(); - Table csvParser = new Table(dateiname,"",',','"'); - options.ladeGraph(csvParser); - graph = new Graph(); - graph.ladeGraph(csvParser); + File f = new File(p); + if(f.exists() ){ + pfad = p; + + Table csvParser = new Table(pfad,"",',','"'); + + graph = new Graph(); + graph.ladeGraph(csvParser); + + options = new GraphOptions(graph); + options.ladeGraph(csvParser); - tc.setGraph(graph, options); - if(tpRekursionen.getTabs().size()>1){ - tc = (TabMitController) (tpRekursionen.getTabs().get(1)); tc.setGraph(graph, options); - } + + if(tpRekursionen.getTabs().size()>1){ + tc = (TabMitController) (tpRekursionen.getTabs().get(1)); + tc.setGraph(graph, options); + } + } menuChangeAnsicht(); + showTitle(); + + } + + public void showTitle() { + + if(stage!=null) { + if(pfad == null || pfad.equals("")) { + stage.setTitle("GraphTester by Thomas Schaller - Version "+version); + } else { + String[] arr = pfad.split("[/\\\\]"); + String dateiname = arr[arr.length-1]; + stage.setTitle("GraphTester by Thomas Schaller - Version "+version+" - "+dateiname); + } + } } @FXML void mSchliessen(ActionEvent event) { - mNeuerGraph(event); + mNeuerGraph(event); } @FXML void mSpeichern(ActionEvent event) { - dateidialog.getExtensionFilters().clear(); - dateidialog.getExtensionFilters().add(new ExtensionFilter("Graph-Datei (*.csv)", "*.csv")); + dateidialog.getExtensionFilters().clear(); + dateidialog.getExtensionFilters().add(new ExtensionFilter("Graph-Datei (*.csv)", "*.csv")); + if(!pfad.isBlank()) + dateidialog.setInitialFileName(new File(pfad).getName()); + else + dateidialog.setInitialFileName(""); + File file = dateidialog.showSaveDialog(null); if (file != null) { try{ @@ -371,7 +474,9 @@ public class Controller { String name = dateiName.substring(dateiName.lastIndexOf("\\")+1); if(name.contains(".")) dateiName = dateiName.substring(0, dateiName.lastIndexOf(".")); Files.write(Paths.get(file.getAbsolutePath()), text.getBytes()); - + pfad = file.getAbsolutePath(); + dateidialog.setInitialDirectory(file.getAbsoluteFile().getParentFile()); + showTitle(); } catch(Exception e) { } @@ -381,21 +486,22 @@ public class Controller { @FXML void mBildExportieren(ActionEvent event) { - dateidialog.getExtensionFilters().clear(); - dateidialog.getExtensionFilters().add(new ExtensionFilter("Bild des Graphen", "*.png","*.gif")); - File file = dateidialog.showSaveDialog(null); + dateidialog.getExtensionFilters().clear(); + dateidialog.getExtensionFilters().add(new ExtensionFilter("Bild des Graphen", "*.png","*.gif")); + File file = dateidialog.showSaveDialog(null); if (file != null) { try{ TabMitController tc = (TabMitController) (tpRekursionen.getSelectionModel().getSelectedItem()); Picture p = tc.getViewer().updateImage(); String dateiName = file.getAbsolutePath(); - p.save(dateiName); + p.save(dateiName); } catch(Exception e) { } } } + @FXML void mUeber(ActionEvent event) { Alert alert = new Alert(AlertType.INFORMATION); diff --git a/control/EditTabMitController.java b/control/EditTabMitController.java index 3abdaff..1ebd2c5 100644 --- a/control/EditTabMitController.java +++ b/control/EditTabMitController.java @@ -25,13 +25,13 @@ import java.util.Optional; * zur Editierung eines Graphs dar. * * @author Thomas Schaller - * @version v6.7 (9.12.2020) + * @version 03.03.2023 (v7.1) + * v7.1: Aktualisierung der Anzeige bei Wechsel gewichtet/ungewichtet angepasst + * v6.9: Context-Menü schließt, wenn an andere Stelle geklickt wird */ - public class EditTabMitController extends TabMitController { - public EditTabMitController(Graph graph, GraphOptions options) { this.graph = graph; this.options = options; @@ -127,6 +127,13 @@ public class EditTabMitController extends TabMitController { void setGewichtet(boolean gewichtet) { graph.setGewichtet(gewichtet); options.showEdgeWeights = gewichtet; + if(graph.isGewichtet()) { + options.kanteKurztext = new String[]{"Gewicht"}; + options.kanteLangtext = new String[]{"Gewicht","Markiert","Gelöscht"}; + } else { + options.kanteKurztext = new String[]{}; + options.kanteLangtext = new String[]{"Markiert","Gelöscht"}; + } update(); } @@ -179,7 +186,6 @@ public class EditTabMitController extends TabMitController { @FXML void graphClicked(MouseEvent event) { // MousePressed-Event - viewer.mouseClicked(event); viewer.mouseDown(event); if((viewer.getSelectedKnoten() != null || viewer.getSelectedKante() != null) && event.isSecondaryButtonDown()) { // Contextmenu @@ -200,11 +206,13 @@ public class EditTabMitController extends TabMitController { if (viewer.getSelectedKnoten() != null) contextMenu.getItems().add( item3 ); - contextMenu.show(viewer, event.getScreenX(), event.getScreenY()); + getViewer().setContextMenu(contextMenu); + //contextMenu.show(viewer, event.getScreenX(), event.getScreenY()); } } public void mLoesche() { + viewer.setContextMenu(null); if(viewer.getSelectedKnoten() != null) { graph.entferneKnoten(viewer.getSelectedKnoten()); update(); @@ -216,6 +224,8 @@ public class EditTabMitController extends TabMitController { } public void mWertAendern() { + viewer.setContextMenu(null); + Knoten k = viewer.getSelectedKnoten(); Kante ka = viewer.getSelectedKante(); if(k != null || ka !=null) { @@ -242,6 +252,8 @@ public class EditTabMitController extends TabMitController { } public void mInfotextAendern() { + viewer.setContextMenu(null); + Knoten k = viewer.getSelectedKnoten(); if(k != null ) { TextInputDialog dialog = new TextInputDialog(k.getInfotext()); diff --git a/control/SimulationTabMitController.java b/control/SimulationTabMitController.java index 7f04e29..76f2786 100644 --- a/control/SimulationTabMitController.java +++ b/control/SimulationTabMitController.java @@ -15,6 +15,9 @@ import javafx.scene.text.*; import javafx.geometry.Pos; import javafx.scene.image.Image; import javafx.stage.*; // Dateiöffnen / Speichern-Dialog +import javafx.application.Platform; +import javafx.scene.input.Clipboard; +import javafx.scene.input.ClipboardContent; import java.io.File; import java.net.URI; import java.net.URL; @@ -23,11 +26,11 @@ import java.nio.file.*; import java.util.Collections; import java.util.stream.Stream; import java.util.Iterator; - - +import java.util.List; import java.util.ArrayList; import java.util.regex.Pattern; +import java.lang.reflect.InvocationTargetException; import javafx.collections.ObservableList; @@ -37,9 +40,13 @@ import javafx.collections.ObservableList; * durchgeführt werden. * * @author Thomas Schaller - * @version v6.7 (9.12.2020) + * @version 03.03.2023 (v7.0) + * v7.1: Fehler bei Aktualisierung des Hilfefensters behoben, Splitpane statt HBox + * v7.0: Mechanismus geändert, so dass die init-Methode des Algorithmus beim Wechesel eines Algorithmus + * aufgerufen wird, um die für diesen Algorithmus passenden Anzeigeeinstellungen zu setzen. + * v6.9: Hilfefenster ist in Simulationsfenster integriert */ -public class SimulationTabMitController extends TabMitController { +public class SimulationTabMitController extends TabMitController implements Hilfe { @FXML private ComboBox cbAlgorithmen; @@ -61,22 +68,23 @@ public class SimulationTabMitController extends TabMitController { private GraphAlgo aktAlgo = null; private ArrayList algoNamen; - private Hilfefenster hilfe; + private Hilfe hilfe; public SimulationTabMitController(Graph graph, GraphOptions options) { this.graph = graph; this.options = options; - this.setOnClosed((ev)->afterClosing()); + } public void initialize() { this.algoNamen = new ArrayList(); - try { - File verzeichnis = new File("algorithmen"); - if(verzeichnis != null) { - String[] entries = verzeichnis.list(); - for (String name : entries) { - if (name.startsWith("GraphAlgo_") && name.endsWith(".class")){ + + File verzeichnis = new File("algorithmen"); + if(verzeichnis != null && verzeichnis.isDirectory()) { + String[] entries = verzeichnis.list(); + for (String name : entries) { + if (name.startsWith("GraphAlgo_") && name.endsWith(".class")){ + try{ Class c = Class.forName("algorithmen."+name.split(Pattern.quote("."))[0]); GraphAlgo a = ((GraphAlgo)(c).getDeclaredConstructor().newInstance()); int i = 0; @@ -87,13 +95,23 @@ public class SimulationTabMitController extends TabMitController { algoNamen.add(i, "algorithmen."+name.split(Pattern.quote("."))[0]); } - } // end of for - } - verzeichnis = new File( "eigeneAlgorithmen" ); - if(verzeichnis != null) { - String[] entries = verzeichnis.list(); - for (String name : entries) { - if (name.startsWith("GraphAlgo_") && name.endsWith(".class")){ + catch(ExceptionInInitializerError e) {} + catch(LinkageError e){} + catch(ClassNotFoundException e) {} + catch(NoSuchMethodException e) {} + catch(InstantiationException e) {} + catch(IllegalAccessException e) {} + catch(InvocationTargetException e) {} + + } + } // end of for + } + verzeichnis = new File( "eigeneAlgorithmen" ); + if(verzeichnis != null && verzeichnis.isDirectory()) { + String[] entries = verzeichnis.list(); + for (String name : entries) { + if (name.startsWith("GraphAlgo_") && name.endsWith(".class")){ + try{ Class c = Class.forName("eigeneAlgorithmen."+name.split(Pattern.quote("."))[0]); GraphAlgo a = ((GraphAlgo)(c).getDeclaredConstructor().newInstance()); int i = 0; @@ -104,12 +122,21 @@ public class SimulationTabMitController extends TabMitController { algoNamen.add(i, "eigeneAlgorithmen."+name.split(Pattern.quote("."))[0]); } - } // end of for - } - } catch(Exception e) - { - System.out.println("Exception " + e); - } + catch(ExceptionInInitializerError e) {} + catch(LinkageError e){} + catch(ClassNotFoundException e) {} + catch(NoSuchMethodException e) {} + catch(InstantiationException e) {} + catch(IllegalAccessException e) {} + catch(InvocationTargetException e) {} + + } + } // end of for + } + + cbAlgorithmen.getSelectionModel().selectedItemProperty().addListener((options, oldValue, newValue) -> { + changeAlgorithm(); + }); viewer.setGraph(graph,options); this.hilfe = null; @@ -120,44 +147,39 @@ public class SimulationTabMitController extends TabMitController { bStart.managedProperty().bind(bStart.visibleProperty()); bBreak.managedProperty().bind(bBreak.visibleProperty()); bBreak.setVisible(false); - } - private void afterClosing() { - if (hilfe != null) hilfe.close(); - } + //------------- Hilfefunktion + loescheAlles(); + zustaende = new ArrayList>(); + aktuell = null; + reviewAllowed = false; + tvAblauf.getSelectionModel().selectedIndexProperty().addListener((obs,oldValue, newValue)->showState()); - private void hilfefensterErzeugen() { - try { // try-catch ist notwendig, um Fehler durch fehlende Dateien abzufangen. - if(hilfe != null) hilfe.close(); - - hilfe = new Hilfefenster(); - FXMLLoader loader = new FXMLLoader(getClass().getResource("/view/hilfefenster.fxml")); - loader.setController(hilfe); - Scene scene = new Scene((VBox) loader.load()); - Image icon = new Image("/view/icon.png"); - hilfe.getIcons().add(icon); - hilfe.setTitle("Hilfefenster"); - hilfe.setScene(scene); - hilfe.setX(0); - hilfe.setY(0); - } - catch(Exception e) { - System.out.println(e); - } } public void showHilfe(boolean b) { if(b) { - hilfefensterErzeugen(); - hilfe.show(); - if(aktAlgo != null && aktAlgo.isAlive()) { + lAblauf.setVisible(true); + tvAblauf.setVisible(true); + bClipboard.setVisible(true); + + hilfe = this; + if(aktAlgo != null ) { aktAlgo.setGUIElemente(viewer,hilfe); - hilfe.append("Unvollständiger Ablauf"); + if(aktAlgo.isAlive()) + hilfe.append("Unvollständiger Ablauf"); } } else { - if (hilfe != null) hilfe.close(); + lAblauf.setVisible(false); + tvAblauf.setVisible(false); + bClipboard.setVisible(false); + if(aktAlgo != null && aktAlgo.isAlive()) aktAlgo.setGUIElemente(viewer, null); hilfe = null; + loescheAlles(); + zustaende = new ArrayList>(); + aktuell = null; + reviewAllowed = false; } } @@ -166,48 +188,56 @@ public class SimulationTabMitController extends TabMitController { mReset(null); } - @FXML - void mReset(ActionEvent event) { + public void changeAlgorithm() { if(aktAlgo != null && aktAlgo.isAlive()) aktAlgo.stop(); graph.initialisiereAlleKnoten(); graph.initialisiereAlleKanten(); - update(); - //gp.setInfoText(gp.getGraph().toString()); + bStep.setDisable(false); bStart.setDisable(false); bStart.setVisible(true); bBreak.setVisible(false); if (hilfe != null) hilfe.loescheAlles(); this.aktAlgo = null; + + if(cbAlgorithmen.getSelectionModel().getSelectedIndex() >= 0) { + + try{ + ClassLoader parentClassLoader = MyClassLoader.class.getClassLoader(); + MyClassLoader classLoader = new MyClassLoader(parentClassLoader); + Class c = classLoader.loadClass(algoNamen.get(cbAlgorithmen.getSelectionModel().getSelectedIndex())); + + aktAlgo = ((GraphAlgo)(c).getDeclaredConstructor().newInstance()); + aktAlgo.setStartKnoten(viewer.getSelectedKnoten()); + aktAlgo.setGUIElemente(viewer, hilfe); + aktAlgo.setSpeed(910-(int) (sSpeed.getValue())); + aktAlgo.init(); + } catch( Exception e) { + System.out.println(e); + } + } + + update(); + + } + + @FXML + void mReset(ActionEvent event) { + + changeAlgorithm(); } @FXML void mStep(ActionEvent event) { - - if (aktAlgo == null ) { - if(cbAlgorithmen.getSelectionModel().getSelectedIndex() >= 0) { - try{ - ClassLoader parentClassLoader = MyClassLoader.class.getClassLoader(); - MyClassLoader classLoader = new MyClassLoader(parentClassLoader); - Class c = classLoader.loadClass(algoNamen.get(cbAlgorithmen.getSelectionModel().getSelectedIndex())); - - aktAlgo = ((GraphAlgo)(c).getDeclaredConstructor().newInstance()); - aktAlgo.setStartKnoten(viewer.getSelectedKnoten()); - aktAlgo.setGUIElemente(viewer, hilfe); - aktAlgo.setSpeed(910-(int) (sSpeed.getValue())); - } catch( Exception e) { - System.out.println(e); - } - aktAlgo.start(); - } + if (aktAlgo == null) return; + if (aktAlgo.getState() == Thread.State.NEW ) { + aktAlgo.setStartKnoten(viewer.getSelectedKnoten()); + aktAlgo.start(); } else { if(aktAlgo.isAlive()) { aktAlgo.setSpeed(910-(int) (sSpeed.getValue())); aktAlgo.setWaitforclick(false); - //gp.setInfoText(aktAlgo.getInfo()); - } else { - //gp.setInfoText("Algorithmus ist beendet. "+aktAlgo.getInfo()); bStep.setDisable(true); bStart.setDisable(true); bBreak.setDisable(true); @@ -218,7 +248,6 @@ public class SimulationTabMitController extends TabMitController { } catch(Exception e) {} if (!aktAlgo.isAlive()) { - //gp.setInfoText("Algorithmus ist beendet"+aktAlgo.getInfo()); bStep.setDisable(true); bStart.setDisable(true); bBreak.setDisable(true); @@ -227,41 +256,19 @@ public class SimulationTabMitController extends TabMitController { @FXML void mStart(ActionEvent event) { - - if (aktAlgo == null ) { - if(cbAlgorithmen.getSelectionModel().getSelectedIndex() >= 0) { - try{ - ClassLoader parentClassLoader = MyClassLoader.class.getClassLoader(); - MyClassLoader classLoader = new MyClassLoader(parentClassLoader); - Class c = classLoader.loadClass(algoNamen.get(cbAlgorithmen.getSelectionModel().getSelectedIndex())); - - aktAlgo = ((GraphAlgo)(c).getDeclaredConstructor().newInstance()); - - aktAlgo.setStartKnoten(viewer.getSelectedKnoten()); - aktAlgo.setGUIElemente(viewer,hilfe); - aktAlgo.setSpeed(910-(int) (sSpeed.getValue())); - - } catch( Exception e) { - System.out.println(e); - } - - aktAlgo.setStepping(false); - aktAlgo.start(); - } + if (aktAlgo == null) return; + if (aktAlgo.getState() == Thread.State.NEW ) { + aktAlgo.setStartKnoten(viewer.getSelectedKnoten()); + aktAlgo.setStepping(false); + aktAlgo.start(); } else { if(aktAlgo.isAlive()) { aktAlgo.setSpeed(910-(int) (sSpeed.getValue())); aktAlgo.setStepping(false); aktAlgo.setWaitforclick(false); - //gp.setInfoText(aktAlgo.getInfo()); - - } else { - //gp.setInfoText("Algorithmus ist beendet. "+aktAlgo.getInfo()); - - } // end of if-else + } } // end of if-else - // gp.setInfoText(aktAlgo.getInfo()); bStep.setDisable(true); bStart.setVisible(false); bBreak.setVisible(true); @@ -277,4 +284,151 @@ public class SimulationTabMitController extends TabMitController { bStep.setDisable(false); } } + + // --------- Hilfefenster -------------------------------------------- + @FXML + private TreeView tvAblauf; + + @FXML + private Label lAblauf; + + @FXML + private Button bClipboard; + + private List> stufen; + private List> zustaende; + private TreeItem last; + private GraphPlotter gp; + private List aktuell; + private boolean reviewAllowed; + + public void setGraphPlotter(GraphPlotter gp) { + this.gp = gp; + } + + public void loescheAlles() { + Platform.runLater(new Runnable() { + @Override + public void run() { + stufen = new ArrayList>(); + zustaende = new ArrayList>(); + TreeItem root = new TreeItem("Algorithmus"); + root.setExpanded(true); + last = root; + tvAblauf.setRoot(root); + tvAblauf.setShowRoot(false); + stufen.add(root); + } + }); + + } + + public void append(String text) { + List status = gp.getGraph().getStatus(); + Platform.runLater(new Runnable() { + @Override + public void run() { + last = new TreeItem(text); + stufen.get(stufen.size()-1).getChildren().add(last); + zustaende.add(status); + } + }); + + } + + public void indentMore() { + Platform.runLater(new Runnable() { + @Override + public void run() { + if(stufen.size() == 1) { // Hauptknoten + TreeItem parent = stufen.get(0); + List children = parent.getChildren(); + for(int i=children.size()-1; i >= 0; i--) { + TreeItem t = children.get(i); + if(t.isExpanded()) { + t.setExpanded(false); + break; + } + } + } + stufen.add(last); + last.setExpanded(true); + last.expandedProperty().addListener((b, o, n) -> showState()); + } + }); + + } + + public void indentLess() { + Platform.runLater(new Runnable() { + @Override + public void run() { + if(stufen.size() > 1) stufen.remove(stufen.size()-1); + } + }); + } + + public void setReviewAllowed(boolean a) { + this.reviewAllowed = a; + if(!reviewAllowed) tvAblauf.getSelectionModel().clearSelection(); + } + + public void showState() { + Platform.runLater(new Runnable() { + @Override + public void run() { + if(reviewAllowed && tvAblauf.getSelectionModel().getSelectedIndex()>=0) { + TreeItem s = tvAblauf.getSelectionModel().getSelectedItem(); + if(!s.isExpanded()) { // suche das letzte Kind + while(s.getChildren().size()>0){ + List c = s.getChildren(); + s = c.get(c.size()-1); + } + } + gp.getGraph().setStatus(zustaende.get(calculateIndex(tvAblauf.getRoot(), s ,0)-1)); + gp.updateImage(); + } + } + }); + + } + + private int calculateIndex(TreeItem t, TreeItem search, int nr) { + if(t == search) return nr; + nr++; + List children = t.getChildren(); + for(TreeItem c : children) { + int i = calculateIndex(c, search, nr); + if(i>0) return i; + nr = -i; + } + return -nr; + } + + @FXML + void bCopyClicked(ActionEvent event) { + final Clipboard clipboard = Clipboard.getSystemClipboard(); + final ClipboardContent content = new ClipboardContent(); + String s = ""; + for(Object c : tvAblauf.getRoot().getChildren()) { + if(c instanceof TreeItem) { + s += generateClipboardContent((TreeItem) c, ""); + } + } + + content.putString(s); + + clipboard.setContent(content); + } + + private String generateClipboardContent(TreeItem t, String tab) { + String s = tab+t.getValue(); + for(Object c : t.getChildren()) { + if(c instanceof TreeItem) { + s += generateClipboardContent((TreeItem) c, tab+" "); + } + } + return s; + } + } diff --git a/control/UnterTabMitController.java b/control/UnterTabMitController.java index 64f2708..1066f12 100644 --- a/control/UnterTabMitController.java +++ b/control/UnterTabMitController.java @@ -7,11 +7,13 @@ import javafx.fxml.*; import javafx.scene.control.*; import javafx.event.*; import javafx.scene.input.MouseEvent; +import javafx.scene.input.ContextMenuEvent; import javafx.scene.layout.*; import javafx.scene.Node; import javafx.scene.text.*; import javafx.geometry.Pos; import javafx.collections.FXCollections; +import javafx.scene.control.Alert.AlertType; import java.util.List; import java.util.ArrayList; @@ -25,7 +27,8 @@ import javafx.collections.ObservableList; * oder eine Kante fokussiert. * * @author Thomas Schaller - * @version v6.7 (9.12.2020) + * @version 24.06.2021 (v6.9) + * v6.9: Context-Menü für die ToDo-Liste: Knoten löschen */ public class UnterTabMitController extends TabMitController { @@ -33,7 +36,6 @@ public class UnterTabMitController extends TabMitController { @FXML private VBox infoBox; - @FXML private Button wertButton; @@ -58,19 +60,18 @@ public class UnterTabMitController extends TabMitController { @FXML Button bStatus; - @FXML Button bGehezu; - + @FXML Button bAnfang; - + @FXML Button bEnde; - + @FXML Button bSortieren; - + @FXML private CheckBox cbFarbeAutomatisch; @@ -91,14 +92,12 @@ public class UnterTabMitController extends TabMitController { getTabPane().getTabs().remove(this); return; } - + buildAuswahl(); - this.bAnfang.managedProperty().bind(bAnfang.visibleProperty()); this.bEnde.managedProperty().bind(bEnde.visibleProperty()); this.bSortieren.managedProperty().bind(bSortieren.visibleProperty()); - viewer.setGraph(graph,options); viewer.setHvalue(0.5); @@ -138,11 +137,11 @@ public class UnterTabMitController extends TabMitController { super.initialize(); } - + public void setGraph(Graph graph, GraphOptions options) { if(graph.getAnzahlKnoten()==0) { - getTabPane().getTabs().remove(this); - return; + getTabPane().getTabs().remove(this); + return; } options.fokusArt = this.options.fokusArt; options.auswahl = this.options.auswahl; @@ -154,12 +153,10 @@ public class UnterTabMitController extends TabMitController { viewer.setRestrictTo(null); buildAuswahl(); super.setGraph(graph,options); - + } - - + public void buildAuswahl() { - auswahl = new ArrayList(); if(options.auswahl == 0) { // Alle Knoten/Kanten gewählt if(options.fokusArt == 0) // Knoten @@ -192,10 +189,10 @@ public class UnterTabMitController extends TabMitController { Knoten k = (Knoten) ge; String beschreibung=""; if(options.showVertexInfo && !k.getInfotext().isEmpty()) - beschreibung = k.getInfotext(); + beschreibung = k.getInfotext(); else - beschreibung = "Knoten"+ graph.getNummer(k); - + beschreibung = "Knoten"+ graph.getNummer(k); + if(options.showVertexValue) { if(k.getDoubleWert() == k.getIntWert()) beschreibung += " ("+k.getIntWert()+")"; @@ -318,7 +315,7 @@ public class UnterTabMitController extends TabMitController { public void updateInfofeld() { GraphElement f = viewer.getRestrictTo(); if( f instanceof Knoten) { - this.setText(viewer.getGraph().getKnoteninfo((Knoten) f, false)); + this.setText(viewer.getGraph().getKnoteninfo((Knoten) f, false)); } Knoten k = viewer.getSelectedKnoten(); Kante ka = viewer.getSelectedKante(); @@ -364,7 +361,7 @@ public class UnterTabMitController extends TabMitController { else infoBox.setVisible(false); } - + } @FXML @@ -441,6 +438,25 @@ public class UnterTabMitController extends TabMitController { } } + @FXML + void toDoContextMenu(ContextMenuEvent event) { + if(lvAuswahl.getSelectionModel().getSelectedIndex() >= 0) { + + Alert alert = + new Alert(AlertType.NONE, + "Soll der Knoten aus der ToDo-Liste gelöscht werden?", + ButtonType.OK, + ButtonType.CANCEL); + alert.setTitle("ToDo-Liste"); + Optional result = alert.showAndWait(); + + if (result.get() == ButtonType.OK) { + auswahl.remove(lvAuswahl.getSelectionModel().getSelectedIndex()); + fillLvAuswahl(); + } + } + } + @FXML void bNaechster(ActionEvent event) { @@ -453,18 +469,18 @@ public class UnterTabMitController extends TabMitController { // @FXML // void bListeAnpassen(ActionEvent event) { - // buildAuswahl(); - // fillLvAuswahl(); + // buildAuswahl(); + // fillLvAuswahl(); // } // @FXML // void bNeuerTab(ActionEvent event) { - // GraphOptions neu = options.copy(); - // neu.parent = viewer.getRestrictTo(); - // if(neu.parent == null) neu.parent = viewer.getSelectedKnoten(); - // neu.bildAnzeigen = false; - // tabOeffnen(neu); + // GraphOptions neu = options.copy(); + // neu.parent = viewer.getRestrictTo(); + // if(neu.parent == null) neu.parent = viewer.getSelectedKnoten(); + // neu.bildAnzeigen = false; + // tabOeffnen(neu); // } @FXML @@ -497,7 +513,7 @@ public class UnterTabMitController extends TabMitController { double v = Double.parseDouble(result.get()); k.setWert(v); this.fillLvAuswahl(); - + viewer.updateImage(); updateInfofeld(); } catch (Exception e) { diff --git a/control/package.bluej b/control/package.bluej index ed43742..0988fa1 100644 --- a/control/package.bluej +++ b/control/package.bluej @@ -1,97 +1,94 @@ -#BlueJ package file -dependency1.from=TabMitController -dependency1.to=UnterTabMitController -dependency1.type=UsesDependency -dependency2.from=SimulationTabMitController -dependency2.to=Hilfefenster -dependency2.type=UsesDependency -dependency3.from=SimulationTabMitController -dependency3.to=MyClassLoader -dependency3.type=UsesDependency -dependency4.from=Controller -dependency4.to=TabMitController -dependency4.type=UsesDependency -dependency5.from=Controller -dependency5.to=HauptTabMitController -dependency5.type=UsesDependency -dependency6.from=Controller -dependency6.to=SimulationTabMitController -dependency6.type=UsesDependency -dependency7.from=Controller -dependency7.to=EditTabMitController -dependency7.type=UsesDependency -objectbench.height=93 -objectbench.width=776 -package.divider.horizontal=0.599476439790576 -package.divider.vertical=0.8003992015968064 -package.editor.height=394 -package.editor.width=645 -package.editor.x=1056 -package.editor.y=332 -package.frame.height=600 -package.frame.width=800 -package.numDependencies=7 -package.numTargets=8 -package.showExtends=true -package.showUses=true -readme.height=60 -readme.name=@README -readme.width=49 -readme.x=10 -readme.y=10 -target1.height=50 -target1.name=Hilfefenster -target1.showInterface=false -target1.type=ClassTarget -target1.width=100 -target1.x=500 -target1.y=60 -target2.height=50 -target2.name=HauptTabMitController -target2.showInterface=false -target2.type=ClassTarget -target2.width=170 -target2.x=10 -target2.y=140 -target3.height=50 -target3.name=EditTabMitController -target3.showInterface=false -target3.type=ClassTarget -target3.width=160 -target3.x=10 -target3.y=80 -target4.height=50 -target4.name=TabMitController -target4.showInterface=false -target4.type=ClassTarget -target4.width=130 -target4.x=300 -target4.y=110 -target5.height=50 -target5.name=SimulationTabMitController -target5.showInterface=false -target5.type=ClassTarget -target5.width=200 -target5.x=10 -target5.y=210 -target6.height=50 -target6.name=Controller -target6.showInterface=false -target6.type=ClassTarget -target6.width=90 -target6.x=500 -target6.y=250 -target7.height=70 -target7.name=MyClassLoader -target7.showInterface=false -target7.type=ClassTarget -target7.width=120 -target7.x=140 -target7.y=330 -target8.height=50 -target8.name=UnterTabMitController -target8.showInterface=false -target8.type=ClassTarget -target8.width=170 -target8.x=10 -target8.y=270 +#BlueJ package file +dependency1.from=TabMitController +dependency1.to=UnterTabMitController +dependency1.type=UsesDependency +dependency2.from=SimulationTabMitController +dependency2.to=MyClassLoader +dependency2.type=UsesDependency +dependency3.from=Controller +dependency3.to=TabMitController +dependency3.type=UsesDependency +dependency4.from=Controller +dependency4.to=HauptTabMitController +dependency4.type=UsesDependency +dependency5.from=Controller +dependency5.to=SimulationTabMitController +dependency5.type=UsesDependency +dependency6.from=Controller +dependency6.to=EditTabMitController +dependency6.type=UsesDependency +objectbench.height=172 +objectbench.width=451 +package.divider.horizontal=0.599476439790576 +package.divider.vertical=0.642 +package.editor.height=314 +package.editor.width=636 +package.editor.x=1113 +package.editor.y=290 +package.frame.height=600 +package.frame.width=800 +package.numDependencies=6 +package.numTargets=8 +package.showExtends=true +package.showUses=true +readme.height=60 +readme.name=@README +readme.width=49 +readme.x=10 +readme.y=10 +target1.height=50 +target1.name=EditTabMitController +target1.showInterface=false +target1.type=ClassTarget +target1.width=180 +target1.x=10 +target1.y=80 +target2.height=50 +target2.name=HauptTabMitController +target2.showInterface=false +target2.type=ClassTarget +target2.width=200 +target2.x=10 +target2.y=140 +target3.height=70 +target3.name=Hilfefenster +target3.showInterface=false +target3.type=ClassTarget +target3.width=120 +target3.x=10 +target3.y=210 +target4.height=50 +target4.name=TabMitController +target4.showInterface=false +target4.type=ClassTarget +target4.width=130 +target4.x=300 +target4.y=110 +target5.height=50 +target5.name=SimulationTabMitController +target5.showInterface=false +target5.type=ClassTarget +target5.width=200 +target5.x=210 +target5.y=210 +target6.height=50 +target6.name=Controller +target6.showInterface=false +target6.type=ClassTarget +target6.width=90 +target6.x=500 +target6.y=250 +target7.height=70 +target7.name=MyClassLoader +target7.showInterface=false +target7.type=ClassTarget +target7.width=120 +target7.x=140 +target7.y=330 +target8.height=50 +target8.name=UnterTabMitController +target8.showInterface=false +target8.type=ClassTarget +target8.width=170 +target8.x=220 +target8.y=270 diff --git a/doc/GraphenTester.html b/doc/GraphenTester.html index 2ed6418..e2ed1f2 100644 --- a/doc/GraphenTester.html +++ b/doc/GraphenTester.html @@ -1,366 +1,366 @@ - - - - - -GraphenTester (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-

Class GraphenTester

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javafx.application.Application
    • -
    • -
        -
      • GraphenTester
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    public class GraphenTester
    -extends javafx.application.Application
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Nested Class Summary

      -
        -
      • - - -

        Nested classes/interfaces inherited from class javafx.application.Application

        -javafx.application.Application.Parameters
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Field Summary

      -
        -
      • - - -

        Fields inherited from class javafx.application.Application

        -STYLESHEET_CASPIAN, STYLESHEET_MODENA
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      GraphenTester() 
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphenTester

        -
        public GraphenTester()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        start

        -
        public void start​(javafx.stage.Stage primaryStage)
        -
        -
        Specified by:
        -
        start in class javafx.application.Application
        -
        -
      • -
      - - - -
        -
      • -

        main

        -
        public static void main​(String[] args)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- - - - + + + + + +GraphenTester (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+

Class GraphenTester

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • javafx.application.Application
    • +
    • +
        +
      • GraphenTester
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    public class GraphenTester
    +extends javafx.application.Application
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class javafx.application.Application

        +javafx.application.Application.Parameters
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class javafx.application.Application

        +STYLESHEET_CASPIAN, STYLESHEET_MODENA
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      GraphenTester() 
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphenTester

        +
        public GraphenTester()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        start

        +
        public void start​(javafx.stage.Stage primaryStage)
        +
        +
        Specified by:
        +
        start in class javafx.application.Application
        +
        +
      • +
      + + + +
        +
      • +

        main

        +
        public static void main​(String[] args)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo.html b/doc/algorithmen/GraphAlgo.html index c8bf2e7..67c2938 100644 --- a/doc/algorithmen/GraphAlgo.html +++ b/doc/algorithmen/GraphAlgo.html @@ -1,669 +1,669 @@ - - - - - -GraphAlgo (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo

-
-
- - -
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        inArbeit

        -
        protected boolean inArbeit
        -
      • -
      - - - -
        -
      • -

        g

        -
        protected Graph g
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo

        -
        public GraphAlgo()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setGUIElemente

        -
        public void setGUIElemente​(GraphPlotter graphPlotter,
        -                           Hilfe hilfe)
        -
      • -
      - - - -
        -
      • -

        setGraph

        -
        public void setGraph​(Graph g)
        -
      • -
      - - - -
        -
      • -

        step

        -
        public void step()
        -
      • -
      - - - -
        -
      • -

        getWaitforrepaint

        -
        public boolean getWaitforrepaint()
        -
      • -
      - - - -
        -
      • -

        setWaitforrepaint

        -
        public void setWaitforrepaint​(boolean waitforrepaintNeu)
        -
      • -
      - - - -
        -
      • -

        getWaitforclick

        -
        public boolean getWaitforclick()
        -
      • -
      - - - -
        -
      • -

        setWaitforclick

        -
        public void setWaitforclick​(boolean waitforclickNeu)
        -
      • -
      - - - -
        -
      • -

        setStepping

        -
        public void setStepping​(boolean stepping)
        -
      • -
      - - - -
        -
      • -

        setSpeed

        -
        public void setSpeed​(int delay)
        -
      • -
      - - - -
        -
      • -

        run

        -
        public void run()
        -
        -
        Specified by:
        -
        run in interface Runnable
        -
        Overrides:
        -
        run in class Thread
        -
        -
      • -
      - - - -
        -
      • -

        setStartKnoten

        -
        public void setStartKnoten​(Knoten k)
        -
      • -
      - - - -
        -
      • -

        getStartKnoten

        -
        public Knoten getStartKnoten()
        -
      • -
      - - - -
        -
      • -

        fuehreAlgorithmusAus

        -
        public abstract void fuehreAlgorithmusAus()
        -
      • -
      - - - -
        -
      • -

        getBezeichnung

        -
        public abstract String getBezeichnung()
        -
      • -
      - - - -
        -
      • -

        melde

        -
        public void melde​(String s)
        -
      • -
      - - - -
        -
      • -

        info

        -
        public void info​(String s)
        -
      • -
      - - - -
        -
      • -

        resetInfo

        -
        public void resetInfo()
        -
      • -
      - - - -
        -
      • -

        infoIndentMore

        -
        public void infoIndentMore()
        -
      • -
      - - - -
        -
      • -

        infoIndentLess

        -
        public void infoIndentLess()
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo

+
+
+ + +
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        inArbeit

        +
        protected boolean inArbeit
        +
      • +
      + + + +
        +
      • +

        g

        +
        protected Graph g
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo

        +
        public GraphAlgo()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setGUIElemente

        +
        public void setGUIElemente​(GraphPlotter graphPlotter,
        +                           Hilfe hilfe)
        +
      • +
      + + + +
        +
      • +

        setGraph

        +
        public void setGraph​(Graph g)
        +
      • +
      + + + +
        +
      • +

        step

        +
        public void step()
        +
      • +
      + + + +
        +
      • +

        getWaitforrepaint

        +
        public boolean getWaitforrepaint()
        +
      • +
      + + + +
        +
      • +

        setWaitforrepaint

        +
        public void setWaitforrepaint​(boolean waitforrepaintNeu)
        +
      • +
      + + + +
        +
      • +

        getWaitforclick

        +
        public boolean getWaitforclick()
        +
      • +
      + + + +
        +
      • +

        setWaitforclick

        +
        public void setWaitforclick​(boolean waitforclickNeu)
        +
      • +
      + + + +
        +
      • +

        setStepping

        +
        public void setStepping​(boolean stepping)
        +
      • +
      + + + +
        +
      • +

        setSpeed

        +
        public void setSpeed​(int delay)
        +
      • +
      + + + +
        +
      • +

        run

        +
        public void run()
        +
        +
        Specified by:
        +
        run in interface Runnable
        +
        Overrides:
        +
        run in class Thread
        +
        +
      • +
      + + + +
        +
      • +

        setStartKnoten

        +
        public void setStartKnoten​(Knoten k)
        +
      • +
      + + + +
        +
      • +

        getStartKnoten

        +
        public Knoten getStartKnoten()
        +
      • +
      + + + +
        +
      • +

        fuehreAlgorithmusAus

        +
        public abstract void fuehreAlgorithmusAus()
        +
      • +
      + + + +
        +
      • +

        getBezeichnung

        +
        public abstract String getBezeichnung()
        +
      • +
      + + + +
        +
      • +

        melde

        +
        public void melde​(String s)
        +
      • +
      + + + +
        +
      • +

        info

        +
        public void info​(String s)
        +
      • +
      + + + +
        +
      • +

        resetInfo

        +
        public void resetInfo()
        +
      • +
      + + + +
        +
      • +

        infoIndentMore

        +
        public void infoIndentMore()
        +
      • +
      + + + +
        +
      • +

        infoIndentLess

        +
        public void infoIndentLess()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_BellmanFord.html b/doc/algorithmen/GraphAlgo_BellmanFord.html index 9cc3651..2e200da 100644 --- a/doc/algorithmen/GraphAlgo_BellmanFord.html +++ b/doc/algorithmen/GraphAlgo_BellmanFord.html @@ -1,402 +1,402 @@ - - - - - -GraphAlgo_BellmanFord (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_BellmanFord

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_BellmanFord
    -extends GraphAlgo
    -
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen. - Algorithmus: Bellman-Ford
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_BellmanFord

        -
        public GraphAlgo_BellmanFord()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_BellmanFord (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_BellmanFord

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_BellmanFord
    +extends GraphAlgo
    +
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen. + Algorithmus: Bellman-Ford
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_BellmanFord

        +
        public GraphAlgo_BellmanFord()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_Breitensuche.html b/doc/algorithmen/GraphAlgo_Breitensuche.html index ccdcb5f..6f65af1 100644 --- a/doc/algorithmen/GraphAlgo_Breitensuche.html +++ b/doc/algorithmen/GraphAlgo_Breitensuche.html @@ -1,402 +1,402 @@ - - - - - -GraphAlgo_Breitensuche (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_Breitensuche

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_Breitensuche
    -extends GraphAlgo
    -
    Dieser Algorithmus nummeriert alle Knoten des Graphen. - Algorithmus: Breitensuche mit ToDo-Liste (Schlange)
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_Breitensuche

        -
        public GraphAlgo_Breitensuche()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_Breitensuche (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_Breitensuche

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_Breitensuche
    +extends GraphAlgo
    +
    Dieser Algorithmus nummeriert alle Knoten des Graphen. + Algorithmus: Breitensuche mit ToDo-Liste (Schlange)
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_Breitensuche

        +
        public GraphAlgo_Breitensuche()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_ColoringBacktracking.html b/doc/algorithmen/GraphAlgo_ColoringBacktracking.html index adcb9b2..3cdb909 100644 --- a/doc/algorithmen/GraphAlgo_ColoringBacktracking.html +++ b/doc/algorithmen/GraphAlgo_ColoringBacktracking.html @@ -1,449 +1,449 @@ - - - - - -GraphAlgo_ColoringBacktracking (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_ColoringBacktracking

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_ColoringBacktracking
    -extends GraphAlgo
    -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden. - Algorithmus: Backtracking
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_ColoringBacktracking

        -
        public GraphAlgo_ColoringBacktracking()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_ColoringBacktracking (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_ColoringBacktracking

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_ColoringBacktracking
    +extends GraphAlgo
    +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden. + Algorithmus: Backtracking
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_ColoringBacktracking

        +
        public GraphAlgo_ColoringBacktracking()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_ColoringGreedy.html b/doc/algorithmen/GraphAlgo_ColoringGreedy.html index cfc1647..5e9c1bd 100644 --- a/doc/algorithmen/GraphAlgo_ColoringGreedy.html +++ b/doc/algorithmen/GraphAlgo_ColoringGreedy.html @@ -1,403 +1,403 @@ - - - - - -GraphAlgo_ColoringGreedy (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_ColoringGreedy

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_ColoringGreedy
    -extends GraphAlgo
    -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden. - Algorithmus: Näherungslösung mit Greedy-Algorithmus
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_ColoringGreedy

        -
        public GraphAlgo_ColoringGreedy()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_ColoringGreedy (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_ColoringGreedy

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_ColoringGreedy
    +extends GraphAlgo
    +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden. + Algorithmus: Näherungslösung mit Greedy-Algorithmus
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_ColoringGreedy

        +
        public GraphAlgo_ColoringGreedy()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_ColoringGreedyRandom.html b/doc/algorithmen/GraphAlgo_ColoringGreedyRandom.html index a9b7472..9c059a1 100644 --- a/doc/algorithmen/GraphAlgo_ColoringGreedyRandom.html +++ b/doc/algorithmen/GraphAlgo_ColoringGreedyRandom.html @@ -1,403 +1,403 @@ - - - - - -GraphAlgo_ColoringGreedyRandom (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_ColoringGreedyRandom

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_ColoringGreedyRandom
    -extends GraphAlgo
    -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden. - Algorithmus: Näherungslösung mit Greedy-Algorithmus (Knotenreihenfolge zufällig)
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_ColoringGreedyRandom

        -
        public GraphAlgo_ColoringGreedyRandom()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_ColoringGreedyRandom (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_ColoringGreedyRandom

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_ColoringGreedyRandom
    +extends GraphAlgo
    +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden. + Algorithmus: Näherungslösung mit Greedy-Algorithmus (Knotenreihenfolge zufällig)
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_ColoringGreedyRandom

        +
        public GraphAlgo_ColoringGreedyRandom()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_Dijkstra.html b/doc/algorithmen/GraphAlgo_Dijkstra.html index 23dbf22..34dc7f8 100644 --- a/doc/algorithmen/GraphAlgo_Dijkstra.html +++ b/doc/algorithmen/GraphAlgo_Dijkstra.html @@ -1,402 +1,402 @@ - - - - - -GraphAlgo_Dijkstra (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_Dijkstra

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_Dijkstra
    -extends GraphAlgo
    -
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen. - Algorithmus: Dijkstra
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_Dijkstra

        -
        public GraphAlgo_Dijkstra()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_Dijkstra (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_Dijkstra

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_Dijkstra
    +extends GraphAlgo
    +
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen. + Algorithmus: Dijkstra
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_Dijkstra

        +
        public GraphAlgo_Dijkstra()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_DominatingSetBacktracking.html b/doc/algorithmen/GraphAlgo_DominatingSetBacktracking.html index 8470671..5ebaa0a 100644 --- a/doc/algorithmen/GraphAlgo_DominatingSetBacktracking.html +++ b/doc/algorithmen/GraphAlgo_DominatingSetBacktracking.html @@ -1,449 +1,449 @@ - - - - - -GraphAlgo_DominatingSetBacktracking (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_DominatingSetBacktracking

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_DominatingSetBacktracking
    -extends GraphAlgo
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf. - Algorithmus: Backtracking
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_DominatingSetBacktracking

        -
        public GraphAlgo_DominatingSetBacktracking()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_DominatingSetBacktracking (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_DominatingSetBacktracking

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_DominatingSetBacktracking
    +extends GraphAlgo
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf. + Algorithmus: Backtracking
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_DominatingSetBacktracking

        +
        public GraphAlgo_DominatingSetBacktracking()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_DominatingSetGenetisch.html b/doc/algorithmen/GraphAlgo_DominatingSetGenetisch.html index cac6a06..94be725 100644 --- a/doc/algorithmen/GraphAlgo_DominatingSetGenetisch.html +++ b/doc/algorithmen/GraphAlgo_DominatingSetGenetisch.html @@ -1,475 +1,475 @@ - - - - - -GraphAlgo_DominatingSetGenetisch (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_DominatingSetGenetisch

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_DominatingSetGenetisch
    -extends GraphAlgo
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf. - Algorithmus: Genetischer Algorithmus
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_DominatingSetGenetisch

        -
        public GraphAlgo_DominatingSetGenetisch()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - -
        -
      • -

        erzeugeZufaelligeTeilmenge

        -
        public int[] erzeugeZufaelligeTeilmenge()
        -
      • -
      - - - -
        -
      • -

        kreuze

        -
        public int[] kreuze​(int[] tm1,
        -                    int[] tm2)
        -
      • -
      - - - -
        -
      • -

        mutiere

        -
        public int[] mutiere​(int[] tm)
        -
      • -
      - - - -
        -
      • -

        showTeilmenge

        -
        public void showTeilmenge​(int[] tm)
        -
      • -
      - - - -
        -
      • -

        getBewertung

        -
        public double getBewertung​(int[] tm)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_DominatingSetGenetisch (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_DominatingSetGenetisch

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_DominatingSetGenetisch
    +extends GraphAlgo
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf. + Algorithmus: Genetischer Algorithmus
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_DominatingSetGenetisch

        +
        public GraphAlgo_DominatingSetGenetisch()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        erzeugeZufaelligeTeilmenge

        +
        public int[] erzeugeZufaelligeTeilmenge()
        +
      • +
      + + + +
        +
      • +

        kreuze

        +
        public int[] kreuze​(int[] tm1,
        +                    int[] tm2)
        +
      • +
      + + + +
        +
      • +

        mutiere

        +
        public int[] mutiere​(int[] tm)
        +
      • +
      + + + +
        +
      • +

        showTeilmenge

        +
        public void showTeilmenge​(int[] tm)
        +
      • +
      + + + +
        +
      • +

        getBewertung

        +
        public double getBewertung​(int[] tm)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_DominatingSetGreedyA.html b/doc/algorithmen/GraphAlgo_DominatingSetGreedyA.html index fa7ea32..2f94ceb 100644 --- a/doc/algorithmen/GraphAlgo_DominatingSetGreedyA.html +++ b/doc/algorithmen/GraphAlgo_DominatingSetGreedyA.html @@ -1,404 +1,404 @@ - - - - - -GraphAlgo_DominatingSetGreedyA (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_DominatingSetGreedyA

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_DominatingSetGreedyA
    -extends GraphAlgo
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf. - Algorithmus: Greedy mit Strategie: - Nimm den Knoten mit den meisten Nachbarn
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_DominatingSetGreedyA

        -
        public GraphAlgo_DominatingSetGreedyA()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_DominatingSetGreedyA (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_DominatingSetGreedyA

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_DominatingSetGreedyA
    +extends GraphAlgo
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf. + Algorithmus: Greedy mit Strategie: + Nimm den Knoten mit den meisten Nachbarn
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_DominatingSetGreedyA

        +
        public GraphAlgo_DominatingSetGreedyA()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_DominatingSetGreedyB.html b/doc/algorithmen/GraphAlgo_DominatingSetGreedyB.html index 6860c56..8342da5 100644 --- a/doc/algorithmen/GraphAlgo_DominatingSetGreedyB.html +++ b/doc/algorithmen/GraphAlgo_DominatingSetGreedyB.html @@ -1,404 +1,404 @@ - - - - - -GraphAlgo_DominatingSetGreedyB (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_DominatingSetGreedyB

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_DominatingSetGreedyB
    -extends GraphAlgo
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf. - Algorithmus: Greedy mit Strategie: - Nimm den Knoten mit den wenigsten Nachbarn
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_DominatingSetGreedyB

        -
        public GraphAlgo_DominatingSetGreedyB()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_DominatingSetGreedyB (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_DominatingSetGreedyB

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_DominatingSetGreedyB
    +extends GraphAlgo
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf. + Algorithmus: Greedy mit Strategie: + Nimm den Knoten mit den wenigsten Nachbarn
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_DominatingSetGreedyB

        +
        public GraphAlgo_DominatingSetGreedyB()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_DominatingSetGreedyC.html b/doc/algorithmen/GraphAlgo_DominatingSetGreedyC.html index 04608dc..de8d5d1 100644 --- a/doc/algorithmen/GraphAlgo_DominatingSetGreedyC.html +++ b/doc/algorithmen/GraphAlgo_DominatingSetGreedyC.html @@ -1,404 +1,404 @@ - - - - - -GraphAlgo_DominatingSetGreedyC (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_DominatingSetGreedyC

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_DominatingSetGreedyC
    -extends GraphAlgo
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf. - Algorithmus: Greedy mit Strategie: - Nimm den Knoten mit den meisten Nachbarn
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_DominatingSetGreedyC

        -
        public GraphAlgo_DominatingSetGreedyC()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_DominatingSetGreedyC (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_DominatingSetGreedyC

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_DominatingSetGreedyC
    +extends GraphAlgo
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf. + Algorithmus: Greedy mit Strategie: + Nimm den Knoten mit den meisten Nachbarn
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_DominatingSetGreedyC

        +
        public GraphAlgo_DominatingSetGreedyC()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_DominatingSetGreedyD.html b/doc/algorithmen/GraphAlgo_DominatingSetGreedyD.html index 73d463f..0d71a72 100644 --- a/doc/algorithmen/GraphAlgo_DominatingSetGreedyD.html +++ b/doc/algorithmen/GraphAlgo_DominatingSetGreedyD.html @@ -1,404 +1,404 @@ - - - - - -GraphAlgo_DominatingSetGreedyD (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_DominatingSetGreedyD

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_DominatingSetGreedyD
    -extends GraphAlgo
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf. - Algorithmus: Greedy mit Strategie: - Nimm den Knoten mit den meisten Nachbarn
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_DominatingSetGreedyD

        -
        public GraphAlgo_DominatingSetGreedyD()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_DominatingSetGreedyD (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_DominatingSetGreedyD

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_DominatingSetGreedyD
    +extends GraphAlgo
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf. + Algorithmus: Greedy mit Strategie: + Nimm den Knoten mit den meisten Nachbarn
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_DominatingSetGreedyD

        +
        public GraphAlgo_DominatingSetGreedyD()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_DominatingSetGreedyE.html b/doc/algorithmen/GraphAlgo_DominatingSetGreedyE.html index 88fd92c..cb8adb0 100644 --- a/doc/algorithmen/GraphAlgo_DominatingSetGreedyE.html +++ b/doc/algorithmen/GraphAlgo_DominatingSetGreedyE.html @@ -1,404 +1,404 @@ - - - - - -GraphAlgo_DominatingSetGreedyE (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_DominatingSetGreedyE

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_DominatingSetGreedyE
    -extends GraphAlgo
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf. - Algorithmus: Greedy mit Strategie: - ein nicht abgedeckten Knoten, der von einem beliebigen schon ausgewählten Knoten die Entfernung 3 hat
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_DominatingSetGreedyE

        -
        public GraphAlgo_DominatingSetGreedyE()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_DominatingSetGreedyE (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_DominatingSetGreedyE

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_DominatingSetGreedyE
    +extends GraphAlgo
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf. + Algorithmus: Greedy mit Strategie: + ein nicht abgedeckten Knoten, der von einem beliebigen schon ausgewählten Knoten die Entfernung 3 hat
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_DominatingSetGreedyE

        +
        public GraphAlgo_DominatingSetGreedyE()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_DominatingSetGreedyF.html b/doc/algorithmen/GraphAlgo_DominatingSetGreedyF.html index c9cbf72..6dca650 100644 --- a/doc/algorithmen/GraphAlgo_DominatingSetGreedyF.html +++ b/doc/algorithmen/GraphAlgo_DominatingSetGreedyF.html @@ -1,404 +1,404 @@ - - - - - -GraphAlgo_DominatingSetGreedyF (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_DominatingSetGreedyF

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_DominatingSetGreedyF
    -extends GraphAlgo
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf. - Algorithmus: Greedy mit Strategie: - ein nicht abgedeckten Knoten, der von einem beliebigen schon ausgewählten Knoten die Entfernung 3 hat
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_DominatingSetGreedyF

        -
        public GraphAlgo_DominatingSetGreedyF()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_DominatingSetGreedyF (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_DominatingSetGreedyF

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_DominatingSetGreedyF
    +extends GraphAlgo
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf. + Algorithmus: Greedy mit Strategie: + ein nicht abgedeckten Knoten, der von einem beliebigen schon ausgewählten Knoten die Entfernung 3 hat
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_DominatingSetGreedyF

        +
        public GraphAlgo_DominatingSetGreedyF()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_DominatingSetGreedyG.html b/doc/algorithmen/GraphAlgo_DominatingSetGreedyG.html index 8623566..ba0c5e0 100644 --- a/doc/algorithmen/GraphAlgo_DominatingSetGreedyG.html +++ b/doc/algorithmen/GraphAlgo_DominatingSetGreedyG.html @@ -1,404 +1,404 @@ - - - - - -GraphAlgo_DominatingSetGreedyG (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_DominatingSetGreedyG

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_DominatingSetGreedyG
    -extends GraphAlgo
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf. - Algorithmus: Greedy mit Strategie: - ein nicht abgedeckten Knoten, der von einem beliebigen schon ausgewählten Knoten die Entfernung 3 hat
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_DominatingSetGreedyG

        -
        public GraphAlgo_DominatingSetGreedyG()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_DominatingSetGreedyG (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_DominatingSetGreedyG

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_DominatingSetGreedyG
    +extends GraphAlgo
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf. + Algorithmus: Greedy mit Strategie: + ein nicht abgedeckten Knoten, der von einem beliebigen schon ausgewählten Knoten die Entfernung 3 hat
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_DominatingSetGreedyG

        +
        public GraphAlgo_DominatingSetGreedyG()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_DominatingSetGreedyH.html b/doc/algorithmen/GraphAlgo_DominatingSetGreedyH.html index 61e6f28..8635149 100644 --- a/doc/algorithmen/GraphAlgo_DominatingSetGreedyH.html +++ b/doc/algorithmen/GraphAlgo_DominatingSetGreedyH.html @@ -1,404 +1,404 @@ - - - - - -GraphAlgo_DominatingSetGreedyH (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_DominatingSetGreedyH

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_DominatingSetGreedyH
    -extends GraphAlgo
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf. - Algorithmus: Greedy mit Strategie: - ein nicht abgedeckten Knoten, der von möglichst vielen schon ausgewählten Knoten die Entfernung 3 hat
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_DominatingSetGreedyH

        -
        public GraphAlgo_DominatingSetGreedyH()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_DominatingSetGreedyH (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_DominatingSetGreedyH

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_DominatingSetGreedyH
    +extends GraphAlgo
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf. + Algorithmus: Greedy mit Strategie: + ein nicht abgedeckten Knoten, der von möglichst vielen schon ausgewählten Knoten die Entfernung 3 hat
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_DominatingSetGreedyH

        +
        public GraphAlgo_DominatingSetGreedyH()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_DominatingSetGreedyI.html b/doc/algorithmen/GraphAlgo_DominatingSetGreedyI.html index 2f193f3..f691c00 100644 --- a/doc/algorithmen/GraphAlgo_DominatingSetGreedyI.html +++ b/doc/algorithmen/GraphAlgo_DominatingSetGreedyI.html @@ -1,404 +1,404 @@ - - - - - -GraphAlgo_DominatingSetGreedyI (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_DominatingSetGreedyI

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_DominatingSetGreedyI
    -extends GraphAlgo
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf. - Algorithmus: Greedy mit Strategie: - ein nicht abgedeckten Knoten, der von den ausgewählten Knoten eine möglichst große Entfernung hat
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_DominatingSetGreedyI

        -
        public GraphAlgo_DominatingSetGreedyI()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_DominatingSetGreedyI (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_DominatingSetGreedyI

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_DominatingSetGreedyI
    +extends GraphAlgo
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf. + Algorithmus: Greedy mit Strategie: + ein nicht abgedeckten Knoten, der von den ausgewählten Knoten eine möglichst große Entfernung hat
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_DominatingSetGreedyI

        +
        public GraphAlgo_DominatingSetGreedyI()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_EulerkreisExistenz.html b/doc/algorithmen/GraphAlgo_EulerkreisExistenz.html index 02ec9dc..83b7717 100644 --- a/doc/algorithmen/GraphAlgo_EulerkreisExistenz.html +++ b/doc/algorithmen/GraphAlgo_EulerkreisExistenz.html @@ -1,403 +1,403 @@ - - - - - -GraphAlgo_EulerkreisExistenz (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_EulerkreisExistenz

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_EulerkreisExistenz
    -extends GraphAlgo
    -
    Dieser Algorithmus testet, ob ein Eulerkreis existiert. - Algorithmus: Zunächst wird auf geraden Grad der Knoten getestet, danach - mit Tiefensuche der Zusammenhang des Graphen überprüft.
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_EulerkreisExistenz

        -
        public GraphAlgo_EulerkreisExistenz()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_EulerkreisExistenz (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_EulerkreisExistenz

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_EulerkreisExistenz
    +extends GraphAlgo
    +
    Dieser Algorithmus testet, ob ein Eulerkreis existiert. + Algorithmus: Zunächst wird auf geraden Grad der Knoten getestet, danach + mit Tiefensuche der Zusammenhang des Graphen überprüft.
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_EulerkreisExistenz

        +
        public GraphAlgo_EulerkreisExistenz()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_MST_Kruskal.html b/doc/algorithmen/GraphAlgo_MST_Kruskal.html index 59a9c8c..e9432a2 100644 --- a/doc/algorithmen/GraphAlgo_MST_Kruskal.html +++ b/doc/algorithmen/GraphAlgo_MST_Kruskal.html @@ -1,402 +1,402 @@ - - - - - -GraphAlgo_MST_Kruskal (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_MST_Kruskal

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_MST_Kruskal
    -extends GraphAlgo
    -
    Dieser Algorithmus sucht einen minimal Spanning Tree - Algorithmus: Kruskal
    -
    -
    Version:
    -
    1.0 from 11.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_MST_Kruskal

        -
        public GraphAlgo_MST_Kruskal()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_MST_Kruskal (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_MST_Kruskal

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_MST_Kruskal
    +extends GraphAlgo
    +
    Dieser Algorithmus sucht einen minimal Spanning Tree + Algorithmus: Kruskal
    +
    +
    Version:
    +
    1.0 from 11.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_MST_Kruskal

        +
        public GraphAlgo_MST_Kruskal()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_MST_Prim.html b/doc/algorithmen/GraphAlgo_MST_Prim.html index 654c6b0..6143d6f 100644 --- a/doc/algorithmen/GraphAlgo_MST_Prim.html +++ b/doc/algorithmen/GraphAlgo_MST_Prim.html @@ -1,402 +1,402 @@ - - - - - -GraphAlgo_MST_Prim (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_MST_Prim

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_MST_Prim
    -extends GraphAlgo
    -
    Dieser Algorithmus sucht einen minimal Spanning Tree - Algorithmus: Prim
    -
    -
    Version:
    -
    1.0 from 11.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_MST_Prim

        -
        public GraphAlgo_MST_Prim()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_MST_Prim (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_MST_Prim

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_MST_Prim
    +extends GraphAlgo
    +
    Dieser Algorithmus sucht einen minimal Spanning Tree + Algorithmus: Prim
    +
    +
    Version:
    +
    1.0 from 11.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_MST_Prim

        +
        public GraphAlgo_MST_Prim()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_Moore.html b/doc/algorithmen/GraphAlgo_Moore.html index 23aad7c..26d635f 100644 --- a/doc/algorithmen/GraphAlgo_Moore.html +++ b/doc/algorithmen/GraphAlgo_Moore.html @@ -1,402 +1,402 @@ - - - - - -GraphAlgo_Moore (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_Moore

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_Moore
    -extends GraphAlgo
    -
    Dieser Algorithmus findet die kürzesten Pfade in einem ungewichteten Graphen. - Algorithmus: Algorithmus A von Moore
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_Moore

        -
        public GraphAlgo_Moore()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_Moore (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_Moore

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_Moore
    +extends GraphAlgo
    +
    Dieser Algorithmus findet die kürzesten Pfade in einem ungewichteten Graphen. + Algorithmus: Algorithmus A von Moore
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_Moore

        +
        public GraphAlgo_Moore()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_ScotlandYard.html b/doc/algorithmen/GraphAlgo_ScotlandYard.html index c8d5645..dc85a85 100644 --- a/doc/algorithmen/GraphAlgo_ScotlandYard.html +++ b/doc/algorithmen/GraphAlgo_ScotlandYard.html @@ -1,402 +1,402 @@ - - - - - -GraphAlgo_ScotlandYard (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_ScotlandYard

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_ScotlandYard
    -extends GraphAlgo
    -
    Dieser Algorithmus findet die kürzesten Pfade in einem ungewichteten Graphen. - Algorithmus: Algorithmus A von Moore
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_ScotlandYard

        -
        public GraphAlgo_ScotlandYard()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_ScotlandYard (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_ScotlandYard

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_ScotlandYard
    +extends GraphAlgo
    +
    Dieser Algorithmus findet die kürzesten Pfade in einem ungewichteten Graphen. + Algorithmus: Algorithmus A von Moore
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_ScotlandYard

        +
        public GraphAlgo_ScotlandYard()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_TSPBacktracking.html b/doc/algorithmen/GraphAlgo_TSPBacktracking.html index 4589e67..93e2078 100644 --- a/doc/algorithmen/GraphAlgo_TSPBacktracking.html +++ b/doc/algorithmen/GraphAlgo_TSPBacktracking.html @@ -1,431 +1,431 @@ - - - - - -GraphAlgo_TSPBacktracking (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_TSPBacktracking

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_TSPBacktracking
    -extends GraphAlgo
    -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem). - Algorithmus: Backtracking
    -
    -
    Version:
    -
    1.0 from 11.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_TSPBacktracking

        -
        public GraphAlgo_TSPBacktracking()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_TSPBacktracking (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_TSPBacktracking

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_TSPBacktracking
    +extends GraphAlgo
    +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem). + Algorithmus: Backtracking
    +
    +
    Version:
    +
    1.0 from 11.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_TSPBacktracking

        +
        public GraphAlgo_TSPBacktracking()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_TSPGenetisch.html b/doc/algorithmen/GraphAlgo_TSPGenetisch.html index 63c9f1c..d5c16e4 100644 --- a/doc/algorithmen/GraphAlgo_TSPGenetisch.html +++ b/doc/algorithmen/GraphAlgo_TSPGenetisch.html @@ -1,500 +1,500 @@ - - - - - -GraphAlgo_TSPGenetisch (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_TSPGenetisch

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_TSPGenetisch
    -extends GraphAlgo
    -
    description
    -
    -
    Version:
    -
    1.0 from 26.04.2019
    -
    Author:
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_TSPGenetisch

        -
        public GraphAlgo_TSPGenetisch()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - -
        -
      • -

        erzeugeZufaelligeRundreise

        -
        public int[] erzeugeZufaelligeRundreise()
        -
      • -
      - - - -
        -
      • -

        kreuze

        -
        public int[] kreuze​(int[] rr1,
        -                    int[] rr2)
        -
      • -
      - - - -
        -
      • -

        mutiere

        -
        public int[] mutiere​(int[] rr)
        -
      • -
      - - - -
        -
      • -

        mutiere2

        -
        public int[] mutiere2​(int[] rr)
        -
      • -
      - - - -
        -
      • -

        showRundreise

        -
        public void showRundreise​(int[] rundreise)
        -
      • -
      - - - -
        -
      • -

        getLaenge

        -
        public double getLaenge​(int[] rundreise)
        -
      • -
      - - - -
        -
      • -

        getInfo

        -
        public String getInfo()
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_TSPGenetisch (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_TSPGenetisch

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_TSPGenetisch
    +extends GraphAlgo
    +
    description
    +
    +
    Version:
    +
    1.0 from 26.04.2019
    +
    Author:
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_TSPGenetisch

        +
        public GraphAlgo_TSPGenetisch()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        erzeugeZufaelligeRundreise

        +
        public int[] erzeugeZufaelligeRundreise()
        +
      • +
      + + + +
        +
      • +

        kreuze

        +
        public int[] kreuze​(int[] rr1,
        +                    int[] rr2)
        +
      • +
      + + + +
        +
      • +

        mutiere

        +
        public int[] mutiere​(int[] rr)
        +
      • +
      + + + +
        +
      • +

        mutiere2

        +
        public int[] mutiere2​(int[] rr)
        +
      • +
      + + + +
        +
      • +

        showRundreise

        +
        public void showRundreise​(int[] rundreise)
        +
      • +
      + + + +
        +
      • +

        getLaenge

        +
        public double getLaenge​(int[] rundreise)
        +
      • +
      + + + +
        +
      • +

        getInfo

        +
        public String getInfo()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_TSPGreedy.html b/doc/algorithmen/GraphAlgo_TSPGreedy.html index 8f9d5cd..9a3d4cf 100644 --- a/doc/algorithmen/GraphAlgo_TSPGreedy.html +++ b/doc/algorithmen/GraphAlgo_TSPGreedy.html @@ -1,419 +1,419 @@ - - - - - -GraphAlgo_TSPGreedy (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_TSPGreedy

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_TSPGreedy
    -extends GraphAlgo
    -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem). - Algorithmus: Greedy - Strategie: Verlängere den Weg immer mit der kürzesten Kante, die vom aktuellen Ende der Route ausgeht. - vlg. Minimal Spanning Tree (Prim)
    -
    -
    Version:
    -
    1.0 from 11.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_TSPGreedy

        -
        public GraphAlgo_TSPGreedy()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_TSPGreedy (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_TSPGreedy

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_TSPGreedy
    +extends GraphAlgo
    +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem). + Algorithmus: Greedy + Strategie: Verlängere den Weg immer mit der kürzesten Kante, die vom aktuellen Ende der Route ausgeht. + vlg. Minimal Spanning Tree (Prim)
    +
    +
    Version:
    +
    1.0 from 11.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_TSPGreedy

        +
        public GraphAlgo_TSPGreedy()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_TSPGreedy2.html b/doc/algorithmen/GraphAlgo_TSPGreedy2.html index 40d5bfe..e0a3a6a 100644 --- a/doc/algorithmen/GraphAlgo_TSPGreedy2.html +++ b/doc/algorithmen/GraphAlgo_TSPGreedy2.html @@ -1,420 +1,420 @@ - - - - - -GraphAlgo_TSPGreedy2 (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_TSPGreedy2

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_TSPGreedy2
    -extends GraphAlgo
    -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem). - Algorithmus: Greedy - Strategie: Sortiere Kanten der Länge nach. Füge sie der Reihe nach der Route hinzu, wenn nicht schon ein - Weg zwischen den beiden Knoten vorhanden ist und die Knoten nicht schon Grad zwei erreicht haben. - vgl. Minimal Spanning Tree (Kruskal)
    -
    -
    Version:
    -
    1.0 from 11.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_TSPGreedy2

        -
        public GraphAlgo_TSPGreedy2()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_TSPGreedy2 (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_TSPGreedy2

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_TSPGreedy2
    +extends GraphAlgo
    +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem). + Algorithmus: Greedy + Strategie: Sortiere Kanten der Länge nach. Füge sie der Reihe nach der Route hinzu, wenn nicht schon ein + Weg zwischen den beiden Knoten vorhanden ist und die Knoten nicht schon Grad zwei erreicht haben. + vgl. Minimal Spanning Tree (Kruskal)
    +
    +
    Version:
    +
    1.0 from 11.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_TSPGreedy2

        +
        public GraphAlgo_TSPGreedy2()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_TSPGreedyOpt.html b/doc/algorithmen/GraphAlgo_TSPGreedyOpt.html index 61c47f3..97d41a9 100644 --- a/doc/algorithmen/GraphAlgo_TSPGreedyOpt.html +++ b/doc/algorithmen/GraphAlgo_TSPGreedyOpt.html @@ -1,433 +1,433 @@ - - - - - -GraphAlgo_TSPGreedyOpt (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_TSPGreedyOpt

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_TSPGreedyOpt
    -extends GraphAlgo
    -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem). - Algorithmus: Greedy mit anschließender Optimierung: - Jeder Knoten wird der Reihe nach aus der Rundreise entfernt und dort wieder eingefügt, wo die Rundreise - sich am wenigsten verlängert. Diese Optimierung wird 5x wiederholt.
    -
    -
    Version:
    -
    1.0 from 11.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_TSPGreedyOpt

        -
        public GraphAlgo_TSPGreedyOpt()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_TSPGreedyOpt (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_TSPGreedyOpt

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_TSPGreedyOpt
    +extends GraphAlgo
    +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem). + Algorithmus: Greedy mit anschließender Optimierung: + Jeder Knoten wird der Reihe nach aus der Rundreise entfernt und dort wieder eingefügt, wo die Rundreise + sich am wenigsten verlängert. Diese Optimierung wird 5x wiederholt.
    +
    +
    Version:
    +
    1.0 from 11.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_TSPGreedyOpt

        +
        public GraphAlgo_TSPGreedyOpt()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_Tiefensuche.html b/doc/algorithmen/GraphAlgo_Tiefensuche.html index 1cb79a7..5325be8 100644 --- a/doc/algorithmen/GraphAlgo_Tiefensuche.html +++ b/doc/algorithmen/GraphAlgo_Tiefensuche.html @@ -1,402 +1,402 @@ - - - - - -GraphAlgo_Tiefensuche (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_Tiefensuche

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_Tiefensuche
    -extends GraphAlgo
    -
    Dieser Algorithmus nummeriert alle Knoten des Graphen. - Algorithmus: Tiefensuche mit ToDo-Liste (Stapel)
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_Tiefensuche

        -
        public GraphAlgo_Tiefensuche()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_Tiefensuche (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_Tiefensuche

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_Tiefensuche
    +extends GraphAlgo
    +
    Dieser Algorithmus nummeriert alle Knoten des Graphen. + Algorithmus: Tiefensuche mit ToDo-Liste (Stapel)
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_Tiefensuche

        +
        public GraphAlgo_Tiefensuche()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_TiefensucheRek.html b/doc/algorithmen/GraphAlgo_TiefensucheRek.html index 47afa72..5f63fb1 100644 --- a/doc/algorithmen/GraphAlgo_TiefensucheRek.html +++ b/doc/algorithmen/GraphAlgo_TiefensucheRek.html @@ -1,402 +1,402 @@ - - - - - -GraphAlgo_TiefensucheRek (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_TiefensucheRek

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_TiefensucheRek
    -extends GraphAlgo
    -
    Dieser Algorithmus nummeriert alle Knoten des Graphen. - Algorithmus: Tiefensuche rekursiv
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_TiefensucheRek

        -
        public GraphAlgo_TiefensucheRek()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_TiefensucheRek (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_TiefensucheRek

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_TiefensucheRek
    +extends GraphAlgo
    +
    Dieser Algorithmus nummeriert alle Knoten des Graphen. + Algorithmus: Tiefensuche rekursiv
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_TiefensucheRek

        +
        public GraphAlgo_TiefensucheRek()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_ZyklusBacktracking.html b/doc/algorithmen/GraphAlgo_ZyklusBacktracking.html index 04b9fbc..0b05140 100644 --- a/doc/algorithmen/GraphAlgo_ZyklusBacktracking.html +++ b/doc/algorithmen/GraphAlgo_ZyklusBacktracking.html @@ -1,417 +1,417 @@ - - - - - -GraphAlgo_ZyklusBacktracking (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_ZyklusBacktracking

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_ZyklusBacktracking
    -extends GraphAlgo
    -
    Dieser Algorithmus ist ein Beispiel für einen Backtracking-Algorithmus. - Er sucht einen Zyklus im Graphen. - Algorithmus: Backtracking
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_ZyklusBacktracking

        -
        public GraphAlgo_ZyklusBacktracking()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_ZyklusBacktracking (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_ZyklusBacktracking

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_ZyklusBacktracking
    +extends GraphAlgo
    +
    Dieser Algorithmus ist ein Beispiel für einen Backtracking-Algorithmus. + Er sucht einen Zyklus im Graphen. + Algorithmus: Backtracking
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_ZyklusBacktracking

        +
        public GraphAlgo_ZyklusBacktracking()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/GraphAlgo_toplogischeSortierung.html b/doc/algorithmen/GraphAlgo_toplogischeSortierung.html index e83e61e..9a1f688 100644 --- a/doc/algorithmen/GraphAlgo_toplogischeSortierung.html +++ b/doc/algorithmen/GraphAlgo_toplogischeSortierung.html @@ -1,401 +1,401 @@ - - - - - -GraphAlgo_toplogischeSortierung (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package algorithmen
-

Class GraphAlgo_toplogischeSortierung

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_toplogischeSortierung
    -extends GraphAlgo
    -
    Dieser Algorithmus findet eine topologische Sortierung des Graphen.
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_toplogischeSortierung

        -
        public GraphAlgo_toplogischeSortierung()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_toplogischeSortierung (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package algorithmen
+

Class GraphAlgo_toplogischeSortierung

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_toplogischeSortierung
    +extends GraphAlgo
    +
    Dieser Algorithmus findet eine topologische Sortierung des Graphen.
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_toplogischeSortierung

        +
        public GraphAlgo_toplogischeSortierung()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/algorithmen/package-summary.html b/doc/algorithmen/package-summary.html index 7e9051f..ee2685f 100644 --- a/doc/algorithmen/package-summary.html +++ b/doc/algorithmen/package-summary.html @@ -1,365 +1,365 @@ - - - - - -algorithmen (1_graphentester) - - - - - - - - - - - - - - - -
- -
-
-
-

Package algorithmen

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    GraphAlgo -
    description
    -
    GraphAlgo_BellmanFord -
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen.
    -
    GraphAlgo_Breitensuche -
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    -
    GraphAlgo_ColoringBacktracking -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    -
    GraphAlgo_ColoringGreedy -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    -
    GraphAlgo_ColoringGreedyRandom -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    -
    GraphAlgo_Dijkstra -
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen.
    -
    GraphAlgo_DominatingSetBacktracking -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGenetisch -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyA -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyB -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyC -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyD -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyE -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyF -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyG -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyH -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyI -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_EulerkreisExistenz -
    Dieser Algorithmus testet, ob ein Eulerkreis existiert.
    -
    GraphAlgo_Moore -
    Dieser Algorithmus findet die kürzesten Pfade in einem ungewichteten Graphen.
    -
    GraphAlgo_MST_Kruskal -
    Dieser Algorithmus sucht einen minimal Spanning Tree - Algorithmus: Kruskal
    -
    GraphAlgo_MST_Prim -
    Dieser Algorithmus sucht einen minimal Spanning Tree - Algorithmus: Prim
    -
    GraphAlgo_Tiefensuche -
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    -
    GraphAlgo_TiefensucheRek -
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    -
    GraphAlgo_toplogischeSortierung -
    Dieser Algorithmus findet eine topologische Sortierung des Graphen.
    -
    GraphAlgo_TSPBacktracking -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem).
    -
    GraphAlgo_TSPGenetisch -
    description
    -
    GraphAlgo_TSPGreedy -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem).
    -
    GraphAlgo_TSPGreedy2 -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem).
    -
    GraphAlgo_TSPGreedyOpt -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem).
    -
    GraphAlgo_ZyklusBacktracking -
    Dieser Algorithmus ist ein Beispiel für einen Backtracking-Algorithmus.
    -
    -
  • -
-
-
-
- -
- - + + + + + +algorithmen (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package algorithmen

+
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    GraphAlgo +
    description
    +
    GraphAlgo_BellmanFord +
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen.
    +
    GraphAlgo_Breitensuche +
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    +
    GraphAlgo_ColoringBacktracking +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    +
    GraphAlgo_ColoringGreedy +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    +
    GraphAlgo_ColoringGreedyRandom +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    +
    GraphAlgo_Dijkstra +
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen.
    +
    GraphAlgo_DominatingSetBacktracking +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGenetisch +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyA +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyB +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyC +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyD +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyE +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyF +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyG +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyH +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyI +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_EulerkreisExistenz +
    Dieser Algorithmus testet, ob ein Eulerkreis existiert.
    +
    GraphAlgo_Moore +
    Dieser Algorithmus findet die kürzesten Pfade in einem ungewichteten Graphen.
    +
    GraphAlgo_MST_Kruskal +
    Dieser Algorithmus sucht einen minimal Spanning Tree + Algorithmus: Kruskal
    +
    GraphAlgo_MST_Prim +
    Dieser Algorithmus sucht einen minimal Spanning Tree + Algorithmus: Prim
    +
    GraphAlgo_Tiefensuche +
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    +
    GraphAlgo_TiefensucheRek +
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    +
    GraphAlgo_toplogischeSortierung +
    Dieser Algorithmus findet eine topologische Sortierung des Graphen.
    +
    GraphAlgo_TSPBacktracking +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem).
    +
    GraphAlgo_TSPGenetisch +
    description
    +
    GraphAlgo_TSPGreedy +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem).
    +
    GraphAlgo_TSPGreedy2 +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem).
    +
    GraphAlgo_TSPGreedyOpt +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem).
    +
    GraphAlgo_ZyklusBacktracking +
    Dieser Algorithmus ist ein Beispiel für einen Backtracking-Algorithmus.
    +
    +
  • +
+
+
+
+ +
+ + diff --git a/doc/algorithmen/package-tree.html b/doc/algorithmen/package-tree.html index 575e6d2..ddc3748 100644 --- a/doc/algorithmen/package-tree.html +++ b/doc/algorithmen/package-tree.html @@ -1,197 +1,197 @@ - - - - - -algorithmen Class Hierarchy (1_graphentester) - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package algorithmen

-Package Hierarchies: - -
- -
-
- -
- - + + + + + +algorithmen Class Hierarchy (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package algorithmen

+Package Hierarchies: + +
+ +
+
+ +
+ + diff --git a/doc/allclasses-index.html b/doc/allclasses-index.html index 6b3792e..ca886f2 100644 --- a/doc/allclasses-index.html +++ b/doc/allclasses-index.html @@ -1,504 +1,504 @@ - - - - - -All Classes (1_graphentester) - - - - - - - - - - - - - - - -
- -
-
-
-

All Classes

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    All Classes Interface Summary Class Summary 
    ClassDescription
    Controller -
    Die Klasse Controller stellt den Controller des Hauptfensters / Menu dar.
    -
    EditTabMitController -
    Die Klasse EditTabMitController stellt einen Tab inclusive ihres Controllers - zur Editierung eines Graphs dar.
    -
    Graph -
    Dies ist das Herz vom "GraphTester" - der Graph selber, gepeichert als Adjazenzliste.
    -
    GraphAlgo -
    description
    -
    GraphAlgo_BellmanFord -
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen.
    -
    GraphAlgo_Breitensuche -
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    -
    GraphAlgo_Coloring_Schueler -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    -
    GraphAlgo_ColoringBacktracking -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    -
    GraphAlgo_ColoringGreedy -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    -
    GraphAlgo_ColoringGreedyRandom -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    -
    GraphAlgo_Dijkstra -
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen.
    -
    GraphAlgo_DominatingSetBacktracking -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGenetisch -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyA -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyB -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyC -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyD -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyE -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyF -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyG -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyH -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_DominatingSetGreedyI -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    GraphAlgo_EulerkreisExistenz -
    Dieser Algorithmus testet, ob ein Eulerkreis existiert.
    -
    GraphAlgo_Moore -
    Dieser Algorithmus findet die kürzesten Pfade in einem ungewichteten Graphen.
    -
    GraphAlgo_MST_Kruskal -
    Dieser Algorithmus sucht einen minimal Spanning Tree - Algorithmus: Kruskal
    -
    GraphAlgo_MST_Prim -
    Dieser Algorithmus sucht einen minimal Spanning Tree - Algorithmus: Prim
    -
    GraphAlgo_Tiefensuche -
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    -
    GraphAlgo_TiefensucheRek -
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    -
    GraphAlgo_toplogischeSortierung -
    Dieser Algorithmus findet eine topologische Sortierung des Graphen.
    -
    GraphAlgo_TSPBacktracking -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem).
    -
    GraphAlgo_TSPGenetisch -
    description
    -
    GraphAlgo_TSPGreedy -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem).
    -
    GraphAlgo_TSPGreedy2 -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem).
    -
    GraphAlgo_TSPGreedyOpt -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem).
    -
    GraphAlgo_ZyklusBacktracking -
    Dieser Algorithmus ist ein Beispiel für einen Backtracking-Algorithmus.
    -
    GraphElement -
    Die Klasse GraphElement ist eine Oberklasse von Knoten und Kanten.
    -
    GraphenTester 
    GraphOptions -
    Die Klasse GraphOptions speichert, wie ein Graph in einem Fenster vom - GraphPlotter angezeigt wird.
    -
    GraphPlotter -
    Der GraphPlotter ist das Herzstueck der Visualisierung und dient als Schnittstelle zur GUI.
    -
    HauptTabMitController -
    Die Klasse HauptTabMitController stellt einen Tab inclusive ihres Controllers - für das Hauptfenster des Graphentesters dar.
    -
    Hilfe 
    Hilfefenster -
    Die Klasse Hilfefenster stellt ein Hilfefenster für die Simulation eines - Algorithmus bereit.
    -
    HSB -
    Hilfsklasse für das HSB-Farbmodell
    -
    Kante -
    Die Klasse Kante beschreibt die Datenstruktur einer Kante, bestehend aus Startknoten, Gewicht und Zielknoten.
    -
    Knoten -
    Diese Klasse Knoten definiert einen Knoten.
    -
    NumberField 
    Picture -
    Bildklasse fuer die Simulation von Processing-Befehlen - - Diese Klasse stellt ein BufferedImage bereit, in das mit Processing-Befehlen gezeichnet - werden kann.
    -
    PictureViewer 
    SimulationTabMitController -
    Die Klasse SimulationTabMitController stellt einen Tab inclusive ihres Controllers - zur Simulation eines Algorithmus dar.
    -
    Table 
    TableRow 
    TabMitController -
    Die Klasse TabMitController stellt die Oberklasse für alle Tabs des Graphentesters - dar.
    -
    UnterTabMitController -
    Die Klasse UnterTabMitController stellt einen Tab inclusive ihres Controllers - zur händischen Erforschung eines Algorithmus.
    -
    XML 
    -
  • -
-
-
-
- -
- - + + + + + +All Classes (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+
+
+

All Classes

+
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    All Classes Interface Summary Class Summary 
    ClassDescription
    Controller +
    Die Klasse Controller stellt den Controller des Hauptfensters / Menu dar.
    +
    EditTabMitController +
    Die Klasse EditTabMitController stellt einen Tab inclusive ihres Controllers + zur Editierung eines Graphs dar.
    +
    Graph +
    Dies ist das Herz vom "GraphTester" - der Graph selber, gepeichert als Adjazenzliste.
    +
    GraphAlgo +
    description
    +
    GraphAlgo_BellmanFord +
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen.
    +
    GraphAlgo_Breitensuche +
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    +
    GraphAlgo_Coloring_Schueler +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    +
    GraphAlgo_ColoringBacktracking +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    +
    GraphAlgo_ColoringGreedy +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    +
    GraphAlgo_ColoringGreedyRandom +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    +
    GraphAlgo_Dijkstra +
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen.
    +
    GraphAlgo_DominatingSetBacktracking +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGenetisch +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyA +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyB +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyC +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyD +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyE +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyF +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyG +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyH +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_DominatingSetGreedyI +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    GraphAlgo_EulerkreisExistenz +
    Dieser Algorithmus testet, ob ein Eulerkreis existiert.
    +
    GraphAlgo_Moore +
    Dieser Algorithmus findet die kürzesten Pfade in einem ungewichteten Graphen.
    +
    GraphAlgo_MST_Kruskal +
    Dieser Algorithmus sucht einen minimal Spanning Tree + Algorithmus: Kruskal
    +
    GraphAlgo_MST_Prim +
    Dieser Algorithmus sucht einen minimal Spanning Tree + Algorithmus: Prim
    +
    GraphAlgo_Tiefensuche +
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    +
    GraphAlgo_TiefensucheRek +
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    +
    GraphAlgo_toplogischeSortierung +
    Dieser Algorithmus findet eine topologische Sortierung des Graphen.
    +
    GraphAlgo_TSPBacktracking +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem).
    +
    GraphAlgo_TSPGenetisch +
    description
    +
    GraphAlgo_TSPGreedy +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem).
    +
    GraphAlgo_TSPGreedy2 +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem).
    +
    GraphAlgo_TSPGreedyOpt +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem).
    +
    GraphAlgo_ZyklusBacktracking +
    Dieser Algorithmus ist ein Beispiel für einen Backtracking-Algorithmus.
    +
    GraphElement +
    Die Klasse GraphElement ist eine Oberklasse von Knoten und Kanten.
    +
    GraphenTester 
    GraphOptions +
    Die Klasse GraphOptions speichert, wie ein Graph in einem Fenster vom + GraphPlotter angezeigt wird.
    +
    GraphPlotter +
    Der GraphPlotter ist das Herzstueck der Visualisierung und dient als Schnittstelle zur GUI.
    +
    HauptTabMitController +
    Die Klasse HauptTabMitController stellt einen Tab inclusive ihres Controllers + für das Hauptfenster des Graphentesters dar.
    +
    Hilfe 
    Hilfefenster +
    Die Klasse Hilfefenster stellt ein Hilfefenster für die Simulation eines + Algorithmus bereit.
    +
    HSB +
    Hilfsklasse für das HSB-Farbmodell
    +
    Kante +
    Die Klasse Kante beschreibt die Datenstruktur einer Kante, bestehend aus Startknoten, Gewicht und Zielknoten.
    +
    Knoten +
    Diese Klasse Knoten definiert einen Knoten.
    +
    NumberField 
    Picture +
    Bildklasse fuer die Simulation von Processing-Befehlen + + Diese Klasse stellt ein BufferedImage bereit, in das mit Processing-Befehlen gezeichnet + werden kann.
    +
    PictureViewer 
    SimulationTabMitController +
    Die Klasse SimulationTabMitController stellt einen Tab inclusive ihres Controllers + zur Simulation eines Algorithmus dar.
    +
    Table 
    TableRow 
    TabMitController +
    Die Klasse TabMitController stellt die Oberklasse für alle Tabs des Graphentesters + dar.
    +
    UnterTabMitController +
    Die Klasse UnterTabMitController stellt einen Tab inclusive ihres Controllers + zur händischen Erforschung eines Algorithmus.
    +
    XML 
    +
  • +
+
+
+
+ +
+ + diff --git a/doc/allclasses.html b/doc/allclasses.html index 3a9b14b..dd81314 100644 --- a/doc/allclasses.html +++ b/doc/allclasses.html @@ -1,20 +1,20 @@ - - - - - -All Classes - - - - - - -

All Classes

-
- -
- - + + + + + +All Classes + + + + + + +

All Classes

+
+ +
+ + diff --git a/doc/allpackages-index.html b/doc/allpackages-index.html index e4ddd99..aedcc7b 100644 --- a/doc/allpackages-index.html +++ b/doc/allpackages-index.html @@ -1,183 +1,183 @@ - - - - - -All Packages (1_graphentester) - - - - - - - - - - - - - - - -
- -
-
-
-

All Packages

-
-
- -
-
-
- -
- - + + + + + +All Packages (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+
+
+

All Packages

+
+
+ +
+
+
+ +
+ + diff --git a/doc/constant-values.html b/doc/constant-values.html index 3a2c584..a94bd32 100644 --- a/doc/constant-values.html +++ b/doc/constant-values.html @@ -1,35 +1,35 @@ - - - - - -Constant Field Values - - - - - - - - -
-
-

Constant Field Values

-
-

Contents

-
-
-
- - + + + + + +Constant Field Values + + + + + + + + +
+
+

Constant Field Values

+
+

Contents

+
+
+
+ + diff --git a/doc/control/Controller.html b/doc/control/Controller.html index 3ae3160..fd60ca8 100644 --- a/doc/control/Controller.html +++ b/doc/control/Controller.html @@ -1,688 +1,688 @@ - - - - - -Controller (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package control
-

Class Controller

-
-
- -
-
    -
  • -
    -
    public class Controller
    -extends Object
    -
    Die Klasse Controller stellt den Controller des Hauptfensters / Menu dar.
    -
    -
    Version:
    -
    v6.7 (9.12.2020)
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Controller

        -
        public Controller()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        initialize

        -
        public void initialize()
        -
      • -
      - - - -
        -
      • -

        mNeuerGraph

        -
        void mNeuerGraph​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        schliesseTabs

        -
        void schliesseTabs()
        -
      • -
      - - - -
        -
      • -

        mBearbeiten

        -
        void mBearbeiten​(javafx.scene.input.MouseEvent event)
        -
      • -
      - - - -
        -
      • -

        mSimuliere

        -
        void mSimuliere​(javafx.scene.input.MouseEvent event)
        -
      • -
      - - - -
        -
      • -

        mExperimentiereKanten

        -
        void mExperimentiereKanten​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mExperimentiereKnoten

        -
        void mExperimentiereKnoten​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mExperimentiereAuswahl

        -
        void mExperimentiereAuswahl​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mBeenden

        -
        public void mBeenden​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        menuChangeAnsicht

        -
        void menuChangeAnsicht()
        -
      • -
      - - - -
        -
      • -

        mChangeOptionBild

        -
        void mChangeOptionBild​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mChangeOptionKantengewichte

        -
        void mChangeOptionKantengewichte​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mChangeOptionKnoteninfo

        -
        void mChangeOptionKnoteninfo​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mChangeOptionKnotenname

        -
        void mChangeOptionKnotenname​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mChangeOptionKnotenwerte

        -
        void mChangeOptionKnotenwerte​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mChangeHilfefenster

        -
        void mChangeHilfefenster​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mOeffnen

        -
        void mOeffnen​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        graphLaden

        -
        void graphLaden​(String dateiname)
        -
      • -
      - - - -
        -
      • -

        mSchliessen

        -
        void mSchliessen​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mSpeichern

        -
        void mSpeichern​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mUeber

        -
        void mUeber​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mResetAlles

        -
        void mResetAlles​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mResetBesucht

        -
        void mResetBesucht​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mResetFarbe

        -
        void mResetFarbe​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mResetGeloescht

        -
        void mResetGeloescht​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mResetKantenmarkierung

        -
        void mResetKantenmarkierung​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mResetMarkierung

        -
        void mResetMarkierung​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mResetWert

        -
        void mResetWert​(javafx.event.ActionEvent event)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -
- - + + + + + +Controller (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package control
+

Class Controller

+
+
+ +
+
    +
  • +
    +
    public class Controller
    +extends Object
    +
    Die Klasse Controller stellt den Controller des Hauptfensters / Menu dar.
    +
    +
    Version:
    +
    v6.7 (9.12.2020)
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Controller

        +
        public Controller()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        initialize

        +
        public void initialize()
        +
      • +
      + + + +
        +
      • +

        mNeuerGraph

        +
        void mNeuerGraph​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        schliesseTabs

        +
        void schliesseTabs()
        +
      • +
      + + + +
        +
      • +

        mBearbeiten

        +
        void mBearbeiten​(javafx.scene.input.MouseEvent event)
        +
      • +
      + + + +
        +
      • +

        mSimuliere

        +
        void mSimuliere​(javafx.scene.input.MouseEvent event)
        +
      • +
      + + + +
        +
      • +

        mExperimentiereKanten

        +
        void mExperimentiereKanten​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mExperimentiereKnoten

        +
        void mExperimentiereKnoten​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mExperimentiereAuswahl

        +
        void mExperimentiereAuswahl​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mBeenden

        +
        public void mBeenden​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        menuChangeAnsicht

        +
        void menuChangeAnsicht()
        +
      • +
      + + + +
        +
      • +

        mChangeOptionBild

        +
        void mChangeOptionBild​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mChangeOptionKantengewichte

        +
        void mChangeOptionKantengewichte​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mChangeOptionKnoteninfo

        +
        void mChangeOptionKnoteninfo​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mChangeOptionKnotenname

        +
        void mChangeOptionKnotenname​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mChangeOptionKnotenwerte

        +
        void mChangeOptionKnotenwerte​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mChangeHilfefenster

        +
        void mChangeHilfefenster​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mOeffnen

        +
        void mOeffnen​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        graphLaden

        +
        void graphLaden​(String dateiname)
        +
      • +
      + + + +
        +
      • +

        mSchliessen

        +
        void mSchliessen​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mSpeichern

        +
        void mSpeichern​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mUeber

        +
        void mUeber​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mResetAlles

        +
        void mResetAlles​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mResetBesucht

        +
        void mResetBesucht​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mResetFarbe

        +
        void mResetFarbe​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mResetGeloescht

        +
        void mResetGeloescht​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mResetKantenmarkierung

        +
        void mResetKantenmarkierung​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mResetMarkierung

        +
        void mResetMarkierung​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mResetWert

        +
        void mResetWert​(javafx.event.ActionEvent event)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/doc/control/EditTabMitController.html b/doc/control/EditTabMitController.html index ec4c12b..79433e1 100644 --- a/doc/control/EditTabMitController.html +++ b/doc/control/EditTabMitController.html @@ -1,544 +1,544 @@ - - - - - -EditTabMitController (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package control
-

Class EditTabMitController

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    javafx.css.Styleable, javafx.event.EventTarget
    -
    -
    -
    public class EditTabMitController
    -extends TabMitController
    -
    Die Klasse EditTabMitController stellt einen Tab inclusive ihres Controllers - zur Editierung eines Graphs dar.
    -
    -
    Version:
    -
    v6.7 (9.12.2020)
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - -
        -
      • - - -

        Fields inherited from class javafx.scene.control.Tab

        -CLOSED_EVENT, SELECTION_CHANGED_EVENT, TAB_CLOSE_REQUEST_EVENT
      • -
      -
    • -
    -
    - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      (package private) voidbBildLaden​(javafx.event.ActionEvent event) 
      (package private) voidbBildLoeschen​(javafx.event.ActionEvent event) 
      (package private) voidbDistanzenBestimmen​(javafx.event.ActionEvent event) 
      (package private) voidgraphClicked​(javafx.scene.input.MouseEvent event) 
      voidinitialize() 
      voidmInfotextAendern() 
      voidmLoesche() 
      voidmWertAendern() 
      (package private) voidsetGerichtet​(boolean gerichtet) 
      (package private) voidsetGewichtet​(boolean gewichtet) 
      (package private) voidsetInfotext​(boolean anzeigen) 
      (package private) voidsetKnotenTyp​(javafx.scene.control.Toggle t) 
      (package private) voidsGroesseAendern​(Number size) 
      - -
        -
      • - - -

        Methods inherited from class javafx.scene.control.Tab

        -buildEventDispatchChain, closableProperty, contentProperty, contextMenuProperty, disabledProperty, disableProperty, getClassCssMetaData, getContent, getContextMenu, getCssMetaData, getGraphic, getId, getOnClosed, getOnCloseRequest, getOnSelectionChanged, getProperties, getPseudoClassStates, getStyle, getStyleableParent, getStyleClass, getTabPane, getText, getTooltip, getTypeSelector, getUserData, graphicProperty, hasProperties, idProperty, isClosable, isDisable, isDisabled, isSelected, onClosedProperty, onCloseRequestProperty, onSelectionChangedProperty, selectedProperty, setClosable, setContent, setContextMenu, setDisable, setGraphic, setId, setOnClosed, setOnCloseRequest, setOnSelectionChanged, setStyle, setText, setTooltip, setUserData, styleProperty, tabPaneProperty, textProperty, tooltipProperty
      • -
      - -
        -
      • - - -

        Methods inherited from interface javafx.css.Styleable

        -getStyleableNode
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        EditTabMitController

        -
        public EditTabMitController​(Graph graph,
        -                            GraphOptions options)
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        sGroesseAendern

        -
        void sGroesseAendern​(Number size)
        -
      • -
      - - - -
        -
      • -

        setGerichtet

        -
        void setGerichtet​(boolean gerichtet)
        -
      • -
      - - - -
        -
      • -

        setGewichtet

        -
        void setGewichtet​(boolean gewichtet)
        -
      • -
      - - - -
        -
      • -

        setInfotext

        -
        void setInfotext​(boolean anzeigen)
        -
      • -
      - - - -
        -
      • -

        setKnotenTyp

        -
        void setKnotenTyp​(javafx.scene.control.Toggle t)
        -
      • -
      - - - -
        -
      • -

        bBildLaden

        -
        void bBildLaden​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        bBildLoeschen

        -
        void bBildLoeschen​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        bDistanzenBestimmen

        -
        void bDistanzenBestimmen​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        graphClicked

        -
        void graphClicked​(javafx.scene.input.MouseEvent event)
        -
      • -
      - - - -
        -
      • -

        mLoesche

        -
        public void mLoesche()
        -
      • -
      - - - -
        -
      • -

        mWertAendern

        -
        public void mWertAendern()
        -
      • -
      - - - -
        -
      • -

        mInfotextAendern

        -
        public void mInfotextAendern()
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- - - - + + + + + +EditTabMitController (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package control
+

Class EditTabMitController

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    javafx.css.Styleable, javafx.event.EventTarget
    +
    +
    +
    public class EditTabMitController
    +extends TabMitController
    +
    Die Klasse EditTabMitController stellt einen Tab inclusive ihres Controllers + zur Editierung eines Graphs dar.
    +
    +
    Version:
    +
    v6.7 (9.12.2020)
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + +
        +
      • + + +

        Fields inherited from class javafx.scene.control.Tab

        +CLOSED_EVENT, SELECTION_CHANGED_EVENT, TAB_CLOSE_REQUEST_EVENT
      • +
      +
    • +
    +
    + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      (package private) voidbBildLaden​(javafx.event.ActionEvent event) 
      (package private) voidbBildLoeschen​(javafx.event.ActionEvent event) 
      (package private) voidbDistanzenBestimmen​(javafx.event.ActionEvent event) 
      (package private) voidgraphClicked​(javafx.scene.input.MouseEvent event) 
      voidinitialize() 
      voidmInfotextAendern() 
      voidmLoesche() 
      voidmWertAendern() 
      (package private) voidsetGerichtet​(boolean gerichtet) 
      (package private) voidsetGewichtet​(boolean gewichtet) 
      (package private) voidsetInfotext​(boolean anzeigen) 
      (package private) voidsetKnotenTyp​(javafx.scene.control.Toggle t) 
      (package private) voidsGroesseAendern​(Number size) 
      + +
        +
      • + + +

        Methods inherited from class javafx.scene.control.Tab

        +buildEventDispatchChain, closableProperty, contentProperty, contextMenuProperty, disabledProperty, disableProperty, getClassCssMetaData, getContent, getContextMenu, getCssMetaData, getGraphic, getId, getOnClosed, getOnCloseRequest, getOnSelectionChanged, getProperties, getPseudoClassStates, getStyle, getStyleableParent, getStyleClass, getTabPane, getText, getTooltip, getTypeSelector, getUserData, graphicProperty, hasProperties, idProperty, isClosable, isDisable, isDisabled, isSelected, onClosedProperty, onCloseRequestProperty, onSelectionChangedProperty, selectedProperty, setClosable, setContent, setContextMenu, setDisable, setGraphic, setId, setOnClosed, setOnCloseRequest, setOnSelectionChanged, setStyle, setText, setTooltip, setUserData, styleProperty, tabPaneProperty, textProperty, tooltipProperty
      • +
      + +
        +
      • + + +

        Methods inherited from interface javafx.css.Styleable

        +getStyleableNode
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EditTabMitController

        +
        public EditTabMitController​(Graph graph,
        +                            GraphOptions options)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        sGroesseAendern

        +
        void sGroesseAendern​(Number size)
        +
      • +
      + + + +
        +
      • +

        setGerichtet

        +
        void setGerichtet​(boolean gerichtet)
        +
      • +
      + + + +
        +
      • +

        setGewichtet

        +
        void setGewichtet​(boolean gewichtet)
        +
      • +
      + + + +
        +
      • +

        setInfotext

        +
        void setInfotext​(boolean anzeigen)
        +
      • +
      + + + +
        +
      • +

        setKnotenTyp

        +
        void setKnotenTyp​(javafx.scene.control.Toggle t)
        +
      • +
      + + + +
        +
      • +

        bBildLaden

        +
        void bBildLaden​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        bBildLoeschen

        +
        void bBildLoeschen​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        bDistanzenBestimmen

        +
        void bDistanzenBestimmen​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        graphClicked

        +
        void graphClicked​(javafx.scene.input.MouseEvent event)
        +
      • +
      + + + +
        +
      • +

        mLoesche

        +
        public void mLoesche()
        +
      • +
      + + + +
        +
      • +

        mWertAendern

        +
        public void mWertAendern()
        +
      • +
      + + + +
        +
      • +

        mInfotextAendern

        +
        public void mInfotextAendern()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/doc/control/HauptTabMitController.html b/doc/control/HauptTabMitController.html index cbdfb38..ea36392 100644 --- a/doc/control/HauptTabMitController.html +++ b/doc/control/HauptTabMitController.html @@ -1,377 +1,377 @@ - - - - - -HauptTabMitController (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package control
-

Class HauptTabMitController

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    javafx.css.Styleable, javafx.event.EventTarget
    -
    -
    -
    public class HauptTabMitController
    -extends TabMitController
    -
    Die Klasse HauptTabMitController stellt einen Tab inclusive ihres Controllers - für das Hauptfenster des Graphentesters dar. Einzelne Knoten oder Kanten können - selektiert werden.
    -
    -
    Version:
    -
    v6.7 (9.12.2020)
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - -
        -
      • - - -

        Fields inherited from class javafx.scene.control.Tab

        -CLOSED_EVENT, SELECTION_CHANGED_EVENT, TAB_CLOSE_REQUEST_EVENT
      • -
      -
    • -
    -
    - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidinitialize() 
      - -
        -
      • - - -

        Methods inherited from class javafx.scene.control.Tab

        -buildEventDispatchChain, closableProperty, contentProperty, contextMenuProperty, disabledProperty, disableProperty, getClassCssMetaData, getContent, getContextMenu, getCssMetaData, getGraphic, getId, getOnClosed, getOnCloseRequest, getOnSelectionChanged, getProperties, getPseudoClassStates, getStyle, getStyleableParent, getStyleClass, getTabPane, getText, getTooltip, getTypeSelector, getUserData, graphicProperty, hasProperties, idProperty, isClosable, isDisable, isDisabled, isSelected, onClosedProperty, onCloseRequestProperty, onSelectionChangedProperty, selectedProperty, setClosable, setContent, setContextMenu, setDisable, setGraphic, setId, setOnClosed, setOnCloseRequest, setOnSelectionChanged, setStyle, setText, setTooltip, setUserData, styleProperty, tabPaneProperty, textProperty, tooltipProperty
      • -
      - -
        -
      • - - -

        Methods inherited from interface javafx.css.Styleable

        -getStyleableNode
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        HauptTabMitController

        -
        public HauptTabMitController​(Graph graph,
        -                             GraphOptions options)
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +HauptTabMitController (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package control
+

Class HauptTabMitController

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    javafx.css.Styleable, javafx.event.EventTarget
    +
    +
    +
    public class HauptTabMitController
    +extends TabMitController
    +
    Die Klasse HauptTabMitController stellt einen Tab inclusive ihres Controllers + für das Hauptfenster des Graphentesters dar. Einzelne Knoten oder Kanten können + selektiert werden.
    +
    +
    Version:
    +
    v6.7 (9.12.2020)
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + +
        +
      • + + +

        Fields inherited from class javafx.scene.control.Tab

        +CLOSED_EVENT, SELECTION_CHANGED_EVENT, TAB_CLOSE_REQUEST_EVENT
      • +
      +
    • +
    +
    + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidinitialize() 
      + +
        +
      • + + +

        Methods inherited from class javafx.scene.control.Tab

        +buildEventDispatchChain, closableProperty, contentProperty, contextMenuProperty, disabledProperty, disableProperty, getClassCssMetaData, getContent, getContextMenu, getCssMetaData, getGraphic, getId, getOnClosed, getOnCloseRequest, getOnSelectionChanged, getProperties, getPseudoClassStates, getStyle, getStyleableParent, getStyleClass, getTabPane, getText, getTooltip, getTypeSelector, getUserData, graphicProperty, hasProperties, idProperty, isClosable, isDisable, isDisabled, isSelected, onClosedProperty, onCloseRequestProperty, onSelectionChangedProperty, selectedProperty, setClosable, setContent, setContextMenu, setDisable, setGraphic, setId, setOnClosed, setOnCloseRequest, setOnSelectionChanged, setStyle, setText, setTooltip, setUserData, styleProperty, tabPaneProperty, textProperty, tooltipProperty
      • +
      + +
        +
      • + + +

        Methods inherited from interface javafx.css.Styleable

        +getStyleableNode
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HauptTabMitController

        +
        public HauptTabMitController​(Graph graph,
        +                             GraphOptions options)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/control/Hilfefenster.html b/doc/control/Hilfefenster.html index 19bf99c..e2f637d 100644 --- a/doc/control/Hilfefenster.html +++ b/doc/control/Hilfefenster.html @@ -1,462 +1,462 @@ - - - - - -Hilfefenster (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package control
-

Class Hilfefenster

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javafx.stage.Window
    • -
    • -
        -
      • javafx.stage.Stage
      • -
      • -
          -
        • control.Hilfefenster
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Hilfe, javafx.event.EventTarget
    -
    -
    -
    public class Hilfefenster
    -extends javafx.stage.Stage
    -implements Hilfe
    -
    Die Klasse Hilfefenster stellt ein Hilfefenster für die Simulation eines - Algorithmus bereit.
    -
    -
    Version:
    -
    v6.7 (9.12.2020)
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Hilfefenster() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidappend​(String text) 
      voidindentLess() 
      voidindentMore() 
      voidinitialize() 
      voidloescheAlles() 
      voidsetGraphPlotter​(GraphPlotter gp) 
      voidsetReviewAllowed​(boolean a) 
      voidshowState() 
      -
        -
      • - - -

        Methods inherited from class javafx.stage.Stage

        -alwaysOnTopProperty, close, fullScreenExitHintProperty, fullScreenExitKeyProperty, fullScreenProperty, getFullScreenExitHint, getFullScreenExitKeyCombination, getIcons, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getModality, getOwner, getStyle, getTitle, iconifiedProperty, initModality, initOwner, initStyle, isAlwaysOnTop, isFullScreen, isIconified, isMaximized, isResizable, maxHeightProperty, maximizedProperty, maxWidthProperty, minHeightProperty, minWidthProperty, resizableProperty, setAlwaysOnTop, setFullScreen, setFullScreenExitHint, setFullScreenExitKeyCombination, setIconified, setMaxHeight, setMaximized, setMaxWidth, setMinHeight, setMinWidth, setResizable, setScene, setTitle, show, showAndWait, titleProperty, toBack, toFront
      • -
      -
        -
      • - - -

        Methods inherited from class javafx.stage.Window

        -addEventFilter, addEventHandler, buildEventDispatchChain, centerOnScreen, eventDispatcherProperty, fireEvent, focusedProperty, forceIntegerRenderScaleProperty, getEventDispatcher, getHeight, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOpacity, getOutputScaleX, getOutputScaleY, getProperties, getRenderScaleX, getRenderScaleY, getScene, getUserData, getWidth, getWindows, getX, getY, hasProperties, heightProperty, hide, isFocused, isForceIntegerRenderScale, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, opacityProperty, outputScaleXProperty, outputScaleYProperty, removeEventFilter, removeEventHandler, renderScaleXProperty, renderScaleYProperty, requestFocus, sceneProperty, setEventDispatcher, setEventHandler, setForceIntegerRenderScale, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setOpacity, setRenderScaleX, setRenderScaleY, setUserData, setWidth, setX, setY, showingProperty, sizeToScene, widthProperty, xProperty, yProperty
      • -
      - -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Hilfefenster

        -
        public Hilfefenster()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        initialize

        -
        public void initialize()
        -
      • -
      - - - - - - - -
        -
      • -

        loescheAlles

        -
        public void loescheAlles()
        -
        -
        Specified by:
        -
        loescheAlles in interface Hilfe
        -
        -
      • -
      - - - -
        -
      • -

        append

        -
        public void append​(String text)
        -
        -
        Specified by:
        -
        append in interface Hilfe
        -
        -
      • -
      - - - -
        -
      • -

        indentMore

        -
        public void indentMore()
        -
        -
        Specified by:
        -
        indentMore in interface Hilfe
        -
        -
      • -
      - - - -
        -
      • -

        indentLess

        -
        public void indentLess()
        -
        -
        Specified by:
        -
        indentLess in interface Hilfe
        -
        -
      • -
      - - - -
        -
      • -

        setReviewAllowed

        -
        public void setReviewAllowed​(boolean a)
        -
        -
        Specified by:
        -
        setReviewAllowed in interface Hilfe
        -
        -
      • -
      - - - -
        -
      • -

        showState

        -
        public void showState()
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -
- - + + + + + +Hilfefenster (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package control
+

Class Hilfefenster

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • javafx.stage.Window
    • +
    • +
        +
      • javafx.stage.Stage
      • +
      • +
          +
        • control.Hilfefenster
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Hilfe, javafx.event.EventTarget
    +
    +
    +
    public class Hilfefenster
    +extends javafx.stage.Stage
    +implements Hilfe
    +
    Die Klasse Hilfefenster stellt ein Hilfefenster für die Simulation eines + Algorithmus bereit.
    +
    +
    Version:
    +
    v6.7 (9.12.2020)
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Hilfefenster() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidappend​(String text) 
      voidindentLess() 
      voidindentMore() 
      voidinitialize() 
      voidloescheAlles() 
      voidsetGraphPlotter​(GraphPlotter gp) 
      voidsetReviewAllowed​(boolean a) 
      voidshowState() 
      +
        +
      • + + +

        Methods inherited from class javafx.stage.Stage

        +alwaysOnTopProperty, close, fullScreenExitHintProperty, fullScreenExitKeyProperty, fullScreenProperty, getFullScreenExitHint, getFullScreenExitKeyCombination, getIcons, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getModality, getOwner, getStyle, getTitle, iconifiedProperty, initModality, initOwner, initStyle, isAlwaysOnTop, isFullScreen, isIconified, isMaximized, isResizable, maxHeightProperty, maximizedProperty, maxWidthProperty, minHeightProperty, minWidthProperty, resizableProperty, setAlwaysOnTop, setFullScreen, setFullScreenExitHint, setFullScreenExitKeyCombination, setIconified, setMaxHeight, setMaximized, setMaxWidth, setMinHeight, setMinWidth, setResizable, setScene, setTitle, show, showAndWait, titleProperty, toBack, toFront
      • +
      +
        +
      • + + +

        Methods inherited from class javafx.stage.Window

        +addEventFilter, addEventHandler, buildEventDispatchChain, centerOnScreen, eventDispatcherProperty, fireEvent, focusedProperty, forceIntegerRenderScaleProperty, getEventDispatcher, getHeight, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOpacity, getOutputScaleX, getOutputScaleY, getProperties, getRenderScaleX, getRenderScaleY, getScene, getUserData, getWidth, getWindows, getX, getY, hasProperties, heightProperty, hide, isFocused, isForceIntegerRenderScale, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, opacityProperty, outputScaleXProperty, outputScaleYProperty, removeEventFilter, removeEventHandler, renderScaleXProperty, renderScaleYProperty, requestFocus, sceneProperty, setEventDispatcher, setEventHandler, setForceIntegerRenderScale, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setOpacity, setRenderScaleX, setRenderScaleY, setUserData, setWidth, setX, setY, showingProperty, sizeToScene, widthProperty, xProperty, yProperty
      • +
      + +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Hilfefenster

        +
        public Hilfefenster()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        initialize

        +
        public void initialize()
        +
      • +
      + + + + + + + +
        +
      • +

        loescheAlles

        +
        public void loescheAlles()
        +
        +
        Specified by:
        +
        loescheAlles in interface Hilfe
        +
        +
      • +
      + + + +
        +
      • +

        append

        +
        public void append​(String text)
        +
        +
        Specified by:
        +
        append in interface Hilfe
        +
        +
      • +
      + + + +
        +
      • +

        indentMore

        +
        public void indentMore()
        +
        +
        Specified by:
        +
        indentMore in interface Hilfe
        +
        +
      • +
      + + + +
        +
      • +

        indentLess

        +
        public void indentLess()
        +
        +
        Specified by:
        +
        indentLess in interface Hilfe
        +
        +
      • +
      + + + +
        +
      • +

        setReviewAllowed

        +
        public void setReviewAllowed​(boolean a)
        +
        +
        Specified by:
        +
        setReviewAllowed in interface Hilfe
        +
        +
      • +
      + + + +
        +
      • +

        showState

        +
        public void showState()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/doc/control/SimulationTabMitController.html b/doc/control/SimulationTabMitController.html index 011a2f1..d0ae88f 100644 --- a/doc/control/SimulationTabMitController.html +++ b/doc/control/SimulationTabMitController.html @@ -1,467 +1,467 @@ - - - - - -SimulationTabMitController (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package control
-

Class SimulationTabMitController

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    javafx.css.Styleable, javafx.event.EventTarget
    -
    -
    -
    public class SimulationTabMitController
    -extends TabMitController
    -
    Die Klasse SimulationTabMitController stellt einen Tab inclusive ihres Controllers - zur Simulation eines Algorithmus dar. Der Algorithmus kann ausgewählt und schrittweise - durchgeführt werden.
    -
    -
    Version:
    -
    v6.7 (9.12.2020)
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - -
        -
      • - - -

        Fields inherited from class javafx.scene.control.Tab

        -CLOSED_EVENT, SELECTION_CHANGED_EVENT, TAB_CLOSE_REQUEST_EVENT
      • -
      -
    • -
    -
    - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidinitialize() 
      voidmBreak​(javafx.event.ActionEvent event) 
      (package private) voidmReset​(javafx.event.ActionEvent event) 
      (package private) voidmStart​(javafx.event.ActionEvent event) 
      (package private) voidmStep​(javafx.event.ActionEvent event) 
      voidsetGraph​(Graph graph, - GraphOptions options) 
      voidshowHilfe​(boolean b) 
      - -
        -
      • - - -

        Methods inherited from class javafx.scene.control.Tab

        -buildEventDispatchChain, closableProperty, contentProperty, contextMenuProperty, disabledProperty, disableProperty, getClassCssMetaData, getContent, getContextMenu, getCssMetaData, getGraphic, getId, getOnClosed, getOnCloseRequest, getOnSelectionChanged, getProperties, getPseudoClassStates, getStyle, getStyleableParent, getStyleClass, getTabPane, getText, getTooltip, getTypeSelector, getUserData, graphicProperty, hasProperties, idProperty, isClosable, isDisable, isDisabled, isSelected, onClosedProperty, onCloseRequestProperty, onSelectionChangedProperty, selectedProperty, setClosable, setContent, setContextMenu, setDisable, setGraphic, setId, setOnClosed, setOnCloseRequest, setOnSelectionChanged, setStyle, setText, setTooltip, setUserData, styleProperty, tabPaneProperty, textProperty, tooltipProperty
      • -
      - -
        -
      • - - -

        Methods inherited from interface javafx.css.Styleable

        -getStyleableNode
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SimulationTabMitController

        -
        public SimulationTabMitController​(Graph graph,
        -                                  GraphOptions options)
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        showHilfe

        -
        public void showHilfe​(boolean b)
        -
      • -
      - - - - - - - -
        -
      • -

        mReset

        -
        void mReset​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mStep

        -
        void mStep​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mStart

        -
        void mStart​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mBreak

        -
        public void mBreak​(javafx.event.ActionEvent event)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- - - - + + + + + +SimulationTabMitController (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package control
+

Class SimulationTabMitController

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    javafx.css.Styleable, javafx.event.EventTarget
    +
    +
    +
    public class SimulationTabMitController
    +extends TabMitController
    +
    Die Klasse SimulationTabMitController stellt einen Tab inclusive ihres Controllers + zur Simulation eines Algorithmus dar. Der Algorithmus kann ausgewählt und schrittweise + durchgeführt werden.
    +
    +
    Version:
    +
    v6.7 (9.12.2020)
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + +
        +
      • + + +

        Fields inherited from class javafx.scene.control.Tab

        +CLOSED_EVENT, SELECTION_CHANGED_EVENT, TAB_CLOSE_REQUEST_EVENT
      • +
      +
    • +
    +
    + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidinitialize() 
      voidmBreak​(javafx.event.ActionEvent event) 
      (package private) voidmReset​(javafx.event.ActionEvent event) 
      (package private) voidmStart​(javafx.event.ActionEvent event) 
      (package private) voidmStep​(javafx.event.ActionEvent event) 
      voidsetGraph​(Graph graph, + GraphOptions options) 
      voidshowHilfe​(boolean b) 
      + +
        +
      • + + +

        Methods inherited from class javafx.scene.control.Tab

        +buildEventDispatchChain, closableProperty, contentProperty, contextMenuProperty, disabledProperty, disableProperty, getClassCssMetaData, getContent, getContextMenu, getCssMetaData, getGraphic, getId, getOnClosed, getOnCloseRequest, getOnSelectionChanged, getProperties, getPseudoClassStates, getStyle, getStyleableParent, getStyleClass, getTabPane, getText, getTooltip, getTypeSelector, getUserData, graphicProperty, hasProperties, idProperty, isClosable, isDisable, isDisabled, isSelected, onClosedProperty, onCloseRequestProperty, onSelectionChangedProperty, selectedProperty, setClosable, setContent, setContextMenu, setDisable, setGraphic, setId, setOnClosed, setOnCloseRequest, setOnSelectionChanged, setStyle, setText, setTooltip, setUserData, styleProperty, tabPaneProperty, textProperty, tooltipProperty
      • +
      + +
        +
      • + + +

        Methods inherited from interface javafx.css.Styleable

        +getStyleableNode
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SimulationTabMitController

        +
        public SimulationTabMitController​(Graph graph,
        +                                  GraphOptions options)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        showHilfe

        +
        public void showHilfe​(boolean b)
        +
      • +
      + + + + + + + +
        +
      • +

        mReset

        +
        void mReset​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mStep

        +
        void mStep​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mStart

        +
        void mStart​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mBreak

        +
        public void mBreak​(javafx.event.ActionEvent event)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/doc/control/TabMitController.html b/doc/control/TabMitController.html index b7357f2..c06a4ca 100644 --- a/doc/control/TabMitController.html +++ b/doc/control/TabMitController.html @@ -1,487 +1,487 @@ - - - - - -TabMitController (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package control
-

Class TabMitController

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javafx.scene.control.Tab
    • -
    • -
        -
      • control.TabMitController
      • -
      -
    • -
    -
  • -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      protected Graphgraph 
      protected GraphOptionsoptions 
      protected GraphPlotterviewer 
      -
        -
      • - - -

        Fields inherited from class javafx.scene.control.Tab

        -CLOSED_EVENT, SELECTION_CHANGED_EVENT, TAB_CLOSE_REQUEST_EVENT
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      TabMitController() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      GraphOptionsgetGraphOptions() 
      GraphPlottergetViewer() 
      voidinitialize() 
      voidsetGraph​(Graph graph, - GraphOptions options) 
      protected voidtabOeffnen​(GraphOptions taboptions) 
      voidupdate() 
      -
        -
      • - - -

        Methods inherited from class javafx.scene.control.Tab

        -buildEventDispatchChain, closableProperty, contentProperty, contextMenuProperty, disabledProperty, disableProperty, getClassCssMetaData, getContent, getContextMenu, getCssMetaData, getGraphic, getId, getOnClosed, getOnCloseRequest, getOnSelectionChanged, getProperties, getPseudoClassStates, getStyle, getStyleableParent, getStyleClass, getTabPane, getText, getTooltip, getTypeSelector, getUserData, graphicProperty, hasProperties, idProperty, isClosable, isDisable, isDisabled, isSelected, onClosedProperty, onCloseRequestProperty, onSelectionChangedProperty, selectedProperty, setClosable, setContent, setContextMenu, setDisable, setGraphic, setId, setOnClosed, setOnCloseRequest, setOnSelectionChanged, setStyle, setText, setTooltip, setUserData, styleProperty, tabPaneProperty, textProperty, tooltipProperty
      • -
      - -
        -
      • - - -

        Methods inherited from interface javafx.css.Styleable

        -getStyleableNode
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        TabMitController

        -
        public TabMitController()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        initialize

        -
        public void initialize()
        -
      • -
      - - - -
        -
      • -

        tabOeffnen

        -
        protected void tabOeffnen​(GraphOptions taboptions)
        -
      • -
      - - - -
        -
      • -

        getGraphOptions

        -
        public GraphOptions getGraphOptions()
        -
      • -
      - - - -
        -
      • -

        update

        -
        public void update()
        -
      • -
      - - - - - - - - -
    • -
    -
    -
  • -
-
-
-
- - - - + + + + + +TabMitController (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package control
+

Class TabMitController

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • javafx.scene.control.Tab
    • +
    • +
        +
      • control.TabMitController
      • +
      +
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      protected Graphgraph 
      protected GraphOptionsoptions 
      protected GraphPlotterviewer 
      +
        +
      • + + +

        Fields inherited from class javafx.scene.control.Tab

        +CLOSED_EVENT, SELECTION_CHANGED_EVENT, TAB_CLOSE_REQUEST_EVENT
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      TabMitController() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      GraphOptionsgetGraphOptions() 
      GraphPlottergetViewer() 
      voidinitialize() 
      voidsetGraph​(Graph graph, + GraphOptions options) 
      protected voidtabOeffnen​(GraphOptions taboptions) 
      voidupdate() 
      +
        +
      • + + +

        Methods inherited from class javafx.scene.control.Tab

        +buildEventDispatchChain, closableProperty, contentProperty, contextMenuProperty, disabledProperty, disableProperty, getClassCssMetaData, getContent, getContextMenu, getCssMetaData, getGraphic, getId, getOnClosed, getOnCloseRequest, getOnSelectionChanged, getProperties, getPseudoClassStates, getStyle, getStyleableParent, getStyleClass, getTabPane, getText, getTooltip, getTypeSelector, getUserData, graphicProperty, hasProperties, idProperty, isClosable, isDisable, isDisabled, isSelected, onClosedProperty, onCloseRequestProperty, onSelectionChangedProperty, selectedProperty, setClosable, setContent, setContextMenu, setDisable, setGraphic, setId, setOnClosed, setOnCloseRequest, setOnSelectionChanged, setStyle, setText, setTooltip, setUserData, styleProperty, tabPaneProperty, textProperty, tooltipProperty
      • +
      + +
        +
      • + + +

        Methods inherited from interface javafx.css.Styleable

        +getStyleableNode
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TabMitController

        +
        public TabMitController()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        initialize

        +
        public void initialize()
        +
      • +
      + + + +
        +
      • +

        tabOeffnen

        +
        protected void tabOeffnen​(GraphOptions taboptions)
        +
      • +
      + + + +
        +
      • +

        getGraphOptions

        +
        public GraphOptions getGraphOptions()
        +
      • +
      + + + +
        +
      • +

        update

        +
        public void update()
        +
      • +
      + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/doc/control/UnterTabMitController.html b/doc/control/UnterTabMitController.html index 13f0a66..1f69eef 100644 --- a/doc/control/UnterTabMitController.html +++ b/doc/control/UnterTabMitController.html @@ -1,937 +1,937 @@ - - - - - -UnterTabMitController (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package control
-

Class UnterTabMitController

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    javafx.css.Styleable, javafx.event.EventTarget
    -
    -
    -
    public class UnterTabMitController
    -extends TabMitController
    -
    Die Klasse UnterTabMitController stellt einen Tab inclusive ihres Controllers - zur händischen Erforschung eines Algorithmus. Es wird immer ein einzelner Knoten - oder eine Kante fokussiert.
    -
    -
    Version:
    -
    v6.7 (9.12.2020)
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      (package private) javafx.scene.control.ButtonbAnfang 
      (package private) javafx.scene.control.ButtonbEnde 
      (package private) javafx.scene.control.ButtonbGehezu 
      (package private) javafx.scene.control.ButtonbSortieren 
      (package private) javafx.scene.control.ButtonbStatus 
      - -
        -
      • - - -

        Fields inherited from class javafx.scene.control.Tab

        -CLOSED_EVENT, SELECTION_CHANGED_EVENT, TAB_CLOSE_REQUEST_EVENT
      • -
      -
    • -
    -
    - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      (package private) voidbAnfang​(javafx.event.ActionEvent event) 
      (package private) voidbBesucht​(javafx.event.ActionEvent event) 
      (package private) voidbEnde​(javafx.event.ActionEvent event) 
      (package private) voidbGeheZu​(javafx.event.ActionEvent event) 
      (package private) voidbHinzufuegenAnfang​(javafx.event.ActionEvent event) 
      (package private) voidbHinzufuegenEnde​(javafx.event.ActionEvent event) 
      (package private) voidbLoeschenAusListe​(javafx.event.ActionEvent event) 
      (package private) voidbMarkieren​(javafx.event.ActionEvent event) 
      (package private) voidbNaechster​(javafx.event.ActionEvent event) 
      (package private) voidbSort​(javafx.event.ActionEvent event) 
      (package private) voidbStatusRestore​(javafx.event.ActionEvent event) 
      (package private) voidbStatusSave​(javafx.event.ActionEvent event) 
      voidbuildAuswahl() 
      (package private) voidbVoheriger​(javafx.event.ActionEvent event) 
      (package private) voidbWertAendern​(javafx.event.ActionEvent event) 
      (package private) voidgraphClicked​(javafx.scene.input.MouseEvent event) 
      voidinitialize() 
      (package private) voidknotenFarbe​(javafx.scene.input.MouseEvent event) 
      (package private) voidmBeenden​(javafx.event.ActionEvent event) 
      (package private) voidmBesucheKnoten​(javafx.event.ActionEvent event) 
      (package private) voidmBesuchtLoeschen​(javafx.event.ActionEvent event) 
      (package private) voidmFaerbeKnoten​(javafx.event.ActionEvent event) 
      (package private) voidmMarkiereKnoten​(javafx.event.ActionEvent event) 
      (package private) voidmMarkierungenLoeschen​(javafx.event.ActionEvent event) 
      (package private) voidmOeffnen​(javafx.event.ActionEvent event) 
      (package private) voidmSchliessen​(javafx.event.ActionEvent event) 
      (package private) voidmSpeichern​(javafx.event.ActionEvent event) 
      (package private) voidmUeber​(javafx.event.ActionEvent event) 
      (package private) voidmWertSetzen​(javafx.event.ActionEvent event) 
      (package private) voidmZurueck​(javafx.event.ActionEvent event) 
      voidsetAuswahl​(List<GraphElement> auswahl) 
      voidsetGraph​(Graph graph, - GraphOptions options) 
      voidupdate() 
      voidupdateInfofeld() 
      - -
        -
      • - - -

        Methods inherited from class javafx.scene.control.Tab

        -buildEventDispatchChain, closableProperty, contentProperty, contextMenuProperty, disabledProperty, disableProperty, getClassCssMetaData, getContent, getContextMenu, getCssMetaData, getGraphic, getId, getOnClosed, getOnCloseRequest, getOnSelectionChanged, getProperties, getPseudoClassStates, getStyle, getStyleableParent, getStyleClass, getTabPane, getText, getTooltip, getTypeSelector, getUserData, graphicProperty, hasProperties, idProperty, isClosable, isDisable, isDisabled, isSelected, onClosedProperty, onCloseRequestProperty, onSelectionChangedProperty, selectedProperty, setClosable, setContent, setContextMenu, setDisable, setGraphic, setId, setOnClosed, setOnCloseRequest, setOnSelectionChanged, setStyle, setText, setTooltip, setUserData, styleProperty, tabPaneProperty, textProperty, tooltipProperty
      • -
      - -
        -
      • - - -

        Methods inherited from interface javafx.css.Styleable

        -getStyleableNode
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        bStatus

        -
        javafx.scene.control.Button bStatus
        -
      • -
      - - - -
        -
      • -

        bGehezu

        -
        javafx.scene.control.Button bGehezu
        -
      • -
      - - - -
        -
      • -

        bAnfang

        -
        javafx.scene.control.Button bAnfang
        -
      • -
      - - - -
        -
      • -

        bEnde

        -
        javafx.scene.control.Button bEnde
        -
      • -
      - - - -
        -
      • -

        bSortieren

        -
        javafx.scene.control.Button bSortieren
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        UnterTabMitController

        -
        public UnterTabMitController​(Graph graph,
        -                             GraphOptions options)
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - -
        -
      • -

        buildAuswahl

        -
        public void buildAuswahl()
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        bAnfang

        -
        void bAnfang​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        bBesucht

        -
        void bBesucht​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        bEnde

        -
        void bEnde​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        knotenFarbe

        -
        void knotenFarbe​(javafx.scene.input.MouseEvent event)
        -
      • -
      - - - -
        -
      • -

        bMarkieren

        -
        void bMarkieren​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        updateInfofeld

        -
        public void updateInfofeld()
        -
      • -
      - - - -
        -
      • -

        graphClicked

        -
        void graphClicked​(javafx.scene.input.MouseEvent event)
        -
      • -
      - - - -
        -
      • -

        bHinzufuegenAnfang

        -
        void bHinzufuegenAnfang​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        bHinzufuegenEnde

        -
        void bHinzufuegenEnde​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        bLoeschenAusListe

        -
        void bLoeschenAusListe​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        bNaechster

        -
        void bNaechster​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        bSort

        -
        void bSort​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        bVoheriger

        -
        void bVoheriger​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        bWertAendern

        -
        void bWertAendern​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        bGeheZu

        -
        void bGeheZu​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mBeenden

        -
        void mBeenden​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mBesucheKnoten

        -
        void mBesucheKnoten​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mBesuchtLoeschen

        -
        void mBesuchtLoeschen​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mFaerbeKnoten

        -
        void mFaerbeKnoten​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mMarkiereKnoten

        -
        void mMarkiereKnoten​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mMarkierungenLoeschen

        -
        void mMarkierungenLoeschen​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mOeffnen

        -
        void mOeffnen​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mSchliessen

        -
        void mSchliessen​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mSpeichern

        -
        void mSpeichern​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mUeber

        -
        void mUeber​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mWertSetzen

        -
        void mWertSetzen​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        mZurueck

        -
        void mZurueck​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        bStatusRestore

        -
        void bStatusRestore​(javafx.event.ActionEvent event)
        -
      • -
      - - - -
        -
      • -

        bStatusSave

        -
        void bStatusSave​(javafx.event.ActionEvent event)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- - - - + + + + + +UnterTabMitController (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package control
+

Class UnterTabMitController

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    javafx.css.Styleable, javafx.event.EventTarget
    +
    +
    +
    public class UnterTabMitController
    +extends TabMitController
    +
    Die Klasse UnterTabMitController stellt einen Tab inclusive ihres Controllers + zur händischen Erforschung eines Algorithmus. Es wird immer ein einzelner Knoten + oder eine Kante fokussiert.
    +
    +
    Version:
    +
    v6.7 (9.12.2020)
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      (package private) javafx.scene.control.ButtonbAnfang 
      (package private) javafx.scene.control.ButtonbEnde 
      (package private) javafx.scene.control.ButtonbGehezu 
      (package private) javafx.scene.control.ButtonbSortieren 
      (package private) javafx.scene.control.ButtonbStatus 
      + +
        +
      • + + +

        Fields inherited from class javafx.scene.control.Tab

        +CLOSED_EVENT, SELECTION_CHANGED_EVENT, TAB_CLOSE_REQUEST_EVENT
      • +
      +
    • +
    +
    + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      (package private) voidbAnfang​(javafx.event.ActionEvent event) 
      (package private) voidbBesucht​(javafx.event.ActionEvent event) 
      (package private) voidbEnde​(javafx.event.ActionEvent event) 
      (package private) voidbGeheZu​(javafx.event.ActionEvent event) 
      (package private) voidbHinzufuegenAnfang​(javafx.event.ActionEvent event) 
      (package private) voidbHinzufuegenEnde​(javafx.event.ActionEvent event) 
      (package private) voidbLoeschenAusListe​(javafx.event.ActionEvent event) 
      (package private) voidbMarkieren​(javafx.event.ActionEvent event) 
      (package private) voidbNaechster​(javafx.event.ActionEvent event) 
      (package private) voidbSort​(javafx.event.ActionEvent event) 
      (package private) voidbStatusRestore​(javafx.event.ActionEvent event) 
      (package private) voidbStatusSave​(javafx.event.ActionEvent event) 
      voidbuildAuswahl() 
      (package private) voidbVoheriger​(javafx.event.ActionEvent event) 
      (package private) voidbWertAendern​(javafx.event.ActionEvent event) 
      (package private) voidgraphClicked​(javafx.scene.input.MouseEvent event) 
      voidinitialize() 
      (package private) voidknotenFarbe​(javafx.scene.input.MouseEvent event) 
      (package private) voidmBeenden​(javafx.event.ActionEvent event) 
      (package private) voidmBesucheKnoten​(javafx.event.ActionEvent event) 
      (package private) voidmBesuchtLoeschen​(javafx.event.ActionEvent event) 
      (package private) voidmFaerbeKnoten​(javafx.event.ActionEvent event) 
      (package private) voidmMarkiereKnoten​(javafx.event.ActionEvent event) 
      (package private) voidmMarkierungenLoeschen​(javafx.event.ActionEvent event) 
      (package private) voidmOeffnen​(javafx.event.ActionEvent event) 
      (package private) voidmSchliessen​(javafx.event.ActionEvent event) 
      (package private) voidmSpeichern​(javafx.event.ActionEvent event) 
      (package private) voidmUeber​(javafx.event.ActionEvent event) 
      (package private) voidmWertSetzen​(javafx.event.ActionEvent event) 
      (package private) voidmZurueck​(javafx.event.ActionEvent event) 
      voidsetAuswahl​(List<GraphElement> auswahl) 
      voidsetGraph​(Graph graph, + GraphOptions options) 
      voidupdate() 
      voidupdateInfofeld() 
      + +
        +
      • + + +

        Methods inherited from class javafx.scene.control.Tab

        +buildEventDispatchChain, closableProperty, contentProperty, contextMenuProperty, disabledProperty, disableProperty, getClassCssMetaData, getContent, getContextMenu, getCssMetaData, getGraphic, getId, getOnClosed, getOnCloseRequest, getOnSelectionChanged, getProperties, getPseudoClassStates, getStyle, getStyleableParent, getStyleClass, getTabPane, getText, getTooltip, getTypeSelector, getUserData, graphicProperty, hasProperties, idProperty, isClosable, isDisable, isDisabled, isSelected, onClosedProperty, onCloseRequestProperty, onSelectionChangedProperty, selectedProperty, setClosable, setContent, setContextMenu, setDisable, setGraphic, setId, setOnClosed, setOnCloseRequest, setOnSelectionChanged, setStyle, setText, setTooltip, setUserData, styleProperty, tabPaneProperty, textProperty, tooltipProperty
      • +
      + +
        +
      • + + +

        Methods inherited from interface javafx.css.Styleable

        +getStyleableNode
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        bStatus

        +
        javafx.scene.control.Button bStatus
        +
      • +
      + + + +
        +
      • +

        bGehezu

        +
        javafx.scene.control.Button bGehezu
        +
      • +
      + + + +
        +
      • +

        bAnfang

        +
        javafx.scene.control.Button bAnfang
        +
      • +
      + + + +
        +
      • +

        bEnde

        +
        javafx.scene.control.Button bEnde
        +
      • +
      + + + +
        +
      • +

        bSortieren

        +
        javafx.scene.control.Button bSortieren
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UnterTabMitController

        +
        public UnterTabMitController​(Graph graph,
        +                             GraphOptions options)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        buildAuswahl

        +
        public void buildAuswahl()
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        bAnfang

        +
        void bAnfang​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        bBesucht

        +
        void bBesucht​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        bEnde

        +
        void bEnde​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        knotenFarbe

        +
        void knotenFarbe​(javafx.scene.input.MouseEvent event)
        +
      • +
      + + + +
        +
      • +

        bMarkieren

        +
        void bMarkieren​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        updateInfofeld

        +
        public void updateInfofeld()
        +
      • +
      + + + +
        +
      • +

        graphClicked

        +
        void graphClicked​(javafx.scene.input.MouseEvent event)
        +
      • +
      + + + +
        +
      • +

        bHinzufuegenAnfang

        +
        void bHinzufuegenAnfang​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        bHinzufuegenEnde

        +
        void bHinzufuegenEnde​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        bLoeschenAusListe

        +
        void bLoeschenAusListe​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        bNaechster

        +
        void bNaechster​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        bSort

        +
        void bSort​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        bVoheriger

        +
        void bVoheriger​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        bWertAendern

        +
        void bWertAendern​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        bGeheZu

        +
        void bGeheZu​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mBeenden

        +
        void mBeenden​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mBesucheKnoten

        +
        void mBesucheKnoten​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mBesuchtLoeschen

        +
        void mBesuchtLoeschen​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mFaerbeKnoten

        +
        void mFaerbeKnoten​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mMarkiereKnoten

        +
        void mMarkiereKnoten​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mMarkierungenLoeschen

        +
        void mMarkierungenLoeschen​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mOeffnen

        +
        void mOeffnen​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mSchliessen

        +
        void mSchliessen​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mSpeichern

        +
        void mSpeichern​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mUeber

        +
        void mUeber​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mWertSetzen

        +
        void mWertSetzen​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        mZurueck

        +
        void mZurueck​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        bStatusRestore

        +
        void bStatusRestore​(javafx.event.ActionEvent event)
        +
      • +
      + + + +
        +
      • +

        bStatusSave

        +
        void bStatusSave​(javafx.event.ActionEvent event)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/doc/control/package-summary.html b/doc/control/package-summary.html index 0c357f0..348c2e1 100644 --- a/doc/control/package-summary.html +++ b/doc/control/package-summary.html @@ -1,207 +1,207 @@ - - - - - -control (1_graphentester) - - - - - - - - - - - - - - - -
- -
-
-
-

Package control

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Controller -
    Die Klasse Controller stellt den Controller des Hauptfensters / Menu dar.
    -
    EditTabMitController -
    Die Klasse EditTabMitController stellt einen Tab inclusive ihres Controllers - zur Editierung eines Graphs dar.
    -
    HauptTabMitController -
    Die Klasse HauptTabMitController stellt einen Tab inclusive ihres Controllers - für das Hauptfenster des Graphentesters dar.
    -
    Hilfefenster -
    Die Klasse Hilfefenster stellt ein Hilfefenster für die Simulation eines - Algorithmus bereit.
    -
    SimulationTabMitController -
    Die Klasse SimulationTabMitController stellt einen Tab inclusive ihres Controllers - zur Simulation eines Algorithmus dar.
    -
    TabMitController -
    Die Klasse TabMitController stellt die Oberklasse für alle Tabs des Graphentesters - dar.
    -
    UnterTabMitController -
    Die Klasse UnterTabMitController stellt einen Tab inclusive ihres Controllers - zur händischen Erforschung eines Algorithmus.
    -
    -
  • -
-
-
-
- -
- - + + + + + +control (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package control

+
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    Controller +
    Die Klasse Controller stellt den Controller des Hauptfensters / Menu dar.
    +
    EditTabMitController +
    Die Klasse EditTabMitController stellt einen Tab inclusive ihres Controllers + zur Editierung eines Graphs dar.
    +
    HauptTabMitController +
    Die Klasse HauptTabMitController stellt einen Tab inclusive ihres Controllers + für das Hauptfenster des Graphentesters dar.
    +
    Hilfefenster +
    Die Klasse Hilfefenster stellt ein Hilfefenster für die Simulation eines + Algorithmus bereit.
    +
    SimulationTabMitController +
    Die Klasse SimulationTabMitController stellt einen Tab inclusive ihres Controllers + zur Simulation eines Algorithmus dar.
    +
    TabMitController +
    Die Klasse TabMitController stellt die Oberklasse für alle Tabs des Graphentesters + dar.
    +
    UnterTabMitController +
    Die Klasse UnterTabMitController stellt einen Tab inclusive ihres Controllers + zur händischen Erforschung eines Algorithmus.
    +
    +
  • +
+
+
+
+ +
+ + diff --git a/doc/control/package-tree.html b/doc/control/package-tree.html index f68bef1..fd20dbe 100644 --- a/doc/control/package-tree.html +++ b/doc/control/package-tree.html @@ -1,181 +1,181 @@ - - - - - -control Class Hierarchy (1_graphentester) - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package control

-Package Hierarchies: - -
-
-
-

Class Hierarchy

- -
-
-
-
- -
- - + + + + + +control Class Hierarchy (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package control

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+
+ +
+ + diff --git a/doc/eigeneAlgorithmen/GraphAlgo_Coloring_Schueler.html b/doc/eigeneAlgorithmen/GraphAlgo_Coloring_Schueler.html index 161bea9..b6c31cc 100644 --- a/doc/eigeneAlgorithmen/GraphAlgo_Coloring_Schueler.html +++ b/doc/eigeneAlgorithmen/GraphAlgo_Coloring_Schueler.html @@ -1,403 +1,403 @@ - - - - - -GraphAlgo_Coloring_Schueler (1_graphentester) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class GraphAlgo_Coloring_Schueler

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    public class GraphAlgo_Coloring_Schueler
    -extends GraphAlgo
    -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden. - Algorithmus: Beispieldatei, in der Schüler den Algorithmus selbst umsetzen können
    -
    -
    Version:
    -
    1.0 from 10.12.2020
    -
    Author:
    -
    Thomas Schaller
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GraphAlgo_Coloring_Schueler

        -
        public GraphAlgo_Coloring_Schueler()
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- - - - + + + + + +GraphAlgo_Coloring_Schueler (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GraphAlgo_Coloring_Schueler

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Runnable
    +
    +
    +
    public class GraphAlgo_Coloring_Schueler
    +extends GraphAlgo
    +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden. + Algorithmus: Beispieldatei, in der Schüler den Algorithmus selbst umsetzen können
    +
    +
    Version:
    +
    1.0 from 10.12.2020
    +
    Author:
    +
    Thomas Schaller
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GraphAlgo_Coloring_Schueler

        +
        public GraphAlgo_Coloring_Schueler()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/doc/eigeneAlgorithmen/package-summary.html b/doc/eigeneAlgorithmen/package-summary.html index 705979b..6c5c475 100644 --- a/doc/eigeneAlgorithmen/package-summary.html +++ b/doc/eigeneAlgorithmen/package-summary.html @@ -1,166 +1,166 @@ - - - - - -eigeneAlgorithmen (1_graphentester) - - - - - - - - - - - - - - - -
- -
-
-
-

Package eigeneAlgorithmen

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    GraphAlgo_Coloring_Schueler -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    -
    -
  • -
-
-
-
- -
- - + + + + + +eigeneAlgorithmen (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package eigeneAlgorithmen

+
+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    GraphAlgo_Coloring_Schueler +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    +
    +
  • +
+
+
+
+ +
+ + diff --git a/doc/eigeneAlgorithmen/package-tree.html b/doc/eigeneAlgorithmen/package-tree.html index 379ec06..fa740d1 100644 --- a/doc/eigeneAlgorithmen/package-tree.html +++ b/doc/eigeneAlgorithmen/package-tree.html @@ -1,168 +1,168 @@ - - - - - -eigeneAlgorithmen Class Hierarchy (1_graphentester) - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package eigeneAlgorithmen

-Package Hierarchies: - -
-
-
-

Class Hierarchy

- -
-
-
-
- -
- - + + + + + +eigeneAlgorithmen Class Hierarchy (1_graphentester) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package eigeneAlgorithmen

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+
+ +
+ + diff --git a/doc/element-list b/doc/element-list index 52fdfdd..082d709 100644 --- a/doc/element-list +++ b/doc/element-list @@ -1 +1 @@ -graph +graph diff --git a/doc/graph/Graph.html b/doc/graph/Graph.html index ebe68e4..f813a43 100644 --- a/doc/graph/Graph.html +++ b/doc/graph/Graph.html @@ -1,40 +1,138 @@ + - -Graph - + +Graph (1_graphentester) - - - + + + + + + + + - - + +
+ +
+
-
Package graph
-

Class Graph

+
Package graph
+

Class Graph

-
java.lang.Object -
graph.Graph
-
-
+
+ +
+
    +

  • -
    public class Graph -extends Object
    +
    public class Graph
    +extends Object
    Dies ist das Herz vom "GraphTester" - der Graph selber, gepeichert als Adjazenzliste. Die Klasse erlaubt durch geeignete Methoden: - die Speicherung als Adjazenzmatrix, @@ -42,873 +140,1178 @@ var activeTableTab = "active-table-tab"; - das Markieren von Knoten und Kanten, - eine Aussage darueber, ob Knoten oder Kanten enthalten sind und - eine Ausgabe des Graphen in textueller Form sowie als csv-Datei.
    -
    -
    Version:
    +
    +
    Version:
    31.01.2021 (v6.5)
    -
    Author:
    +
    Author:
    Dirk Zechnall, Thomas Schaller
    -
-
-
    - -
  • -
    -

    Constructor Summary

    -
    Constructors
    -
    -
    Constructor
    -
    Description
    - -
    -
    Der Konstruktor erstellt einen neuen ungerichteten, ungewichteten Graphen (genauer eine neue Adjazenzliste)
    -
    -
    Graph(boolean isGerichtet, - boolean isGewichtet)
    -
    -
    Der Konstruktor erstellt einen neuen Graphen (genauer eine neue Adjazenzliste)
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -
    -
    -
    -
    Modifier and Type
    -
    Method
    -
    Description
    -
    void
    - -
    -
    Konsolenausgabe der textuellen Repraesentation des Graphen.
    +
-
void
-
entferneKante(int startnr, - int zielnr)
-
-
Entfernt eine Kante aus dem Graphen.
-
-
void
-
entferneKante(graph.Kante e)
-
-
Entfernt eine Kante aus dem Graphen.
-
-
void
-
entferneKante(graph.Knoten start, - graph.Knoten ziel)
-
-
Entfernt eine Kante aus dem Graphen.
-
-
void
-
entferneKnoten(int knotennr)
-
-
Entfernt einen Knoten aus dem Graphen
-
-
boolean
-
entferneKnoten(graph.Knoten k)
-
-
Entfernt einen Knoten aus dem Graphen
-
-
void
- -
-
Entfernt die Markierung bei allen Knoten des Graphen.
-
-
double[][]
- -
-
Die Methode getAdjazenzMatrix() gibt die Adjazenzmatrix zurueck.
-
-
List<graph.Kante>
-
getAlleKanten(Predicate<graph.Kante>... filter)
-
-
Gibt eine Liste aller Kanten des Graphen zurück.
-
-
List<graph.Knoten>
-
getAlleKnoten(Predicate<graph.Knoten>... filter)
-
-
Gibt eine Liste aller Knoten des Graphen zurueck.
-
-
int
- -
-
Gibt die Anzahl der Knoten im Graph zurueck
-
-
List<graph.Kante>
-
getAusgehendeKanten(int knotennr, - Predicate<graph.Kante>... filter)
-
-
Gibt eine Liste der ausgehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
-
-
List<graph.Kante>
-
getAusgehendeKanten(graph.Knoten k, - Predicate<graph.Kante>... filter)
-
-
Gibt eine Liste der ausgehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
-
-
List<graph.Kante>
-
getEingehendeKanten(int knotennr, - Predicate<graph.Kante>... filter)
-
-
Gibt eine Liste der eingehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
-
-
List<graph.Kante>
-
getEingehendeKanten(graph.Knoten k, - Predicate<graph.Kante>... filter)
-
-
Gibt eine Liste der eingehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
-
-
graph.Kante
-
getKante(int startnr, - int zielnr)
-
-
Gibt eine gesuchte Kante aus dem Graphen zurueck.
-
-
graph.Kante
-
getKante(graph.Knoten start, - graph.Knoten ziel)
-
-
Gibt eine gesuchte Kante aus dem Graphen zurueck.
-
-
graph.Knoten
-
getKnoten(int knotennr)
-
-
Liefert einen Knoten des Graphen
-
- -
getKnoteninfo(graph.Knoten k, - boolean zeigeWert)
-
-
Info über einen Knoten zurückgeben
-
-
List<graph.Knoten>
-
getNachbarknoten(graph.Knoten k, - Predicate<graph.Knoten>... filter)
-
-
Gibt die Liste aller Nachbarknoten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
-
-
int
-
getNummer(graph.Kante k)
-
-
Gibt die Nummer einer Kante zurück
-
-
int
-
getNummer(graph.Knoten k)
-
-
Gibt die Nummer eines Knotens im Graphen zurück
-
- - -
-
Speichert den Zustand des Graphen als String-List
-
-
void
- -
-
Initialisiert alle Kanten des Graphen.
-
-
void
- -
-
Initialisiert alle Knoten des Graphen.
-
-
boolean
- -
-
Gibt zurueck, ob der Graph gerichtet oder ungerichtet ist.
-
-
boolean
- -
-
Gibt zurueck, ob der Graph gewichtet oder ungewichtet ist
-
-
boolean
-
isKanteEnthalten(int startNr, - int zielNr)
-
-
Ueberprueft, ob eine Kante im Graphen enthalten ist.
-
-
boolean
-
isKanteEnthalten(graph.Kante e)
-
-
Ueberprueft, ob eine Kante im Graphen enthalten ist.
-
-
boolean
-
isKanteEnthalten(graph.Knoten start, - graph.Knoten ziel)
-
-
Ueberprueft, ob eine Kante im Graphen enthalten ist.
-
-
boolean
-
isKnotenEnthalten(graph.Knoten k)
-
-
Ueberprueft, ob ein Knoten in der Knotenliste enthalten ist.
-
-
boolean
- -
-
Ueberprueft, ob die Adjazenzliste leer ist, d.h. keine Knoten im Graphen enthalten sind.
-
-
boolean
-
ladeGraph(imp.Table csvParser)
-
-
Ein Graph wird aus einer csv-Datei erstellt, die entweder - eine Matrix oder eine Adjazenzliste enthält, die den Graph beschreibt.
-
-
void
- -
-
Loescht den gesamten Graphen
-
-
void
- -
-
Löscht alle Knoten und Kanten eines Graphen und stellt auf ungerichtet und ungewichtet zurück.
-
-
void
-
neueKante(graph.Kante e)
-
-
Fuegt eine Kante dem Graphen hinzu.
-
-
void
-
neueKante(graph.Knoten start, - graph.Knoten ziel, - double gewicht)
-
-
Fuegt eine Kante dem Graphen hinzu.
-
-
void
-
neuerKnoten(graph.Knoten k)
-
-
Fügt einen Knoten dem Graph hinzu.
-
-
void
-
setGerichtet(boolean isGerichtet)
-
-
Legt fest, ob der Graph gerichtet oder ungerichtet ist.
-
-
void
-
setGewichtet(boolean isGewichtet)
-
-
Legt fest, ob der Graph gewichtet oder ungewichtet ist.
-
-
void
- -
-
Stellt den Zustand des Graphen aus String-List wieder her
-
- -
toCSVString(boolean asMatrix)
-
-
Die Methode erstellt eine CSV-Ausgabe des Graphen entweder als Adjazenzliste oder als Adjazenzmatrix.
-
- - -
-
Textuelle Repraesentation des Graphen.
-
- - - -
-

Methods inherited from class java.lang.Object

-clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Graph() +
      Der Konstruktor erstellt einen neuen ungerichteten, ungewichteten Graphen (genauer eine neue Adjazenzliste)
      +
      Graph​(boolean isGerichtet, + boolean isGewichtet) +
      Der Konstruktor erstellt einen neuen Graphen (genauer eine neue Adjazenzliste)
      +
    -
    - +
+
+
    +
  • -
  • -
    -

    Constructor Details

    -
      -
    • -
      -

      Graph

      -
      public Graph(boolean isGerichtet, - boolean isGewichtet)
      +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          Graph

          +
          public Graph​(boolean isGerichtet,
          +             boolean isGewichtet)
          Der Konstruktor erstellt einen neuen Graphen (genauer eine neue Adjazenzliste)
          -
          -
          Parameters:
          +
          +
          Parameters:
          isGerichtet - gibt an, ob es sich um einen gerichteten Graphen handelt
          isGewichtet - gibt an, ob die Kanten gewichtet sind.
          -
    • -
    • -
      -

      Graph

      -
      public Graph()
      +
    + + + +
      +
    • +

      Graph

      +
      public Graph()
      Der Konstruktor erstellt einen neuen ungerichteten, ungewichteten Graphen (genauer eine neue Adjazenzliste)
      -
    +
  • +
- -
  • -
    -

    Method Details

    -
      -
    • -
      -

      loescheGraph

      -
      public void loescheGraph()
      +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          loescheGraph

          +
          public void loescheGraph()
          Löscht alle Knoten und Kanten eines Graphen und stellt auf ungerichtet und ungewichtet zurück.
          -
    • -
    • -
      -

      ladeGraph

      -
      public boolean ladeGraph(imp.Table csvParser)
      +
    + + + +
      +
    • +

      ladeGraph

      +
      public boolean ladeGraph​(Table csvParser)
      Ein Graph wird aus einer csv-Datei erstellt, die entweder eine Matrix oder eine Adjazenzliste enthält, die den Graph beschreibt.
      -
      -
      Parameters:
      +
      +
      Parameters:
      csvParser - Eine CSV-Datei als Table-Objekt
      -
      Returns:
      +
      Returns:
      gibt zurück, ob das Laden erfolgreich war
      -
  • -
  • -
    -

    setGewichtet

    -
    public void setGewichtet(boolean isGewichtet)
    + + + + +
      +
    • +

      setGewichtet

      +
      public void setGewichtet​(boolean isGewichtet)
      Legt fest, ob der Graph gewichtet oder ungewichtet ist.
      -
      -
      Parameters:
      +
      +
      Parameters:
      isGewichtet - neuer Wert
      -
  • -
  • -
    -

    isGewichtet

    -
    public boolean isGewichtet()
    + + + + +
      +
    • +

      isGewichtet

      +
      public boolean isGewichtet()
      Gibt zurueck, ob der Graph gewichtet oder ungewichtet ist
      -
      -
      Returns:
      +
      +
      Returns:
      gewichtet? (true/false)
      -
  • -
  • -
    -

    setGerichtet

    -
    public void setGerichtet(boolean isGerichtet)
    + + + + +
      +
    • +

      setGerichtet

      +
      public void setGerichtet​(boolean isGerichtet)
      Legt fest, ob der Graph gerichtet oder ungerichtet ist.
      -
      -
      Parameters:
      +
      +
      Parameters:
      isGerichtet - neuer Wert
      -
  • -
  • -
    -

    isGerichtet

    -
    public boolean isGerichtet()
    + + + + +
      +
    • +

      isGerichtet

      +
      public boolean isGerichtet()
      Gibt zurueck, ob der Graph gerichtet oder ungerichtet ist.
      -
      -
      Returns:
      +
      +
      Returns:
      gerichtet? (true/false)
      -
  • -
  • -
    -

    getNummer

    -
    public int getNummer(graph.Knoten k)
    + + + + +
      +
    • +

      getNummer

      +
      public int getNummer​(Knoten k)
      Gibt die Nummer eines Knotens im Graphen zurück
      -
      -
      Parameters:
      +
      +
      Parameters:
      k - gesuchter Knoten
      -
      Returns:
      +
      Returns:
      Nummer des Knotens (mit 0 beginnend)
      -
  • -
  • -
    -

    getNummer

    -
    public int getNummer(graph.Kante k)
    + + + + +
      +
    • +

      getNummer

      +
      public int getNummer​(Kante k)
      Gibt die Nummer einer Kante zurück
      -
      -
      Parameters:
      +
      +
      Parameters:
      k - gesuchte Kante
      -
      Returns:
      +
      Returns:
      Nummer der Kante (mit 0 beginnend)
      -
  • -
  • -
    -

    getAdjazenzMatrix

    -
    public double[][] getAdjazenzMatrix()
    + + + + +
      +
    • +

      getAdjazenzMatrix

      +
      public double[][] getAdjazenzMatrix()
      Die Methode getAdjazenzMatrix() gibt die Adjazenzmatrix zurueck.
      -
      -
      Returns:
      +
      +
      Returns:
      double[][] Die AdjazenzMatrix als zweidimensionales Array
      -
  • -
  • -
    -

    getAlleKanten

    -
    public List<graph.Kante> getAlleKanten(Predicate<graph.Kante>... filter)
    + + + + +
      +
    • +

      getAlleKanten

      +
      public List<Kante> getAlleKanten​(Predicate<Kante>... filter)
      Gibt eine Liste aller Kanten des Graphen zurück.
      -
      -
      Parameters:
      -
      filter - optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()}
      -
      Returns:
      +
      +
      Parameters:
      +
      filter - optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()}
      +
      Returns:
      Liste aller Kanten
      -
  • -
  • -
    -

    entferneMarkierungBeiAllenKnoten

    -
    public void entferneMarkierungBeiAllenKnoten()
    + + + + +
      +
    • +

      entferneMarkierungBeiAllenKnoten

      +
      public void entferneMarkierungBeiAllenKnoten()
      Entfernt die Markierung bei allen Knoten des Graphen.
      -
  • -
  • -
    -

    initialisiereAlleKnoten

    -
    public void initialisiereAlleKnoten()
    + + + + +
      +
    • +

      initialisiereAlleKnoten

      +
      public void initialisiereAlleKnoten()
      Initialisiert alle Knoten des Graphen.
      -
  • -
  • -
    -

    initialisiereAlleKanten

    -
    public void initialisiereAlleKanten()
    + + + + +
      +
    • +

      initialisiereAlleKanten

      +
      public void initialisiereAlleKanten()
      Initialisiert alle Kanten des Graphen.
      -
  • -
  • -
    -

    isKnotenEnthalten

    -
    public boolean isKnotenEnthalten(graph.Knoten k)
    + + + + +
      +
    • +

      isKnotenEnthalten

      +
      public boolean isKnotenEnthalten​(Knoten k)
      Ueberprueft, ob ein Knoten in der Knotenliste enthalten ist. Sobald in der Knotenliste der Knoten k gefunden wird, wird true ausgegeben.
      -
      -
      Parameters:
      +
      +
      Parameters:
      k - Der gesuchte Knoten
      -
      Returns:
      +
      Returns:
      true= ist enthalten, false = ist nicht enthalten
      -
  • -
  • -
    -

    getAnzahlKnoten

    -
    public int getAnzahlKnoten()
    + + + + +
      +
    • +

      getAnzahlKnoten

      +
      public int getAnzahlKnoten()
      Gibt die Anzahl der Knoten im Graph zurueck
      -
      -
      Returns:
      +
      +
      Returns:
      Anzahl der Knoten
      -
  • -
  • -
    -

    getAlleKnoten

    -
    public List<graph.Knoten> getAlleKnoten(Predicate<graph.Knoten>... filter)
    + + + + +
      +
    • +

      getAlleKnoten

      +
      public List<Knoten> getAlleKnoten​(Predicate<Knoten>... filter)
      Gibt eine Liste aller Knoten des Graphen zurueck.
      -
      -
      Parameters:
      -
      filter - optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()}
      -
      Returns:
      +
      +
      Parameters:
      +
      filter - optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()}
      +
      Returns:
      Die Knotenliste. Falls leer wird eine leere Liste zurueckgegeben
      -
  • -
  • -
    -

    getNachbarknoten

    -
    public List<graph.Knoten> getNachbarknoten(graph.Knoten k, - Predicate<graph.Knoten>... filter)
    + + + + +
      +
    • +

      getNachbarknoten

      +
      public List<Knoten> getNachbarknoten​(Knoten k,
      +                                     Predicate<Knoten>... filter)
      Gibt die Liste aller Nachbarknoten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
      -
      -
      Parameters:
      +
      +
      Parameters:
      k - Der Knoten, zu dem die Adjazenzliste gesucht wird
      -
      filter - optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()}
      -
      Returns:
      +
      filter - optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()}
      +
      Returns:
      Liste der Nachbarknoten
      -
  • -
  • -
    -

    getAusgehendeKanten

    -
    public List<graph.Kante> getAusgehendeKanten(graph.Knoten k, - Predicate<graph.Kante>... filter)
    + + + + +
      +
    • +

      getAusgehendeKanten

      +
      public List<Kante> getAusgehendeKanten​(Knoten k,
      +                                       Predicate<Kante>... filter)
      Gibt eine Liste der ausgehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist. Bei ungerichteten Graphen wird nicht zwischen eingehenden und ausgehenden Kanten unterschieden.
      -
      -
      Parameters:
      +
      +
      Parameters:
      k - Der Knoten, zu dem die Kanten gesucht werden
      -
      filter - optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()}
      -
      Returns:
      +
      filter - optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()}
      +
      Returns:
      Liste der ausgehenden Kanten.
      -
  • -
  • -
    -

    getAusgehendeKanten

    -
    public List<graph.Kante> getAusgehendeKanten(int knotennr, - Predicate<graph.Kante>... filter)
    + + + + +
      +
    • +

      getAusgehendeKanten

      +
      public List<Kante> getAusgehendeKanten​(int knotennr,
      +                                       Predicate<Kante>... filter)
      Gibt eine Liste der ausgehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist. Bei ungerichteten Graphen wird nicht zwischen eingehenden und ausgehenden Kanten unterschieden.
      -
      -
      Parameters:
      +
      +
      Parameters:
      knotennr - Nummer des Knoten, zu dem die Kanten gesucht werden
      -
      filter - optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()}
      -
      Returns:
      +
      filter - optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()}
      +
      Returns:
      Liste der ausgehenden Kanten.
      -
  • -
  • -
    -

    getEingehendeKanten

    -
    public List<graph.Kante> getEingehendeKanten(int knotennr, - Predicate<graph.Kante>... filter)
    + + + + +
      +
    • +

      getEingehendeKanten

      +
      public List<Kante> getEingehendeKanten​(int knotennr,
      +                                       Predicate<Kante>... filter)
      Gibt eine Liste der eingehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist. Bei ungerichteten Graphen wird nicht zwischen eingehenden und ausgehenden Kanten unterschieden.
      -
      -
      Parameters:
      +
      +
      Parameters:
      knotennr - Die Nummer des Knotens, zu dem die Kanten gesucht werden
      -
      filter - optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()}
      -
      Returns:
      +
      filter - optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()}
      +
      Returns:
      Liste der eingehenden Kanten.
      -
  • -
  • -
    -

    getEingehendeKanten

    -
    public List<graph.Kante> getEingehendeKanten(graph.Knoten k, - Predicate<graph.Kante>... filter)
    + + + + +
      +
    • +

      getEingehendeKanten

      +
      public List<Kante> getEingehendeKanten​(Knoten k,
      +                                       Predicate<Kante>... filter)
      Gibt eine Liste der eingehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist. Bei ungerichteten Graphen wird nicht zwischen eingehenden und ausgehenden Kanten unterschieden.
      -
      -
      Parameters:
      +
      +
      Parameters:
      k - Knoten, zu dem die Kanten gesucht werden
      -
      filter - optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()}
      -
      Returns:
      +
      filter - optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()}
      +
      Returns:
      Liste der eingehenden Kanten.
      -
  • -
  • -
    -

    getKnoten

    -
    public graph.Knoten getKnoten(int knotennr)
    + + + + +
      +
    • +

      getKnoten

      +
      public Knoten getKnoten​(int knotennr)
      Liefert einen Knoten des Graphen
      -
      -
      Parameters:
      +
      +
      Parameters:
      knotennr - Nummer der Knoten (beginnend mit 0)
      -
      Returns:
      +
      Returns:
      liefert den Knoten mit dieser Nummer
      -
  • -
  • -
    -

    neuerKnoten

    -
    public void neuerKnoten(graph.Knoten k)
    + + + + +
      +
    • +

      neuerKnoten

      +
      public void neuerKnoten​(Knoten k)
      Fügt einen Knoten dem Graph hinzu.
      -
      -
      Parameters:
      +
      +
      Parameters:
      k - Der Knoten, der hinzugefuegt werden soll
      -
  • -
  • -
    -

    entferneKnoten

    -
    public void entferneKnoten(int knotennr)
    + + + + +
      +
    • +

      entferneKnoten

      +
      public void entferneKnoten​(int knotennr)
      Entfernt einen Knoten aus dem Graphen
      -
      -
      Parameters:
      +
      +
      Parameters:
      knotennr - Nummer des Knotens, der geloescht werden soll
      -
  • -
  • -
    -

    entferneKnoten

    -
    public boolean entferneKnoten(graph.Knoten k)
    + + + + +
      +
    • +

      entferneKnoten

      +
      public boolean entferneKnoten​(Knoten k)
      Entfernt einen Knoten aus dem Graphen
      -
      -
      Parameters:
      +
      +
      Parameters:
      k - Knoten, der geloescht werden soll
      -
      Returns:
      +
      Returns:
      gibt zurück, ob der Knoten erfolgreich entfernt wurde.
      -
  • -
  • -
    -

    isKanteEnthalten

    -
    public boolean isKanteEnthalten(graph.Kante e)
    + + + + +
      +
    • +

      isKanteEnthalten

      +
      public boolean isKanteEnthalten​(Kante e)
      Ueberprueft, ob eine Kante im Graphen enthalten ist.
      -
      -
      Parameters:
      +
      +
      Parameters:
      e - Die zu suchende Kante
      -
      Returns:
      +
      Returns:
      Kante enthalten (true) oder nicht (false)
      -
  • -
  • -
    -

    isKanteEnthalten

    -
    public boolean isKanteEnthalten(int startNr, - int zielNr)
    + + + + +
      +
    • +

      isKanteEnthalten

      +
      public boolean isKanteEnthalten​(int startNr,
      +                                int zielNr)
      Ueberprueft, ob eine Kante im Graphen enthalten ist. In ungerichteten Graphen wird nicht zwischen Start- und Zielknoten unterschieden
      -
      -
      Parameters:
      +
      +
      Parameters:
      startNr - Nummer des Startknotens
      zielNr - Nummer des Zielknotens
      -
      Returns:
      +
      Returns:
      boolean Kante enthalten (true) oder nicht (false)
      -
  • -
  • -
    -

    isKanteEnthalten

    -
    public boolean isKanteEnthalten(graph.Knoten start, - graph.Knoten ziel)
    + + + + +
      +
    • +

      isKanteEnthalten

      +
      public boolean isKanteEnthalten​(Knoten start,
      +                                Knoten ziel)
      Ueberprueft, ob eine Kante im Graphen enthalten ist. In ungerichteten Graphen wird nicht zwischen Start- und Zielknoten unterschieden
      -
      -
      Parameters:
      +
      +
      Parameters:
      start - Startknoten
      ziel - Zielknoten
      -
      Returns:
      +
      Returns:
      boolean Kante enthalten (true) oder nicht (false)
      -
  • -
  • -
    -

    getKante

    -
    public graph.Kante getKante(graph.Knoten start, - graph.Knoten ziel)
    + + + + +
      +
    • +

      getKante

      +
      public Kante getKante​(Knoten start,
      +                      Knoten ziel)
      Gibt eine gesuchte Kante aus dem Graphen zurueck. In ungerichteten Graphen wird nicht zwischen Start- und Zielknoten unterschieden
      -
      -
      Parameters:
      +
      +
      Parameters:
      start - Der StartKnoten
      ziel - Der StartKnoten
      -
      Returns:
      +
      Returns:
      Die gesuchte Kante
      -
  • -
  • -
    -

    getKante

    -
    public graph.Kante getKante(int startnr, - int zielnr)
    + + + + +
      +
    • +

      getKante

      +
      public Kante getKante​(int startnr,
      +                      int zielnr)
      Gibt eine gesuchte Kante aus dem Graphen zurueck. In ungerichteten Graphen wird nicht zwischen Start- und Zielknoten unterschieden
      -
      -
      Parameters:
      +
      +
      Parameters:
      startnr - Der Nummer des StartKnoten
      zielnr - Die Nummer des Zielknoten
      -
      Returns:
      +
      Returns:
      Die gesuchte Kante
      -
  • -
  • -
    -

    neueKante

    -
    public void neueKante(graph.Kante e)
    + + + + +
      +
    • +

      neueKante

      +
      public void neueKante​(Kante e)
      Fuegt eine Kante dem Graphen hinzu. Dabei wird ueberprueft, ob die Kante schon im Graphen enthalten ist. Ist der Graph ungerichtet, werden sowohl "Hin-" und "RueckKante" erstellt.
      -
      -
      Parameters:
      +
      +
      Parameters:
      e - Die Kante, die hinzugefuegt werden soll
      -
  • -
  • -
    -

    neueKante

    -
    public void neueKante(graph.Knoten start, - graph.Knoten ziel, - double gewicht)
    + + + + +
      +
    • +

      neueKante

      +
      public void neueKante​(Knoten start,
      +                      Knoten ziel,
      +                      double gewicht)
      Fuegt eine Kante dem Graphen hinzu. Dabei wird ueberprueft, ob die Kante schon im Graphen enthalten ist. Ist der Graph ungerichtet, werden sowohl "Hin-" und "RueckKante" erstellt.
      -
      -
      Parameters:
      +
      +
      Parameters:
      start - Der StartKnoten der Kante, die hinzugefuegt werden soll
      ziel - Der ZielKnoten der Kante, die hinzugefuegt werden soll
      gewicht - Das Gewicht der Kante, die hinzugefuegt werden soll
      -
  • -
  • -
    -

    entferneKante

    -
    public void entferneKante(graph.Kante e)
    + + + + +
      +
    • +

      entferneKante

      +
      public void entferneKante​(Kante e)
      Entfernt eine Kante aus dem Graphen. Ist der Graph ungerichtet, werden sowohl "Hin-" und "RueckKante" entfernt.
      -
      -
      Parameters:
      +
      +
      Parameters:
      e - Die zu entfernende Kante
      -
  • -
  • -
    -

    entferneKante

    -
    public void entferneKante(graph.Knoten start, - graph.Knoten ziel)
    + + + + +
      +
    • +

      entferneKante

      +
      public void entferneKante​(Knoten start,
      +                          Knoten ziel)
      Entfernt eine Kante aus dem Graphen. Dabei wird ueberprueft, ob die Kante ueberhaupt im Graphen enthalten ist. Ist der Graph ungerichtet, werden sowohl "Hin-" und "RueckKante" entfernt.
      -
      -
      Parameters:
      +
      +
      Parameters:
      start - StartKnotens
      ziel - ZielKnotens
      -
  • -
  • -
    -

    entferneKante

    -
    public void entferneKante(int startnr, - int zielnr)
    + + + + +
      +
    • +

      entferneKante

      +
      public void entferneKante​(int startnr,
      +                          int zielnr)
      Entfernt eine Kante aus dem Graphen. Ist der Graph ungerichtet, werden sowohl "Hin-" und "RueckKante" entfernt.
      -
      -
      Parameters:
      +
      +
      Parameters:
      startnr - Nummer des StartKnotens
      zielnr - Nummer des ZielKnotens
      -
  • -
  • -
    -

    isLeer

    -
    public boolean isLeer()
    + + + + +
      +
    • +

      isLeer

      +
      public boolean isLeer()
      Ueberprueft, ob die Adjazenzliste leer ist, d.h. keine Knoten im Graphen enthalten sind.
      -
      -
      Returns:
      +
      +
      Returns:
      true, wenn die Liste leer ist, sonst false
      -
  • -
  • -
    -

    loescheAlles

    -
    public void loescheAlles()
    + + + + +
      +
    • +

      loescheAlles

      +
      public void loescheAlles()
      Loescht den gesamten Graphen
      -
  • -
  • -
    -

    toCSVString

    -
    public String toCSVString(boolean asMatrix)
    + + + + +
      +
    • +

      toCSVString

      +
      public String toCSVString​(boolean asMatrix)
      Die Methode erstellt eine CSV-Ausgabe des Graphen entweder als Adjazenzliste oder als Adjazenzmatrix.
      -
      -
      Parameters:
      +
      +
      Parameters:
      asMatrix - true, falls die CSV-Ausgabe eine AdjazenzMatrix sein soll, sonst false
      -
      Returns:
      +
      Returns:
      CSV-Ausgabe
      -
  • -
  • -
    -

    toString

    -
    public String toString()
    + + + + +
      +
    • +

      toString

      +
      public String toString()
      Textuelle Repraesentation des Graphen.
      -
      -
      Overrides:
      -
      toString in class Object
      -
      Returns:
      +
      +
      Overrides:
      +
      toString in class Object
      +
      Returns:
      Der Graph als Stringrepraesentation
      -
  • -
  • -
    -

    ausgabe

    -
    public void ausgabe()
    + + + + +
      +
    • +

      ausgabe

      +
      public void ausgabe()
      Konsolenausgabe der textuellen Repraesentation des Graphen.
      -
  • -
  • -
    -

    getKnoteninfo

    -
    public String getKnoteninfo(graph.Knoten k, - boolean zeigeWert)
    + + + + +
      +
    • +

      getKnoteninfo

      +
      public String getKnoteninfo​(Knoten k,
      +                            boolean zeigeWert)
      Info über einen Knoten zurückgeben
      -
      -
      Parameters:
      +
      +
      Parameters:
      k - Knoten, des Info ermittelt werden soll
      zeigeWert - Soll der Wert des Knoten in der Info enthalten sein
      -
      Returns:
      +
      Returns:
      Infotext oder Nummer des Knoten und ggf. sein Wert
      -
  • -
  • -
    -

    getStatus

    -
    public List<String> getStatus()
    + + + + +
      +
    • +

      getStatus

      +
      public List<String> getStatus()
      Speichert den Zustand des Graphen als String-List
      -
      -
      Returns:
      +
      +
      Returns:
      List mit Zustand
      -
  • -
  • -
    -

    setStatus

    -
    public void setStatus(List<String> status)
    + + + + +
      +
    • +

      setStatus

      +
      public void setStatus​(List<String> status)
      Stellt den Zustand des Graphen aus String-List wieder her
      -
      -
      Parameters:
      +
      +
      Parameters:
      status - List mit Zustand
      -
    +
  • + - - +
    +
    + +
    + +
    diff --git a/doc/graph/GraphElement.html b/doc/graph/GraphElement.html index c3382a1..fbdbada 100644 --- a/doc/graph/GraphElement.html +++ b/doc/graph/GraphElement.html @@ -2,116 +2,33 @@ - -GraphElement (1_graphentester) + +GraphElement - + - - - - - - - - -
    - -
    @@ -120,7 +37,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      -
    • java.lang.Object
    • +
    • java.lang.Object
      • graph.GraphElement
      • @@ -132,21 +49,19 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      • All Implemented Interfaces:
        -
        Comparable<GraphElement>
        -
        -
        -
        Direct Known Subclasses:
        -
        Kante, Knoten
        +
        java.lang.Comparable<GraphElement>

        public abstract class GraphElement
        -extends Object
        -implements Comparable<GraphElement>
        +extends java.lang.Object +implements java.lang.Comparable<GraphElement>
        Die Klasse GraphElement ist eine Oberklasse von Knoten und Kanten. Sie ist nur für die interne Verarbeitung wichtig.
        Version:
        -
        v1.1
        +
        28.02.2023 (v7.0) + v7.0: Die am Element gespeicherten Informationen werden in einer Hashmap gespeichert. Daher können beliebige weitere Informationen abgelegt werden. + Es wird auch gespeichert, als welcher Typ die Information übergeben wurde.
        Author:
        Thomas Schaller
        @@ -156,6 +71,44 @@ implements
        • + +
          +
            +
          • + + +

            Field Summary

            + + + + + + + + + + + + + + + + + + + + + + + + + + + +
            Fields 
            Modifier and TypeFieldDescription
            protected java.util.HashMap<java.lang.String,​java.lang.String>daten 
            protected graph.Graphg 
            protected java.lang.StringsortierKriterium 
            protected java.util.HashMap<java.lang.String,​java.lang.String>typen 
            +
          • +
          +
            @@ -185,34 +138,133 @@ implements -All Methods Instance Methods Abstract Methods  +All Methods Instance Methods Abstract Methods Concrete Methods  Modifier and Type Method Description -abstract int +int compareTo​(GraphElement e) -  + +
            Vergleicht den Knoten/Kante mit einem anderen Knoten/Kante bezüglich seines Sortierkriteriums + Das Sortierkriterium ist normalerweise der "Wert", kann aber mit setSortierkriterium gesetzt werden.
            + -abstract String -getStatus() -  +boolean +getBoolean​(java.lang.String name) + +
            Gibt zusätzliche Daten als int zurück
            + -abstract void -setStatus​(String status) -  +double +getDouble​(java.lang.String name) + +
            Gibt zusätzliche Daten als int zurück
            + + + +int +getInt​(java.lang.String name) + +
            Gibt zusätzliche Daten als int zurück
            + + + +abstract java.util.List<java.lang.String> +getKurztext​(java.lang.String[] namen) + +
            Gibt die Beschreibung des Knoten / der Kante als Kurztext für die Anzeige im + Kreis bzw.
            + + + +abstract java.util.List<java.lang.String> +getLangtext​(java.lang.String[] namen) + +
            Gibt die Beschreibung des Knoten / der Kante als Langtext für die Anzeige im + Tooltip-Fenster zurück.
            + + + +java.lang.String +getStatus() + +
            Liefert den Status einer Kante als String.
            + + + +java.lang.String +getString​(java.lang.String name) + +
            Gibt zusätzliche Daten als String zurück
            + + + +void +set​(java.lang.String name, + boolean wert) + +
            Speichert zusätzliche Daten am Knoten oder der Kante
            + + + +void +set​(java.lang.String name, + double wert) + +
            Speichert zusätzliche Daten am Knoten oder der Kante + Double.POSITIVE_INFINITY bzw.
            + + + +void +set​(java.lang.String name, + int wert) + +
            Speichert zusätzliche Daten am Knoten oder der Kante + Integer.MAX_VALUE bzw.
            + + + +void +set​(java.lang.String name, + java.lang.String wert) + +
            Speichert zusätzliche Daten am Knoten oder der Kante
            + + + +void +setGraph​(graph.Graph g) + +
            Speichert den Graphen, in den Knoten/Kante eingefügt wurde.
            + + + +void +setSortierkriterium​(java.lang.String name) + +
            Setzt das Sortierkriterium des Knoten/der Kante.
            + + + +void +setStatus​(java.lang.String status) + +
            Setzt den Status einer Kante, der in einem String gespeichert ist.
            +
          @@ -223,6 +275,52 @@ implements
          • + +
            +
              +
            • + + +

              Field Detail

              + + + +
                +
              • +

                daten

                +
                protected java.util.HashMap<java.lang.String,​java.lang.String> daten
                +
              • +
              + + + +
                +
              • +

                typen

                +
                protected java.util.HashMap<java.lang.String,​java.lang.String> typen
                +
              • +
              + + + +
                +
              • +

                g

                +
                protected graph.Graph g
                +
              • +
              + + + +
                +
              • +

                sortierKriterium

                +
                protected java.lang.String sortierKriterium
                +
              • +
              +
            • +
            +
              @@ -249,16 +347,20 @@ implements +
              • -

                compareTo

                -
                public abstract int compareTo​(GraphElement e)
                +

                setStatus

                +
                public void setStatus​(java.lang.String status)
                +
                Setzt den Status einer Kante, der in einem String gespeichert ist. + Form: markiert,geloescht,farbe + Dabei sind markiert und geloescht boolsche Werte (0 = false, 1 = true) und + die farbe eine Zahl
                -
                Specified by:
                -
                compareTo in interface Comparable<GraphElement>
                +
                Parameters:
                +
                status - Statusstring
              @@ -268,16 +370,225 @@ implements
            • getStatus

              -
              public abstract String getStatus()
              +
              public java.lang.String getStatus()
              +
              Liefert den Status einer Kante als String. + Form: markiert,geloescht,farbe + Dabei sind markiert und geloescht boolsche Werte (0 = false, 1 = true) und + die farbe eine Zahl
              +
              +
              Returns:
              +
              Statusstring
              +
            - + + + +
              +
            • +

              setSortierkriterium

              +
              public void setSortierkriterium​(java.lang.String name)
              +
              Setzt das Sortierkriterium des Knoten/der Kante.
              +
              +
              Parameters:
              +
              name - Bezeichnung des Wertes nach dem sortiert werden soll
              +
              +
            • +
            + + + +
              +
            • +

              getKurztext

              +
              public abstract java.util.List<java.lang.String> getKurztext​(java.lang.String[] namen)
              +
              Gibt die Beschreibung des Knoten / der Kante als Kurztext für die Anzeige im + Kreis bzw. Kasten zurück. Dabei wird jeder Eintrag der Liste als eigene Zeile + dargestellt. Es werden nur die Werte angezeigt. Es sind max. 2 Zeilen zulässig.
              +
              +
              Parameters:
              +
              namen - Namen der Werte, die im Kurztext angezeigt werden sollen.
              +
              +
            • +
            + + + +
              +
            • +

              getLangtext

              +
              public abstract java.util.List<java.lang.String> getLangtext​(java.lang.String[] namen)
              +
              Gibt die Beschreibung des Knoten / der Kante als Langtext für die Anzeige im + Tooltip-Fenster zurück. Dabei wird jeder Eintrag der Liste als eigene Zeile + dargestellt. Es wird jeweils die Bezeichnung und der Wert ausgegeben.
              +
              +
              Parameters:
              +
              namen - Namen der Werte, die im Tooltip angezeigt werden sollen.
              +
              +
            • +
            + + + +
              +
            • +

              setGraph

              +
              public void setGraph​(graph.Graph g)
              +
              Speichert den Graphen, in den Knoten/Kante eingefügt wurde. Damit kann er selbst seine Nummer + ermitteln.
              +
              +
              Parameters:
              +
              g - Graph
              +
              +
            • +
            + + + +
              +
            • +

              set

              +
              public void set​(java.lang.String name,
              +                java.lang.String wert)
              +
              Speichert zusätzliche Daten am Knoten oder der Kante
              +
              +
              Parameters:
              +
              name - Bezeichnung der Art der Daten
              +
              wert - Wert der zu speichernden Daten
              +
              +
            • +
            + + + +
              +
            • +

              set

              +
              public void set​(java.lang.String name,
              +                double wert)
              +
              Speichert zusätzliche Daten am Knoten oder der Kante + Double.POSITIVE_INFINITY bzw. NEGATIVE_INFINITY wird als +/- unendlich dargestellt
              +
              +
              Parameters:
              +
              name - Bezeichnung der Art der Daten
              +
              wert - Wert der zu speichernden Daten
              +
              +
            • +
            + + + +
              +
            • +

              set

              +
              public void set​(java.lang.String name,
              +                int wert)
              +
              Speichert zusätzliche Daten am Knoten oder der Kante + Integer.MAX_VALUE bzw. MIN_VALUE werden als +/- unendlich dargestellt.
              +
              +
              Parameters:
              +
              name - Bezeichnung der Art der Daten
              +
              wert - Wert der zu speichernden Daten
              +
              +
            • +
            + + + +
              +
            • +

              set

              +
              public void set​(java.lang.String name,
              +                boolean wert)
              +
              Speichert zusätzliche Daten am Knoten oder der Kante
              +
              +
              Parameters:
              +
              name - Bezeichnung der Art der Daten
              +
              wert - Wert der zu speichernden Daten
              +
              +
            • +
            + + + +
              +
            • +

              getString

              +
              public java.lang.String getString​(java.lang.String name)
              +
              Gibt zusätzliche Daten als String zurück
              +
              +
              Parameters:
              +
              name - Bezeichnung der zusätzlichen Daten
              +
              Returns:
              +
              Wert von "name" oder "", wenn name nicht gespeichert ist
              +
              +
            • +
            + + + +
              +
            • +

              getInt

              +
              public int getInt​(java.lang.String name)
              +
              Gibt zusätzliche Daten als int zurück
              +
              +
              Parameters:
              +
              name - Bezeichnung der zusätzlichen Daten
              +
              Returns:
              +
              Wert von "name" oder 0, wenn name nicht gespeichert ist oder keine Zahl ist
              +
              +
            • +
            + + + +
              +
            • +

              getDouble

              +
              public double getDouble​(java.lang.String name)
              +
              Gibt zusätzliche Daten als int zurück
              +
              +
              Parameters:
              +
              name - Bezeichnung der zusätzlichen Daten
              +
              Returns:
              +
              Wert von "name" oder 0, wenn name nicht gespeichert ist oder keine Zahl ist
              +
              +
            • +
            + + + +
              +
            • +

              getBoolean

              +
              public boolean getBoolean​(java.lang.String name)
              +
              Gibt zusätzliche Daten als int zurück
              +
              +
              Parameters:
              +
              name - Bezeichnung der zusätzlichen Daten
              +
              Returns:
              +
              Wert von "name" oder false, wenn name nicht gespeichert ist oder kein Boolean ist
              +
              +
            • +
            +
            • -

              setStatus

              -
              public abstract void setStatus​(String status)
              +

              compareTo

              +
              public int compareTo​(GraphElement e)
              +
              Vergleicht den Knoten/Kante mit einem anderen Knoten/Kante bezüglich seines Sortierkriteriums + Das Sortierkriterium ist normalerweise der "Wert", kann aber mit setSortierkriterium gesetzt werden.
              +
              +
              Specified by:
              +
              compareTo in interface java.lang.Comparable<GraphElement>
              +
              Parameters:
              +
              e - anderer Knoten
              +
              Returns:
              +
              kleiner 0 der andere Knoten hat einen größeren Wert, größer 0 der andere Knoten hat einen kleineren Wert, gleich 0 beide sind gleich
              +
          • @@ -289,64 +600,5 @@ implements - - diff --git a/doc/graph/GraphOptions.html b/doc/graph/GraphOptions.html index d5fa8f0..d725772 100644 --- a/doc/graph/GraphOptions.html +++ b/doc/graph/GraphOptions.html @@ -1,577 +1,577 @@ - - - - - -GraphOptions (1_graphentester) - - - - - - - - - - - - - - - -
            - -
            - -
            -
            -
            Package graph
            -

            Class GraphOptions

            -
            -
            - -
            -
              -
            • -
              -
              public class GraphOptions
              -extends Object
              -
              Die Klasse GraphOptions speichert, wie ein Graph in einem Fenster vom - GraphPlotter angezeigt wird.
              -
              -
              Version:
              -
              v6.7 (9.12.2020)
              -
              Author:
              -
              Thomas Schaller
              -
              -
            • -
            -
            -
            - -
            -
            -
              -
            • - -
              -
                -
              • - - -

                Field Detail

                - - - -
                  -
                • -

                  bildDatei

                  -
                  public String bildDatei
                  -
                • -
                - - - -
                  -
                • -

                  bildAnzeigen

                  -
                  public boolean bildAnzeigen
                  -
                • -
                - - - -
                  -
                • -

                  vertexSize

                  -
                  public int vertexSize
                  -
                • -
                - - - -
                  -
                • -

                  showEdgeWeights

                  -
                  public boolean showEdgeWeights
                  -
                • -
                - - - -
                  -
                • -

                  showVertexValue

                  -
                  public boolean showVertexValue
                  -
                • -
                - - - -
                  -
                • -

                  showVertexText

                  -
                  public boolean showVertexText
                  -
                • -
                - - - -
                  -
                • -

                  showVertexInfo

                  -
                  public boolean showVertexInfo
                  -
                • -
                - - - -
                  -
                • -

                  saveAsMatrix

                  -
                  public boolean saveAsMatrix
                  -
                • -
                - - - -
                  -
                • -

                  stdFarbenKnoten

                  -
                  public String[] stdFarbenKnoten
                  -
                • -
                - - - -
                  -
                • -

                  stdFarbenKanten

                  -
                  public String[] stdFarbenKanten
                  -
                • -
                - - - -
                  -
                • -

                  farbenKnoten

                  -
                  public String[] farbenKnoten
                  -
                • -
                - - - -
                  -
                • -

                  farbenKanten

                  -
                  public String[] farbenKanten
                  -
                • -
                - - - -
                  -
                • -

                  fokusArt

                  -
                  public int fokusArt
                  -
                • -
                - - - - - - - -
                  -
                • -

                  auswahl

                  -
                  public int auswahl
                  -
                • -
                -
              • -
              -
              - -
              -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  GraphOptions

                  -
                  public GraphOptions()
                  -
                • -
                -
              • -
              -
              - -
              -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  ladeGraph

                  -
                  public void ladeGraph​(Table csvParser)
                  -
                • -
                - - - -
                  -
                • -

                  getText

                  -
                  public String getText()
                  -
                • -
                - - - - -
              • -
              -
              -
            • -
            -
            -
            -
            - - - - + + + + + +GraphOptions (1_graphentester) + + + + + + + + + + + + + + + +
            + +
            + +
            +
            +
            Package graph
            +

            Class GraphOptions

            +
            +
            + +
            +
              +
            • +
              +
              public class GraphOptions
              +extends Object
              +
              Die Klasse GraphOptions speichert, wie ein Graph in einem Fenster vom + GraphPlotter angezeigt wird.
              +
              +
              Version:
              +
              v6.7 (9.12.2020)
              +
              Author:
              +
              Thomas Schaller
              +
              +
            • +
            +
            +
            + +
            +
            +
              +
            • + +
              +
                +
              • + + +

                Field Detail

                + + + +
                  +
                • +

                  bildDatei

                  +
                  public String bildDatei
                  +
                • +
                + + + +
                  +
                • +

                  bildAnzeigen

                  +
                  public boolean bildAnzeigen
                  +
                • +
                + + + +
                  +
                • +

                  vertexSize

                  +
                  public int vertexSize
                  +
                • +
                + + + +
                  +
                • +

                  showEdgeWeights

                  +
                  public boolean showEdgeWeights
                  +
                • +
                + + + +
                  +
                • +

                  showVertexValue

                  +
                  public boolean showVertexValue
                  +
                • +
                + + + +
                  +
                • +

                  showVertexText

                  +
                  public boolean showVertexText
                  +
                • +
                + + + +
                  +
                • +

                  showVertexInfo

                  +
                  public boolean showVertexInfo
                  +
                • +
                + + + +
                  +
                • +

                  saveAsMatrix

                  +
                  public boolean saveAsMatrix
                  +
                • +
                + + + +
                  +
                • +

                  stdFarbenKnoten

                  +
                  public String[] stdFarbenKnoten
                  +
                • +
                + + + +
                  +
                • +

                  stdFarbenKanten

                  +
                  public String[] stdFarbenKanten
                  +
                • +
                + + + +
                  +
                • +

                  farbenKnoten

                  +
                  public String[] farbenKnoten
                  +
                • +
                + + + +
                  +
                • +

                  farbenKanten

                  +
                  public String[] farbenKanten
                  +
                • +
                + + + +
                  +
                • +

                  fokusArt

                  +
                  public int fokusArt
                  +
                • +
                + + + + + + + +
                  +
                • +

                  auswahl

                  +
                  public int auswahl
                  +
                • +
                +
              • +
              +
              + +
              +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  GraphOptions

                  +
                  public GraphOptions()
                  +
                • +
                +
              • +
              +
              + +
              +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  ladeGraph

                  +
                  public void ladeGraph​(Table csvParser)
                  +
                • +
                + + + +
                  +
                • +

                  getText

                  +
                  public String getText()
                  +
                • +
                + + + + +
              • +
              +
              +
            • +
            +
            +
            +
            + + + + diff --git a/doc/graph/GraphPlotter.html b/doc/graph/GraphPlotter.html index f513e78..b26e18e 100644 --- a/doc/graph/GraphPlotter.html +++ b/doc/graph/GraphPlotter.html @@ -1,560 +1,560 @@ - - - - - -GraphPlotter - - - - - - - - - -
            -
            -
            Package graph
            -

            Class GraphPlotter

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • javafx.scene.Node
              • -
              • -
                  -
                • javafx.scene.Parent
                • -
                • -
                    -
                  • javafx.scene.layout.Region
                  • -
                  • -
                      -
                    • javafx.scene.control.Control
                    • -
                    • -
                        -
                      • javafx.scene.control.ScrollPane
                      • -
                      • -
                          -
                        • imp.PictureViewer
                        • -
                        • -
                            -
                          • graph.GraphPlotter
                          • -
                          -
                        • -
                        -
                      • -
                      -
                    • -
                    -
                  • -
                  -
                • -
                -
              • -
              -
            • -
            -
            -
              -
            • -
              -
              All Implemented Interfaces:
              -
              javafx.css.Styleable, javafx.event.EventTarget, javafx.scene.control.Skinnable
              -
              -
              -
              public class GraphPlotter
              -extends imp.PictureViewer
              -
              Der GraphPlotter ist das Herzstueck der Visualisierung und dient als Schnittstelle zur GUI.
              -
              -
              Version:
              -
              09.12.2020 (v6.7)
              -
              Author:
              -
              Thomas Schaller
              -
              -
            • -
            -
            -
            -
              -
            • - -
              -
                -
              • - - -

                Nested Class Summary

                -
                  -
                • - - -

                  Nested classes/interfaces inherited from class javafx.scene.control.ScrollPane

                  -javafx.scene.control.ScrollPane.ScrollBarPolicy
                • -
                -
              • -
              -
              - -
              -
                -
              • - - -

                Field Summary

                -
                  -
                • - - -

                  Fields inherited from class imp.PictureViewer

                  -FIT, NORMAL
                • -
                -
                  -
                • - - -

                  Fields inherited from class javafx.scene.layout.Region

                  -USE_COMPUTED_SIZE, USE_PREF_SIZE
                • -
                -
                  -
                • - - -

                  Fields inherited from class javafx.scene.Node

                  -BASELINE_OFFSET_SAME_AS_HEIGHT
                • -
                -
              • -
              -
              - -
              -
                -
              • - - -

                Constructor Summary

                - - - - - - - - - - -
                Constructors 
                ConstructorDescription
                GraphPlotter() -
                Der Konstruktor legt sowohl Einstellungen des mxGraphen (Drag&Drop, Editable, ...) als auch des Graphen (gewichtet, gerichtet, ...) fest.
                -
                -
              • -
              -
              - -
              -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                All Methods Instance Methods Concrete Methods 
                Modifier and TypeMethodDescription
                voidausgabe() -
                Gibt die String-Repraesentation des GraphPlotters auf der Konsole aus.
                -
                graph.GraphgetGraph() -
                Gibt den Graphen zurueck.
                -
                graph.GraphOptionsgetGraphOptions() 
                graph.GraphElementgetRestrictTo() 
                graph.KantegetSelectedKante() -
                Gibt das selektierte Kantenobjekt zurueck.
                -
                graph.KnotengetSelectedKnoten() -
                Gibt das selektierte Knotenobjekt zurueck.
                -
                java.util.List<graph.Knoten>getSelectedKnotenListe() -
                Gibt die selektierte KnotenobjektListe (als Array) zurueck.
                -
                voidmouseClicked​(javafx.scene.input.MouseEvent mouseEvent) 
                voidmouseDown​(javafx.scene.input.MouseEvent mouseEvent) 
                voidmouseDragged​(javafx.scene.input.MouseEvent mouseEvent) 
                voidmouseUp​(javafx.scene.input.MouseEvent mouseEvent) 
                voidsetEditable() 
                voidsetGraph​(graph.Graph graph, - graph.GraphOptions options) 
                voidsetRestrictTo​(graph.GraphElement k) 
                java.lang.StringtoString() -
                Ueberschreibt die Methode toString.
                -
                voidupdateImage() 
                -
                  -
                • - - -

                  Methods inherited from class imp.PictureViewer

                  -back, getImage, pushImage, repaint, setImage, setZoom
                • -
                -
                  -
                • - - -

                  Methods inherited from class javafx.scene.control.ScrollPane

                  -contentProperty, createDefaultSkin, fitToHeightProperty, fitToWidthProperty, getClassCssMetaData, getContent, getControlCssMetaData, getHbarPolicy, getHmax, getHmin, getHvalue, getInitialFocusTraversable, getMinViewportHeight, getMinViewportWidth, getPrefViewportHeight, getPrefViewportWidth, getVbarPolicy, getViewportBounds, getVmax, getVmin, getVvalue, hbarPolicyProperty, hmaxProperty, hminProperty, hvalueProperty, isFitToHeight, isFitToWidth, isPannable, minViewportHeightProperty, minViewportWidthProperty, pannableProperty, prefViewportHeightProperty, prefViewportWidthProperty, queryAccessibleAttribute, setContent, setFitToHeight, setFitToWidth, setHbarPolicy, setHmax, setHmin, setHvalue, setMinViewportHeight, setMinViewportWidth, setPannable, setPrefViewportHeight, setPrefViewportWidth, setVbarPolicy, setViewportBounds, setVmax, setVmin, setVvalue, vbarPolicyProperty, viewportBoundsProperty, vmaxProperty, vminProperty, vvalueProperty
                • -
                -
                  -
                • - - -

                  Methods inherited from class javafx.scene.control.Control

                  -computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, executeAccessibleAction, getBaselineOffset, getContextMenu, getCssMetaData, getSkin, getTooltip, isResizable, layoutChildren, setContextMenu, setSkin, setTooltip, skinProperty, tooltipProperty
                • -
                -
                  -
                • - - -

                  Methods inherited from class javafx.scene.layout.Region

                  -backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPositionX, snapPositionY, snapSizeX, snapSizeY, snapSpaceX, snapSpaceY, snapToPixelProperty, widthProperty
                • -
                -
                  -
                • - - -

                  Methods inherited from class javafx.scene.Parent

                  -getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBounds
                • -
                -
                  -
                • - - -

                  Methods inherited from class javafx.scene.Node

                  -accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty
                • -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
                • -
                -
                  -
                • - - -

                  Methods inherited from interface javafx.css.Styleable

                  -getStyleableNode
                • -
                -
              • -
              -
              -
            • -
            -
            -
            -
              -
            • - -
              -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  GraphPlotter

                  -
                  public GraphPlotter()
                  -
                  Der Konstruktor legt sowohl Einstellungen des mxGraphen (Drag&Drop, Editable, ...) als auch des Graphen (gewichtet, gerichtet, ...) fest.
                  -
                  -
                  Parameters:
                  -
                  boolean - isDirected Gibt an, ob der Graph gerichtet oder ungerichtet ist
                  -
                  boolean - isWeighted Gibt an, ob der Graph gewichtet oder ungewichtet ist
                  -
                  String - hintergrundBild Gibt den Namen eines Hintergrundbildes an
                  -
                  -
                • -
                -
              • -
              -
              - -
              -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  setEditable

                  -
                  public void setEditable()
                  -
                • -
                - - - -
                  -
                • -

                  setGraph

                  -
                  public void setGraph​(graph.Graph graph,
                  -                     graph.GraphOptions options)
                  -
                • -
                - - - -
                  -
                • -

                  setRestrictTo

                  -
                  public void setRestrictTo​(graph.GraphElement k)
                  -
                • -
                - - - -
                  -
                • -

                  getRestrictTo

                  -
                  public graph.GraphElement getRestrictTo()
                  -
                • -
                - - - -
                  -
                • -

                  mouseClicked

                  -
                  public void mouseClicked​(javafx.scene.input.MouseEvent mouseEvent)
                  -
                • -
                - - - -
                  -
                • -

                  mouseDown

                  -
                  public void mouseDown​(javafx.scene.input.MouseEvent mouseEvent)
                  -
                • -
                - - - -
                  -
                • -

                  mouseDragged

                  -
                  public void mouseDragged​(javafx.scene.input.MouseEvent mouseEvent)
                  -
                • -
                - - - -
                  -
                • -

                  mouseUp

                  -
                  public void mouseUp​(javafx.scene.input.MouseEvent mouseEvent)
                  -
                • -
                - - - -
                  -
                • -

                  updateImage

                  -
                  public void updateImage()
                  -
                • -
                - - - -
                  -
                • -

                  getGraphOptions

                  -
                  public graph.GraphOptions getGraphOptions()
                  -
                • -
                - - - -
                  -
                • -

                  getGraph

                  -
                  public graph.Graph getGraph()
                  -
                  Gibt den Graphen zurueck.
                  -
                  -
                  Returns:
                  -
                  Graph
                  -
                  -
                • -
                - - - -
                  -
                • -

                  getSelectedKnoten

                  -
                  public graph.Knoten getSelectedKnoten()
                  -
                  Gibt das selektierte Knotenobjekt zurueck.
                  -
                  -
                  Returns:
                  -
                  Object
                  -
                  -
                • -
                - - - -
                  -
                • -

                  getSelectedKnotenListe

                  -
                  public java.util.List<graph.Knoten> getSelectedKnotenListe()
                  -
                  Gibt die selektierte KnotenobjektListe (als Array) zurueck.
                  -
                  -
                  Returns:
                  -
                  Object[]
                  -
                  -
                • -
                - - - -
                  -
                • -

                  getSelectedKante

                  -
                  public graph.Kante getSelectedKante()
                  -
                  Gibt das selektierte Kantenobjekt zurueck.
                  -
                  -
                  Returns:
                  -
                  Object
                  -
                  -
                • -
                - - - -
                  -
                • -

                  toString

                  -
                  public java.lang.String toString()
                  -
                  Ueberschreibt die Methode toString. Eine String-Repraesentation des GraphPlotters wird ausgegeben.
                  -
                  -
                  Overrides:
                  -
                  toString in class javafx.scene.Node
                  -
                  Returns:
                  -
                  String Die String-Repraesentation des GraphPlotters
                  -
                  -
                • -
                - - - -
                  -
                • -

                  ausgabe

                  -
                  public void ausgabe()
                  -
                  Gibt die String-Repraesentation des GraphPlotters auf der Konsole aus.
                  -
                • -
                -
              • -
              -
              -
            • -
            -
            -
            -
            - - - + + + + + +GraphPlotter + + + + + + + + + +
            +
            +
            Package graph
            +

            Class GraphPlotter

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • javafx.scene.Node
              • +
              • +
                  +
                • javafx.scene.Parent
                • +
                • +
                    +
                  • javafx.scene.layout.Region
                  • +
                  • +
                      +
                    • javafx.scene.control.Control
                    • +
                    • +
                        +
                      • javafx.scene.control.ScrollPane
                      • +
                      • +
                          +
                        • imp.PictureViewer
                        • +
                        • +
                            +
                          • graph.GraphPlotter
                          • +
                          +
                        • +
                        +
                      • +
                      +
                    • +
                    +
                  • +
                  +
                • +
                +
              • +
              +
            • +
            +
            +
              +
            • +
              +
              All Implemented Interfaces:
              +
              javafx.css.Styleable, javafx.event.EventTarget, javafx.scene.control.Skinnable
              +
              +
              +
              public class GraphPlotter
              +extends imp.PictureViewer
              +
              Der GraphPlotter ist das Herzstueck der Visualisierung und dient als Schnittstelle zur GUI.
              +
              +
              Version:
              +
              09.12.2020 (v6.7)
              +
              Author:
              +
              Thomas Schaller
              +
              +
            • +
            +
            +
            +
              +
            • + +
              +
                +
              • + + +

                Nested Class Summary

                +
                  +
                • + + +

                  Nested classes/interfaces inherited from class javafx.scene.control.ScrollPane

                  +javafx.scene.control.ScrollPane.ScrollBarPolicy
                • +
                +
              • +
              +
              + +
              +
                +
              • + + +

                Field Summary

                +
                  +
                • + + +

                  Fields inherited from class imp.PictureViewer

                  +FIT, NORMAL
                • +
                +
                  +
                • + + +

                  Fields inherited from class javafx.scene.layout.Region

                  +USE_COMPUTED_SIZE, USE_PREF_SIZE
                • +
                +
                  +
                • + + +

                  Fields inherited from class javafx.scene.Node

                  +BASELINE_OFFSET_SAME_AS_HEIGHT
                • +
                +
              • +
              +
              + +
              +
                +
              • + + +

                Constructor Summary

                + + + + + + + + + + +
                Constructors 
                ConstructorDescription
                GraphPlotter() +
                Der Konstruktor legt sowohl Einstellungen des mxGraphen (Drag&Drop, Editable, ...) als auch des Graphen (gewichtet, gerichtet, ...) fest.
                +
                +
              • +
              +
              + +
              +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                All Methods Instance Methods Concrete Methods 
                Modifier and TypeMethodDescription
                voidausgabe() +
                Gibt die String-Repraesentation des GraphPlotters auf der Konsole aus.
                +
                graph.GraphgetGraph() +
                Gibt den Graphen zurueck.
                +
                graph.GraphOptionsgetGraphOptions() 
                graph.GraphElementgetRestrictTo() 
                graph.KantegetSelectedKante() +
                Gibt das selektierte Kantenobjekt zurueck.
                +
                graph.KnotengetSelectedKnoten() +
                Gibt das selektierte Knotenobjekt zurueck.
                +
                java.util.List<graph.Knoten>getSelectedKnotenListe() +
                Gibt die selektierte KnotenobjektListe (als Array) zurueck.
                +
                voidmouseClicked​(javafx.scene.input.MouseEvent mouseEvent) 
                voidmouseDown​(javafx.scene.input.MouseEvent mouseEvent) 
                voidmouseDragged​(javafx.scene.input.MouseEvent mouseEvent) 
                voidmouseUp​(javafx.scene.input.MouseEvent mouseEvent) 
                voidsetEditable() 
                voidsetGraph​(graph.Graph graph, + graph.GraphOptions options) 
                voidsetRestrictTo​(graph.GraphElement k) 
                java.lang.StringtoString() +
                Ueberschreibt die Methode toString.
                +
                voidupdateImage() 
                +
                  +
                • + + +

                  Methods inherited from class imp.PictureViewer

                  +back, getImage, pushImage, repaint, setImage, setZoom
                • +
                +
                  +
                • + + +

                  Methods inherited from class javafx.scene.control.ScrollPane

                  +contentProperty, createDefaultSkin, fitToHeightProperty, fitToWidthProperty, getClassCssMetaData, getContent, getControlCssMetaData, getHbarPolicy, getHmax, getHmin, getHvalue, getInitialFocusTraversable, getMinViewportHeight, getMinViewportWidth, getPrefViewportHeight, getPrefViewportWidth, getVbarPolicy, getViewportBounds, getVmax, getVmin, getVvalue, hbarPolicyProperty, hmaxProperty, hminProperty, hvalueProperty, isFitToHeight, isFitToWidth, isPannable, minViewportHeightProperty, minViewportWidthProperty, pannableProperty, prefViewportHeightProperty, prefViewportWidthProperty, queryAccessibleAttribute, setContent, setFitToHeight, setFitToWidth, setHbarPolicy, setHmax, setHmin, setHvalue, setMinViewportHeight, setMinViewportWidth, setPannable, setPrefViewportHeight, setPrefViewportWidth, setVbarPolicy, setViewportBounds, setVmax, setVmin, setVvalue, vbarPolicyProperty, viewportBoundsProperty, vmaxProperty, vminProperty, vvalueProperty
                • +
                +
                  +
                • + + +

                  Methods inherited from class javafx.scene.control.Control

                  +computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, executeAccessibleAction, getBaselineOffset, getContextMenu, getCssMetaData, getSkin, getTooltip, isResizable, layoutChildren, setContextMenu, setSkin, setTooltip, skinProperty, tooltipProperty
                • +
                +
                  +
                • + + +

                  Methods inherited from class javafx.scene.layout.Region

                  +backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPositionX, snapPositionY, snapSizeX, snapSizeY, snapSpaceX, snapSpaceY, snapToPixelProperty, widthProperty
                • +
                +
                  +
                • + + +

                  Methods inherited from class javafx.scene.Parent

                  +getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBounds
                • +
                +
                  +
                • + + +

                  Methods inherited from class javafx.scene.Node

                  +accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty
                • +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
                • +
                +
                  +
                • + + +

                  Methods inherited from interface javafx.css.Styleable

                  +getStyleableNode
                • +
                +
              • +
              +
              +
            • +
            +
            +
            +
              +
            • + +
              +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  GraphPlotter

                  +
                  public GraphPlotter()
                  +
                  Der Konstruktor legt sowohl Einstellungen des mxGraphen (Drag&Drop, Editable, ...) als auch des Graphen (gewichtet, gerichtet, ...) fest.
                  +
                  +
                  Parameters:
                  +
                  boolean - isDirected Gibt an, ob der Graph gerichtet oder ungerichtet ist
                  +
                  boolean - isWeighted Gibt an, ob der Graph gewichtet oder ungewichtet ist
                  +
                  String - hintergrundBild Gibt den Namen eines Hintergrundbildes an
                  +
                  +
                • +
                +
              • +
              +
              + +
              +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  setEditable

                  +
                  public void setEditable()
                  +
                • +
                + + + +
                  +
                • +

                  setGraph

                  +
                  public void setGraph​(graph.Graph graph,
                  +                     graph.GraphOptions options)
                  +
                • +
                + + + +
                  +
                • +

                  setRestrictTo

                  +
                  public void setRestrictTo​(graph.GraphElement k)
                  +
                • +
                + + + +
                  +
                • +

                  getRestrictTo

                  +
                  public graph.GraphElement getRestrictTo()
                  +
                • +
                + + + +
                  +
                • +

                  mouseClicked

                  +
                  public void mouseClicked​(javafx.scene.input.MouseEvent mouseEvent)
                  +
                • +
                + + + +
                  +
                • +

                  mouseDown

                  +
                  public void mouseDown​(javafx.scene.input.MouseEvent mouseEvent)
                  +
                • +
                + + + +
                  +
                • +

                  mouseDragged

                  +
                  public void mouseDragged​(javafx.scene.input.MouseEvent mouseEvent)
                  +
                • +
                + + + +
                  +
                • +

                  mouseUp

                  +
                  public void mouseUp​(javafx.scene.input.MouseEvent mouseEvent)
                  +
                • +
                + + + +
                  +
                • +

                  updateImage

                  +
                  public void updateImage()
                  +
                • +
                + + + +
                  +
                • +

                  getGraphOptions

                  +
                  public graph.GraphOptions getGraphOptions()
                  +
                • +
                + + + +
                  +
                • +

                  getGraph

                  +
                  public graph.Graph getGraph()
                  +
                  Gibt den Graphen zurueck.
                  +
                  +
                  Returns:
                  +
                  Graph
                  +
                  +
                • +
                + + + +
                  +
                • +

                  getSelectedKnoten

                  +
                  public graph.Knoten getSelectedKnoten()
                  +
                  Gibt das selektierte Knotenobjekt zurueck.
                  +
                  +
                  Returns:
                  +
                  Object
                  +
                  +
                • +
                + + + +
                  +
                • +

                  getSelectedKnotenListe

                  +
                  public java.util.List<graph.Knoten> getSelectedKnotenListe()
                  +
                  Gibt die selektierte KnotenobjektListe (als Array) zurueck.
                  +
                  +
                  Returns:
                  +
                  Object[]
                  +
                  +
                • +
                + + + +
                  +
                • +

                  getSelectedKante

                  +
                  public graph.Kante getSelectedKante()
                  +
                  Gibt das selektierte Kantenobjekt zurueck.
                  +
                  +
                  Returns:
                  +
                  Object
                  +
                  +
                • +
                + + + +
                  +
                • +

                  toString

                  +
                  public java.lang.String toString()
                  +
                  Ueberschreibt die Methode toString. Eine String-Repraesentation des GraphPlotters wird ausgegeben.
                  +
                  +
                  Overrides:
                  +
                  toString in class javafx.scene.Node
                  +
                  Returns:
                  +
                  String Die String-Repraesentation des GraphPlotters
                  +
                  +
                • +
                + + + +
                  +
                • +

                  ausgabe

                  +
                  public void ausgabe()
                  +
                  Gibt die String-Repraesentation des GraphPlotters auf der Konsole aus.
                  +
                • +
                +
              • +
              +
              +
            • +
            +
            +
            +
            + + + diff --git a/doc/graph/Hilfe.html b/doc/graph/Hilfe.html index b74fec9..4d9e77b 100644 --- a/doc/graph/Hilfe.html +++ b/doc/graph/Hilfe.html @@ -1,321 +1,321 @@ - - - - - -Hilfe (1_graphentester) - - - - - - - - - - - - - - - -
            - -
            - -
            -
            -
            Package graph
            -

            Interface Hilfe

            -
            -
            -
            -
              -
            • -
              -
              All Known Implementing Classes:
              -
              Hilfefenster
              -
              -
              -
              public interface Hilfe
              -
            • -
            -
            -
            - -
            -
            -
              -
            • - -
              -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  loescheAlles

                  -
                  void loescheAlles()
                  -
                • -
                - - - -
                  -
                • -

                  append

                  -
                  void append​(String text)
                  -
                • -
                - - - -
                  -
                • -

                  indentMore

                  -
                  void indentMore()
                  -
                • -
                - - - -
                  -
                • -

                  indentLess

                  -
                  void indentLess()
                  -
                • -
                - - - -
                  -
                • -

                  setGraphPlotter

                  -
                  void setGraphPlotter​(GraphPlotter gp)
                  -
                • -
                - - - -
                  -
                • -

                  setReviewAllowed

                  -
                  void setReviewAllowed​(boolean a)
                  -
                • -
                -
              • -
              -
              -
            • -
            -
            -
            -
            - -
            - -
            - - + + + + + +Hilfe (1_graphentester) + + + + + + + + + + + + + + + +
            + +
            + +
            +
            +
            Package graph
            +

            Interface Hilfe

            +
            +
            +
            +
              +
            • +
              +
              All Known Implementing Classes:
              +
              Hilfefenster
              +
              +
              +
              public interface Hilfe
              +
            • +
            +
            +
            + +
            +
            +
              +
            • + +
              +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  loescheAlles

                  +
                  void loescheAlles()
                  +
                • +
                + + + +
                  +
                • +

                  append

                  +
                  void append​(String text)
                  +
                • +
                + + + +
                  +
                • +

                  indentMore

                  +
                  void indentMore()
                  +
                • +
                + + + +
                  +
                • +

                  indentLess

                  +
                  void indentLess()
                  +
                • +
                + + + +
                  +
                • +

                  setGraphPlotter

                  +
                  void setGraphPlotter​(GraphPlotter gp)
                  +
                • +
                + + + +
                  +
                • +

                  setReviewAllowed

                  +
                  void setReviewAllowed​(boolean a)
                  +
                • +
                +
              • +
              +
              +
            • +
            +
            +
            +
            + +
            + +
            + + diff --git a/doc/graph/Kante.html b/doc/graph/Kante.html index 5d010ea..dcfe254 100644 --- a/doc/graph/Kante.html +++ b/doc/graph/Kante.html @@ -1,735 +1,446 @@ - - -Kante (1_graphentester) + +Kante + - + + + - - - - - - - - - - -
            - -
            - +
            +
            +
            -
            Package graph
            -

            Class Kante

            +
            Package graph
            +

            Class Kante

            -
            - -
            -
              -
            • -
              +
              java.lang.Object +
              graph.GraphElement +
              graph.Kante
              +
              +
              +
              +
              All Implemented Interfaces:
              -
              Comparable<GraphElement>
              +
              Comparable<graph.GraphElement>

              -
              public class Kante
              -extends GraphElement
              +
              public class Kante +extends graph.GraphElement
              Die Klasse Kante beschreibt die Datenstruktur einer Kante, bestehend aus Startknoten, Gewicht und Zielknoten. Da Kanten innerhalb von Adjazenzlisten und -Matrizen repraesentiert werden, ist diese Klasse eigentlich unnoetig! Sie wurde zum Zweck der Vereinfachung - sozusagen als Zwischenspeicher von Kanten - eingefuehrt. Auch soll sie das Kantengewicht verwalten und Aufschluss darueber geben, ob sie gefaerbt/geloescht ist oder nicht.
              -
              -
              Version:
              -
              22.07.2020 (v6.4)
              -
              Author:
              +
              +
              Version:
              +
              28.02.2023 (v7.0) + v7.0: Die Kanteninformationen werden in einer Hashmap gespeichert. Daher können beliebige weitere Informationen abgelegt werden.
              +
              Author:
              Dirk Zechnall, Thomas Schaller
              +
              +
              +
                + +
              • +
                +

                Field Summary

                +
                +

                Fields inherited from class graph.GraphElement

                +daten, g, sortierKriterium, typen
                +
              • -
              -
            -
            -
              -
            • -
              -
                -
              • - - -

                Constructor Summary

                - - - - - - - - - - -
                Constructors 
                ConstructorDescription
                Kante​(Knoten neuerStart, - Knoten neuerZiel, - double neuesGewicht) +
              • +
                +

                Constructor Summary

                +
                Constructors
                +
                +
                Constructor
                +
                Description
                +
                Kante(graph.Knoten neuerStart, + graph.Knoten neuerZiel, + double neuesGewicht)
                +
                Der Konstruktor erstellt eine neue Kante mit Start- und Zielknoten und Kantengewicht.
                -
              • -
              • -
              -
              - -
              -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                All Methods Instance Methods Concrete Methods 
                Modifier and TypeMethodDescription
                intcompareTo​(GraphElement e) -
                Vergleicht die Kante mit einer anderen Kante bezüglich ihres Gewichts
                -
                KnotengetAnderesEnde​(Knoten k) -
                Gibt Knoten am anderen Ende der Kante zurueck
                -
                intgetFarbe() -
                Gibt zurueck, in welcher Farbe die Kante gezeichnet werden soll.
                -
                doublegetGewicht() -
                Gibt das Gewicht der Kante zurueck
                -
                KnotengetStart() -
                Gibt den Startknoten der Kante zurueck
                -
                StringgetStatus() -
                Liefert den Status einer Kante als String.
                -
                KnotengetZiel() -
                Gibt den Zielknoten der Kante zurueck
                -
                protected voidinit() -
                Die Methode init initialisiert die Kantenfaerbung (auf unmarkiert)
                -
                booleanisGeloescht() -
                Gibt den gelöscht-Wert der Kante zurueck
                -
                booleanisMarkiert() -
                Gibt zurück, ob die Kanten markiert ist
                -
                voidsetFarbe​(int farbe) -
                Setzt die Farbe auf einen bestimmten Farbindex
                -
                voidsetGeloescht​(boolean wert) -
                Setzt das gelöscht-Attribut der Kante
                -
                voidsetGewicht​(double neuesGewicht) -
                Setzt das Gewicht der Kante
                -
                voidsetMarkiert​(boolean wert) -
                Setzt das markiert-Attribut der Kante
                -
                voidsetStandardFarbe() -
                Setzt die Farbe auf die Standardfarbgebung zurück
                -
                voidsetStart​(Knoten neuerSatrtKnoten) -
                Setzt den Startknoten der Kante
                -
                voidsetStatus​(String status) -
                Setzt den Status einer Kante, der in einem String gespeichert ist.
                -
                voidsetZiel​(Knoten neuerZielKnoten) -
                Setzt den Zielknoten der Kante
                -
                StringtoString() -
                Die Methode ueberschreibt die Methode toString() und gibt die String-Raepraesentation einer Kante zurueck
                -
                - -
              • -
              -
              -
            • -
            -
            -
              -
            • +
            +
          +
        • + +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          +
          graph.Knoten
          +
          getAnderesEnde(graph.Knoten k)
          +
          +
          Gibt Knoten am anderen Ende der Kante zurueck
          +
          +
          int
          + +
          +
          Gibt zurueck, in welcher Farbe die Kante gezeichnet werden soll.
          +
          +
          double
          + +
          +
          Gibt das Gewicht der Kante zurueck
          +
          + + +
          +
          Liefert einen kurzen Text, der den Wert des Knotens angibt und innerhalb der Kreises + des Knotens angezeigt werden kann.
          +
          + + +
          +
          Liefert eine ausführliche Beschreibung der Werte des Knoten.
          +
          +
          graph.Knoten
          + +
          +
          Gibt den Startknoten der Kante zurueck
          +
          +
          graph.Knoten
          + +
          +
          Gibt den Zielknoten der Kante zurueck
          +
          +
          protected void
          + +
          +
          Die Methode init initialisiert die Kantenfaerbung (auf unmarkiert)
          +
          +
          boolean
          + +
          +
          Gibt den gelöscht-Wert der Kante zurueck
          +
          +
          boolean
          + +
          +
          Gibt zurück, ob die Kanten markiert ist
          +
          +
          void
          +
          setFarbe(int farbe)
          +
          +
          Setzt die Farbe auf einen bestimmten Farbindex
          +
          +
          void
          +
          setGeloescht(boolean wert)
          +
          +
          Setzt das gelöscht-Attribut der Kante
          +
          +
          void
          +
          setGewicht(double neuesGewicht)
          +
          +
          Setzt das Gewicht der Kante
          +
          +
          void
          +
          setMarkiert(boolean wert)
          +
          +
          Setzt das markiert-Attribut der Kante
          +
          +
          void
          + +
          +
          Setzt die Farbe auf die Standardfarbgebung zurück
          +
          +
          void
          +
          setStart(graph.Knoten neuerStartKnoten)
          +
          +
          Setzt den Startknoten der Kante
          +
          +
          void
          +
          setZiel(graph.Knoten neuerZielKnoten)
          +
          +
          Setzt den Zielknoten der Kante
          +
          + + +
          +
          Die Methode ueberschreibt die Methode toString() und gibt die String-Raepraesentation einer Kante zurueck
          +
          +
          +
          +
          +
          +

          Methods inherited from class graph.GraphElement

          +compareTo, getBoolean, getDouble, getInt, getStatus, getString, set, set, set, set, setGraph, setSortierkriterium, setStatus
          +
          +

          Methods inherited from class java.lang.Object

          +clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
          +
          +
        • +
        + +
        +
          -
          -
            -
          • - - -

            Constructor Detail

            - - - -
              -
            • -

              Kante

              -
              public Kante​(Knoten neuerStart,
              -             Knoten neuerZiel,
              -             double neuesGewicht)
              +
            • +
              +

              Constructor Details

              +
                +
              • +
                +

                Kante

                +
                public Kante(graph.Knoten neuerStart, + graph.Knoten neuerZiel, + double neuesGewicht)
                Der Konstruktor erstellt eine neue Kante mit Start- und Zielknoten und Kantengewicht. Die Kante ist zu Beginn ungefaerbt.
                -
                -
                Parameters:
                +
                +
                Parameters:
                neuerStart - Der neue Startknoten
                neuerZiel - Der neue Zielknoten
                neuesGewicht - Das neue Kantengewicht
                -
              • -
              +
          + -
          -
            -
          • - - -

            Method Detail

            - - - -
              -
            • -

              init

              -
              protected void init()
              +
            • +
              +

              Method Details

              +
                +
              • +
                +

                init

                +
                protected void init()
                Die Methode init initialisiert die Kantenfaerbung (auf unmarkiert)
                +
              • -
              - - - -
                -
              • -

                setStatus

                -
                public void setStatus​(String status)
                -
                Setzt den Status einer Kante, der in einem String gespeichert ist. - Form: markiert,geloescht,farbe - Dabei sind markiert und geloescht boolsche Werte (0 = false, 1 = true) und - die farbe eine Zahl
                -
                -
                Specified by:
                -
                setStatus in class GraphElement
                -
                Parameters:
                -
                status - Statusstring
                +
              • +
                +

                getKurztext

                +
                public List<String> getKurztext(String[] namen)
                +
                Liefert einen kurzen Text, der den Wert des Knotens angibt und innerhalb der Kreises + des Knotens angezeigt werden kann.
                +
                +
                Specified by:
                +
                getKurztext in class graph.GraphElement
                +
                Parameters:
                +
                namen - Namen der Werte, die im Kurztext angezeigt werden sollen.
                +
                Returns:
                +
                Array von Anzeigezeilen (dürfen max. 2 sein)
                +
              • -
              - - - -
                -
              • -

                getStatus

                -
                public String getStatus()
                -
                Liefert den Status einer Kante als String. - Form: markiert,geloescht,farbe - Dabei sind markiert und geloescht boolsche Werte (0 = false, 1 = true) und - die farbe eine Zahl
                -
                -
                Specified by:
                -
                getStatus in class GraphElement
                -
                Returns:
                -
                Statusstring
                +
              • +
                +

                getLangtext

                +
                public List<String> getLangtext(String[] namen)
                +
                Liefert eine ausführliche Beschreibung der Werte des Knoten. Wird in dem Tooltext Fenster + angezeigt, wenn man mit der Maus über den Knoten geht.
                +
                +
                Specified by:
                +
                getLangtext in class graph.GraphElement
                +
                Parameters:
                +
                namen - Namen der Werte, die im Tooltip angezeigt werden sollen.
                +
                Returns:
                +
                Array von Anzeigezeilen
                +
              • -
              - - - -
                -
              • -

                setGewicht

                -
                public void setGewicht​(double neuesGewicht)
                +
              • +
                +

                setGewicht

                +
                public void setGewicht(double neuesGewicht)
                Setzt das Gewicht der Kante
                -
                -
                Parameters:
                +
                +
                Parameters:
                neuesGewicht - Das neu zu setzende Gewicht
                +
              • -
              - - - -
                -
              • -

                getGewicht

                -
                public double getGewicht()
                +
              • +
                +

                getGewicht

                +
                public double getGewicht()
                Gibt das Gewicht der Kante zurueck
                -
                -
                Returns:
                +
                +
                Returns:
                Gewicht der Kante
                +
              • -
              - - - -
                -
              • -

                setStart

                -
                public void setStart​(Knoten neuerSatrtKnoten)
                +
              • +
                +

                setStart

                +
                public void setStart(graph.Knoten neuerStartKnoten)
                Setzt den Startknoten der Kante
                -
                -
                Parameters:
                +
                +
                Parameters:
                neuerSatrtKnoten - Der neu zu setzende Startknoten
                +
              • -
              - - - -
                -
              • -

                getStart

                -
                public Knoten getStart()
                +
              • +
                +

                getStart

                +
                public graph.Knoten getStart()
                Gibt den Startknoten der Kante zurueck
                -
                -
                Returns:
                +
                +
                Returns:
                Startknoten
                +
              • -
              - - - -
                -
              • -

                setZiel

                -
                public void setZiel​(Knoten neuerZielKnoten)
                +
              • +
                +

                setZiel

                +
                public void setZiel(graph.Knoten neuerZielKnoten)
                Setzt den Zielknoten der Kante
                -
                -
                Parameters:
                +
                +
                Parameters:
                neuerZielKnoten - Der neu zu setzende Zielknoten
                +
              • -
              - - - -
                -
              • -

                getZiel

                -
                public Knoten getZiel()
                +
              • +
                +

                getZiel

                +
                public graph.Knoten getZiel()
                Gibt den Zielknoten der Kante zurueck
                -
                -
                Returns:
                +
                +
                Returns:
                Zielknoten
                +
              • -
              - - - -
                -
              • -

                getAnderesEnde

                -
                public Knoten getAnderesEnde​(Knoten k)
                +
              • +
                +

                getAnderesEnde

                +
                public graph.Knoten getAnderesEnde(graph.Knoten k)
                Gibt Knoten am anderen Ende der Kante zurueck
                -
                -
                Parameters:
                +
                +
                Parameters:
                k - Knoten am ersten Ende der Kante
                -
                Returns:
                +
                Returns:
                Knoten am anderen Ende
                +
              • -
              - - - -
                -
              • -

                setMarkiert

                -
                public void setMarkiert​(boolean wert)
                +
              • +
                +

                setMarkiert

                +
                public void setMarkiert(boolean wert)
                Setzt das markiert-Attribut der Kante
                -
                -
                Parameters:
                +
                +
                Parameters:
                wert - Der neu zu setzende markiert-Wert
                +
              • -
              - - - -
                -
              • -

                isMarkiert

                -
                public boolean isMarkiert()
                +
              • +
                +

                isMarkiert

                +
                public boolean isMarkiert()
                Gibt zurück, ob die Kanten markiert ist
                -
                -
                Returns:
                +
                +
                Returns:
                markiert?
                +
              • -
              - - - -
                -
              • -

                setGeloescht

                -
                public void setGeloescht​(boolean wert)
                +
              • +
                +

                setGeloescht

                +
                public void setGeloescht(boolean wert)
                Setzt das gelöscht-Attribut der Kante
                -
                -
                Parameters:
                +
                +
                Parameters:
                wert - Der neu zu setzende gelöscht-Wert
                +
              • -
              - - - -
                -
              • -

                isGeloescht

                -
                public boolean isGeloescht()
                +
              • +
                +

                isGeloescht

                +
                public boolean isGeloescht()
                Gibt den gelöscht-Wert der Kante zurueck
                -
                -
                Returns:
                +
                +
                Returns:
                gelöscht?
                +
              • -
              - - - -
                -
              • -

                getFarbe

                -
                public int getFarbe()
                +
              • +
                +

                getFarbe

                +
                public int getFarbe()
                Gibt zurueck, in welcher Farbe die Kante gezeichnet werden soll. Ist die Farbe nicht gesetzt, dann wird eine unmarkierte Kante in Farbe 1 und eine markierte in Farbe 2 gezeichnet.
                -
                -
                Returns:
                +
                +
                Returns:
                Nummer der Farbe
                +
              • -
              - - - -
                -
              • -

                setFarbe

                -
                public void setFarbe​(int farbe)
                +
              • +
                +

                setFarbe

                +
                public void setFarbe(int farbe)
                Setzt die Farbe auf einen bestimmten Farbindex
                -
                -
                Parameters:
                +
                +
                Parameters:
                farbe - Index der Farbe (0-19)
                +
              • -
              - - - -
                -
              • -

                setStandardFarbe

                -
                public void setStandardFarbe()
                +
              • +
                +

                setStandardFarbe

                +
                public void setStandardFarbe()
                Setzt die Farbe auf die Standardfarbgebung zurück
                +
              • -
              - - - -
                -
              • -

                compareTo

                -
                public int compareTo​(GraphElement e)
                -
                Vergleicht die Kante mit einer anderen Kante bezüglich ihres Gewichts
                -
                -
                Specified by:
                -
                compareTo in interface Comparable<GraphElement>
                -
                Specified by:
                -
                compareTo in class GraphElement
                -
                Parameters:
                -
                e - andere Kante
                -
                Returns:
                -
                kleiner 0 die andere Kante hat ein größeres Gewicht, größer 0 die andere Kante hat ein kleineres Gewicht, gleich 0 beides sind gleich
                -
                -
              • -
              - - - -
                -
              • -

                toString

                -
                public String toString()
                +
              • +
                +

                toString

                +
                public String toString()
                Die Methode ueberschreibt die Methode toString() und gibt die String-Raepraesentation einer Kante zurueck
                -
                -
                Overrides:
                -
                toString in class Object
                -
                Returns:
                +
                +
                Overrides:
                +
                toString in class Object
                +
                Returns:
                String-Raepraesentation der Kante
                -
              • -
              +
        -
    - -
    + -
    - -
    diff --git a/doc/graph/Knoten.html b/doc/graph/Knoten.html index 1aba571..23f0850 100644 --- a/doc/graph/Knoten.html +++ b/doc/graph/Knoten.html @@ -1,830 +1,830 @@ - - - - - -Knoten (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    - -
    -
    -
    Package graph
    -

    Class Knoten

    -
    -
    - -
    -
      -
    • -
      -
      All Implemented Interfaces:
      -
      Comparable<GraphElement>
      -
      -
      -
      public class Knoten
      -extends GraphElement
      -
      Diese Klasse Knoten definiert einen Knoten. - Knoten haben eine Position, eine Farbe und einen Wert für sonstige Codierungszwecke und sind markiert und/oder besucht. - Im Infotext kann eine zusätzliche Information für die Anzeige gespeichert werden.
      -
      -
      Version:
      -
      22.07.2020 (v6.4)
      -
      Author:
      -
      Dirk Zechnall, Thomas Schaller
      -
      -
    • -
    -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Constructor Summary

        - - - - - - - - - - - - - - -
        Constructors 
        ConstructorDescription
        Knoten​(int x, - int y) -
        Der Konstruktor erstellt einen neuen Knoten mit einem neuen Namen
        -
        Knoten​(int x, - int y, - double neuerWert) -
        Der Konstruktor erstellt einen neuen Knoten mit einem Startwert
        -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        intcompareTo​(GraphElement e) -
        Vergleicht den Knoten mit einem anderen Knoten bezüglich seines Werts
        -
        doublegetDoubleWert() -
        Gibt den Wert vom Knoten als Double-Wert zurueck
        -
        intgetFarbe() -
        Gibt den Index der Farbe des Knoten zurück.
        -
        StringgetInfotext() -
        Liefert den Infotext des Knotens
        -
        intgetIntWert() -
        Gibt den Wert vom Knoten als Integer-Wert zurueck
        -
        StringgetStatus() -
        Liefert den Status eines Knotens als Status-String - Format: wert,markiert,besucht,farbe - wobei wert eine double-Zahl, mariert und besucht ein boolean-Wert (0=false, 1 = true) und - farbe eine zahl ist.
        -
        intgetX() -
        Liefert die x-Position des Knotens
        -
        intgetY() -
        Liefert die y-Position des Knotens
        -
        protected voidinit() -
        Die Methode init initialisiert den Zustand eines Knotens
        -
        booleanisBesucht() -
        Gibt den Besuchtwert vom Knoten zurueck
        -
        booleanisFarbeAutomatisch() -
        Gibt zurück, ob die Knotenfarbe automatisch aus den Attributen ermittelt wird.
        -
        booleanisMarkiert() -
        Gibt den Markiertwert vom Knoten zurueck
        -
        voidsetBesucht​(boolean markiert) -
        Setzt das Besuchtattribut vom Knoten
        -
        voidsetFarbe​(int farbe) -
        Setzt den Index der Farbe des Knoten.
        -
        voidsetFarbeAutomatisch​(boolean auto) -
        Legt fest, ob die Knotenfarbe automatisch aus den Attributen ermittelt wird.
        -
        voidsetInfotext​(String infotext) -
        Setzt den Infotext für einen Knoten
        -
        voidsetMarkiert​(boolean markiert) -
        Setzt das Markiertattribut vom Knoten
        -
        voidsetStatus​(String status) -
        Setzt den Status eines Knotens aus einem Status-String - Format: wert,markiert,besucht,farbe - wobei wert eine double-Zahl, mariert und besucht ein boolean-Wert (0=false, 1 = true) und - farbe eine zahl ist.
        -
        voidsetWert​(double neuerWert) -
        Setzt den Wert beim Knoten
        -
        voidsetX​(int x) -
        Setzt die x-Position des Knotens
        -
        voidsetY​(int y) -
        Setzt die y-Position des Knotens
        -
        StringtoString() -
        Die Methode ueberschreibt die Methode toString() und gibt die String-Raepraesentation eines Knotens zurueck
        -
        - -
      • -
      -
      -
    • -
    -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          Knoten

          -
          public Knoten​(int x,
          -              int y)
          -
          Der Konstruktor erstellt einen neuen Knoten mit einem neuen Namen
          -
          -
          Parameters:
          -
          x - x-Position des Knotens
          -
          y - y-Position des Knotens
          -
          -
        • -
        - - - -
          -
        • -

          Knoten

          -
          public Knoten​(int x,
          -              int y,
          -              double neuerWert)
          -
          Der Konstruktor erstellt einen neuen Knoten mit einem Startwert
          -
          -
          Parameters:
          -
          x - x-Position des Knotens
          -
          y - y-Position des Knotens
          -
          neuerWert - Der neue Wert des Knotens
          -
          -
        • -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          setStatus

          -
          public void setStatus​(String status)
          -
          Setzt den Status eines Knotens aus einem Status-String - Format: wert,markiert,besucht,farbe - wobei wert eine double-Zahl, mariert und besucht ein boolean-Wert (0=false, 1 = true) und - farbe eine zahl ist.
          -
          -
          Specified by:
          -
          setStatus in class GraphElement
          -
          Parameters:
          -
          status - Der Statusstring
          -
          -
        • -
        - - - -
          -
        • -

          getStatus

          -
          public String getStatus()
          -
          Liefert den Status eines Knotens als Status-String - Format: wert,markiert,besucht,farbe - wobei wert eine double-Zahl, mariert und besucht ein boolean-Wert (0=false, 1 = true) und - farbe eine zahl ist.
          -
          -
          Specified by:
          -
          getStatus in class GraphElement
          -
          Returns:
          -
          Der Statusstring
          -
          -
        • -
        - - - -
          -
        • -

          init

          -
          protected void init()
          -
          Die Methode init initialisiert den Zustand eines Knotens
          -
        • -
        - - - -
          -
        • -

          setInfotext

          -
          public void setInfotext​(String infotext)
          -
          Setzt den Infotext für einen Knoten
          -
          -
          Parameters:
          -
          infotext - Der neue Text
          -
          -
        • -
        - - - -
          -
        • -

          getInfotext

          -
          public String getInfotext()
          -
          Liefert den Infotext des Knotens
          -
          -
          Returns:
          -
          Der Infotext
          -
          -
        • -
        - - - -
          -
        • -

          setWert

          -
          public void setWert​(double neuerWert)
          -
          Setzt den Wert beim Knoten
          -
          -
          Parameters:
          -
          neuerWert - Der neu zu setzende Wert
          -
          -
        • -
        - - - -
          -
        • -

          getIntWert

          -
          public int getIntWert()
          -
          Gibt den Wert vom Knoten als Integer-Wert zurueck
          -
          -
          Returns:
          -
          Wert des Knotens
          -
          -
        • -
        - - - -
          -
        • -

          getDoubleWert

          -
          public double getDoubleWert()
          -
          Gibt den Wert vom Knoten als Double-Wert zurueck
          -
          -
          Returns:
          -
          Wert des Knotens
          -
          -
        • -
        - - - -
          -
        • -

          setMarkiert

          -
          public void setMarkiert​(boolean markiert)
          -
          Setzt das Markiertattribut vom Knoten
          -
          -
          Parameters:
          -
          markiert - Der neu zu setzende Markiertwert
          -
          -
        • -
        - - - -
          -
        • -

          isMarkiert

          -
          public boolean isMarkiert()
          -
          Gibt den Markiertwert vom Knoten zurueck
          -
          -
          Returns:
          -
          markiert?
          -
          -
        • -
        - - - -
          -
        • -

          setBesucht

          -
          public void setBesucht​(boolean markiert)
          -
          Setzt das Besuchtattribut vom Knoten
          -
          -
          Parameters:
          -
          markiert - Der neu zu setzende Besuchtwert
          -
          -
        • -
        - - - -
          -
        • -

          isBesucht

          -
          public boolean isBesucht()
          -
          Gibt den Besuchtwert vom Knoten zurueck
          -
          -
          Returns:
          -
          besucht?
          -
          -
        • -
        - - - -
          -
        • -

          getFarbe

          -
          public int getFarbe()
          -
          Gibt den Index der Farbe des Knoten zurück. - Standardmäßig hängt die Farbe von den Attributen markiert und besucht ab. - Durch Setzen der Farbe kann die Farbe gezielt gesetzt werden.
          -
          -
          Returns:
          -
          Farbe des Knotens
          -
          -
        • -
        - - - -
          -
        • -

          setFarbe

          -
          public void setFarbe​(int farbe)
          -
          Setzt den Index der Farbe des Knoten. - Standardmäßig hängt die Farbe von den Attributen markiert, besucht und beendet ab. - Durch Setzen der Farbe kann die Farbe gezielt gesetzt werden.
          -
          -
          Parameters:
          -
          farbe - Index der Farbe (0-19)
          -
          -
        • -
        - - - -
          -
        • -

          isFarbeAutomatisch

          -
          public boolean isFarbeAutomatisch()
          -
          Gibt zurück, ob die Knotenfarbe automatisch aus den Attributen ermittelt wird.
          -
          -
          Returns:
          -
          true=Farbe wird automatisch bestimmt, false=Farbe wurde explizit gesetzt.
          -
          -
        • -
        - - - -
          -
        • -

          setFarbeAutomatisch

          -
          public void setFarbeAutomatisch​(boolean auto)
          -
          Legt fest, ob die Knotenfarbe automatisch aus den Attributen ermittelt wird.
          -
          -
          Parameters:
          -
          auto - true=Farbe wird automatisch bestimmt, - false=Farbe wird explizit gesetzt.
          -
          -
        • -
        - - - -
          -
        • -

          getX

          -
          public int getX()
          -
          Liefert die x-Position des Knotens
          -
          -
          Returns:
          -
          x-Postion
          -
          -
        • -
        - - - -
          -
        • -

          getY

          -
          public int getY()
          -
          Liefert die y-Position des Knotens
          -
          -
          Returns:
          -
          y-Postion
          -
          -
        • -
        - - - -
          -
        • -

          setX

          -
          public void setX​(int x)
          -
          Setzt die x-Position des Knotens
          -
          -
          Parameters:
          -
          x - x-Postion
          -
          -
        • -
        - - - -
          -
        • -

          setY

          -
          public void setY​(int y)
          -
          Setzt die y-Position des Knotens
          -
          -
          Parameters:
          -
          y - y-Postion
          -
          -
        • -
        - - - -
          -
        • -

          compareTo

          -
          public int compareTo​(GraphElement e)
          -
          Vergleicht den Knoten mit einem anderen Knoten bezüglich seines Werts
          -
          -
          Specified by:
          -
          compareTo in interface Comparable<GraphElement>
          -
          Specified by:
          -
          compareTo in class GraphElement
          -
          Parameters:
          -
          e - anderer Knoten
          -
          Returns:
          -
          kleiner 0 der andere Knoten hat einen größeren Wert, größer 0 der andere Knoten hat einen kleineren Wert, gleich 0 beide sind gleich
          -
          -
        • -
        - - - -
          -
        • -

          toString

          -
          public String toString()
          -
          Die Methode ueberschreibt die Methode toString() und gibt die String-Raepraesentation eines Knotens zurueck
          -
          -
          Overrides:
          -
          toString in class Object
          -
          Returns:
          -
          String-Raepraesentation des Knotens
          -
          -
        • -
        -
      • -
      -
      -
    • -
    -
    -
    -
    - -
    - -
    - - + + + + + +Knoten (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    + +
    +
    +
    Package graph
    +

    Class Knoten

    +
    +
    + +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      Comparable<GraphElement>
      +
      +
      +
      public class Knoten
      +extends GraphElement
      +
      Diese Klasse Knoten definiert einen Knoten. + Knoten haben eine Position, eine Farbe und einen Wert für sonstige Codierungszwecke und sind markiert und/oder besucht. + Im Infotext kann eine zusätzliche Information für die Anzeige gespeichert werden.
      +
      +
      Version:
      +
      22.07.2020 (v6.4)
      +
      Author:
      +
      Dirk Zechnall, Thomas Schaller
      +
      +
    • +
    +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Constructor Summary

        + + + + + + + + + + + + + + +
        Constructors 
        ConstructorDescription
        Knoten​(int x, + int y) +
        Der Konstruktor erstellt einen neuen Knoten mit einem neuen Namen
        +
        Knoten​(int x, + int y, + double neuerWert) +
        Der Konstruktor erstellt einen neuen Knoten mit einem Startwert
        +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        intcompareTo​(GraphElement e) +
        Vergleicht den Knoten mit einem anderen Knoten bezüglich seines Werts
        +
        doublegetDoubleWert() +
        Gibt den Wert vom Knoten als Double-Wert zurueck
        +
        intgetFarbe() +
        Gibt den Index der Farbe des Knoten zurück.
        +
        StringgetInfotext() +
        Liefert den Infotext des Knotens
        +
        intgetIntWert() +
        Gibt den Wert vom Knoten als Integer-Wert zurueck
        +
        StringgetStatus() +
        Liefert den Status eines Knotens als Status-String + Format: wert,markiert,besucht,farbe + wobei wert eine double-Zahl, mariert und besucht ein boolean-Wert (0=false, 1 = true) und + farbe eine zahl ist.
        +
        intgetX() +
        Liefert die x-Position des Knotens
        +
        intgetY() +
        Liefert die y-Position des Knotens
        +
        protected voidinit() +
        Die Methode init initialisiert den Zustand eines Knotens
        +
        booleanisBesucht() +
        Gibt den Besuchtwert vom Knoten zurueck
        +
        booleanisFarbeAutomatisch() +
        Gibt zurück, ob die Knotenfarbe automatisch aus den Attributen ermittelt wird.
        +
        booleanisMarkiert() +
        Gibt den Markiertwert vom Knoten zurueck
        +
        voidsetBesucht​(boolean markiert) +
        Setzt das Besuchtattribut vom Knoten
        +
        voidsetFarbe​(int farbe) +
        Setzt den Index der Farbe des Knoten.
        +
        voidsetFarbeAutomatisch​(boolean auto) +
        Legt fest, ob die Knotenfarbe automatisch aus den Attributen ermittelt wird.
        +
        voidsetInfotext​(String infotext) +
        Setzt den Infotext für einen Knoten
        +
        voidsetMarkiert​(boolean markiert) +
        Setzt das Markiertattribut vom Knoten
        +
        voidsetStatus​(String status) +
        Setzt den Status eines Knotens aus einem Status-String + Format: wert,markiert,besucht,farbe + wobei wert eine double-Zahl, mariert und besucht ein boolean-Wert (0=false, 1 = true) und + farbe eine zahl ist.
        +
        voidsetWert​(double neuerWert) +
        Setzt den Wert beim Knoten
        +
        voidsetX​(int x) +
        Setzt die x-Position des Knotens
        +
        voidsetY​(int y) +
        Setzt die y-Position des Knotens
        +
        StringtoString() +
        Die Methode ueberschreibt die Methode toString() und gibt die String-Raepraesentation eines Knotens zurueck
        +
        + +
      • +
      +
      +
    • +
    +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          Knoten

          +
          public Knoten​(int x,
          +              int y)
          +
          Der Konstruktor erstellt einen neuen Knoten mit einem neuen Namen
          +
          +
          Parameters:
          +
          x - x-Position des Knotens
          +
          y - y-Position des Knotens
          +
          +
        • +
        + + + +
          +
        • +

          Knoten

          +
          public Knoten​(int x,
          +              int y,
          +              double neuerWert)
          +
          Der Konstruktor erstellt einen neuen Knoten mit einem Startwert
          +
          +
          Parameters:
          +
          x - x-Position des Knotens
          +
          y - y-Position des Knotens
          +
          neuerWert - Der neue Wert des Knotens
          +
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          setStatus

          +
          public void setStatus​(String status)
          +
          Setzt den Status eines Knotens aus einem Status-String + Format: wert,markiert,besucht,farbe + wobei wert eine double-Zahl, mariert und besucht ein boolean-Wert (0=false, 1 = true) und + farbe eine zahl ist.
          +
          +
          Specified by:
          +
          setStatus in class GraphElement
          +
          Parameters:
          +
          status - Der Statusstring
          +
          +
        • +
        + + + +
          +
        • +

          getStatus

          +
          public String getStatus()
          +
          Liefert den Status eines Knotens als Status-String + Format: wert,markiert,besucht,farbe + wobei wert eine double-Zahl, mariert und besucht ein boolean-Wert (0=false, 1 = true) und + farbe eine zahl ist.
          +
          +
          Specified by:
          +
          getStatus in class GraphElement
          +
          Returns:
          +
          Der Statusstring
          +
          +
        • +
        + + + +
          +
        • +

          init

          +
          protected void init()
          +
          Die Methode init initialisiert den Zustand eines Knotens
          +
        • +
        + + + +
          +
        • +

          setInfotext

          +
          public void setInfotext​(String infotext)
          +
          Setzt den Infotext für einen Knoten
          +
          +
          Parameters:
          +
          infotext - Der neue Text
          +
          +
        • +
        + + + +
          +
        • +

          getInfotext

          +
          public String getInfotext()
          +
          Liefert den Infotext des Knotens
          +
          +
          Returns:
          +
          Der Infotext
          +
          +
        • +
        + + + +
          +
        • +

          setWert

          +
          public void setWert​(double neuerWert)
          +
          Setzt den Wert beim Knoten
          +
          +
          Parameters:
          +
          neuerWert - Der neu zu setzende Wert
          +
          +
        • +
        + + + +
          +
        • +

          getIntWert

          +
          public int getIntWert()
          +
          Gibt den Wert vom Knoten als Integer-Wert zurueck
          +
          +
          Returns:
          +
          Wert des Knotens
          +
          +
        • +
        + + + +
          +
        • +

          getDoubleWert

          +
          public double getDoubleWert()
          +
          Gibt den Wert vom Knoten als Double-Wert zurueck
          +
          +
          Returns:
          +
          Wert des Knotens
          +
          +
        • +
        + + + +
          +
        • +

          setMarkiert

          +
          public void setMarkiert​(boolean markiert)
          +
          Setzt das Markiertattribut vom Knoten
          +
          +
          Parameters:
          +
          markiert - Der neu zu setzende Markiertwert
          +
          +
        • +
        + + + +
          +
        • +

          isMarkiert

          +
          public boolean isMarkiert()
          +
          Gibt den Markiertwert vom Knoten zurueck
          +
          +
          Returns:
          +
          markiert?
          +
          +
        • +
        + + + +
          +
        • +

          setBesucht

          +
          public void setBesucht​(boolean markiert)
          +
          Setzt das Besuchtattribut vom Knoten
          +
          +
          Parameters:
          +
          markiert - Der neu zu setzende Besuchtwert
          +
          +
        • +
        + + + +
          +
        • +

          isBesucht

          +
          public boolean isBesucht()
          +
          Gibt den Besuchtwert vom Knoten zurueck
          +
          +
          Returns:
          +
          besucht?
          +
          +
        • +
        + + + +
          +
        • +

          getFarbe

          +
          public int getFarbe()
          +
          Gibt den Index der Farbe des Knoten zurück. + Standardmäßig hängt die Farbe von den Attributen markiert und besucht ab. + Durch Setzen der Farbe kann die Farbe gezielt gesetzt werden.
          +
          +
          Returns:
          +
          Farbe des Knotens
          +
          +
        • +
        + + + +
          +
        • +

          setFarbe

          +
          public void setFarbe​(int farbe)
          +
          Setzt den Index der Farbe des Knoten. + Standardmäßig hängt die Farbe von den Attributen markiert, besucht und beendet ab. + Durch Setzen der Farbe kann die Farbe gezielt gesetzt werden.
          +
          +
          Parameters:
          +
          farbe - Index der Farbe (0-19)
          +
          +
        • +
        + + + +
          +
        • +

          isFarbeAutomatisch

          +
          public boolean isFarbeAutomatisch()
          +
          Gibt zurück, ob die Knotenfarbe automatisch aus den Attributen ermittelt wird.
          +
          +
          Returns:
          +
          true=Farbe wird automatisch bestimmt, false=Farbe wurde explizit gesetzt.
          +
          +
        • +
        + + + +
          +
        • +

          setFarbeAutomatisch

          +
          public void setFarbeAutomatisch​(boolean auto)
          +
          Legt fest, ob die Knotenfarbe automatisch aus den Attributen ermittelt wird.
          +
          +
          Parameters:
          +
          auto - true=Farbe wird automatisch bestimmt, + false=Farbe wird explizit gesetzt.
          +
          +
        • +
        + + + +
          +
        • +

          getX

          +
          public int getX()
          +
          Liefert die x-Position des Knotens
          +
          +
          Returns:
          +
          x-Postion
          +
          +
        • +
        + + + +
          +
        • +

          getY

          +
          public int getY()
          +
          Liefert die y-Position des Knotens
          +
          +
          Returns:
          +
          y-Postion
          +
          +
        • +
        + + + +
          +
        • +

          setX

          +
          public void setX​(int x)
          +
          Setzt die x-Position des Knotens
          +
          +
          Parameters:
          +
          x - x-Postion
          +
          +
        • +
        + + + +
          +
        • +

          setY

          +
          public void setY​(int y)
          +
          Setzt die y-Position des Knotens
          +
          +
          Parameters:
          +
          y - y-Postion
          +
          +
        • +
        + + + +
          +
        • +

          compareTo

          +
          public int compareTo​(GraphElement e)
          +
          Vergleicht den Knoten mit einem anderen Knoten bezüglich seines Werts
          +
          +
          Specified by:
          +
          compareTo in interface Comparable<GraphElement>
          +
          Specified by:
          +
          compareTo in class GraphElement
          +
          Parameters:
          +
          e - anderer Knoten
          +
          Returns:
          +
          kleiner 0 der andere Knoten hat einen größeren Wert, größer 0 der andere Knoten hat einen kleineren Wert, gleich 0 beide sind gleich
          +
          +
        • +
        + + + +
          +
        • +

          toString

          +
          public String toString()
          +
          Die Methode ueberschreibt die Methode toString() und gibt die String-Raepraesentation eines Knotens zurueck
          +
          +
          Overrides:
          +
          toString in class Object
          +
          Returns:
          +
          String-Raepraesentation des Knotens
          +
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + +
    + +
    + + diff --git a/doc/graph/package-summary.html b/doc/graph/package-summary.html index 646f996..b990424 100644 --- a/doc/graph/package-summary.html +++ b/doc/graph/package-summary.html @@ -1,48 +1,53 @@ - - - - -graph - - - - - - - - - - - -
    -
    -
    -
    -

    Package graph

    -
    -
    -
    package graph
    -
    -
      -
    • -
      -
      Classes
      -
      -
      Class
      -
      Description
      - -
      -
      Dies ist das Herz vom "GraphTester" - der Graph selber, gepeichert als Adjazenzliste.
      -
      -
      -
      -
    • -
    -
    -
    -
    -
    - - + + + + + +graph + + + + + + + + +
    +
    +

    Package graph

    +
    +
    +
      +
    • + + + + + + + + + + + + +
      Class Summary 
      ClassDescription
      GraphElement +
      Die Klasse GraphElement ist eine Oberklasse von Knoten und Kanten.
      +
      +
    • +
    +
    +
    + + diff --git a/doc/graph/package-tree.html b/doc/graph/package-tree.html index 7f4e5d1..10a9dae 100644 --- a/doc/graph/package-tree.html +++ b/doc/graph/package-tree.html @@ -1,198 +1,198 @@ - - - - - -graph Class Hierarchy (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    -
    -
    -

    Hierarchy For Package graph

    -Package Hierarchies: - -
    -
    -
    -

    Class Hierarchy

    -
      -
    • java.lang.Object -
        -
      • graph.Graph
      • -
      • graph.GraphElement (implements java.lang.Comparable<T>) - -
      • -
      • graph.GraphOptions
      • -
      • javafx.scene.Node (implements javafx.event.EventTarget, javafx.css.Styleable) -
          -
        • javafx.scene.Parent -
            -
          • javafx.scene.layout.Region -
              -
            • javafx.scene.control.Control (implements javafx.scene.control.Skinnable) - -
            • -
            -
          • -
          -
        • -
        -
      • -
      -
    • -
    -
    -
    -

    Interface Hierarchy

    - -
    -
    -
    -
    - -
    - - + + + + + +graph Class Hierarchy (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Hierarchy For Package graph

    +Package Hierarchies: + +
    +
    +
    +

    Class Hierarchy

    +
      +
    • java.lang.Object +
        +
      • graph.Graph
      • +
      • graph.GraphElement (implements java.lang.Comparable<T>) + +
      • +
      • graph.GraphOptions
      • +
      • javafx.scene.Node (implements javafx.event.EventTarget, javafx.css.Styleable) +
          +
        • javafx.scene.Parent +
            +
          • javafx.scene.layout.Region +
              +
            • javafx.scene.control.Control (implements javafx.scene.control.Skinnable) + +
            • +
            +
          • +
          +
        • +
        +
      • +
      +
    • +
    +
    +
    +

    Interface Hierarchy

    + +
    +
    +
    +
    + +
    + + diff --git a/doc/help-doc.html b/doc/help-doc.html index 58c399c..c4bb86b 100644 --- a/doc/help-doc.html +++ b/doc/help-doc.html @@ -1,265 +1,265 @@ - - - - - -API Help (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    -
    -
    -

    How This API Document Is Organized

    -
    This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
    -
    -
    -
      -
    • -
      -

      Overview

      -

      The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

      -
      -
    • -
    • -
      -

      Package

      -

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:

      -
        -
      • Interfaces
      • -
      • Classes
      • -
      • Enums
      • -
      • Exceptions
      • -
      • Errors
      • -
      • Annotation Types
      • -
      -
      -
    • -
    • -
      -

      Class or Interface

      -

      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:

      -
        -
      • Class Inheritance Diagram
      • -
      • Direct Subclasses
      • -
      • All Known Subinterfaces
      • -
      • All Known Implementing Classes
      • -
      • Class or Interface Declaration
      • -
      • Class or Interface Description
      • -
      -
      -
        -
      • Nested Class Summary
      • -
      • Field Summary
      • -
      • Property Summary
      • -
      • Constructor Summary
      • -
      • Method Summary
      • -
      -
      -
        -
      • Field Detail
      • -
      • Property Detail
      • -
      • Constructor Detail
      • -
      • Method Detail
      • -
      -

      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.

      -
      -
    • -
    • -
      -

      Annotation Type

      -

      Each annotation type has its own separate page with the following sections:

      -
        -
      • Annotation Type Declaration
      • -
      • Annotation Type Description
      • -
      • Required Element Summary
      • -
      • Optional Element Summary
      • -
      • Element Detail
      • -
      -
      -
    • -
    • -
      -

      Enum

      -

      Each enum has its own separate page with the following sections:

      -
        -
      • Enum Declaration
      • -
      • Enum Description
      • -
      • Enum Constant Summary
      • -
      • Enum Constant Detail
      • -
      -
      -
    • -
    • -
      -

      Tree (Class Hierarchy)

      -

      There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

      -
        -
      • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
      • -
      • When viewing a particular package, class or interface page, clicking on "Tree" displays the hierarchy for only that package.
      • -
      -
      -
    • -
    • -
      -

      Index

      -

      The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.

      -
      -
    • -
    • -
      -

      All Classes

      -

      The All Classes link shows all classes and interfaces except non-static nested types.

      -
      -
    • -
    • -
      -

      Serialized Form

      -

      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.

      -
      -
    • -
    • -
      -

      Constant Field Values

      -

      The Constant Field Values page lists the static final fields and their values.

      -
      -
    • -
    • -
      -

      Search

      -

      You can search for definitions of modules, packages, types, fields, methods and other terms defined in the API, using some or all of the name. "Camel-case" abbreviations are supported: for example, "InpStr" will find "InputStream" and "InputStreamReader".

      -
      -
    • -
    -
    -This help file applies to API documentation generated by the standard doclet.
    -
    -
    - -
    - - + + + + + +API Help (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    How This API Document Is Organized

    +
    This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
    +
    +
    +
      +
    • +
      +

      Overview

      +

      The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

      +
      +
    • +
    • +
      +

      Package

      +

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:

      +
        +
      • Interfaces
      • +
      • Classes
      • +
      • Enums
      • +
      • Exceptions
      • +
      • Errors
      • +
      • Annotation Types
      • +
      +
      +
    • +
    • +
      +

      Class or Interface

      +

      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:

      +
        +
      • Class Inheritance Diagram
      • +
      • Direct Subclasses
      • +
      • All Known Subinterfaces
      • +
      • All Known Implementing Classes
      • +
      • Class or Interface Declaration
      • +
      • Class or Interface Description
      • +
      +
      +
        +
      • Nested Class Summary
      • +
      • Field Summary
      • +
      • Property Summary
      • +
      • Constructor Summary
      • +
      • Method Summary
      • +
      +
      +
        +
      • Field Detail
      • +
      • Property Detail
      • +
      • Constructor Detail
      • +
      • Method Detail
      • +
      +

      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.

      +
      +
    • +
    • +
      +

      Annotation Type

      +

      Each annotation type has its own separate page with the following sections:

      +
        +
      • Annotation Type Declaration
      • +
      • Annotation Type Description
      • +
      • Required Element Summary
      • +
      • Optional Element Summary
      • +
      • Element Detail
      • +
      +
      +
    • +
    • +
      +

      Enum

      +

      Each enum has its own separate page with the following sections:

      +
        +
      • Enum Declaration
      • +
      • Enum Description
      • +
      • Enum Constant Summary
      • +
      • Enum Constant Detail
      • +
      +
      +
    • +
    • +
      +

      Tree (Class Hierarchy)

      +

      There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

      +
        +
      • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
      • +
      • When viewing a particular package, class or interface page, clicking on "Tree" displays the hierarchy for only that package.
      • +
      +
      +
    • +
    • +
      +

      Index

      +

      The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.

      +
      +
    • +
    • +
      +

      All Classes

      +

      The All Classes link shows all classes and interfaces except non-static nested types.

      +
      +
    • +
    • +
      +

      Serialized Form

      +

      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.

      +
      +
    • +
    • +
      +

      Constant Field Values

      +

      The Constant Field Values page lists the static final fields and their values.

      +
      +
    • +
    • +
      +

      Search

      +

      You can search for definitions of modules, packages, types, fields, methods and other terms defined in the API, using some or all of the name. "Camel-case" abbreviations are supported: for example, "InpStr" will find "InputStream" and "InputStreamReader".

      +
      +
    • +
    +
    +This help file applies to API documentation generated by the standard doclet.
    +
    +
    + +
    + + diff --git a/doc/imp/HSB.html b/doc/imp/HSB.html index b7592cd..d10b234 100644 --- a/doc/imp/HSB.html +++ b/doc/imp/HSB.html @@ -1,394 +1,394 @@ - - - - - -HSB (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    - -
    -
    -
    Package imp
    -

    Class HSB

    -
    -
    - -
    -
      -
    • -
      -
      public class HSB
      -extends Object
      -
      Hilfsklasse für das HSB-Farbmodell
      -
      -
      Version:
      -
      V1.0 14.01.2020
      -
      Author:
      -
      Thomas Schaller
      -
      -
    • -
    -
    -
    - -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          HSB

          -
          public HSB()
          -
        • -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          getHue

          -
          public static double getHue​(Color c)
          -
          Liefert den Farbton als Winkel zwischen 0.0° und 360.0°.
          -
          -
          Parameters:
          -
          Color - c Farbe, deren Farbton bestimmt werden soll.
          -
          Returns:
          -
          Farbton
          -
          -
        • -
        - - - -
          -
        • -

          getSaturation

          -
          public static double getSaturation​(Color c)
          -
          Liefert die Sättigung als Wert zwischen 0.0 (0%) und 1.0 (100%).
          -
          -
          Parameters:
          -
          Color - c Farbe, deren Sättigung bestimmt werden soll.
          -
          Returns:
          -
          Sättigung
          -
          -
        • -
        - - - -
          -
        • -

          getBrightness

          -
          public static double getBrightness​(Color c)
          -
          Liefert die Helligkeit als Wert zwischen 0.0 (0%) und 1.0 (100%).
          -
          -
          Parameters:
          -
          Color - c Farbe, deren Helligkeit bestimmt werden soll.
          -
          Returns:
          -
          Sättigung
          -
          -
        • -
        - - - -
          -
        • -

          getColor

          -
          public static Color getColor​(double h,
          -                             double s,
          -                             double b)
          -
          Liefert ein Java-Color-Objekt mit den angegebenen HSB-Werten.
          -
          -
          Parameters:
          -
          h - Farbton (Hue)
          -
          s - Sättigung (Saturation)
          -
          b - Brightness (Helligkeit)
          -
          Returns:
          -
          Java-Color-Objekt
          -
          -
        • -
        -
      • -
      -
      -
    • -
    -
    -
    -
    - -
    - -
    - - + + + + + +HSB (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    + +
    +
    +
    Package imp
    +

    Class HSB

    +
    +
    + +
    +
      +
    • +
      +
      public class HSB
      +extends Object
      +
      Hilfsklasse für das HSB-Farbmodell
      +
      +
      Version:
      +
      V1.0 14.01.2020
      +
      Author:
      +
      Thomas Schaller
      +
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          HSB

          +
          public HSB()
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          getHue

          +
          public static double getHue​(Color c)
          +
          Liefert den Farbton als Winkel zwischen 0.0° und 360.0°.
          +
          +
          Parameters:
          +
          Color - c Farbe, deren Farbton bestimmt werden soll.
          +
          Returns:
          +
          Farbton
          +
          +
        • +
        + + + +
          +
        • +

          getSaturation

          +
          public static double getSaturation​(Color c)
          +
          Liefert die Sättigung als Wert zwischen 0.0 (0%) und 1.0 (100%).
          +
          +
          Parameters:
          +
          Color - c Farbe, deren Sättigung bestimmt werden soll.
          +
          Returns:
          +
          Sättigung
          +
          +
        • +
        + + + +
          +
        • +

          getBrightness

          +
          public static double getBrightness​(Color c)
          +
          Liefert die Helligkeit als Wert zwischen 0.0 (0%) und 1.0 (100%).
          +
          +
          Parameters:
          +
          Color - c Farbe, deren Helligkeit bestimmt werden soll.
          +
          Returns:
          +
          Sättigung
          +
          +
        • +
        + + + +
          +
        • +

          getColor

          +
          public static Color getColor​(double h,
          +                             double s,
          +                             double b)
          +
          Liefert ein Java-Color-Objekt mit den angegebenen HSB-Werten.
          +
          +
          Parameters:
          +
          h - Farbton (Hue)
          +
          s - Sättigung (Saturation)
          +
          b - Brightness (Helligkeit)
          +
          Returns:
          +
          Java-Color-Objekt
          +
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + +
    + +
    + + diff --git a/doc/imp/NumberField.html b/doc/imp/NumberField.html index 7569afd..485caa7 100644 --- a/doc/imp/NumberField.html +++ b/doc/imp/NumberField.html @@ -1,516 +1,516 @@ - - - - - -NumberField (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    - -
    -
    -
    Package imp
    -

    Class NumberField

    -
    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • javafx.scene.Node
      • -
      • -
          -
        • javafx.scene.Parent
        • -
        • -
            -
          • javafx.scene.layout.Region
          • -
          • -
              -
            • javafx.scene.control.Control
            • -
            • -
                -
              • javafx.scene.control.TextInputControl
              • -
              • -
                  -
                • javafx.scene.control.TextField
                • -
                • -
                    -
                  • imp.NumberField
                  • -
                  -
                • -
                -
              • -
              -
            • -
            -
          • -
          -
        • -
        -
      • -
      -
    • -
    -
    -
      -
    • -
      -
      All Implemented Interfaces:
      -
      javafx.css.Styleable, javafx.event.EventTarget, javafx.scene.control.Skinnable
      -
      -
      -
      public class NumberField
      -extends javafx.scene.control.TextField
      -
    • -
    -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Nested Class Summary

        -
          -
        • - - -

          Nested classes/interfaces inherited from class javafx.scene.control.TextInputControl

          -javafx.scene.control.TextInputControl.Content
        • -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Field Summary

        -
          -
        • - - -

          Fields inherited from class javafx.scene.control.TextField

          -DEFAULT_PREF_COLUMN_COUNT
        • -
        -
          -
        • - - -

          Fields inherited from class javafx.scene.layout.Region

          -USE_COMPUTED_SIZE, USE_PREF_SIZE
        • -
        -
          -
        • - - -

          Fields inherited from class javafx.scene.Node

          -BASELINE_OFFSET_SAME_AS_HEIGHT
        • -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Constructor Summary

        - - - - - - - - - - -
        Constructors 
        ConstructorDescription
        NumberField() 
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        doublegetDoubleValue() 
        intgetIntValue() 
        voidreplaceSelection​(String text) 
        voidreplaceText​(int start, - int end, - String text) 
        voidsetValue​(double v) 
        voidsetValue​(int v) 
        -
          -
        • - - -

          Methods inherited from class javafx.scene.control.TextField

          -alignmentProperty, createDefaultSkin, getAlignment, getCharacters, getClassCssMetaData, getControlCssMetaData, getOnAction, getPrefColumnCount, onActionProperty, prefColumnCountProperty, setAlignment, setOnAction, setPrefColumnCount
        • -
        -
          -
        • - - -

          Methods inherited from class javafx.scene.control.TextInputControl

          -anchorProperty, appendText, backward, cancelEdit, caretPositionProperty, clear, commitValue, copy, cut, deleteNextChar, deletePreviousChar, deleteText, deleteText, deselect, editableProperty, end, endOfNextWord, executeAccessibleAction, extendSelection, fontProperty, forward, getAnchor, getCaretPosition, getContent, getFont, getLength, getPromptText, getSelectedText, getSelection, getText, getText, getTextFormatter, home, insertText, isEditable, isRedoable, isUndoable, lengthProperty, nextWord, paste, positionCaret, previousWord, promptTextProperty, queryAccessibleAttribute, redo, redoableProperty, replaceText, selectAll, selectBackward, selectedTextProperty, selectEnd, selectEndOfNextWord, selectForward, selectHome, selectionProperty, selectNextWord, selectPositionCaret, selectPreviousWord, selectRange, setEditable, setFont, setPromptText, setText, setTextFormatter, textFormatterProperty, textProperty, undo, undoableProperty
        • -
        -
          -
        • - - -

          Methods inherited from class javafx.scene.control.Control

          -computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, getBaselineOffset, getContextMenu, getCssMetaData, getInitialFocusTraversable, getSkin, getTooltip, isResizable, layoutChildren, setContextMenu, setSkin, setTooltip, skinProperty, tooltipProperty
        • -
        -
          -
        • - - -

          Methods inherited from class javafx.scene.layout.Region

          -backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPositionX, snapPositionY, snapSizeX, snapSizeY, snapSpaceX, snapSpaceY, snapToPixelProperty, widthProperty
        • -
        -
          -
        • - - -

          Methods inherited from class javafx.scene.Parent

          -getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBounds
        • -
        -
          -
        • - - -

          Methods inherited from class javafx.scene.Node

          -accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty
        • -
        - -
          -
        • - - -

          Methods inherited from interface javafx.css.Styleable

          -getStyleableNode
        • -
        -
      • -
      -
      -
    • -
    -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          NumberField

          -
          public NumberField()
          -
        • -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          replaceText

          -
          public void replaceText​(int start,
          -                        int end,
          -                        String text)
          -
          -
          Overrides:
          -
          replaceText in class javafx.scene.control.TextInputControl
          -
          -
        • -
        - - - -
          -
        • -

          replaceSelection

          -
          public void replaceSelection​(String text)
          -
          -
          Overrides:
          -
          replaceSelection in class javafx.scene.control.TextInputControl
          -
          -
        • -
        - - - -
          -
        • -

          getDoubleValue

          -
          public double getDoubleValue()
          -
        • -
        - - - -
          -
        • -

          getIntValue

          -
          public int getIntValue()
          -
        • -
        - - - -
          -
        • -

          setValue

          -
          public void setValue​(double v)
          -
        • -
        - - - -
          -
        • -

          setValue

          -
          public void setValue​(int v)
          -
        • -
        -
      • -
      -
      -
    • -
    -
    -
    -
    - - - - + + + + + +NumberField (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    + +
    +
    +
    Package imp
    +

    Class NumberField

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • javafx.scene.Node
      • +
      • +
          +
        • javafx.scene.Parent
        • +
        • +
            +
          • javafx.scene.layout.Region
          • +
          • +
              +
            • javafx.scene.control.Control
            • +
            • +
                +
              • javafx.scene.control.TextInputControl
              • +
              • +
                  +
                • javafx.scene.control.TextField
                • +
                • +
                    +
                  • imp.NumberField
                  • +
                  +
                • +
                +
              • +
              +
            • +
            +
          • +
          +
        • +
        +
      • +
      +
    • +
    +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      javafx.css.Styleable, javafx.event.EventTarget, javafx.scene.control.Skinnable
      +
      +
      +
      public class NumberField
      +extends javafx.scene.control.TextField
      +
    • +
    +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Nested Class Summary

        +
          +
        • + + +

          Nested classes/interfaces inherited from class javafx.scene.control.TextInputControl

          +javafx.scene.control.TextInputControl.Content
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Field Summary

        +
          +
        • + + +

          Fields inherited from class javafx.scene.control.TextField

          +DEFAULT_PREF_COLUMN_COUNT
        • +
        +
          +
        • + + +

          Fields inherited from class javafx.scene.layout.Region

          +USE_COMPUTED_SIZE, USE_PREF_SIZE
        • +
        +
          +
        • + + +

          Fields inherited from class javafx.scene.Node

          +BASELINE_OFFSET_SAME_AS_HEIGHT
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Constructor Summary

        + + + + + + + + + + +
        Constructors 
        ConstructorDescription
        NumberField() 
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        doublegetDoubleValue() 
        intgetIntValue() 
        voidreplaceSelection​(String text) 
        voidreplaceText​(int start, + int end, + String text) 
        voidsetValue​(double v) 
        voidsetValue​(int v) 
        +
          +
        • + + +

          Methods inherited from class javafx.scene.control.TextField

          +alignmentProperty, createDefaultSkin, getAlignment, getCharacters, getClassCssMetaData, getControlCssMetaData, getOnAction, getPrefColumnCount, onActionProperty, prefColumnCountProperty, setAlignment, setOnAction, setPrefColumnCount
        • +
        +
          +
        • + + +

          Methods inherited from class javafx.scene.control.TextInputControl

          +anchorProperty, appendText, backward, cancelEdit, caretPositionProperty, clear, commitValue, copy, cut, deleteNextChar, deletePreviousChar, deleteText, deleteText, deselect, editableProperty, end, endOfNextWord, executeAccessibleAction, extendSelection, fontProperty, forward, getAnchor, getCaretPosition, getContent, getFont, getLength, getPromptText, getSelectedText, getSelection, getText, getText, getTextFormatter, home, insertText, isEditable, isRedoable, isUndoable, lengthProperty, nextWord, paste, positionCaret, previousWord, promptTextProperty, queryAccessibleAttribute, redo, redoableProperty, replaceText, selectAll, selectBackward, selectedTextProperty, selectEnd, selectEndOfNextWord, selectForward, selectHome, selectionProperty, selectNextWord, selectPositionCaret, selectPreviousWord, selectRange, setEditable, setFont, setPromptText, setText, setTextFormatter, textFormatterProperty, textProperty, undo, undoableProperty
        • +
        +
          +
        • + + +

          Methods inherited from class javafx.scene.control.Control

          +computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, getBaselineOffset, getContextMenu, getCssMetaData, getInitialFocusTraversable, getSkin, getTooltip, isResizable, layoutChildren, setContextMenu, setSkin, setTooltip, skinProperty, tooltipProperty
        • +
        +
          +
        • + + +

          Methods inherited from class javafx.scene.layout.Region

          +backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPositionX, snapPositionY, snapSizeX, snapSizeY, snapSpaceX, snapSpaceY, snapToPixelProperty, widthProperty
        • +
        +
          +
        • + + +

          Methods inherited from class javafx.scene.Parent

          +getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBounds
        • +
        +
          +
        • + + +

          Methods inherited from class javafx.scene.Node

          +accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty
        • +
        + +
          +
        • + + +

          Methods inherited from interface javafx.css.Styleable

          +getStyleableNode
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          NumberField

          +
          public NumberField()
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          replaceText

          +
          public void replaceText​(int start,
          +                        int end,
          +                        String text)
          +
          +
          Overrides:
          +
          replaceText in class javafx.scene.control.TextInputControl
          +
          +
        • +
        + + + +
          +
        • +

          replaceSelection

          +
          public void replaceSelection​(String text)
          +
          +
          Overrides:
          +
          replaceSelection in class javafx.scene.control.TextInputControl
          +
          +
        • +
        + + + +
          +
        • +

          getDoubleValue

          +
          public double getDoubleValue()
          +
        • +
        + + + +
          +
        • +

          getIntValue

          +
          public int getIntValue()
          +
        • +
        + + + +
          +
        • +

          setValue

          +
          public void setValue​(double v)
          +
        • +
        + + + +
          +
        • +

          setValue

          +
          public void setValue​(int v)
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + + + + diff --git a/doc/imp/Picture.html b/doc/imp/Picture.html index 45c87b9..30e75a6 100644 --- a/doc/imp/Picture.html +++ b/doc/imp/Picture.html @@ -1,1429 +1,1429 @@ - - - - - -Picture (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    - -
    -
    -
    Package imp
    -

    Class Picture

    -
    -
    - -
    -
      -
    • -
      -
      public class Picture
      -extends Object
      -
      Bildklasse fuer die Simulation von Processing-Befehlen - - Diese Klasse stellt ein BufferedImage bereit, in das mit Processing-Befehlen gezeichnet - werden kann. - Zusaetzlich kann ein Bildanzeiger ueber jede Aenderung des Bildes informiert werden, - um "Zurueck"-Befehle zu ermoeglichen. Der Bildanzeiger ist entweder eine normale Java - ScrollPane oder ein Actor aus Greenfoot. - Die Dokumentation der einzelnen Zeichenmethoden ist der Processing-Reference - (https://processing.org/reference/ steht unter CC-Lizenz: https://creativecommons.org/) - entnommen und mit Deepl.com ins Deutsche uebersetzt.
      -
      -
      Version:
      -
      1.0 from 23.01.2019
      -
      Author:
      -
      Thomas Schaller (ZPG Informatik Klasse 9)
      -
      -
    • -
    -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Field Summary

        - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Fields 
        Modifier and TypeFieldDescription
        static intCENTER 
        static intCORNER 
        static intCORNERS 
        static intRADIUS 
        -
      • -
      -
      - -
      -
        -
      • - - -

        Constructor Summary

        - - - - - - - - - - - - - - - - - - - - - - -
        Constructors 
        ConstructorDescription
        Picture() -
        Erzeugt ein Bild mit Standardgroesse 500x400
        -
        Picture​(int width, - int height) -
        Erzeugt ein Bild der angegeben Groesse
        -
        Picture​(int width, - int height, - String background) -
        Erzeugt ein Bild der angegebenen Groesse mit festgelegtem Hintergrund
        -
        Picture​(String filename) -
        Erzeugt ein Bild aus einer Datei
        -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        voidbackground​(int c) -
        Die Funktion background() setzt die Farbe, die fuer den Hintergrund des Bildes verwendet wird.
        -
        voidbackground​(int r, - int g, - int b) -
        Die Funktion background() setzt die Farbe, die fuer den Hintergrund des Bildes verwendet wird.
        -
        voidclear() -
        Loescht den Inhalt des Bildes.
        -
        voiddelay​(int millis) -
        Hilfsfunktion zum Verzoegern der Ausgabe
        -
        voidellipse​(int a, - int b, - int c, - int d) -
        Zeichnet eine Ellipse/Kreis auf das Bild.
        -
        voidellipseMode​(int mode) -
        Aendert den Koordinaten-Modus beim Zeichnen von Kreisen/Ellipsen.
        -
        voidfill​(int fillcolor) -
        Legt die Farbe fest, mit der Formen gefuellt werden.
        -
        voidfill​(int r, - int g, - int b) -
        Legt die Farbe fest, mit der Formen gefuellt werden.
        -
        voidfill​(String fillcolor) -
        Legt die Farbe fest, mit der Formen gefuellt werden.
        -
        voidforceRepaint() -
        Ein repaint() (das Neuzeichnen) kann manuell erzwungen werden.
        -
        intgetHeight() -
        Liefert die Hoehe des Bildes zurueck.
        -
        BufferedImagegetImage() -
        Direktes Abfragen des Bildes (fuer interne Zwecke)
        -
        PictureViewergetObserver() 
        Color[][]getPixelArray() -
        Liefert das Bild als zweidimensionales Pixel-Array.
        -
        intgetWidth() -
        Liefert die Breite des Bildes zurueck.
        -
        voidline​(int x1, - int y1, - int x2, - int y2) -
        Zeichnet eine Linie (einen direkten Weg zwischen zwei Punkten) auf den Bildschirm.
        -
        voidload​(String filename) -
        Laedt ein Bild aus dem Dateisystem.
        -
        voidnoFill() -
        Legt fest, dass die Formen nicht gefuellt werden sollen.
        -
        voidnoStroke() -
        Legt fest, dass keine Linien oder Raender um Formen gezeichnet werden soll.
        -
        voidpoint​(int x, - int y) -
        Zeichnet einen Punkt, d.h. einen Kreis in der Dimension eines Pixels.
        -
        voidpolygon​(int[] x, - int[] y) -
        Zeichnet ein Polygon auf das Bild.
        -
        voidquad​(int x1, - int y1, - int x2, - int y2, - int x3, - int y3, - int x4, - int y4) -
        Zeichnet ein Viereck auf das Bild.
        -
        voidrect​(int a, - int b, - int c, - int d) -
        Zeichnet ein Rechteck auf das Bild.
        -
        voidrectMode​(int mode) -
        Aendert den Koordinaten-Modus beim Zeichnen von Rechtecken.
        -
        voidsave​(String filename) -
        Speichert ein Bild.
        -
        voidsetAutoRefresh​(boolean autoRefresh) -
        Legt fest, ob nach jedem Zeichenbefehl automatisch das Bild auch in - der Oberflaeche aktualisiert wird.
        -
        voidsetImage​(BufferedImage b) -
        Direktes Setzen des Bildes (fuer interne Zwecke)
        -
        voidsetObserver​(PictureViewer observer) -
        Legt fest, wer das Bild anzeigt.
        -
        voidsetPixelArray​(Color[][] pixel) -
        Setzt das Bild neu auf Basis des Pixel-Arrays.
        -
        voidshowInFrame() 
        voidsize​(int width, - int height) -
        Definiert die Dimension der Breite und Hoehe des Anzeigefensters in Pixeleinheiten.
        -
        voidstroke​(int pencolor) -
        Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden.
        -
        voidstroke​(int r, - int g, - int b) -
        Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden.
        -
        voidstroke​(String pencolor) -
        Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden.
        -
        voidstrokeWeight​(double width) -
        Legt die Breite des Strichs fuer Linien, Punkte und den Rand um Formen fest.
        -
        voidtext​(String s, - int x, - int y) -
        Gibt einen Text an den gegebenen Koordinaten aus - Zur Ausgabe des Textes wird der ausgewaehlte Font verwendet.
        -
        voidtextFont​(Font font) -
        Legt die Schriftart fuer Textausgaben fest.
        -
        voidtextMode​(int mode) -
        Aendert den Koordinaten-Modus beim Zeichnen von Texten.
        -
        voidtriangle​(int x1, - int y1, - int x2, - int y2, - int x3, - int y3) -
        Zeichnet ein Dreieck auf das Bild.
        -
        - -
      • -
      -
      -
    • -
    -
    -
    -
      -
    • - -
      - -
      - -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          Picture

          -
          public Picture()
          -
          Erzeugt ein Bild mit Standardgroesse 500x400
          -
        • -
        - - - -
          -
        • -

          Picture

          -
          public Picture​(int width,
          -               int height)
          -
          Erzeugt ein Bild der angegeben Groesse
          -
          -
          Parameters:
          -
          width - Breite des Bildes
          -
          height - Hoehe des Bildes
          -
          -
        • -
        - - - -
          -
        • -

          Picture

          -
          public Picture​(String filename)
          -
          Erzeugt ein Bild aus einer Datei
          -
          -
          Parameters:
          -
          filename - Dateiname des Bildes
          -
          -
        • -
        - - - -
          -
        • -

          Picture

          -
          public Picture​(int width,
          -               int height,
          -               String background)
          -
          Erzeugt ein Bild der angegebenen Groesse mit festgelegtem Hintergrund
          -
          -
          Parameters:
          -
          width - Breite des Bildes
          -
          height - Hoehe des Bildes
          -
          background - Farbe des Hintergrunds
          -
          -
        • -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          showInFrame

          -
          public void showInFrame()
          -
        • -
        - - - -
          -
        • -

          setObserver

          -
          public void setObserver​(PictureViewer observer)
          -
          Legt fest, wer das Bild anzeigt. - Diese ermoeglicht die Benachrichtung des Observers, wenn sich das Bild aendert.
          -
          -
          Parameters:
          -
          observer - Anzeiger des Bildes
          -
          -
        • -
        - - - - - - - -
          -
        • -

          setImage

          -
          public void setImage​(BufferedImage b)
          -
          Direktes Setzen des Bildes (fuer interne Zwecke)
          -
          -
          Parameters:
          -
          b - Bild, das gespeichert werden soll.
          -
          -
        • -
        - - - -
          -
        • -

          getImage

          -
          public BufferedImage getImage()
          -
          Direktes Abfragen des Bildes (fuer interne Zwecke)
          -
          -
          Returns:
          -
          Bild, das gerade gespeichert ist.
          -
          -
        • -
        - - - -
          -
        • -

          size

          -
          public void size​(int width,
          -                 int height)
          -
          Definiert die Dimension der Breite und Hoehe des Anzeigefensters in Pixeleinheiten. - Die eingebauten Variablen Breite und Hoehe werden durch die an diese Funktion uebergebenen Parameter festgelegt. So weist beispielsweise - der Befehl size(640, 480) der Variablen Breite 640 und der Variablen Hoehe 480 zu.
          -
          -
          Parameters:
          -
          width - Breite des Bildes
          -
          height - Hoehe des Bildes
          -
          -
        • -
        - - - -
          -
        • -

          getWidth

          -
          public int getWidth()
          -
          Liefert die Breite des Bildes zurueck.
          -
          -
          Returns:
          -
          Breite des Bildes
          -
          -
        • -
        - - - -
          -
        • -

          getHeight

          -
          public int getHeight()
          -
          Liefert die Hoehe des Bildes zurueck.
          -
          -
          Returns:
          -
          Hoehe des Bildes
          -
          -
        • -
        - - - -
          -
        • -

          setAutoRefresh

          -
          public void setAutoRefresh​(boolean autoRefresh)
          -
          Legt fest, ob nach jedem Zeichenbefehl automatisch das Bild auch in - der Oberflaeche aktualisiert wird. Die Einstellung "false" beschleunigt - das Zeichnen aufwaendiger Bilder und verhindert "Flackern". - Das Neuzeichnen kann durch die Methode "refresh" gezielt ausgeloest werden.
          -
          -
          Parameters:
          -
          autorefresh - true = nach jedem Zeichenbefehl die Anzeige aktualisieren, false= nur durch die Methode refresh neu zeichnen
          -
          -
        • -
        - - - -
          -
        • -

          forceRepaint

          -
          public void forceRepaint()
          -
          Ein repaint() (das Neuzeichnen) kann manuell erzwungen werden.
          -
        • -
        - - - -
          -
        • -

          clear

          -
          public void clear()
          -
          Loescht den Inhalt des Bildes. - Der Hintergrund wird mit der Hintergrundfarbe neu gefuellt.
          -
        • -
        - - - -
          -
        • -

          rectMode

          -
          public void rectMode​(int mode)
          -
          Aendert den Koordinaten-Modus beim Zeichnen von Rechtecken. - Aendert die Position, von der aus Rechtecke gezeichnet werden, indem es die Art und Weise aendert, wie Parameter, die an rect() uebergeben werden, interpretiert werden. - Der Standardmodus ist rectMode(Bild.CORNER), der die ersten beiden Parameter von rect() als die linke obere Ecke der Form interpretiert, - waehrend der dritte und vierte Parameter seine Breite und Hoehe sind. - rectMode(Bild.CORNERS) interpretiert die ersten beiden Parameter von rect() als die Position einer Ecke - und die dritten und vierten Parameter als die Position der gegenueberliegenden Ecke. - rectMode(Bild.CENTER) interpretiert die ersten beiden Parameter von rect() als Mittelpunkt der Form, - waehrend der dritte und vierte Parameter seine Breite und Hoehe sind. - rectMode(RADIUS) verwendet auch die ersten beiden Parameter von rect() als Mittelpunkt der Form, - verwendet aber den dritten und vierten Parameter, um die Haelfte der Breite und Hoehe der Formen festzulegen.
          -
          -
          Parameters:
          -
          mode - Modus der Koordinateninterpretation (CORNER, CORNERS, CENTER oder RADIUS)
          -
          -
        • -
        - - - -
          -
        • -

          ellipseMode

          -
          public void ellipseMode​(int mode)
          -
          Aendert den Koordinaten-Modus beim Zeichnen von Kreisen/Ellipsen. - Aendert die Position, von der aus Kreise/Ellipsen gezeichnet werden, indem es die Art und Weise aendert, wie Parameter, die an ellipse() uebergeben werden, interpretiert werden. - Der Standardmodus ist ellipseMode(Bild.CENTER), der die ersten beiden Parameter von ellipse() als Mittelpunkt der Form interpretiert, - waehrend der dritte und vierte Parameter seine Breite und Hoehe sind. - ellipseMode(Bild.CORNER) interpretiert die ersten beiden Parameter von ellipse() als die Position einer Ecke - und die dritten und vierten Parameter als Breite und Hoehe der Form. - ellipseMode(Bild.CORNERS) interpretiert die ersten beiden Parameter von ellipse() als die Position einer Ecke - und die dritten und vierten Parameter als die Position der gegenueberliegenden Ecke. - ellipseMode(RADIUS) verwendet auch die ersten beiden Parameter von ellipse() als Mittelpunkt der Form, - verwendet aber den dritten und vierten Parameter, um die Haelfte der Breite und Hoehe der Formen festzulegen.
          -
          -
          Parameters:
          -
          mode - Modus der Koordinateninterpretation (CORNER, CORNERS, CENTER oder RADIUS)
          -
          -
        • -
        - - - -
          -
        • -

          textMode

          -
          public void textMode​(int mode)
          -
          Aendert den Koordinaten-Modus beim Zeichnen von Texten. - Aendert die Position, an der Texte gezeichnet werden, indem es die Art und Weise aendert, wie Parameter, die an text() uebergeben werden, interpretiert werden. - Der Standardmodus ist textMode(Bild.CORNER), der die Koordinaten von text() als - linke untere Ecke des Textes interpretiert. - textMode(Bild.CENTER) interpretiert sie als Koordinaten des Mittelpunktes des Textes..
          -
          -
          Parameters:
          -
          mode - Modus der Koordinateninterpretation (CORNER, CENTER)
          -
          -
        • -
        - - - -
          -
        • -

          line

          -
          public void line​(int x1,
          -                 int y1,
          -                 int x2,
          -                 int y2)
          -
          Zeichnet eine Linie (einen direkten Weg zwischen zwei Punkten) auf den Bildschirm. - Um eine Linie einzufaerben, verwenden Sie die stroke() Funktion. Eine Zeile kann nicht gefuellt werden, daher hat die Funktion fill() keinen - Einfluss auf die Farbe einer Zeile. Linien werden standardmaessig mit einer Breite von einem Pixel gezeichnet, dies kann jedoch mit der Funktion - strokeWeight() geaendert werden.
          -
          -
          Parameters:
          -
          x1 - x-Koordinate des 1. Punktes
          -
          y1 - y-Koordinate des 1. Punktes
          -
          x2 - x-Koordinate des 2. Punktes
          -
          y2 - y-Koordinate des 2. Punktes
          -
          -
        • -
        - - - -
          -
        • -

          rect

          -
          public void rect​(int a,
          -                 int b,
          -                 int c,
          -                 int d)
          -
          Zeichnet ein Rechteck auf das Bild. - Standardmaessig legen die ersten beiden Parameter die Position der linken oberen Ecke fest, der dritte die Breite und der vierte die Hoehe. - Die Art und Weise, wie diese Parameter interpretiert werden, kann jedoch mit der Funktion rectMode() geaendert werden. - Durch den Befehl fill() /noFill() kann die Fuellfarbe des Rechtecks gewaehlt werden, durch stroke()/noStroke() die Rahmenfarbe.
          -
          -
          Parameters:
          -
          a - meist die x-Koordinate der linken oberen Ecke (kann durch rectMode() geaendert werden).
          -
          b - meist die y-Koordinate der linken oberen Ecke (kann durch rectMode() geaendert werden).
          -
          c - meist die Breite des Rechtecks (kann durch rectMode() geaendert werden).
          -
          d - meist die Hoehe des Rechtecks (kann durch rectMode() geaendert werden).
          -
          -
        • -
        - - - -
          -
        • -

          ellipse

          -
          public void ellipse​(int a,
          -                    int b,
          -                    int c,
          -                    int d)
          -
          Zeichnet eine Ellipse/Kreis auf das Bild. - Standardmaessig legen die ersten beiden Parameter die Position des Mittelpunkts fest, der dritte die Breite und der vierte die Hoehe. - Die Art und Weise, wie diese Parameter interpretiert werden, kann jedoch mit der Funktion ellipseMode() geaendert werden. - Durch den Befehl fill() /noFill() kann die Fuellfarbe des Rechtecks gewaehlt werden, durch stroke()/noStroke() die Rahmenfarbe.
          -
          -
          Parameters:
          -
          a - meist die x-Koordinate des Mittelpunkts (kann durch ellipseMode() geaendert werden).
          -
          b - meist die y-Koordinate des Mittelpunkts (kann durch ellipseMode() geaendert werden).
          -
          c - meist die Breite des Rechtecks (kann durch ellipseMode() geaendert werden).
          -
          d - meist die Hoehe des Rechtecks (kann durch ellipseMode() geaendert werden).
          -
          -
        • -
        - - - -
          -
        • -

          triangle

          -
          public void triangle​(int x1,
          -                     int y1,
          -                     int x2,
          -                     int y2,
          -                     int x3,
          -                     int y3)
          -
          Zeichnet ein Dreieck auf das Bild. - Ein Dreieck ist eine Ebene, die durch die Verbindung von drei Punkten entsteht. Die ersten beiden Argumente spezifizieren den - ersten Punkt, die mittleren beiden Argumente spezifizieren den zweiten Punkt und die letzten beiden Argumente spezifizieren den dritten Punkt. - Durch den Befehl fill() /noFill() kann die Fuellfarbe des Rechtecks gewaehlt werden, durch stroke()/noStroke() die Rahmenfarbe.
          -
          -
          Parameters:
          -
          x1 - meist die x-Koordinate des 1. Punkts.
          -
          y1 - meist die y-Koordinate des 1. Punkts.
          -
          x2 - meist die x-Koordinate des 2. Punkts.
          -
          y2 - meist die y-Koordinate des 2. Punkts.
          -
          x3 - meist die x-Koordinate des 3. Punkts.
          -
          y3 - meist die y-Koordinate des 3. Punkts.
          -
          -
        • -
        - - - -
          -
        • -

          quad

          -
          public void quad​(int x1,
          -                 int y1,
          -                 int x2,
          -                 int y2,
          -                 int x3,
          -                 int y3,
          -                 int x4,
          -                 int y4)
          -
          Zeichnet ein Viereck auf das Bild. - Ein Viereck ist ein vierseitiges Polygon. Es ist aehnlich wie ein Rechteck, aber die Winkel zwischen seinen Kanten - sind nicht auf neunzig Grad beschraenkt. Das erste Paar von Parametern (x1,y1) setzt den ersten Scheitelpunkt und die nachfolgenden - Paare sollten im Uhrzeigersinn oder gegen den Uhrzeigersinn um die definierte Form herum verlaufen. - Durch den Befehl fill() /noFill() kann die Fuellfarbe des Rechtecks gewaehlt werden, durch stroke()/noStroke() die Rahmenfarbe.
          -
          -
          Parameters:
          -
          x1 - meist die x-Koordinate des 1. Punkts.
          -
          y1 - meist die y-Koordinate des 1. Punkts.
          -
          x2 - meist die x-Koordinate des 2. Punkts.
          -
          y2 - meist die y-Koordinate des 2. Punkts.
          -
          x3 - meist die x-Koordinate des 3. Punkts.
          -
          y3 - meist die y-Koordinate des 3. Punkts.
          -
          x4 - meist die x-Koordinate des 3. Punkts.
          -
          y4 - meist die y-Koordinate des 3. Punkts.
          -
          -
        • -
        - - - -
          -
        • -

          polygon

          -
          public void polygon​(int[] x,
          -                    int[] y)
          -
          Zeichnet ein Polygon auf das Bild. - Gleich lange Listen von x und y-Koordinaten bestimmen die Eckpunkte des Polygons. - Durch den Befehl fill() /noFill() kann die Fuellfarbe des Rechtecks gewaehlt werden, durch stroke()/noStroke() die Rahmenfarbe.
          -
          -
          Parameters:
          -
          x - Liste der x-Koordinaten der Punkte.
          -
          y - Liste der y-Koordinaten der Punkte.
          -
          -
        • -
        - - - -
          -
        • -

          point

          -
          public void point​(int x,
          -                  int y)
          -
          Zeichnet einen Punkt, d.h. einen Kreis in der Dimension eines Pixels. - Der erste Parameter ist der x-Wert fuer den Punkt, der zweite Wert ist der y-Wert fuer den Punkt.
          -
          -
          Parameters:
          -
          x - x-Koordinate des Punktes
          -
          y - y-Koordinate des Punktes
          -
          -
        • -
        - - - -
          -
        • -

          text

          -
          public void text​(String s,
          -                 int x,
          -                 int y)
          -
          Gibt einen Text an den gegebenen Koordinaten aus - Zur Ausgabe des Textes wird der ausgewaehlte Font verwendet. Dieser muss vorher mit textFont() festgelegt.
          -
          -
          Parameters:
          -
          s - Text, der angezeigt werden soll
          -
          x - x-Koordinate des Textanfangs
          -
          y - y-Koordinate der Grundlinie des Textes.
          -
          -
        • -
        - - - -
          -
        • -

          textFont

          -
          public void textFont​(Font font)
          -
          Legt die Schriftart fuer Textausgaben fest. - Jeder uebliche Java-Font kann verwendet werden. Er kann mit z.B. Font f = new Font( "Arial", Font.PLAIN, 14 ); definiert werden.
          -
          -
          Parameters:
          -
          font - ein Font-Objekt
          -
          -
        • -
        - - - -
          -
        • -

          stroke

          -
          public void stroke​(String pencolor)
          -
          Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden. - Diese Farbe wird hexadezimal in Form der RGB angegeben: z.B. "CCFFAA" oder "004E23". Die Syntax verwendet sechs Ziffern - je zwei fuer die roten, gruenen und blauen Komponenten, - um eine Farbe anzugeben (genau wie Farben typischerweise in HTML und CSS angegeben werden).
          -
          -
          Parameters:
          -
          pencolor - Stiftfarbe in Hexadezimaldarstellung
          -
          -
        • -
        - - - -
          -
        • -

          stroke

          -
          public void stroke​(int pencolor)
          -
          Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden. - Diese Farbe wird entweder als Graustufe (0-255) oder als 3-Byte RGB-Wert angegeben
          -
          -
          Parameters:
          -
          pencolor - Stiftfarbe (0-255: Graustufe zwischen 0 schwarz und 255 weiss, sonst: c wird als 3-Byte RGB-Wert interpretiert)
          -
          -
        • -
        - - - -
          -
        • -

          stroke

          -
          public void stroke​(int r,
          -                   int g,
          -                   int b)
          -
          Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden. - Diese Farbe wird komponentenweise als RGB-Wert angegeben
          -
          -
          Parameters:
          -
          r - Rotanteil (0-255) der Stiftfarbe
          -
          g - Gruenanteil (0-255) der Stiftfarbe
          -
          b - Blauanteil (0-255) der Stiftfarbe
          -
          -
        • -
        - - - -
          -
        • -

          noStroke

          -
          public void noStroke()
          -
          Legt fest, dass keine Linien oder Raender um Formen gezeichnet werden soll.
          -
        • -
        - - - -
          -
        • -

          strokeWeight

          -
          public void strokeWeight​(double width)
          -
          Legt die Breite des Strichs fuer Linien, Punkte und den Rand um Formen fest. - Alle Breiten werden in Pixeleinheiten angegeben.
          -
          -
          Parameters:
          -
          width - Breite in Pixel
          -
          -
        • -
        - - - -
          -
        • -

          fill

          -
          public void fill​(String fillcolor)
          -
          Legt die Farbe fest, mit der Formen gefuellt werden. - Diese Farbe wird hexadezimal in Form der RGB angegeben: z.B. "CCFFAA" oder "004E23". Die Syntax verwendet sechs Ziffern - je zwei fuer die roten, gruenen und blauen Komponenten, - um eine Farbe anzugeben (genau wie Farben typischerweise in HTML und CSS angegeben werden).
          -
          -
          Parameters:
          -
          fillcolor - Fuellfarbe in Hexadezimaldarstellung
          -
          -
        • -
        - - - -
          -
        • -

          fill

          -
          public void fill​(int fillcolor)
          -
          Legt die Farbe fest, mit der Formen gefuellt werden. - Diese Farbe wird entweder als Graustufe (0-255) oder als 3-Byte RGB-Wert angegeben.
          -
          -
          Parameters:
          -
          fillcolor - Fuellfarbe (0-255: Graustufe zwischen 0 schwarz und 255 weiss, sonst: c wird als 3-Byte RGB-Wert interpretiert)
          -
          -
        • -
        - - - -
          -
        • -

          fill

          -
          public void fill​(int r,
          -                 int g,
          -                 int b)
          -
          Legt die Farbe fest, mit der Formen gefuellt werden. - Diese Farbe wird komponentenweise als RGB-Wert angegeben.
          -
          -
          Parameters:
          -
          r - Rotanteil (0-255) der Fuellfarbe
          -
          g - Gruenanteil (0-255) der Fuellfarbe
          -
          b - Blauanteil (0-255) der Fuellfarbe
          -
          -
        • -
        - - - -
          -
        • -

          noFill

          -
          public void noFill()
          -
          Legt fest, dass die Formen nicht gefuellt werden sollen.
          -
        • -
        - - - -
          -
        • -

          background

          -
          public void background​(int c)
          -
          Die Funktion background() setzt die Farbe, die fuer den Hintergrund des Bildes verwendet wird. Der Standardhintergrund ist hellgrau. - Es ist nicht moeglich, den Alpha-Parameter Transparenz mit Hintergrundfarben auf der Hauptzeichnungsoberflaeche zu verwenden.
          -
          -
          Parameters:
          -
          c - Farbe fuer den Hintergrund (0-255: Graustufe zwischen 0 schwarz und 255 weiss, sonst: c wird als 3-Byte RGB-Wert interpretiert)
          -
          -
        • -
        - - - -
          -
        • -

          background

          -
          public void background​(int r,
          -                       int g,
          -                       int b)
          -
          Die Funktion background() setzt die Farbe, die fuer den Hintergrund des Bildes verwendet wird. Der Standardhintergrund ist hellgrau. - Es ist nicht moeglich, den Alpha-Parameter Transparenz mit Hintergrundfarben auf der Hauptzeichnungsoberflaeche zu verwenden.
          -
          -
          Parameters:
          -
          r - Rotanteil (0-255) der Hintergrundfarbe
          -
          g - Gruenanteil (0-255) der Hintergrundfarbe
          -
          b - Blauanteil (0-255) der Hintergrundfarbe
          -
          -
        • -
        - - - -
          -
        • -

          load

          -
          public void load​(String filename)
          -
          Laedt ein Bild aus dem Dateisystem. - Laedt ein Bild von einem Datentraeger und setzt Stiftfarbe und Fuellfarbe auf Standardwerte zurueck.
          -
          -
          Parameters:
          -
          filename - Dateiname des Bildes
          -
          -
        • -
        - - - -
          -
        • -

          save

          -
          public void save​(String filename)
          -
          Speichert ein Bild. - Speichert ein Bild auf einem Datentraeger. Zulaessig sind die Dateiformate PNG und GIF. Die Dateiendung legt den Typ fest. - Standardmaessig wird die Dateiendung .png ergaenzt, wenn keine angegeben ist.
          -
          -
          Parameters:
          -
          filename - Dateiname des Bildes
          -
          -
        • -
        - - - -
          -
        • -

          getPixelArray

          -
          public Color[][] getPixelArray()
          -
          Liefert das Bild als zweidimensionales Pixel-Array.
          -
          -
          Returns:
          -
          zweidimensionales Array von Color-Objekten, die den Pixeln des Bildes entsprechen.
          -
          -
        • -
        - - - -
          -
        • -

          setPixelArray

          -
          public void setPixelArray​(Color[][] pixel)
          -
          Setzt das Bild neu auf Basis des Pixel-Arrays. - Die Groesse des Bildes wird nicht automatisch an das Array angepasst.
          -
          -
          Parameters:
          -
          pixel - zweidimensionales Array von Color-Objekten
          -
          -
        • -
        - - - -
          -
        • -

          delay

          -
          public void delay​(int millis)
          -
          Hilfsfunktion zum Verzoegern der Ausgabe
          -
          -
          Parameters:
          -
          millis - Wartezeit in Millisekunden
          -
          -
        • -
        -
      • -
      -
      -
    • -
    -
    -
    -
    - - - - + + + + + +Picture (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    + +
    +
    +
    Package imp
    +

    Class Picture

    +
    +
    + +
    +
      +
    • +
      +
      public class Picture
      +extends Object
      +
      Bildklasse fuer die Simulation von Processing-Befehlen + + Diese Klasse stellt ein BufferedImage bereit, in das mit Processing-Befehlen gezeichnet + werden kann. + Zusaetzlich kann ein Bildanzeiger ueber jede Aenderung des Bildes informiert werden, + um "Zurueck"-Befehle zu ermoeglichen. Der Bildanzeiger ist entweder eine normale Java + ScrollPane oder ein Actor aus Greenfoot. + Die Dokumentation der einzelnen Zeichenmethoden ist der Processing-Reference + (https://processing.org/reference/ steht unter CC-Lizenz: https://creativecommons.org/) + entnommen und mit Deepl.com ins Deutsche uebersetzt.
      +
      +
      Version:
      +
      1.0 from 23.01.2019
      +
      Author:
      +
      Thomas Schaller (ZPG Informatik Klasse 9)
      +
      +
    • +
    +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Field Summary

        + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        Fields 
        Modifier and TypeFieldDescription
        static intCENTER 
        static intCORNER 
        static intCORNERS 
        static intRADIUS 
        +
      • +
      +
      + +
      +
        +
      • + + +

        Constructor Summary

        + + + + + + + + + + + + + + + + + + + + + + +
        Constructors 
        ConstructorDescription
        Picture() +
        Erzeugt ein Bild mit Standardgroesse 500x400
        +
        Picture​(int width, + int height) +
        Erzeugt ein Bild der angegeben Groesse
        +
        Picture​(int width, + int height, + String background) +
        Erzeugt ein Bild der angegebenen Groesse mit festgelegtem Hintergrund
        +
        Picture​(String filename) +
        Erzeugt ein Bild aus einer Datei
        +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        voidbackground​(int c) +
        Die Funktion background() setzt die Farbe, die fuer den Hintergrund des Bildes verwendet wird.
        +
        voidbackground​(int r, + int g, + int b) +
        Die Funktion background() setzt die Farbe, die fuer den Hintergrund des Bildes verwendet wird.
        +
        voidclear() +
        Loescht den Inhalt des Bildes.
        +
        voiddelay​(int millis) +
        Hilfsfunktion zum Verzoegern der Ausgabe
        +
        voidellipse​(int a, + int b, + int c, + int d) +
        Zeichnet eine Ellipse/Kreis auf das Bild.
        +
        voidellipseMode​(int mode) +
        Aendert den Koordinaten-Modus beim Zeichnen von Kreisen/Ellipsen.
        +
        voidfill​(int fillcolor) +
        Legt die Farbe fest, mit der Formen gefuellt werden.
        +
        voidfill​(int r, + int g, + int b) +
        Legt die Farbe fest, mit der Formen gefuellt werden.
        +
        voidfill​(String fillcolor) +
        Legt die Farbe fest, mit der Formen gefuellt werden.
        +
        voidforceRepaint() +
        Ein repaint() (das Neuzeichnen) kann manuell erzwungen werden.
        +
        intgetHeight() +
        Liefert die Hoehe des Bildes zurueck.
        +
        BufferedImagegetImage() +
        Direktes Abfragen des Bildes (fuer interne Zwecke)
        +
        PictureViewergetObserver() 
        Color[][]getPixelArray() +
        Liefert das Bild als zweidimensionales Pixel-Array.
        +
        intgetWidth() +
        Liefert die Breite des Bildes zurueck.
        +
        voidline​(int x1, + int y1, + int x2, + int y2) +
        Zeichnet eine Linie (einen direkten Weg zwischen zwei Punkten) auf den Bildschirm.
        +
        voidload​(String filename) +
        Laedt ein Bild aus dem Dateisystem.
        +
        voidnoFill() +
        Legt fest, dass die Formen nicht gefuellt werden sollen.
        +
        voidnoStroke() +
        Legt fest, dass keine Linien oder Raender um Formen gezeichnet werden soll.
        +
        voidpoint​(int x, + int y) +
        Zeichnet einen Punkt, d.h. einen Kreis in der Dimension eines Pixels.
        +
        voidpolygon​(int[] x, + int[] y) +
        Zeichnet ein Polygon auf das Bild.
        +
        voidquad​(int x1, + int y1, + int x2, + int y2, + int x3, + int y3, + int x4, + int y4) +
        Zeichnet ein Viereck auf das Bild.
        +
        voidrect​(int a, + int b, + int c, + int d) +
        Zeichnet ein Rechteck auf das Bild.
        +
        voidrectMode​(int mode) +
        Aendert den Koordinaten-Modus beim Zeichnen von Rechtecken.
        +
        voidsave​(String filename) +
        Speichert ein Bild.
        +
        voidsetAutoRefresh​(boolean autoRefresh) +
        Legt fest, ob nach jedem Zeichenbefehl automatisch das Bild auch in + der Oberflaeche aktualisiert wird.
        +
        voidsetImage​(BufferedImage b) +
        Direktes Setzen des Bildes (fuer interne Zwecke)
        +
        voidsetObserver​(PictureViewer observer) +
        Legt fest, wer das Bild anzeigt.
        +
        voidsetPixelArray​(Color[][] pixel) +
        Setzt das Bild neu auf Basis des Pixel-Arrays.
        +
        voidshowInFrame() 
        voidsize​(int width, + int height) +
        Definiert die Dimension der Breite und Hoehe des Anzeigefensters in Pixeleinheiten.
        +
        voidstroke​(int pencolor) +
        Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden.
        +
        voidstroke​(int r, + int g, + int b) +
        Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden.
        +
        voidstroke​(String pencolor) +
        Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden.
        +
        voidstrokeWeight​(double width) +
        Legt die Breite des Strichs fuer Linien, Punkte und den Rand um Formen fest.
        +
        voidtext​(String s, + int x, + int y) +
        Gibt einen Text an den gegebenen Koordinaten aus + Zur Ausgabe des Textes wird der ausgewaehlte Font verwendet.
        +
        voidtextFont​(Font font) +
        Legt die Schriftart fuer Textausgaben fest.
        +
        voidtextMode​(int mode) +
        Aendert den Koordinaten-Modus beim Zeichnen von Texten.
        +
        voidtriangle​(int x1, + int y1, + int x2, + int y2, + int x3, + int y3) +
        Zeichnet ein Dreieck auf das Bild.
        +
        + +
      • +
      +
      +
    • +
    +
    +
    +
      +
    • + +
      + +
      + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          Picture

          +
          public Picture()
          +
          Erzeugt ein Bild mit Standardgroesse 500x400
          +
        • +
        + + + +
          +
        • +

          Picture

          +
          public Picture​(int width,
          +               int height)
          +
          Erzeugt ein Bild der angegeben Groesse
          +
          +
          Parameters:
          +
          width - Breite des Bildes
          +
          height - Hoehe des Bildes
          +
          +
        • +
        + + + +
          +
        • +

          Picture

          +
          public Picture​(String filename)
          +
          Erzeugt ein Bild aus einer Datei
          +
          +
          Parameters:
          +
          filename - Dateiname des Bildes
          +
          +
        • +
        + + + +
          +
        • +

          Picture

          +
          public Picture​(int width,
          +               int height,
          +               String background)
          +
          Erzeugt ein Bild der angegebenen Groesse mit festgelegtem Hintergrund
          +
          +
          Parameters:
          +
          width - Breite des Bildes
          +
          height - Hoehe des Bildes
          +
          background - Farbe des Hintergrunds
          +
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          showInFrame

          +
          public void showInFrame()
          +
        • +
        + + + +
          +
        • +

          setObserver

          +
          public void setObserver​(PictureViewer observer)
          +
          Legt fest, wer das Bild anzeigt. + Diese ermoeglicht die Benachrichtung des Observers, wenn sich das Bild aendert.
          +
          +
          Parameters:
          +
          observer - Anzeiger des Bildes
          +
          +
        • +
        + + + + + + + +
          +
        • +

          setImage

          +
          public void setImage​(BufferedImage b)
          +
          Direktes Setzen des Bildes (fuer interne Zwecke)
          +
          +
          Parameters:
          +
          b - Bild, das gespeichert werden soll.
          +
          +
        • +
        + + + +
          +
        • +

          getImage

          +
          public BufferedImage getImage()
          +
          Direktes Abfragen des Bildes (fuer interne Zwecke)
          +
          +
          Returns:
          +
          Bild, das gerade gespeichert ist.
          +
          +
        • +
        + + + +
          +
        • +

          size

          +
          public void size​(int width,
          +                 int height)
          +
          Definiert die Dimension der Breite und Hoehe des Anzeigefensters in Pixeleinheiten. + Die eingebauten Variablen Breite und Hoehe werden durch die an diese Funktion uebergebenen Parameter festgelegt. So weist beispielsweise + der Befehl size(640, 480) der Variablen Breite 640 und der Variablen Hoehe 480 zu.
          +
          +
          Parameters:
          +
          width - Breite des Bildes
          +
          height - Hoehe des Bildes
          +
          +
        • +
        + + + +
          +
        • +

          getWidth

          +
          public int getWidth()
          +
          Liefert die Breite des Bildes zurueck.
          +
          +
          Returns:
          +
          Breite des Bildes
          +
          +
        • +
        + + + +
          +
        • +

          getHeight

          +
          public int getHeight()
          +
          Liefert die Hoehe des Bildes zurueck.
          +
          +
          Returns:
          +
          Hoehe des Bildes
          +
          +
        • +
        + + + +
          +
        • +

          setAutoRefresh

          +
          public void setAutoRefresh​(boolean autoRefresh)
          +
          Legt fest, ob nach jedem Zeichenbefehl automatisch das Bild auch in + der Oberflaeche aktualisiert wird. Die Einstellung "false" beschleunigt + das Zeichnen aufwaendiger Bilder und verhindert "Flackern". + Das Neuzeichnen kann durch die Methode "refresh" gezielt ausgeloest werden.
          +
          +
          Parameters:
          +
          autorefresh - true = nach jedem Zeichenbefehl die Anzeige aktualisieren, false= nur durch die Methode refresh neu zeichnen
          +
          +
        • +
        + + + +
          +
        • +

          forceRepaint

          +
          public void forceRepaint()
          +
          Ein repaint() (das Neuzeichnen) kann manuell erzwungen werden.
          +
        • +
        + + + +
          +
        • +

          clear

          +
          public void clear()
          +
          Loescht den Inhalt des Bildes. + Der Hintergrund wird mit der Hintergrundfarbe neu gefuellt.
          +
        • +
        + + + +
          +
        • +

          rectMode

          +
          public void rectMode​(int mode)
          +
          Aendert den Koordinaten-Modus beim Zeichnen von Rechtecken. + Aendert die Position, von der aus Rechtecke gezeichnet werden, indem es die Art und Weise aendert, wie Parameter, die an rect() uebergeben werden, interpretiert werden. + Der Standardmodus ist rectMode(Bild.CORNER), der die ersten beiden Parameter von rect() als die linke obere Ecke der Form interpretiert, + waehrend der dritte und vierte Parameter seine Breite und Hoehe sind. + rectMode(Bild.CORNERS) interpretiert die ersten beiden Parameter von rect() als die Position einer Ecke + und die dritten und vierten Parameter als die Position der gegenueberliegenden Ecke. + rectMode(Bild.CENTER) interpretiert die ersten beiden Parameter von rect() als Mittelpunkt der Form, + waehrend der dritte und vierte Parameter seine Breite und Hoehe sind. + rectMode(RADIUS) verwendet auch die ersten beiden Parameter von rect() als Mittelpunkt der Form, + verwendet aber den dritten und vierten Parameter, um die Haelfte der Breite und Hoehe der Formen festzulegen.
          +
          +
          Parameters:
          +
          mode - Modus der Koordinateninterpretation (CORNER, CORNERS, CENTER oder RADIUS)
          +
          +
        • +
        + + + +
          +
        • +

          ellipseMode

          +
          public void ellipseMode​(int mode)
          +
          Aendert den Koordinaten-Modus beim Zeichnen von Kreisen/Ellipsen. + Aendert die Position, von der aus Kreise/Ellipsen gezeichnet werden, indem es die Art und Weise aendert, wie Parameter, die an ellipse() uebergeben werden, interpretiert werden. + Der Standardmodus ist ellipseMode(Bild.CENTER), der die ersten beiden Parameter von ellipse() als Mittelpunkt der Form interpretiert, + waehrend der dritte und vierte Parameter seine Breite und Hoehe sind. + ellipseMode(Bild.CORNER) interpretiert die ersten beiden Parameter von ellipse() als die Position einer Ecke + und die dritten und vierten Parameter als Breite und Hoehe der Form. + ellipseMode(Bild.CORNERS) interpretiert die ersten beiden Parameter von ellipse() als die Position einer Ecke + und die dritten und vierten Parameter als die Position der gegenueberliegenden Ecke. + ellipseMode(RADIUS) verwendet auch die ersten beiden Parameter von ellipse() als Mittelpunkt der Form, + verwendet aber den dritten und vierten Parameter, um die Haelfte der Breite und Hoehe der Formen festzulegen.
          +
          +
          Parameters:
          +
          mode - Modus der Koordinateninterpretation (CORNER, CORNERS, CENTER oder RADIUS)
          +
          +
        • +
        + + + +
          +
        • +

          textMode

          +
          public void textMode​(int mode)
          +
          Aendert den Koordinaten-Modus beim Zeichnen von Texten. + Aendert die Position, an der Texte gezeichnet werden, indem es die Art und Weise aendert, wie Parameter, die an text() uebergeben werden, interpretiert werden. + Der Standardmodus ist textMode(Bild.CORNER), der die Koordinaten von text() als + linke untere Ecke des Textes interpretiert. + textMode(Bild.CENTER) interpretiert sie als Koordinaten des Mittelpunktes des Textes..
          +
          +
          Parameters:
          +
          mode - Modus der Koordinateninterpretation (CORNER, CENTER)
          +
          +
        • +
        + + + +
          +
        • +

          line

          +
          public void line​(int x1,
          +                 int y1,
          +                 int x2,
          +                 int y2)
          +
          Zeichnet eine Linie (einen direkten Weg zwischen zwei Punkten) auf den Bildschirm. + Um eine Linie einzufaerben, verwenden Sie die stroke() Funktion. Eine Zeile kann nicht gefuellt werden, daher hat die Funktion fill() keinen + Einfluss auf die Farbe einer Zeile. Linien werden standardmaessig mit einer Breite von einem Pixel gezeichnet, dies kann jedoch mit der Funktion + strokeWeight() geaendert werden.
          +
          +
          Parameters:
          +
          x1 - x-Koordinate des 1. Punktes
          +
          y1 - y-Koordinate des 1. Punktes
          +
          x2 - x-Koordinate des 2. Punktes
          +
          y2 - y-Koordinate des 2. Punktes
          +
          +
        • +
        + + + +
          +
        • +

          rect

          +
          public void rect​(int a,
          +                 int b,
          +                 int c,
          +                 int d)
          +
          Zeichnet ein Rechteck auf das Bild. + Standardmaessig legen die ersten beiden Parameter die Position der linken oberen Ecke fest, der dritte die Breite und der vierte die Hoehe. + Die Art und Weise, wie diese Parameter interpretiert werden, kann jedoch mit der Funktion rectMode() geaendert werden. + Durch den Befehl fill() /noFill() kann die Fuellfarbe des Rechtecks gewaehlt werden, durch stroke()/noStroke() die Rahmenfarbe.
          +
          +
          Parameters:
          +
          a - meist die x-Koordinate der linken oberen Ecke (kann durch rectMode() geaendert werden).
          +
          b - meist die y-Koordinate der linken oberen Ecke (kann durch rectMode() geaendert werden).
          +
          c - meist die Breite des Rechtecks (kann durch rectMode() geaendert werden).
          +
          d - meist die Hoehe des Rechtecks (kann durch rectMode() geaendert werden).
          +
          +
        • +
        + + + +
          +
        • +

          ellipse

          +
          public void ellipse​(int a,
          +                    int b,
          +                    int c,
          +                    int d)
          +
          Zeichnet eine Ellipse/Kreis auf das Bild. + Standardmaessig legen die ersten beiden Parameter die Position des Mittelpunkts fest, der dritte die Breite und der vierte die Hoehe. + Die Art und Weise, wie diese Parameter interpretiert werden, kann jedoch mit der Funktion ellipseMode() geaendert werden. + Durch den Befehl fill() /noFill() kann die Fuellfarbe des Rechtecks gewaehlt werden, durch stroke()/noStroke() die Rahmenfarbe.
          +
          +
          Parameters:
          +
          a - meist die x-Koordinate des Mittelpunkts (kann durch ellipseMode() geaendert werden).
          +
          b - meist die y-Koordinate des Mittelpunkts (kann durch ellipseMode() geaendert werden).
          +
          c - meist die Breite des Rechtecks (kann durch ellipseMode() geaendert werden).
          +
          d - meist die Hoehe des Rechtecks (kann durch ellipseMode() geaendert werden).
          +
          +
        • +
        + + + +
          +
        • +

          triangle

          +
          public void triangle​(int x1,
          +                     int y1,
          +                     int x2,
          +                     int y2,
          +                     int x3,
          +                     int y3)
          +
          Zeichnet ein Dreieck auf das Bild. + Ein Dreieck ist eine Ebene, die durch die Verbindung von drei Punkten entsteht. Die ersten beiden Argumente spezifizieren den + ersten Punkt, die mittleren beiden Argumente spezifizieren den zweiten Punkt und die letzten beiden Argumente spezifizieren den dritten Punkt. + Durch den Befehl fill() /noFill() kann die Fuellfarbe des Rechtecks gewaehlt werden, durch stroke()/noStroke() die Rahmenfarbe.
          +
          +
          Parameters:
          +
          x1 - meist die x-Koordinate des 1. Punkts.
          +
          y1 - meist die y-Koordinate des 1. Punkts.
          +
          x2 - meist die x-Koordinate des 2. Punkts.
          +
          y2 - meist die y-Koordinate des 2. Punkts.
          +
          x3 - meist die x-Koordinate des 3. Punkts.
          +
          y3 - meist die y-Koordinate des 3. Punkts.
          +
          +
        • +
        + + + +
          +
        • +

          quad

          +
          public void quad​(int x1,
          +                 int y1,
          +                 int x2,
          +                 int y2,
          +                 int x3,
          +                 int y3,
          +                 int x4,
          +                 int y4)
          +
          Zeichnet ein Viereck auf das Bild. + Ein Viereck ist ein vierseitiges Polygon. Es ist aehnlich wie ein Rechteck, aber die Winkel zwischen seinen Kanten + sind nicht auf neunzig Grad beschraenkt. Das erste Paar von Parametern (x1,y1) setzt den ersten Scheitelpunkt und die nachfolgenden + Paare sollten im Uhrzeigersinn oder gegen den Uhrzeigersinn um die definierte Form herum verlaufen. + Durch den Befehl fill() /noFill() kann die Fuellfarbe des Rechtecks gewaehlt werden, durch stroke()/noStroke() die Rahmenfarbe.
          +
          +
          Parameters:
          +
          x1 - meist die x-Koordinate des 1. Punkts.
          +
          y1 - meist die y-Koordinate des 1. Punkts.
          +
          x2 - meist die x-Koordinate des 2. Punkts.
          +
          y2 - meist die y-Koordinate des 2. Punkts.
          +
          x3 - meist die x-Koordinate des 3. Punkts.
          +
          y3 - meist die y-Koordinate des 3. Punkts.
          +
          x4 - meist die x-Koordinate des 3. Punkts.
          +
          y4 - meist die y-Koordinate des 3. Punkts.
          +
          +
        • +
        + + + +
          +
        • +

          polygon

          +
          public void polygon​(int[] x,
          +                    int[] y)
          +
          Zeichnet ein Polygon auf das Bild. + Gleich lange Listen von x und y-Koordinaten bestimmen die Eckpunkte des Polygons. + Durch den Befehl fill() /noFill() kann die Fuellfarbe des Rechtecks gewaehlt werden, durch stroke()/noStroke() die Rahmenfarbe.
          +
          +
          Parameters:
          +
          x - Liste der x-Koordinaten der Punkte.
          +
          y - Liste der y-Koordinaten der Punkte.
          +
          +
        • +
        + + + +
          +
        • +

          point

          +
          public void point​(int x,
          +                  int y)
          +
          Zeichnet einen Punkt, d.h. einen Kreis in der Dimension eines Pixels. + Der erste Parameter ist der x-Wert fuer den Punkt, der zweite Wert ist der y-Wert fuer den Punkt.
          +
          +
          Parameters:
          +
          x - x-Koordinate des Punktes
          +
          y - y-Koordinate des Punktes
          +
          +
        • +
        + + + +
          +
        • +

          text

          +
          public void text​(String s,
          +                 int x,
          +                 int y)
          +
          Gibt einen Text an den gegebenen Koordinaten aus + Zur Ausgabe des Textes wird der ausgewaehlte Font verwendet. Dieser muss vorher mit textFont() festgelegt.
          +
          +
          Parameters:
          +
          s - Text, der angezeigt werden soll
          +
          x - x-Koordinate des Textanfangs
          +
          y - y-Koordinate der Grundlinie des Textes.
          +
          +
        • +
        + + + +
          +
        • +

          textFont

          +
          public void textFont​(Font font)
          +
          Legt die Schriftart fuer Textausgaben fest. + Jeder uebliche Java-Font kann verwendet werden. Er kann mit z.B. Font f = new Font( "Arial", Font.PLAIN, 14 ); definiert werden.
          +
          +
          Parameters:
          +
          font - ein Font-Objekt
          +
          +
        • +
        + + + +
          +
        • +

          stroke

          +
          public void stroke​(String pencolor)
          +
          Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden. + Diese Farbe wird hexadezimal in Form der RGB angegeben: z.B. "CCFFAA" oder "004E23". Die Syntax verwendet sechs Ziffern - je zwei fuer die roten, gruenen und blauen Komponenten, + um eine Farbe anzugeben (genau wie Farben typischerweise in HTML und CSS angegeben werden).
          +
          +
          Parameters:
          +
          pencolor - Stiftfarbe in Hexadezimaldarstellung
          +
          +
        • +
        + + + +
          +
        • +

          stroke

          +
          public void stroke​(int pencolor)
          +
          Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden. + Diese Farbe wird entweder als Graustufe (0-255) oder als 3-Byte RGB-Wert angegeben
          +
          +
          Parameters:
          +
          pencolor - Stiftfarbe (0-255: Graustufe zwischen 0 schwarz und 255 weiss, sonst: c wird als 3-Byte RGB-Wert interpretiert)
          +
          +
        • +
        + + + +
          +
        • +

          stroke

          +
          public void stroke​(int r,
          +                   int g,
          +                   int b)
          +
          Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden. + Diese Farbe wird komponentenweise als RGB-Wert angegeben
          +
          +
          Parameters:
          +
          r - Rotanteil (0-255) der Stiftfarbe
          +
          g - Gruenanteil (0-255) der Stiftfarbe
          +
          b - Blauanteil (0-255) der Stiftfarbe
          +
          +
        • +
        + + + +
          +
        • +

          noStroke

          +
          public void noStroke()
          +
          Legt fest, dass keine Linien oder Raender um Formen gezeichnet werden soll.
          +
        • +
        + + + +
          +
        • +

          strokeWeight

          +
          public void strokeWeight​(double width)
          +
          Legt die Breite des Strichs fuer Linien, Punkte und den Rand um Formen fest. + Alle Breiten werden in Pixeleinheiten angegeben.
          +
          +
          Parameters:
          +
          width - Breite in Pixel
          +
          +
        • +
        + + + +
          +
        • +

          fill

          +
          public void fill​(String fillcolor)
          +
          Legt die Farbe fest, mit der Formen gefuellt werden. + Diese Farbe wird hexadezimal in Form der RGB angegeben: z.B. "CCFFAA" oder "004E23". Die Syntax verwendet sechs Ziffern - je zwei fuer die roten, gruenen und blauen Komponenten, + um eine Farbe anzugeben (genau wie Farben typischerweise in HTML und CSS angegeben werden).
          +
          +
          Parameters:
          +
          fillcolor - Fuellfarbe in Hexadezimaldarstellung
          +
          +
        • +
        + + + +
          +
        • +

          fill

          +
          public void fill​(int fillcolor)
          +
          Legt die Farbe fest, mit der Formen gefuellt werden. + Diese Farbe wird entweder als Graustufe (0-255) oder als 3-Byte RGB-Wert angegeben.
          +
          +
          Parameters:
          +
          fillcolor - Fuellfarbe (0-255: Graustufe zwischen 0 schwarz und 255 weiss, sonst: c wird als 3-Byte RGB-Wert interpretiert)
          +
          +
        • +
        + + + +
          +
        • +

          fill

          +
          public void fill​(int r,
          +                 int g,
          +                 int b)
          +
          Legt die Farbe fest, mit der Formen gefuellt werden. + Diese Farbe wird komponentenweise als RGB-Wert angegeben.
          +
          +
          Parameters:
          +
          r - Rotanteil (0-255) der Fuellfarbe
          +
          g - Gruenanteil (0-255) der Fuellfarbe
          +
          b - Blauanteil (0-255) der Fuellfarbe
          +
          +
        • +
        + + + +
          +
        • +

          noFill

          +
          public void noFill()
          +
          Legt fest, dass die Formen nicht gefuellt werden sollen.
          +
        • +
        + + + +
          +
        • +

          background

          +
          public void background​(int c)
          +
          Die Funktion background() setzt die Farbe, die fuer den Hintergrund des Bildes verwendet wird. Der Standardhintergrund ist hellgrau. + Es ist nicht moeglich, den Alpha-Parameter Transparenz mit Hintergrundfarben auf der Hauptzeichnungsoberflaeche zu verwenden.
          +
          +
          Parameters:
          +
          c - Farbe fuer den Hintergrund (0-255: Graustufe zwischen 0 schwarz und 255 weiss, sonst: c wird als 3-Byte RGB-Wert interpretiert)
          +
          +
        • +
        + + + +
          +
        • +

          background

          +
          public void background​(int r,
          +                       int g,
          +                       int b)
          +
          Die Funktion background() setzt die Farbe, die fuer den Hintergrund des Bildes verwendet wird. Der Standardhintergrund ist hellgrau. + Es ist nicht moeglich, den Alpha-Parameter Transparenz mit Hintergrundfarben auf der Hauptzeichnungsoberflaeche zu verwenden.
          +
          +
          Parameters:
          +
          r - Rotanteil (0-255) der Hintergrundfarbe
          +
          g - Gruenanteil (0-255) der Hintergrundfarbe
          +
          b - Blauanteil (0-255) der Hintergrundfarbe
          +
          +
        • +
        + + + +
          +
        • +

          load

          +
          public void load​(String filename)
          +
          Laedt ein Bild aus dem Dateisystem. + Laedt ein Bild von einem Datentraeger und setzt Stiftfarbe und Fuellfarbe auf Standardwerte zurueck.
          +
          +
          Parameters:
          +
          filename - Dateiname des Bildes
          +
          +
        • +
        + + + +
          +
        • +

          save

          +
          public void save​(String filename)
          +
          Speichert ein Bild. + Speichert ein Bild auf einem Datentraeger. Zulaessig sind die Dateiformate PNG und GIF. Die Dateiendung legt den Typ fest. + Standardmaessig wird die Dateiendung .png ergaenzt, wenn keine angegeben ist.
          +
          +
          Parameters:
          +
          filename - Dateiname des Bildes
          +
          +
        • +
        + + + +
          +
        • +

          getPixelArray

          +
          public Color[][] getPixelArray()
          +
          Liefert das Bild als zweidimensionales Pixel-Array.
          +
          +
          Returns:
          +
          zweidimensionales Array von Color-Objekten, die den Pixeln des Bildes entsprechen.
          +
          +
        • +
        + + + +
          +
        • +

          setPixelArray

          +
          public void setPixelArray​(Color[][] pixel)
          +
          Setzt das Bild neu auf Basis des Pixel-Arrays. + Die Groesse des Bildes wird nicht automatisch an das Array angepasst.
          +
          +
          Parameters:
          +
          pixel - zweidimensionales Array von Color-Objekten
          +
          +
        • +
        + + + +
          +
        • +

          delay

          +
          public void delay​(int millis)
          +
          Hilfsfunktion zum Verzoegern der Ausgabe
          +
          +
          Parameters:
          +
          millis - Wartezeit in Millisekunden
          +
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + + + + diff --git a/doc/imp/PictureViewer.html b/doc/imp/PictureViewer.html index a3a91f1..d151c08 100644 --- a/doc/imp/PictureViewer.html +++ b/doc/imp/PictureViewer.html @@ -1,673 +1,673 @@ - - - - - -PictureViewer (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    - -
    -
    -
    Package imp
    -

    Class PictureViewer

    -
    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • javafx.scene.Node
      • -
      • -
          -
        • javafx.scene.Parent
        • -
        • -
            -
          • javafx.scene.layout.Region
          • -
          • -
              -
            • javafx.scene.control.Control
            • -
            • -
                -
              • javafx.scene.control.ScrollPane
              • -
              • -
                  -
                • imp.PictureViewer
                • -
                -
              • -
              -
            • -
            -
          • -
          -
        • -
        -
      • -
      -
    • -
    -
    -
      -
    • -
      -
      All Implemented Interfaces:
      -
      javafx.css.Styleable, javafx.event.EventTarget, javafx.scene.control.Skinnable
      -
      -
      -
      Direct Known Subclasses:
      -
      GraphPlotter
      -
      -
      -
      public class PictureViewer
      -extends javafx.scene.control.ScrollPane
      -
    • -
    -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Nested Class Summary

        -
          -
        • - - -

          Nested classes/interfaces inherited from class javafx.scene.control.ScrollPane

          -javafx.scene.control.ScrollPane.ScrollBarPolicy
        • -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Field Summary

        - - - - - - - - - - - - - - - - - -
        Fields 
        Modifier and TypeFieldDescription
        static intFIT 
        static intNORMAL 
        -
          -
        • - - -

          Fields inherited from class javafx.scene.layout.Region

          -USE_COMPUTED_SIZE, USE_PREF_SIZE
        • -
        -
          -
        • - - -

          Fields inherited from class javafx.scene.Node

          -BASELINE_OFFSET_SAME_AS_HEIGHT
        • -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Constructor Summary

        - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Constructors 
        ConstructorDescription
        PictureViewer() -
        Erzeugt ein ScrollPanel mit integriertem Bild der Größe 1000x1000
        -
        PictureViewer​(int width, - int height) -
        Erzeugt ein ScrollPanel mit integriertem Bild der angegebenen Größe
        -
        PictureViewer​(int width, - int height, - String background) -
        Erzeugt ein ScrollPanel mit integriertem Bild der angegebenen Größe
        -
        PictureViewer​(Picture picture) -
        Erzeugt ein ScrollPanel und zeigt das Bild-Objekt an
        -
        PictureViewer​(String filename) -
        Erzeugt ein ScrollPanel mit integriertem Bild aus einer Bilddatei
        -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        voidback() -
        Ruft das letzte abgespeicherte Bild aus der History wieder auf.
        -
        PicturegetImage() -
        Liefert das angezeigte Bild
        -
        voidpushImage() -
        Speichert das übergebene Bild in der History.
        -
        voidrepaint() -
        Setzt das angezeigt Bild neu und beachtet dabei den Zoomfaktor.
        -
        voidsetImage​(Picture picture, - boolean saveOldImage) -
        Setzt das anzuzeigende Bild neu
        -
        voidsetZoom​(double factor) -
        Setzt den Zoom-Faktor für das Bild.
        -
        -
          -
        • - - -

          Methods inherited from class javafx.scene.control.ScrollPane

          -contentProperty, createDefaultSkin, fitToHeightProperty, fitToWidthProperty, getClassCssMetaData, getContent, getControlCssMetaData, getHbarPolicy, getHmax, getHmin, getHvalue, getInitialFocusTraversable, getMinViewportHeight, getMinViewportWidth, getPrefViewportHeight, getPrefViewportWidth, getVbarPolicy, getViewportBounds, getVmax, getVmin, getVvalue, hbarPolicyProperty, hmaxProperty, hminProperty, hvalueProperty, isFitToHeight, isFitToWidth, isPannable, minViewportHeightProperty, minViewportWidthProperty, pannableProperty, prefViewportHeightProperty, prefViewportWidthProperty, queryAccessibleAttribute, setContent, setFitToHeight, setFitToWidth, setHbarPolicy, setHmax, setHmin, setHvalue, setMinViewportHeight, setMinViewportWidth, setPannable, setPrefViewportHeight, setPrefViewportWidth, setVbarPolicy, setViewportBounds, setVmax, setVmin, setVvalue, vbarPolicyProperty, viewportBoundsProperty, vmaxProperty, vminProperty, vvalueProperty
        • -
        -
          -
        • - - -

          Methods inherited from class javafx.scene.control.Control

          -computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, executeAccessibleAction, getBaselineOffset, getContextMenu, getCssMetaData, getSkin, getTooltip, isResizable, layoutChildren, setContextMenu, setSkin, setTooltip, skinProperty, tooltipProperty
        • -
        -
          -
        • - - -

          Methods inherited from class javafx.scene.layout.Region

          -backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPositionX, snapPositionY, snapSizeX, snapSizeY, snapSpaceX, snapSpaceY, snapToPixelProperty, widthProperty
        • -
        -
          -
        • - - -

          Methods inherited from class javafx.scene.Parent

          -getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBounds
        • -
        -
          -
        • - - -

          Methods inherited from class javafx.scene.Node

          -accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty
        • -
        - -
          -
        • - - -

          Methods inherited from interface javafx.css.Styleable

          -getStyleableNode
        • -
        -
      • -
      -
      -
    • -
    -
    -
    -
      -
    • - -
      - -
      - -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          PictureViewer

          -
          public PictureViewer()
          -
          Erzeugt ein ScrollPanel mit integriertem Bild der Größe 1000x1000
          -
        • -
        - - - -
          -
        • -

          PictureViewer

          -
          public PictureViewer​(int width,
          -                     int height)
          -
          Erzeugt ein ScrollPanel mit integriertem Bild der angegebenen Größe
          -
          -
          Parameters:
          -
          width - Breite des Bildes
          -
          height - Höhe des Bildes
          -
          -
        • -
        - - - -
          -
        • -

          PictureViewer

          -
          public PictureViewer​(int width,
          -                     int height,
          -                     String background)
          -
          Erzeugt ein ScrollPanel mit integriertem Bild der angegebenen Größe
          -
          -
          Parameters:
          -
          width - Breite des Bildes
          -
          height - Höhe des Bildes
          -
          background - Farbe des Hintergrunds als HEX-String (z.B. "FF3A45")
          -
          -
        • -
        - - - -
          -
        • -

          PictureViewer

          -
          public PictureViewer​(String filename)
          -
          Erzeugt ein ScrollPanel mit integriertem Bild aus einer Bilddatei
          -
          -
          Parameters:
          -
          filename - Name des Bildes
          -
          -
        • -
        - - - -
          -
        • -

          PictureViewer

          -
          public PictureViewer​(Picture picture)
          -
          Erzeugt ein ScrollPanel und zeigt das Bild-Objekt an
          -
          -
          Parameters:
          -
          picture - anzuzeigendes Bild
          -
          -
        • -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          setImage

          -
          public void setImage​(Picture picture,
          -                     boolean saveOldImage)
          -
          Setzt das anzuzeigende Bild neu
          -
          -
          Parameters:
          -
          picture - anzuzeigendes Bild
          -
          saveOldImage - soll das aktuelle Bild in der Historie gespeichert werden
          -
          -
        • -
        - - - -
          -
        • -

          getImage

          -
          public Picture getImage()
          -
          Liefert das angezeigte Bild
          -
          -
          Returns:
          -
          angezeigtes Bild
          -
          -
        • -
        - - - -
          -
        • -

          pushImage

          -
          public void pushImage()
          -
          Speichert das übergebene Bild in der History.
          -
          -
          Parameters:
          -
          b - zu speicherndes Bild
          -
          -
        • -
        - - - -
          -
        • -

          back

          -
          public void back()
          -
          Ruft das letzte abgespeicherte Bild aus der History wieder auf.
          -
        • -
        - - - -
          -
        • -

          repaint

          -
          public void repaint()
          -
          Setzt das angezeigt Bild neu und beachtet dabei den Zoomfaktor.
          -
        • -
        - - - -
          -
        • -

          setZoom

          -
          public void setZoom​(double factor)
          -
          Setzt den Zoom-Faktor für das Bild. - Als Zoomfaktor sind auch die Konstanten Bildanzeiger.FIT (auf Bildschirmgröße zoomen) und Bildanzeiger.NORMAL (100%) möglich.
          -
          -
          Parameters:
          -
          factor - Zoomfaktor (1.0 = 100%).
          -
          -
        • -
        -
      • -
      -
      -
    • -
    -
    -
    -
    - - - - + + + + + +PictureViewer (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    + +
    +
    +
    Package imp
    +

    Class PictureViewer

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • javafx.scene.Node
      • +
      • +
          +
        • javafx.scene.Parent
        • +
        • +
            +
          • javafx.scene.layout.Region
          • +
          • +
              +
            • javafx.scene.control.Control
            • +
            • +
                +
              • javafx.scene.control.ScrollPane
              • +
              • +
                  +
                • imp.PictureViewer
                • +
                +
              • +
              +
            • +
            +
          • +
          +
        • +
        +
      • +
      +
    • +
    +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      javafx.css.Styleable, javafx.event.EventTarget, javafx.scene.control.Skinnable
      +
      +
      +
      Direct Known Subclasses:
      +
      GraphPlotter
      +
      +
      +
      public class PictureViewer
      +extends javafx.scene.control.ScrollPane
      +
    • +
    +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Nested Class Summary

        +
          +
        • + + +

          Nested classes/interfaces inherited from class javafx.scene.control.ScrollPane

          +javafx.scene.control.ScrollPane.ScrollBarPolicy
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Field Summary

        + + + + + + + + + + + + + + + + + +
        Fields 
        Modifier and TypeFieldDescription
        static intFIT 
        static intNORMAL 
        +
          +
        • + + +

          Fields inherited from class javafx.scene.layout.Region

          +USE_COMPUTED_SIZE, USE_PREF_SIZE
        • +
        +
          +
        • + + +

          Fields inherited from class javafx.scene.Node

          +BASELINE_OFFSET_SAME_AS_HEIGHT
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Constructor Summary

        + + + + + + + + + + + + + + + + + + + + + + + + + + +
        Constructors 
        ConstructorDescription
        PictureViewer() +
        Erzeugt ein ScrollPanel mit integriertem Bild der Größe 1000x1000
        +
        PictureViewer​(int width, + int height) +
        Erzeugt ein ScrollPanel mit integriertem Bild der angegebenen Größe
        +
        PictureViewer​(int width, + int height, + String background) +
        Erzeugt ein ScrollPanel mit integriertem Bild der angegebenen Größe
        +
        PictureViewer​(Picture picture) +
        Erzeugt ein ScrollPanel und zeigt das Bild-Objekt an
        +
        PictureViewer​(String filename) +
        Erzeugt ein ScrollPanel mit integriertem Bild aus einer Bilddatei
        +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        voidback() +
        Ruft das letzte abgespeicherte Bild aus der History wieder auf.
        +
        PicturegetImage() +
        Liefert das angezeigte Bild
        +
        voidpushImage() +
        Speichert das übergebene Bild in der History.
        +
        voidrepaint() +
        Setzt das angezeigt Bild neu und beachtet dabei den Zoomfaktor.
        +
        voidsetImage​(Picture picture, + boolean saveOldImage) +
        Setzt das anzuzeigende Bild neu
        +
        voidsetZoom​(double factor) +
        Setzt den Zoom-Faktor für das Bild.
        +
        +
          +
        • + + +

          Methods inherited from class javafx.scene.control.ScrollPane

          +contentProperty, createDefaultSkin, fitToHeightProperty, fitToWidthProperty, getClassCssMetaData, getContent, getControlCssMetaData, getHbarPolicy, getHmax, getHmin, getHvalue, getInitialFocusTraversable, getMinViewportHeight, getMinViewportWidth, getPrefViewportHeight, getPrefViewportWidth, getVbarPolicy, getViewportBounds, getVmax, getVmin, getVvalue, hbarPolicyProperty, hmaxProperty, hminProperty, hvalueProperty, isFitToHeight, isFitToWidth, isPannable, minViewportHeightProperty, minViewportWidthProperty, pannableProperty, prefViewportHeightProperty, prefViewportWidthProperty, queryAccessibleAttribute, setContent, setFitToHeight, setFitToWidth, setHbarPolicy, setHmax, setHmin, setHvalue, setMinViewportHeight, setMinViewportWidth, setPannable, setPrefViewportHeight, setPrefViewportWidth, setVbarPolicy, setViewportBounds, setVmax, setVmin, setVvalue, vbarPolicyProperty, viewportBoundsProperty, vmaxProperty, vminProperty, vvalueProperty
        • +
        +
          +
        • + + +

          Methods inherited from class javafx.scene.control.Control

          +computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, executeAccessibleAction, getBaselineOffset, getContextMenu, getCssMetaData, getSkin, getTooltip, isResizable, layoutChildren, setContextMenu, setSkin, setTooltip, skinProperty, tooltipProperty
        • +
        +
          +
        • + + +

          Methods inherited from class javafx.scene.layout.Region

          +backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPositionX, snapPositionY, snapSizeX, snapSizeY, snapSpaceX, snapSpaceY, snapToPixelProperty, widthProperty
        • +
        +
          +
        • + + +

          Methods inherited from class javafx.scene.Parent

          +getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBounds
        • +
        +
          +
        • + + +

          Methods inherited from class javafx.scene.Node

          +accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty
        • +
        + +
          +
        • + + +

          Methods inherited from interface javafx.css.Styleable

          +getStyleableNode
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
      +
    • + +
      + +
      + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          PictureViewer

          +
          public PictureViewer()
          +
          Erzeugt ein ScrollPanel mit integriertem Bild der Größe 1000x1000
          +
        • +
        + + + +
          +
        • +

          PictureViewer

          +
          public PictureViewer​(int width,
          +                     int height)
          +
          Erzeugt ein ScrollPanel mit integriertem Bild der angegebenen Größe
          +
          +
          Parameters:
          +
          width - Breite des Bildes
          +
          height - Höhe des Bildes
          +
          +
        • +
        + + + +
          +
        • +

          PictureViewer

          +
          public PictureViewer​(int width,
          +                     int height,
          +                     String background)
          +
          Erzeugt ein ScrollPanel mit integriertem Bild der angegebenen Größe
          +
          +
          Parameters:
          +
          width - Breite des Bildes
          +
          height - Höhe des Bildes
          +
          background - Farbe des Hintergrunds als HEX-String (z.B. "FF3A45")
          +
          +
        • +
        + + + +
          +
        • +

          PictureViewer

          +
          public PictureViewer​(String filename)
          +
          Erzeugt ein ScrollPanel mit integriertem Bild aus einer Bilddatei
          +
          +
          Parameters:
          +
          filename - Name des Bildes
          +
          +
        • +
        + + + +
          +
        • +

          PictureViewer

          +
          public PictureViewer​(Picture picture)
          +
          Erzeugt ein ScrollPanel und zeigt das Bild-Objekt an
          +
          +
          Parameters:
          +
          picture - anzuzeigendes Bild
          +
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          setImage

          +
          public void setImage​(Picture picture,
          +                     boolean saveOldImage)
          +
          Setzt das anzuzeigende Bild neu
          +
          +
          Parameters:
          +
          picture - anzuzeigendes Bild
          +
          saveOldImage - soll das aktuelle Bild in der Historie gespeichert werden
          +
          +
        • +
        + + + +
          +
        • +

          getImage

          +
          public Picture getImage()
          +
          Liefert das angezeigte Bild
          +
          +
          Returns:
          +
          angezeigtes Bild
          +
          +
        • +
        + + + +
          +
        • +

          pushImage

          +
          public void pushImage()
          +
          Speichert das übergebene Bild in der History.
          +
          +
          Parameters:
          +
          b - zu speicherndes Bild
          +
          +
        • +
        + + + +
          +
        • +

          back

          +
          public void back()
          +
          Ruft das letzte abgespeicherte Bild aus der History wieder auf.
          +
        • +
        + + + +
          +
        • +

          repaint

          +
          public void repaint()
          +
          Setzt das angezeigt Bild neu und beachtet dabei den Zoomfaktor.
          +
        • +
        + + + +
          +
        • +

          setZoom

          +
          public void setZoom​(double factor)
          +
          Setzt den Zoom-Faktor für das Bild. + Als Zoomfaktor sind auch die Konstanten Bildanzeiger.FIT (auf Bildschirmgröße zoomen) und Bildanzeiger.NORMAL (100%) möglich.
          +
          +
          Parameters:
          +
          factor - Zoomfaktor (1.0 = 100%).
          +
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + + + + diff --git a/doc/imp/Table.html b/doc/imp/Table.html index c68e9cf..2cf13d8 100644 --- a/doc/imp/Table.html +++ b/doc/imp/Table.html @@ -1,1569 +1,1569 @@ - - - - - -Table (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    - -
    -
    -
    Package imp
    -

    Class Table

    -
    -
    - -
    -
      -
    • -
      -
      public class Table
      -extends Object
      -
    • -
    -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Constructor Summary

        - - - - - - - - - - - - - - - - - - - - - - -
        Constructors 
        ConstructorDescription
        Table() -
        Erzeugt leeres Tabellen-Dokument.
        -
        Table​(String filename) -
        Erzeugt Tabellen-Dokument aus einer CSV-Datei.
        -
        Table​(String filename, - String options) -
        Erzeugt Tabellen-Dokument aus einer CSV-Datei.
        -
        Table​(String filename, - String options, - char separator, - char quote) -
        Erzeugt Tabellen-Dokument aus einer CSV-Datei.
        -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        voidaddColumn() -
        Fügt eine neue Spalte am Ende der Tabelle an.
        -
        voidaddColumn​(String title) -
        Fügt eine neue Spalte am Ende der Tabelle an und benennt sie.
        -
        voidaddColumn​(String title, - String type) -
        Fügt eine neue Spalte am Ende der Tabelle an und benennt und typisiert sie.
        -
        TableRowaddRow() -
        Fügt eine neue Zeile an das Ende der Tabelle an.
        -
        voidclearRows() -
        Löscht alle Zeilen der Tabelle.
        -
        TableRowfindRow​(String value, - int column) -
        Sucht nach einem bestimmtem Wert in einer Zeile.
        -
        TableRowfindRow​(String value, - String name) -
        Sucht nach einem bestimmtem Wert in einer Zeile.
        -
        intgetColumnCount() -
        Liefert die Anzahl der Spalten in der Tabelle
        -
        doublegetDouble​(int row, - int column) -
        Liefert den Wert einer Zelle als Double-Zahl
        -
        doublegetDouble​(int row, - String name) -
        Liefert den Wert einer Zelle als Double-Zahl
        -
        double[]getDoubleColumn​(int column) -
        Liefert alle Werte einer Spalte als Double-Array.
        -
        double[]getDoubleColumn​(String name) -
        Liefert alle Werte einer Spalte als Double-Array.
        -
        double[]getDoubleRow​(int row) -
        Liefert alle Werte einer Spalte als Double-Array.
        -
        floatgetFloat​(int row, - int column) -
        Liefert den Wert einer Zelle als Float-Zahl
        -
        floatgetFloat​(int row, - String name) -
        Liefert den Wert einer Zelle als Float-Zahl
        -
        float[]getFloatColumn​(int column) -
        Liefert alle Werte einer Spalte als Float-Array.
        -
        float[]getFloatColumn​(String name) -
        Liefert alle Werte einer Spalte als Float-Array.
        -
        float[]getFloatRow​(int row) -
        Liefert alle Werte einer Zeile als Float-Array.
        -
        intgetInt​(int row, - int column) -
        Liefert den Wert einer Zelle als Integer-Zahl
        -
        intgetInt​(int row, - String name) -
        Liefert den Wert einer Zelle als Integer-Zahl
        -
        int[]getIntColumn​(int column) -
        Liefert alle Werte einer Spalte als Integer-Array.
        -
        int[]getIntColumn​(String name) -
        Liefert alle Werte einer Spalte als Integer-Array.
        -
        int[]getIntRow​(int row) -
        Liefert alle Werte einer Zeile als Integer-Array.
        -
        TableRowgetRow​(int i) -
        Liefert eine Zeile der Tabelle
        -
        intgetRowCount() -
        Liefert die Anzahl der Zeilen in der Tabelle
        -
        StringgetString​(int row, - int column) -
        Liefert den Wert einer Zelle als String
        -
        StringgetString​(int row, - String name) -
        Liefert den Wert einer Zelle als String
        -
        String[]getStringColumn​(int column) -
        Liefert alle Werte einer Spalte als String-Array.
        -
        String[]getStringColumn​(String name) -
        Liefert alle Werte einer Spalte als String-Array.
        -
        String[]getStringRow​(int row) -
        Liefert alle Werte einer Spalte als String-Array.
        -
        voidloadCSV​(String filename) -
        Liest den Inhalt einer CSV-Datei ohne Kopfzeile (Separator = ';', Kennung für Text = '"').
        -
        voidloadCSV​(String filename, - String options) -
        Liest den Inhalt einer CSV-Datei (Separator = ';', Kennung für Text = '"').
        -
        voidloadCSV​(String filename, - String options, - char separator, - char quote) -
        Liest den Inhalt einer CSV-Datei.
        -
        voidremoveColumn​(int i) -
        Löscht eine Spalte.
        -
        voidremoveColumn​(String name) -
        Löscht eine Spalte
        -
        voidremoveRow​(int i) -
        Löscht eine Zeile
        -
        TableRow[]rows() -
        Liefert die ganze Tabelle als Array von TableRow-Objekten
        -
        voidsaveCSV​(String filename) -
        Speichert das aktuelle Dokument als CSV-Datei ohne Kopfzeile (Separator = ';', Kennung für Text = '"').
        -
        voidsaveCSV​(String filename, - String options) -
        Speichert das aktuelle Dokument als CSV-Datei (Separator = ';', Kennung für Text = '"').
        -
        voidsaveCSV​(String filename, - String options, - char separator, - char quote) -
        Speichert das aktuelle Dokument als CSV-Datei.
        -
        voidsaveXML​(String filename) -
        Speichert die Tabelle als XML-Dokument.
        -
        voidsetDouble​(int row, - int column, - double value) -
        Setzt den Wert einer Zelle als Double-Zahl
        -
        voidsetDouble​(int row, - String name, - double value) -
        Setzt den Wert einer Zelle als Double-Zahl
        -
        voidsetFloat​(int row, - int column, - float value) -
        Setzt den Wert einer Zelle als Float-Zahl
        -
        voidsetFloat​(int row, - String name, - float value) -
        Setzt den Wert einer Zelle als Float-Zahl
        -
        voidsetInt​(int row, - int column, - int value) -
        Setzt den Wert einer Zelle als Integer-Zahl
        -
        voidsetInt​(int row, - String name, - int value) -
        Setzt den Wert einer Zelle als Integer-Zahl
        -
        voidsetString​(int row, - int column, - String text) -
        Setzt den Wert einer Zelle als String
        -
        voidsetString​(int row, - String name, - String text) -
        Setzt den Wert einer Zelle als String
        -
        voidtrim() -
        Kürzt alle Einträge der Tabelle um unnötige Leerzeichen am Anfang oder Ende
        -
        - -
      • -
      -
      -
    • -
    -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          Table

          -
          public Table()
          -
          Erzeugt leeres Tabellen-Dokument.
          -
        • -
        - - - -
          -
        • -

          Table

          -
          public Table​(String filename,
          -             String options,
          -             char separator,
          -             char quote)
          -
          Erzeugt Tabellen-Dokument aus einer CSV-Datei. - Liest den Inhalt einer Datei und erstellt ein Tabellenobjekt mit seinen Werten. - Wenn die Datei eine Kopfzeile enthält, fügen Sie "header" in den Parameter options ein. Wenn die Datei keine Kopfzeile hat, - dann lassen Sie einfach die Option "header" weg.
          -
          -
          Parameters:
          -
          filename - Dateiname der CSV-Datei.
          -
          options - Geben Sie hier "header" an, wenn die Datei eine Kopfzeile enthält.
          -
          separator - Trennzeichen für Spalten (meist ';' oder ',' oder '\t' für Tab)
          -
          quote - Kennung für Texte (meist '"').
          -
          -
        • -
        - - - -
          -
        • -

          Table

          -
          public Table​(String filename,
          -             String options)
          -
          Erzeugt Tabellen-Dokument aus einer CSV-Datei. - Liest den Inhalt einer Datei und erstellt ein Tabellenobjekt mit seinen Werten (Separator = ';', Kennung für Text = '"'). - Wenn die Datei eine Kopfzeile enthält, fügen Sie "header" in den Parameter options ein. Wenn die Datei keine Kopfzeile hat, - dann lassen Sie einfach die Option "header" weg.
          -
          -
          Parameters:
          -
          filename - Dateiname der CSV-Datei.
          -
          options - Geben Sie hier "header" an, wenn die Datei eine Kopfzeile enthält.
          -
          -
        • -
        - - - -
          -
        • -

          Table

          -
          public Table​(String filename)
          -
          Erzeugt Tabellen-Dokument aus einer CSV-Datei. - Liest den Inhalt einer Datei ohne Kopfzeile und erstellt ein Tabellenobjekt mit seinen Werten (Separator = ';', Kennung für Text = '"').
          -
          -
          Parameters:
          -
          filename - Dateiname der CSV-Datei.
          -
          -
        • -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          loadCSV

          -
          public void loadCSV​(String filename)
          -
          Liest den Inhalt einer CSV-Datei ohne Kopfzeile (Separator = ';', Kennung für Text = '"').
          -
          -
          Parameters:
          -
          filename - Dateiname der CSV-Datei.
          -
          -
        • -
        - - - -
          -
        • -

          loadCSV

          -
          public void loadCSV​(String filename,
          -                    String options)
          -
          Liest den Inhalt einer CSV-Datei (Separator = ';', Kennung für Text = '"'). - Wenn die Datei eine Kopfzeile enthält, fügen Sie "header" in den Parameter options ein. Wenn die Datei keine Kopfzeile hat, - dann lassen Sie einfach die Option "header" weg.
          -
          -
          Parameters:
          -
          filename - Dateiname der CSV-Datei.
          -
          options - Geben Sie hier "header" an, wenn die Datei eine Kopfzeile enthält.
          -
          -
        • -
        - - - -
          -
        • -

          loadCSV

          -
          public void loadCSV​(String filename,
          -                    String options,
          -                    char separator,
          -                    char quote)
          -
          Liest den Inhalt einer CSV-Datei. - Wenn die Datei eine Kopfzeile enthält, fügen Sie "header" in den Parameter options ein. Wenn die Datei keine Kopfzeile hat, - dann lassen Sie einfach die Option "header" weg.
          -
          -
          Parameters:
          -
          filename - Dateiname der CSV-Datei.
          -
          options - Geben Sie hier "header" an, wenn die Datei eine Kopfzeile enthält.
          -
          separator - Trennzeichen für Spalten (meist ';' oder ',' oder '\t' für Tab)
          -
          quote - Kennung für Texte (meist '"').
          -
          -
        • -
        - - - -
          -
        • -

          saveCSV

          -
          public void saveCSV​(String filename)
          -
          Speichert das aktuelle Dokument als CSV-Datei ohne Kopfzeile (Separator = ';', Kennung für Text = '"').
          -
          -
          Parameters:
          -
          filename - Dateiname der CSV-Datei.
          -
          -
        • -
        - - - -
          -
        • -

          saveCSV

          -
          public void saveCSV​(String filename,
          -                    String options)
          -
          Speichert das aktuelle Dokument als CSV-Datei (Separator = ';', Kennung für Text = '"'). - Wenn die Datei eine Kopfzeile enthalten, fügen Sie "header" in den Parameter options ein. Wenn die Datei keine Kopfzeile haben soll, - dann lassen Sie einfach die Option "header" weg.
          -
          -
          Parameters:
          -
          options - Geben Sie hier "header" an, wenn die Datei eine Kopfzeile haben soll.
          -
          filename - Dateiname der CSV-Datei.
          -
          -
        • -
        - - - -
          -
        • -

          saveCSV

          -
          public void saveCSV​(String filename,
          -                    String options,
          -                    char separator,
          -                    char quote)
          -
          Speichert das aktuelle Dokument als CSV-Datei. - Wenn die Datei eine Kopfzeile enthalten, fügen Sie "header" in den Parameter options ein. Wenn die Datei keine Kopfzeile haben soll, - dann lassen Sie einfach die Option "header" weg.
          -
          -
          Parameters:
          -
          options - Geben Sie hier "header" an, wenn die Datei eine Kopfzeile haben soll.
          -
          filename - Dateiname der CSV-Datei.
          -
          separator - Trennzeichen für Spalten (meist ';' oder ',' oder '\t' für Tab)
          -
          quote - Kennung für Texte (meist '"').
          -
          -
        • -
        - - - -
          -
        • -

          saveXML

          -
          public void saveXML​(String filename)
          -
          Speichert die Tabelle als XML-Dokument.
          -
          -
          Parameters:
          -
          filename - Dateiname des XML-Files
          -
          -
        • -
        - - - -
          -
        • -

          addColumn

          -
          public void addColumn()
          -
          Fügt eine neue Spalte am Ende der Tabelle an.
          -
        • -
        - - - -
          -
        • -

          addColumn

          -
          public void addColumn​(String title)
          -
          Fügt eine neue Spalte am Ende der Tabelle an und benennt sie.
          -
          -
          Parameters:
          -
          title - Bezeichnung der Spalte
          -
          -
        • -
        - - - -
          -
        • -

          addColumn

          -
          public void addColumn​(String title,
          -                      String type)
          -
          Fügt eine neue Spalte am Ende der Tabelle an und benennt und typisiert sie.
          -
          -
          Parameters:
          -
          title - Bezeichnung der Spalte
          -
          type - Typ der Spalte (UNKNOWN, DOUBLE, INTEGER, FLOAT)
          -
          -
        • -
        - - - -
          -
        • -

          removeColumn

          -
          public void removeColumn​(int i)
          -
          Löscht eine Spalte.
          -
          -
          Parameters:
          -
          i - Nummer der Spalte.
          -
          -
        • -
        - - - -
          -
        • -

          removeColumn

          -
          public void removeColumn​(String name)
          -
          Löscht eine Spalte
          -
          -
          Parameters:
          -
          name - Name der Spalte
          -
          -
        • -
        - - - -
          -
        • -

          getColumnCount

          -
          public int getColumnCount()
          -
          Liefert die Anzahl der Spalten in der Tabelle
          -
          -
          Returns:
          -
          Anzahl der Spalten
          -
          -
        • -
        - - - -
          -
        • -

          getRowCount

          -
          public int getRowCount()
          -
          Liefert die Anzahl der Zeilen in der Tabelle
          -
          -
          Returns:
          -
          Anzahl der Zeilen
          -
          -
        • -
        - - - -
          -
        • -

          clearRows

          -
          public void clearRows()
          -
          Löscht alle Zeilen der Tabelle. - Die Spaltenüberschriften und Typen bleiben erhalten.
          -
        • -
        - - - -
          -
        • -

          addRow

          -
          public TableRow addRow()
          -
          Fügt eine neue Zeile an das Ende der Tabelle an.
          -
          -
          Returns:
          -
          ein TableRow-Objekt für diese neue Zeile
          -
          -
        • -
        - - - -
          -
        • -

          removeRow

          -
          public void removeRow​(int i)
          -
          Löscht eine Zeile
          -
          -
          Parameters:
          -
          i - Nummer der Zeile
          -
          -
        • -
        - - - -
          -
        • -

          getRow

          -
          public TableRow getRow​(int i)
          -
          Liefert eine Zeile der Tabelle
          -
          -
          Parameters:
          -
          i - Nummer der Zeile
          -
          Returns:
          -
          TableRow-Objekt für diese Zeile
          -
          -
        • -
        - - - -
          -
        • -

          rows

          -
          public TableRow[] rows()
          -
          Liefert die ganze Tabelle als Array von TableRow-Objekten
          -
          -
          Returns:
          -
          Array von TableRow-Objekten
          -
          -
        • -
        - - - -
          -
        • -

          getInt

          -
          public int getInt​(int row,
          -                  int column)
          -
          Liefert den Wert einer Zelle als Integer-Zahl
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          column - Spaltennummer
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          getInt

          -
          public int getInt​(int row,
          -                  String name)
          -
          Liefert den Wert einer Zelle als Integer-Zahl
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          name - Name der Spalte
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setInt

          -
          public void setInt​(int row,
          -                   int column,
          -                   int value)
          -
          Setzt den Wert einer Zelle als Integer-Zahl
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          column - Spaltennummer
          -
          value - neuer Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setInt

          -
          public void setInt​(int row,
          -                   String name,
          -                   int value)
          -
          Setzt den Wert einer Zelle als Integer-Zahl
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          name - Name der Spalte
          -
          value - neuer Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          getIntRow

          -
          public int[] getIntRow​(int row)
          -
          Liefert alle Werte einer Zeile als Integer-Array.
          -
          -
          Parameters:
          -
          row - Nummer der Zeile
          -
          Returns:
          -
          int-Array, dass alle Werte der Zeile enthält
          -
          -
        • -
        - - - -
          -
        • -

          getIntColumn

          -
          public int[] getIntColumn​(int column)
          -
          Liefert alle Werte einer Spalte als Integer-Array.
          -
          -
          Parameters:
          -
          column - Nummer der Spalte
          -
          Returns:
          -
          int-Array, dass alle Werte der Spalte enthält
          -
          -
        • -
        - - - -
          -
        • -

          getIntColumn

          -
          public int[] getIntColumn​(String name)
          -
          Liefert alle Werte einer Spalte als Integer-Array.
          -
          -
          Parameters:
          -
          name - Name der Spalte
          -
          Returns:
          -
          int-Array, dass alle Werte der Spalte enthält
          -
          -
        • -
        - - - -
          -
        • -

          getFloat

          -
          public float getFloat​(int row,
          -                      int column)
          -
          Liefert den Wert einer Zelle als Float-Zahl
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          column - Spaltennummer
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          getFloat

          -
          public float getFloat​(int row,
          -                      String name)
          -
          Liefert den Wert einer Zelle als Float-Zahl
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          name - Name der Spalte
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setFloat

          -
          public void setFloat​(int row,
          -                     int column,
          -                     float value)
          -
          Setzt den Wert einer Zelle als Float-Zahl
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          column - Spaltennummer
          -
          value - neuer Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setFloat

          -
          public void setFloat​(int row,
          -                     String name,
          -                     float value)
          -
          Setzt den Wert einer Zelle als Float-Zahl
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          name - Name der Spalte
          -
          value - neuer Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          getFloatRow

          -
          public float[] getFloatRow​(int row)
          -
          Liefert alle Werte einer Zeile als Float-Array.
          -
          -
          Parameters:
          -
          row - Nummer der Zeile
          -
          Returns:
          -
          int-Array, dass alle Werte der Zeile enthält
          -
          -
        • -
        - - - -
          -
        • -

          getFloatColumn

          -
          public float[] getFloatColumn​(int column)
          -
          Liefert alle Werte einer Spalte als Float-Array.
          -
          -
          Parameters:
          -
          column - Nummer der Spalte
          -
          Returns:
          -
          int-Array, dass alle Werte der Spalte enthält
          -
          -
        • -
        - - - -
          -
        • -

          getFloatColumn

          -
          public float[] getFloatColumn​(String name)
          -
          Liefert alle Werte einer Spalte als Float-Array.
          -
          -
          Parameters:
          -
          name - Name der Spalte
          -
          Returns:
          -
          int-Array, dass alle Werte der Spalte enthält
          -
          -
        • -
        - - - -
          -
        • -

          getDouble

          -
          public double getDouble​(int row,
          -                        int column)
          -
          Liefert den Wert einer Zelle als Double-Zahl
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          column - Spaltennummer
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          getDouble

          -
          public double getDouble​(int row,
          -                        String name)
          -
          Liefert den Wert einer Zelle als Double-Zahl
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          name - Name der Spalte
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setDouble

          -
          public void setDouble​(int row,
          -                      int column,
          -                      double value)
          -
          Setzt den Wert einer Zelle als Double-Zahl
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          column - Spaltennummer
          -
          value - neuer Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setDouble

          -
          public void setDouble​(int row,
          -                      String name,
          -                      double value)
          -
          Setzt den Wert einer Zelle als Double-Zahl
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          name - Name der Spalte
          -
          value - neuer Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          getDoubleRow

          -
          public double[] getDoubleRow​(int row)
          -
          Liefert alle Werte einer Spalte als Double-Array.
          -
          -
          Parameters:
          -
          row - Nummer der Spalte
          -
          Returns:
          -
          int-Array, dass alle Werte der Spalte enthält
          -
          -
        • -
        - - - -
          -
        • -

          getDoubleColumn

          -
          public double[] getDoubleColumn​(int column)
          -
          Liefert alle Werte einer Spalte als Double-Array.
          -
          -
          Parameters:
          -
          column - Nummer der Spalte
          -
          Returns:
          -
          int-Array, dass alle Werte der Spalte enthält
          -
          -
        • -
        - - - -
          -
        • -

          getDoubleColumn

          -
          public double[] getDoubleColumn​(String name)
          -
          Liefert alle Werte einer Spalte als Double-Array.
          -
          -
          Parameters:
          -
          name - Name der Spalte
          -
          Returns:
          -
          int-Array, dass alle Werte der Spalte enthält
          -
          -
        • -
        - - - -
          -
        • -

          getString

          -
          public String getString​(int row,
          -                        int column)
          -
          Liefert den Wert einer Zelle als String
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          column - Spaltennummer
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          getString

          -
          public String getString​(int row,
          -                        String name)
          -
          Liefert den Wert einer Zelle als String
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          name - Name der Spalte
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setString

          -
          public void setString​(int row,
          -                      int column,
          -                      String text)
          -
          Setzt den Wert einer Zelle als String
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          column - Spaltennummer
          -
          text - neuer Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setString

          -
          public void setString​(int row,
          -                      String name,
          -                      String text)
          -
          Setzt den Wert einer Zelle als String
          -
          -
          Parameters:
          -
          row - Zeilennummer
          -
          name - Name der Spalte
          -
          text - neuer Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          getStringRow

          -
          public String[] getStringRow​(int row)
          -
          Liefert alle Werte einer Spalte als String-Array.
          -
          -
          Parameters:
          -
          row - Nummer der Spalte
          -
          Returns:
          -
          int-Array, dass alle Werte der Spalte enthält
          -
          -
        • -
        - - - -
          -
        • -

          getStringColumn

          -
          public String[] getStringColumn​(int column)
          -
          Liefert alle Werte einer Spalte als String-Array.
          -
          -
          Parameters:
          -
          column - Nummer der Spalte
          -
          Returns:
          -
          int-Array, dass alle Werte der Spalte enthält
          -
          -
        • -
        - - - -
          -
        • -

          getStringColumn

          -
          public String[] getStringColumn​(String name)
          -
          Liefert alle Werte einer Spalte als String-Array.
          -
          -
          Parameters:
          -
          name - Name der Spalte
          -
          Returns:
          -
          int-Array, dass alle Werte der Spalte enthält
          -
          -
        • -
        - - - -
          -
        • -

          findRow

          -
          public TableRow findRow​(String value,
          -                        int column)
          -
          Sucht nach einem bestimmtem Wert in einer Zeile.
          -
          -
          Parameters:
          -
          value - Wert der gesucht werden soll
          -
          column - Nummer der Spalte, die durchsucht werden soll
          -
          Returns:
          -
          TableRow-Objekt der Zeile, wenn der Wert gefunden wurde, sonst null
          -
          -
        • -
        - - - -
          -
        • -

          findRow

          -
          public TableRow findRow​(String value,
          -                        String name)
          -
          Sucht nach einem bestimmtem Wert in einer Zeile.
          -
          -
          Parameters:
          -
          value - Wert der gesucht werden soll
          -
          name - Name der Spalte, die durchsucht werden soll
          -
          Returns:
          -
          TableRow-Objekt der Zeile, wenn der Wert gefunden wurde, sonst null
          -
          -
        • -
        - - - -
          -
        • -

          trim

          -
          public void trim()
          -
          Kürzt alle Einträge der Tabelle um unnötige Leerzeichen am Anfang oder Ende
          -
        • -
        -
      • -
      -
      -
    • -
    -
    -
    -
    - -
    - -
    - - + + + + + +Table (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    + +
    +
    +
    Package imp
    +

    Class Table

    +
    +
    + +
    +
      +
    • +
      +
      public class Table
      +extends Object
      +
    • +
    +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Constructor Summary

        + + + + + + + + + + + + + + + + + + + + + + +
        Constructors 
        ConstructorDescription
        Table() +
        Erzeugt leeres Tabellen-Dokument.
        +
        Table​(String filename) +
        Erzeugt Tabellen-Dokument aus einer CSV-Datei.
        +
        Table​(String filename, + String options) +
        Erzeugt Tabellen-Dokument aus einer CSV-Datei.
        +
        Table​(String filename, + String options, + char separator, + char quote) +
        Erzeugt Tabellen-Dokument aus einer CSV-Datei.
        +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        voidaddColumn() +
        Fügt eine neue Spalte am Ende der Tabelle an.
        +
        voidaddColumn​(String title) +
        Fügt eine neue Spalte am Ende der Tabelle an und benennt sie.
        +
        voidaddColumn​(String title, + String type) +
        Fügt eine neue Spalte am Ende der Tabelle an und benennt und typisiert sie.
        +
        TableRowaddRow() +
        Fügt eine neue Zeile an das Ende der Tabelle an.
        +
        voidclearRows() +
        Löscht alle Zeilen der Tabelle.
        +
        TableRowfindRow​(String value, + int column) +
        Sucht nach einem bestimmtem Wert in einer Zeile.
        +
        TableRowfindRow​(String value, + String name) +
        Sucht nach einem bestimmtem Wert in einer Zeile.
        +
        intgetColumnCount() +
        Liefert die Anzahl der Spalten in der Tabelle
        +
        doublegetDouble​(int row, + int column) +
        Liefert den Wert einer Zelle als Double-Zahl
        +
        doublegetDouble​(int row, + String name) +
        Liefert den Wert einer Zelle als Double-Zahl
        +
        double[]getDoubleColumn​(int column) +
        Liefert alle Werte einer Spalte als Double-Array.
        +
        double[]getDoubleColumn​(String name) +
        Liefert alle Werte einer Spalte als Double-Array.
        +
        double[]getDoubleRow​(int row) +
        Liefert alle Werte einer Spalte als Double-Array.
        +
        floatgetFloat​(int row, + int column) +
        Liefert den Wert einer Zelle als Float-Zahl
        +
        floatgetFloat​(int row, + String name) +
        Liefert den Wert einer Zelle als Float-Zahl
        +
        float[]getFloatColumn​(int column) +
        Liefert alle Werte einer Spalte als Float-Array.
        +
        float[]getFloatColumn​(String name) +
        Liefert alle Werte einer Spalte als Float-Array.
        +
        float[]getFloatRow​(int row) +
        Liefert alle Werte einer Zeile als Float-Array.
        +
        intgetInt​(int row, + int column) +
        Liefert den Wert einer Zelle als Integer-Zahl
        +
        intgetInt​(int row, + String name) +
        Liefert den Wert einer Zelle als Integer-Zahl
        +
        int[]getIntColumn​(int column) +
        Liefert alle Werte einer Spalte als Integer-Array.
        +
        int[]getIntColumn​(String name) +
        Liefert alle Werte einer Spalte als Integer-Array.
        +
        int[]getIntRow​(int row) +
        Liefert alle Werte einer Zeile als Integer-Array.
        +
        TableRowgetRow​(int i) +
        Liefert eine Zeile der Tabelle
        +
        intgetRowCount() +
        Liefert die Anzahl der Zeilen in der Tabelle
        +
        StringgetString​(int row, + int column) +
        Liefert den Wert einer Zelle als String
        +
        StringgetString​(int row, + String name) +
        Liefert den Wert einer Zelle als String
        +
        String[]getStringColumn​(int column) +
        Liefert alle Werte einer Spalte als String-Array.
        +
        String[]getStringColumn​(String name) +
        Liefert alle Werte einer Spalte als String-Array.
        +
        String[]getStringRow​(int row) +
        Liefert alle Werte einer Spalte als String-Array.
        +
        voidloadCSV​(String filename) +
        Liest den Inhalt einer CSV-Datei ohne Kopfzeile (Separator = ';', Kennung für Text = '"').
        +
        voidloadCSV​(String filename, + String options) +
        Liest den Inhalt einer CSV-Datei (Separator = ';', Kennung für Text = '"').
        +
        voidloadCSV​(String filename, + String options, + char separator, + char quote) +
        Liest den Inhalt einer CSV-Datei.
        +
        voidremoveColumn​(int i) +
        Löscht eine Spalte.
        +
        voidremoveColumn​(String name) +
        Löscht eine Spalte
        +
        voidremoveRow​(int i) +
        Löscht eine Zeile
        +
        TableRow[]rows() +
        Liefert die ganze Tabelle als Array von TableRow-Objekten
        +
        voidsaveCSV​(String filename) +
        Speichert das aktuelle Dokument als CSV-Datei ohne Kopfzeile (Separator = ';', Kennung für Text = '"').
        +
        voidsaveCSV​(String filename, + String options) +
        Speichert das aktuelle Dokument als CSV-Datei (Separator = ';', Kennung für Text = '"').
        +
        voidsaveCSV​(String filename, + String options, + char separator, + char quote) +
        Speichert das aktuelle Dokument als CSV-Datei.
        +
        voidsaveXML​(String filename) +
        Speichert die Tabelle als XML-Dokument.
        +
        voidsetDouble​(int row, + int column, + double value) +
        Setzt den Wert einer Zelle als Double-Zahl
        +
        voidsetDouble​(int row, + String name, + double value) +
        Setzt den Wert einer Zelle als Double-Zahl
        +
        voidsetFloat​(int row, + int column, + float value) +
        Setzt den Wert einer Zelle als Float-Zahl
        +
        voidsetFloat​(int row, + String name, + float value) +
        Setzt den Wert einer Zelle als Float-Zahl
        +
        voidsetInt​(int row, + int column, + int value) +
        Setzt den Wert einer Zelle als Integer-Zahl
        +
        voidsetInt​(int row, + String name, + int value) +
        Setzt den Wert einer Zelle als Integer-Zahl
        +
        voidsetString​(int row, + int column, + String text) +
        Setzt den Wert einer Zelle als String
        +
        voidsetString​(int row, + String name, + String text) +
        Setzt den Wert einer Zelle als String
        +
        voidtrim() +
        Kürzt alle Einträge der Tabelle um unnötige Leerzeichen am Anfang oder Ende
        +
        + +
      • +
      +
      +
    • +
    +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          Table

          +
          public Table()
          +
          Erzeugt leeres Tabellen-Dokument.
          +
        • +
        + + + +
          +
        • +

          Table

          +
          public Table​(String filename,
          +             String options,
          +             char separator,
          +             char quote)
          +
          Erzeugt Tabellen-Dokument aus einer CSV-Datei. + Liest den Inhalt einer Datei und erstellt ein Tabellenobjekt mit seinen Werten. + Wenn die Datei eine Kopfzeile enthält, fügen Sie "header" in den Parameter options ein. Wenn die Datei keine Kopfzeile hat, + dann lassen Sie einfach die Option "header" weg.
          +
          +
          Parameters:
          +
          filename - Dateiname der CSV-Datei.
          +
          options - Geben Sie hier "header" an, wenn die Datei eine Kopfzeile enthält.
          +
          separator - Trennzeichen für Spalten (meist ';' oder ',' oder '\t' für Tab)
          +
          quote - Kennung für Texte (meist '"').
          +
          +
        • +
        + + + +
          +
        • +

          Table

          +
          public Table​(String filename,
          +             String options)
          +
          Erzeugt Tabellen-Dokument aus einer CSV-Datei. + Liest den Inhalt einer Datei und erstellt ein Tabellenobjekt mit seinen Werten (Separator = ';', Kennung für Text = '"'). + Wenn die Datei eine Kopfzeile enthält, fügen Sie "header" in den Parameter options ein. Wenn die Datei keine Kopfzeile hat, + dann lassen Sie einfach die Option "header" weg.
          +
          +
          Parameters:
          +
          filename - Dateiname der CSV-Datei.
          +
          options - Geben Sie hier "header" an, wenn die Datei eine Kopfzeile enthält.
          +
          +
        • +
        + + + +
          +
        • +

          Table

          +
          public Table​(String filename)
          +
          Erzeugt Tabellen-Dokument aus einer CSV-Datei. + Liest den Inhalt einer Datei ohne Kopfzeile und erstellt ein Tabellenobjekt mit seinen Werten (Separator = ';', Kennung für Text = '"').
          +
          +
          Parameters:
          +
          filename - Dateiname der CSV-Datei.
          +
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          loadCSV

          +
          public void loadCSV​(String filename)
          +
          Liest den Inhalt einer CSV-Datei ohne Kopfzeile (Separator = ';', Kennung für Text = '"').
          +
          +
          Parameters:
          +
          filename - Dateiname der CSV-Datei.
          +
          +
        • +
        + + + +
          +
        • +

          loadCSV

          +
          public void loadCSV​(String filename,
          +                    String options)
          +
          Liest den Inhalt einer CSV-Datei (Separator = ';', Kennung für Text = '"'). + Wenn die Datei eine Kopfzeile enthält, fügen Sie "header" in den Parameter options ein. Wenn die Datei keine Kopfzeile hat, + dann lassen Sie einfach die Option "header" weg.
          +
          +
          Parameters:
          +
          filename - Dateiname der CSV-Datei.
          +
          options - Geben Sie hier "header" an, wenn die Datei eine Kopfzeile enthält.
          +
          +
        • +
        + + + +
          +
        • +

          loadCSV

          +
          public void loadCSV​(String filename,
          +                    String options,
          +                    char separator,
          +                    char quote)
          +
          Liest den Inhalt einer CSV-Datei. + Wenn die Datei eine Kopfzeile enthält, fügen Sie "header" in den Parameter options ein. Wenn die Datei keine Kopfzeile hat, + dann lassen Sie einfach die Option "header" weg.
          +
          +
          Parameters:
          +
          filename - Dateiname der CSV-Datei.
          +
          options - Geben Sie hier "header" an, wenn die Datei eine Kopfzeile enthält.
          +
          separator - Trennzeichen für Spalten (meist ';' oder ',' oder '\t' für Tab)
          +
          quote - Kennung für Texte (meist '"').
          +
          +
        • +
        + + + +
          +
        • +

          saveCSV

          +
          public void saveCSV​(String filename)
          +
          Speichert das aktuelle Dokument als CSV-Datei ohne Kopfzeile (Separator = ';', Kennung für Text = '"').
          +
          +
          Parameters:
          +
          filename - Dateiname der CSV-Datei.
          +
          +
        • +
        + + + +
          +
        • +

          saveCSV

          +
          public void saveCSV​(String filename,
          +                    String options)
          +
          Speichert das aktuelle Dokument als CSV-Datei (Separator = ';', Kennung für Text = '"'). + Wenn die Datei eine Kopfzeile enthalten, fügen Sie "header" in den Parameter options ein. Wenn die Datei keine Kopfzeile haben soll, + dann lassen Sie einfach die Option "header" weg.
          +
          +
          Parameters:
          +
          options - Geben Sie hier "header" an, wenn die Datei eine Kopfzeile haben soll.
          +
          filename - Dateiname der CSV-Datei.
          +
          +
        • +
        + + + +
          +
        • +

          saveCSV

          +
          public void saveCSV​(String filename,
          +                    String options,
          +                    char separator,
          +                    char quote)
          +
          Speichert das aktuelle Dokument als CSV-Datei. + Wenn die Datei eine Kopfzeile enthalten, fügen Sie "header" in den Parameter options ein. Wenn die Datei keine Kopfzeile haben soll, + dann lassen Sie einfach die Option "header" weg.
          +
          +
          Parameters:
          +
          options - Geben Sie hier "header" an, wenn die Datei eine Kopfzeile haben soll.
          +
          filename - Dateiname der CSV-Datei.
          +
          separator - Trennzeichen für Spalten (meist ';' oder ',' oder '\t' für Tab)
          +
          quote - Kennung für Texte (meist '"').
          +
          +
        • +
        + + + +
          +
        • +

          saveXML

          +
          public void saveXML​(String filename)
          +
          Speichert die Tabelle als XML-Dokument.
          +
          +
          Parameters:
          +
          filename - Dateiname des XML-Files
          +
          +
        • +
        + + + +
          +
        • +

          addColumn

          +
          public void addColumn()
          +
          Fügt eine neue Spalte am Ende der Tabelle an.
          +
        • +
        + + + +
          +
        • +

          addColumn

          +
          public void addColumn​(String title)
          +
          Fügt eine neue Spalte am Ende der Tabelle an und benennt sie.
          +
          +
          Parameters:
          +
          title - Bezeichnung der Spalte
          +
          +
        • +
        + + + +
          +
        • +

          addColumn

          +
          public void addColumn​(String title,
          +                      String type)
          +
          Fügt eine neue Spalte am Ende der Tabelle an und benennt und typisiert sie.
          +
          +
          Parameters:
          +
          title - Bezeichnung der Spalte
          +
          type - Typ der Spalte (UNKNOWN, DOUBLE, INTEGER, FLOAT)
          +
          +
        • +
        + + + +
          +
        • +

          removeColumn

          +
          public void removeColumn​(int i)
          +
          Löscht eine Spalte.
          +
          +
          Parameters:
          +
          i - Nummer der Spalte.
          +
          +
        • +
        + + + +
          +
        • +

          removeColumn

          +
          public void removeColumn​(String name)
          +
          Löscht eine Spalte
          +
          +
          Parameters:
          +
          name - Name der Spalte
          +
          +
        • +
        + + + +
          +
        • +

          getColumnCount

          +
          public int getColumnCount()
          +
          Liefert die Anzahl der Spalten in der Tabelle
          +
          +
          Returns:
          +
          Anzahl der Spalten
          +
          +
        • +
        + + + +
          +
        • +

          getRowCount

          +
          public int getRowCount()
          +
          Liefert die Anzahl der Zeilen in der Tabelle
          +
          +
          Returns:
          +
          Anzahl der Zeilen
          +
          +
        • +
        + + + +
          +
        • +

          clearRows

          +
          public void clearRows()
          +
          Löscht alle Zeilen der Tabelle. + Die Spaltenüberschriften und Typen bleiben erhalten.
          +
        • +
        + + + +
          +
        • +

          addRow

          +
          public TableRow addRow()
          +
          Fügt eine neue Zeile an das Ende der Tabelle an.
          +
          +
          Returns:
          +
          ein TableRow-Objekt für diese neue Zeile
          +
          +
        • +
        + + + +
          +
        • +

          removeRow

          +
          public void removeRow​(int i)
          +
          Löscht eine Zeile
          +
          +
          Parameters:
          +
          i - Nummer der Zeile
          +
          +
        • +
        + + + +
          +
        • +

          getRow

          +
          public TableRow getRow​(int i)
          +
          Liefert eine Zeile der Tabelle
          +
          +
          Parameters:
          +
          i - Nummer der Zeile
          +
          Returns:
          +
          TableRow-Objekt für diese Zeile
          +
          +
        • +
        + + + +
          +
        • +

          rows

          +
          public TableRow[] rows()
          +
          Liefert die ganze Tabelle als Array von TableRow-Objekten
          +
          +
          Returns:
          +
          Array von TableRow-Objekten
          +
          +
        • +
        + + + +
          +
        • +

          getInt

          +
          public int getInt​(int row,
          +                  int column)
          +
          Liefert den Wert einer Zelle als Integer-Zahl
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          column - Spaltennummer
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          getInt

          +
          public int getInt​(int row,
          +                  String name)
          +
          Liefert den Wert einer Zelle als Integer-Zahl
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          name - Name der Spalte
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setInt

          +
          public void setInt​(int row,
          +                   int column,
          +                   int value)
          +
          Setzt den Wert einer Zelle als Integer-Zahl
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          column - Spaltennummer
          +
          value - neuer Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setInt

          +
          public void setInt​(int row,
          +                   String name,
          +                   int value)
          +
          Setzt den Wert einer Zelle als Integer-Zahl
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          name - Name der Spalte
          +
          value - neuer Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          getIntRow

          +
          public int[] getIntRow​(int row)
          +
          Liefert alle Werte einer Zeile als Integer-Array.
          +
          +
          Parameters:
          +
          row - Nummer der Zeile
          +
          Returns:
          +
          int-Array, dass alle Werte der Zeile enthält
          +
          +
        • +
        + + + +
          +
        • +

          getIntColumn

          +
          public int[] getIntColumn​(int column)
          +
          Liefert alle Werte einer Spalte als Integer-Array.
          +
          +
          Parameters:
          +
          column - Nummer der Spalte
          +
          Returns:
          +
          int-Array, dass alle Werte der Spalte enthält
          +
          +
        • +
        + + + +
          +
        • +

          getIntColumn

          +
          public int[] getIntColumn​(String name)
          +
          Liefert alle Werte einer Spalte als Integer-Array.
          +
          +
          Parameters:
          +
          name - Name der Spalte
          +
          Returns:
          +
          int-Array, dass alle Werte der Spalte enthält
          +
          +
        • +
        + + + +
          +
        • +

          getFloat

          +
          public float getFloat​(int row,
          +                      int column)
          +
          Liefert den Wert einer Zelle als Float-Zahl
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          column - Spaltennummer
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          getFloat

          +
          public float getFloat​(int row,
          +                      String name)
          +
          Liefert den Wert einer Zelle als Float-Zahl
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          name - Name der Spalte
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setFloat

          +
          public void setFloat​(int row,
          +                     int column,
          +                     float value)
          +
          Setzt den Wert einer Zelle als Float-Zahl
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          column - Spaltennummer
          +
          value - neuer Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setFloat

          +
          public void setFloat​(int row,
          +                     String name,
          +                     float value)
          +
          Setzt den Wert einer Zelle als Float-Zahl
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          name - Name der Spalte
          +
          value - neuer Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          getFloatRow

          +
          public float[] getFloatRow​(int row)
          +
          Liefert alle Werte einer Zeile als Float-Array.
          +
          +
          Parameters:
          +
          row - Nummer der Zeile
          +
          Returns:
          +
          int-Array, dass alle Werte der Zeile enthält
          +
          +
        • +
        + + + +
          +
        • +

          getFloatColumn

          +
          public float[] getFloatColumn​(int column)
          +
          Liefert alle Werte einer Spalte als Float-Array.
          +
          +
          Parameters:
          +
          column - Nummer der Spalte
          +
          Returns:
          +
          int-Array, dass alle Werte der Spalte enthält
          +
          +
        • +
        + + + +
          +
        • +

          getFloatColumn

          +
          public float[] getFloatColumn​(String name)
          +
          Liefert alle Werte einer Spalte als Float-Array.
          +
          +
          Parameters:
          +
          name - Name der Spalte
          +
          Returns:
          +
          int-Array, dass alle Werte der Spalte enthält
          +
          +
        • +
        + + + +
          +
        • +

          getDouble

          +
          public double getDouble​(int row,
          +                        int column)
          +
          Liefert den Wert einer Zelle als Double-Zahl
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          column - Spaltennummer
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          getDouble

          +
          public double getDouble​(int row,
          +                        String name)
          +
          Liefert den Wert einer Zelle als Double-Zahl
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          name - Name der Spalte
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setDouble

          +
          public void setDouble​(int row,
          +                      int column,
          +                      double value)
          +
          Setzt den Wert einer Zelle als Double-Zahl
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          column - Spaltennummer
          +
          value - neuer Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setDouble

          +
          public void setDouble​(int row,
          +                      String name,
          +                      double value)
          +
          Setzt den Wert einer Zelle als Double-Zahl
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          name - Name der Spalte
          +
          value - neuer Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          getDoubleRow

          +
          public double[] getDoubleRow​(int row)
          +
          Liefert alle Werte einer Spalte als Double-Array.
          +
          +
          Parameters:
          +
          row - Nummer der Spalte
          +
          Returns:
          +
          int-Array, dass alle Werte der Spalte enthält
          +
          +
        • +
        + + + +
          +
        • +

          getDoubleColumn

          +
          public double[] getDoubleColumn​(int column)
          +
          Liefert alle Werte einer Spalte als Double-Array.
          +
          +
          Parameters:
          +
          column - Nummer der Spalte
          +
          Returns:
          +
          int-Array, dass alle Werte der Spalte enthält
          +
          +
        • +
        + + + +
          +
        • +

          getDoubleColumn

          +
          public double[] getDoubleColumn​(String name)
          +
          Liefert alle Werte einer Spalte als Double-Array.
          +
          +
          Parameters:
          +
          name - Name der Spalte
          +
          Returns:
          +
          int-Array, dass alle Werte der Spalte enthält
          +
          +
        • +
        + + + +
          +
        • +

          getString

          +
          public String getString​(int row,
          +                        int column)
          +
          Liefert den Wert einer Zelle als String
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          column - Spaltennummer
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          getString

          +
          public String getString​(int row,
          +                        String name)
          +
          Liefert den Wert einer Zelle als String
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          name - Name der Spalte
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setString

          +
          public void setString​(int row,
          +                      int column,
          +                      String text)
          +
          Setzt den Wert einer Zelle als String
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          column - Spaltennummer
          +
          text - neuer Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setString

          +
          public void setString​(int row,
          +                      String name,
          +                      String text)
          +
          Setzt den Wert einer Zelle als String
          +
          +
          Parameters:
          +
          row - Zeilennummer
          +
          name - Name der Spalte
          +
          text - neuer Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          getStringRow

          +
          public String[] getStringRow​(int row)
          +
          Liefert alle Werte einer Spalte als String-Array.
          +
          +
          Parameters:
          +
          row - Nummer der Spalte
          +
          Returns:
          +
          int-Array, dass alle Werte der Spalte enthält
          +
          +
        • +
        + + + +
          +
        • +

          getStringColumn

          +
          public String[] getStringColumn​(int column)
          +
          Liefert alle Werte einer Spalte als String-Array.
          +
          +
          Parameters:
          +
          column - Nummer der Spalte
          +
          Returns:
          +
          int-Array, dass alle Werte der Spalte enthält
          +
          +
        • +
        + + + +
          +
        • +

          getStringColumn

          +
          public String[] getStringColumn​(String name)
          +
          Liefert alle Werte einer Spalte als String-Array.
          +
          +
          Parameters:
          +
          name - Name der Spalte
          +
          Returns:
          +
          int-Array, dass alle Werte der Spalte enthält
          +
          +
        • +
        + + + +
          +
        • +

          findRow

          +
          public TableRow findRow​(String value,
          +                        int column)
          +
          Sucht nach einem bestimmtem Wert in einer Zeile.
          +
          +
          Parameters:
          +
          value - Wert der gesucht werden soll
          +
          column - Nummer der Spalte, die durchsucht werden soll
          +
          Returns:
          +
          TableRow-Objekt der Zeile, wenn der Wert gefunden wurde, sonst null
          +
          +
        • +
        + + + +
          +
        • +

          findRow

          +
          public TableRow findRow​(String value,
          +                        String name)
          +
          Sucht nach einem bestimmtem Wert in einer Zeile.
          +
          +
          Parameters:
          +
          value - Wert der gesucht werden soll
          +
          name - Name der Spalte, die durchsucht werden soll
          +
          Returns:
          +
          TableRow-Objekt der Zeile, wenn der Wert gefunden wurde, sonst null
          +
          +
        • +
        + + + +
          +
        • +

          trim

          +
          public void trim()
          +
          Kürzt alle Einträge der Tabelle um unnötige Leerzeichen am Anfang oder Ende
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + +
    + +
    + + diff --git a/doc/imp/TableRow.html b/doc/imp/TableRow.html index bb28dc8..420da1d 100644 --- a/doc/imp/TableRow.html +++ b/doc/imp/TableRow.html @@ -1,785 +1,785 @@ - - - - - -TableRow (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    - -
    -
    -
    Package imp
    -

    Class TableRow

    -
    -
    - -
    -
      -
    • -
      -
      public class TableRow
      -extends Object
      -
    • -
    -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Field Summary

        - - - - - - - - - - - - -
        Fields 
        Modifier and TypeFieldDescription
        (package private) NumberFormatformat 
        -
      • -
      -
      - -
      -
        -
      • - - -

        Constructor Summary

        - - - - - - - - - - -
        Constructors 
        ConstructorDescription
        TableRow​(org.jdom.Document doc, - org.jdom.Element row) -
        Erzeugt ein TableRow-Objekt.
        -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        intgetColumn​(String name) -
        Liefert die Nummer einer Spalte
        -
        intgetColumnCount() -
        Liefert die Anzahl der Spalten der Zeile.
        -
        StringgetColumnTitle​(int i) -
        Liefert den Titel einer Spalte
        -
        doublegetDouble​(int i) -
        Liefert den Wert einer Zelle als Double-Zahl
        -
        doublegetDouble​(String name) -
        Liefert den Wert einer Zelle als Double-Zahl
        -
        floatgetFloat​(int i) -
        Liefert den Wert einer Zelle als Float-Zahl
        -
        floatgetFloat​(String name) -
        Liefert den Wert einer Zelle als Float-Zahl
        -
        intgetInt​(int i) -
        Liefert den Wert einer Zelle als Int-Zahl
        -
        intgetInt​(String name) -
        Liefert den Wert einer Zelle als Int-Zahl
        -
        StringgetString​(int i) -
        Liefert den Wert einer Zelle als String
        -
        StringgetString​(String name) -
        Liefert den Wert einer Zelle als String
        -
        voidsetDouble​(int i, - double value) -
        Setzt den Wert einer Zelle als Double-Zahl
        -
        voidsetDouble​(String name, - double value) -
        Setzt den Wert einer Zelle als Double-Zahl
        -
        voidsetFloat​(int i, - float value) -
        Setzt den Wert einer Zelle als Float-Zahl
        -
        voidsetFloat​(String name, - float value) -
        Setzt den Wert einer Zelle als Float-Zahl
        -
        voidsetInt​(int i, - int value) -
        Setzt den Wert einer Zelle als Int-Zahl
        -
        voidsetInt​(String name, - int value) -
        Setzt den Wert einer Zelle als Int-Zahl
        -
        voidsetString​(int i, - String text) -
        Setzt den Wert einer Zelle als String
        -
        voidsetString​(String name, - String text) -
        Setzt den Wert einer Zelle als String
        -
        - -
      • -
      -
      -
    • -
    -
    -
    -
      -
    • - -
      - -
      - -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          TableRow

          -
          public TableRow​(org.jdom.Document doc,
          -                org.jdom.Element row)
          -
          Erzeugt ein TableRow-Objekt. - Diese Methode ist für den internen Gebraucht. Einige Methode der Table-Klasse erzeugen mit diesem Konstruktor TableRow-Objekte.
          -
          -
          Parameters:
          -
          doc - JDOM-Dokument, das für die ganze Tabelle steht.
          -
          row - JDOM-Element, das für die aktuelle Zeile steht.
          -
          -
        • -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          getColumnCount

          -
          public int getColumnCount()
          -
          Liefert die Anzahl der Spalten der Zeile.
          -
          -
          Returns:
          -
          Anzahl der Spalten
          -
          -
        • -
        - - - -
          -
        • -

          getColumnTitle

          -
          public String getColumnTitle​(int i)
          -
          Liefert den Titel einer Spalte
          -
          -
          Parameters:
          -
          i - Nummer der Spalte
          -
          Returns:
          -
          Name der Spalte
          -
          -
        • -
        - - - -
          -
        • -

          getColumn

          -
          public int getColumn​(String name)
          -
          Liefert die Nummer einer Spalte
          -
          -
          Parameters:
          -
          name - Name der Spalte
          -
          Returns:
          -
          Nummer der Spalte
          -
          -
        • -
        - - - -
          -
        • -

          getString

          -
          public String getString​(int i)
          -
          Liefert den Wert einer Zelle als String
          -
          -
          Parameters:
          -
          i - Nummer der Spalte
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          getString

          -
          public String getString​(String name)
          -
          Liefert den Wert einer Zelle als String
          -
          -
          Parameters:
          -
          name - Name der Spalte
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setString

          -
          public void setString​(int i,
          -                      String text)
          -
          Setzt den Wert einer Zelle als String
          -
          -
          Parameters:
          -
          i - Nummer der Spalte
          -
          text - neuer Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setString

          -
          public void setString​(String name,
          -                      String text)
          -
          Setzt den Wert einer Zelle als String
          -
          -
          Parameters:
          -
          name - Name der Spalte
          -
          text - neuer Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          getInt

          -
          public int getInt​(int i)
          -
          Liefert den Wert einer Zelle als Int-Zahl
          -
          -
          Parameters:
          -
          i - Nummer der Spalte
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          getInt

          -
          public int getInt​(String name)
          -
          Liefert den Wert einer Zelle als Int-Zahl
          -
          -
          Parameters:
          -
          name - Name der Spalte
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setInt

          -
          public void setInt​(int i,
          -                   int value)
          -
          Setzt den Wert einer Zelle als Int-Zahl
          -
          -
          Parameters:
          -
          i - Nummer der Spalte
          -
          value - neuer Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setInt

          -
          public void setInt​(String name,
          -                   int value)
          -
          Setzt den Wert einer Zelle als Int-Zahl
          -
          -
          Parameters:
          -
          name - Name der Spalte
          -
          value - neuer Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          getFloat

          -
          public float getFloat​(int i)
          -
          Liefert den Wert einer Zelle als Float-Zahl
          -
          -
          Parameters:
          -
          i - Nummer der Spalte
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          getFloat

          -
          public float getFloat​(String name)
          -
          Liefert den Wert einer Zelle als Float-Zahl
          -
          -
          Parameters:
          -
          name - Name der Spalte
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setFloat

          -
          public void setFloat​(int i,
          -                     float value)
          -
          Setzt den Wert einer Zelle als Float-Zahl
          -
          -
          Parameters:
          -
          i - Nummer der Spalte
          -
          value - neuer Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setFloat

          -
          public void setFloat​(String name,
          -                     float value)
          -
          Setzt den Wert einer Zelle als Float-Zahl
          -
          -
          Parameters:
          -
          name - Name der Spalte
          -
          value - neuer Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          getDouble

          -
          public double getDouble​(int i)
          -
          Liefert den Wert einer Zelle als Double-Zahl
          -
          -
          Parameters:
          -
          i - Nummer der Spalte
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          getDouble

          -
          public double getDouble​(String name)
          -
          Liefert den Wert einer Zelle als Double-Zahl
          -
          -
          Parameters:
          -
          name - Name der Spalte
          -
          Returns:
          -
          Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setDouble

          -
          public void setDouble​(int i,
          -                      double value)
          -
          Setzt den Wert einer Zelle als Double-Zahl
          -
          -
          Parameters:
          -
          i - Nummer der Spalte
          -
          value - neuer Wert der Zelle
          -
          -
        • -
        - - - -
          -
        • -

          setDouble

          -
          public void setDouble​(String name,
          -                      double value)
          -
          Setzt den Wert einer Zelle als Double-Zahl
          -
          -
          Parameters:
          -
          name - Name der Spalte
          -
          value - neuer Wert der Zelle
          -
          -
        • -
        -
      • -
      -
      -
    • -
    -
    -
    -
    - - - - + + + + + +TableRow (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    + +
    +
    +
    Package imp
    +

    Class TableRow

    +
    +
    + +
    +
      +
    • +
      +
      public class TableRow
      +extends Object
      +
    • +
    +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Field Summary

        + + + + + + + + + + + + +
        Fields 
        Modifier and TypeFieldDescription
        (package private) NumberFormatformat 
        +
      • +
      +
      + +
      +
        +
      • + + +

        Constructor Summary

        + + + + + + + + + + +
        Constructors 
        ConstructorDescription
        TableRow​(org.jdom.Document doc, + org.jdom.Element row) +
        Erzeugt ein TableRow-Objekt.
        +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        intgetColumn​(String name) +
        Liefert die Nummer einer Spalte
        +
        intgetColumnCount() +
        Liefert die Anzahl der Spalten der Zeile.
        +
        StringgetColumnTitle​(int i) +
        Liefert den Titel einer Spalte
        +
        doublegetDouble​(int i) +
        Liefert den Wert einer Zelle als Double-Zahl
        +
        doublegetDouble​(String name) +
        Liefert den Wert einer Zelle als Double-Zahl
        +
        floatgetFloat​(int i) +
        Liefert den Wert einer Zelle als Float-Zahl
        +
        floatgetFloat​(String name) +
        Liefert den Wert einer Zelle als Float-Zahl
        +
        intgetInt​(int i) +
        Liefert den Wert einer Zelle als Int-Zahl
        +
        intgetInt​(String name) +
        Liefert den Wert einer Zelle als Int-Zahl
        +
        StringgetString​(int i) +
        Liefert den Wert einer Zelle als String
        +
        StringgetString​(String name) +
        Liefert den Wert einer Zelle als String
        +
        voidsetDouble​(int i, + double value) +
        Setzt den Wert einer Zelle als Double-Zahl
        +
        voidsetDouble​(String name, + double value) +
        Setzt den Wert einer Zelle als Double-Zahl
        +
        voidsetFloat​(int i, + float value) +
        Setzt den Wert einer Zelle als Float-Zahl
        +
        voidsetFloat​(String name, + float value) +
        Setzt den Wert einer Zelle als Float-Zahl
        +
        voidsetInt​(int i, + int value) +
        Setzt den Wert einer Zelle als Int-Zahl
        +
        voidsetInt​(String name, + int value) +
        Setzt den Wert einer Zelle als Int-Zahl
        +
        voidsetString​(int i, + String text) +
        Setzt den Wert einer Zelle als String
        +
        voidsetString​(String name, + String text) +
        Setzt den Wert einer Zelle als String
        +
        + +
      • +
      +
      +
    • +
    +
    +
    +
      +
    • + +
      + +
      + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          TableRow

          +
          public TableRow​(org.jdom.Document doc,
          +                org.jdom.Element row)
          +
          Erzeugt ein TableRow-Objekt. + Diese Methode ist für den internen Gebraucht. Einige Methode der Table-Klasse erzeugen mit diesem Konstruktor TableRow-Objekte.
          +
          +
          Parameters:
          +
          doc - JDOM-Dokument, das für die ganze Tabelle steht.
          +
          row - JDOM-Element, das für die aktuelle Zeile steht.
          +
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          getColumnCount

          +
          public int getColumnCount()
          +
          Liefert die Anzahl der Spalten der Zeile.
          +
          +
          Returns:
          +
          Anzahl der Spalten
          +
          +
        • +
        + + + +
          +
        • +

          getColumnTitle

          +
          public String getColumnTitle​(int i)
          +
          Liefert den Titel einer Spalte
          +
          +
          Parameters:
          +
          i - Nummer der Spalte
          +
          Returns:
          +
          Name der Spalte
          +
          +
        • +
        + + + +
          +
        • +

          getColumn

          +
          public int getColumn​(String name)
          +
          Liefert die Nummer einer Spalte
          +
          +
          Parameters:
          +
          name - Name der Spalte
          +
          Returns:
          +
          Nummer der Spalte
          +
          +
        • +
        + + + +
          +
        • +

          getString

          +
          public String getString​(int i)
          +
          Liefert den Wert einer Zelle als String
          +
          +
          Parameters:
          +
          i - Nummer der Spalte
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          getString

          +
          public String getString​(String name)
          +
          Liefert den Wert einer Zelle als String
          +
          +
          Parameters:
          +
          name - Name der Spalte
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setString

          +
          public void setString​(int i,
          +                      String text)
          +
          Setzt den Wert einer Zelle als String
          +
          +
          Parameters:
          +
          i - Nummer der Spalte
          +
          text - neuer Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setString

          +
          public void setString​(String name,
          +                      String text)
          +
          Setzt den Wert einer Zelle als String
          +
          +
          Parameters:
          +
          name - Name der Spalte
          +
          text - neuer Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          getInt

          +
          public int getInt​(int i)
          +
          Liefert den Wert einer Zelle als Int-Zahl
          +
          +
          Parameters:
          +
          i - Nummer der Spalte
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          getInt

          +
          public int getInt​(String name)
          +
          Liefert den Wert einer Zelle als Int-Zahl
          +
          +
          Parameters:
          +
          name - Name der Spalte
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setInt

          +
          public void setInt​(int i,
          +                   int value)
          +
          Setzt den Wert einer Zelle als Int-Zahl
          +
          +
          Parameters:
          +
          i - Nummer der Spalte
          +
          value - neuer Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setInt

          +
          public void setInt​(String name,
          +                   int value)
          +
          Setzt den Wert einer Zelle als Int-Zahl
          +
          +
          Parameters:
          +
          name - Name der Spalte
          +
          value - neuer Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          getFloat

          +
          public float getFloat​(int i)
          +
          Liefert den Wert einer Zelle als Float-Zahl
          +
          +
          Parameters:
          +
          i - Nummer der Spalte
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          getFloat

          +
          public float getFloat​(String name)
          +
          Liefert den Wert einer Zelle als Float-Zahl
          +
          +
          Parameters:
          +
          name - Name der Spalte
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setFloat

          +
          public void setFloat​(int i,
          +                     float value)
          +
          Setzt den Wert einer Zelle als Float-Zahl
          +
          +
          Parameters:
          +
          i - Nummer der Spalte
          +
          value - neuer Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setFloat

          +
          public void setFloat​(String name,
          +                     float value)
          +
          Setzt den Wert einer Zelle als Float-Zahl
          +
          +
          Parameters:
          +
          name - Name der Spalte
          +
          value - neuer Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          getDouble

          +
          public double getDouble​(int i)
          +
          Liefert den Wert einer Zelle als Double-Zahl
          +
          +
          Parameters:
          +
          i - Nummer der Spalte
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          getDouble

          +
          public double getDouble​(String name)
          +
          Liefert den Wert einer Zelle als Double-Zahl
          +
          +
          Parameters:
          +
          name - Name der Spalte
          +
          Returns:
          +
          Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setDouble

          +
          public void setDouble​(int i,
          +                      double value)
          +
          Setzt den Wert einer Zelle als Double-Zahl
          +
          +
          Parameters:
          +
          i - Nummer der Spalte
          +
          value - neuer Wert der Zelle
          +
          +
        • +
        + + + +
          +
        • +

          setDouble

          +
          public void setDouble​(String name,
          +                      double value)
          +
          Setzt den Wert einer Zelle als Double-Zahl
          +
          +
          Parameters:
          +
          name - Name der Spalte
          +
          value - neuer Wert der Zelle
          +
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + + + + diff --git a/doc/imp/XML.html b/doc/imp/XML.html index 25fbbbe..d21c4fe 100644 --- a/doc/imp/XML.html +++ b/doc/imp/XML.html @@ -1,1229 +1,1229 @@ - - - - - -XML (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    - -
    -
    -
    Package imp
    -

    Class XML

    -
    -
    - -
    -
      -
    • -
      -
      public class XML
      -extends Object
      -
    • -
    -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Constructor Summary

        - - - - - - - - - - - - - - -
        Constructors 
        ConstructorDescription
        XML() -
        Erzeugt ein leeres XMLDokument
        -
        XML​(String filename) -
        Erzeugt ein XML-Dokument aus einer Datei
        -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        XMLaddChild​(String name) -
        Erzeuge neues Element nach der aktuellen Position und setze dieses als aktuelles Element
        -
        intgetAttributeCount() -
        liefert die Anzahl der Attribute eines Elements.
        -
        XMLgetChild​(int i) -
        Liefert das i.
        -
        XMLgetChild​(String name) -
        Liefert das erste Kind des Elements mit einem bestimmten Namen.
        -
        XML[]getChildren() -
        Liefert alle Kinder des Elements als Array von XML-Objekten.
        -
        XML[]getChildren​(String name) -
        Liefert bestimmte Kinder des Elements als Array von XML-Objekten.
        -
        StringgetContent() -
        Fragt den Inhalt/Text des aktuellen Elements ab
        -
        StringgetContent​(String defaultValue) -
        Fragt den Inhalt/Text des aktuellen Elements ab - Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
        -
        doublegetDouble​(String attribute) -
        Fragt einen Attributwert des aktuellen Elements ab
        -
        doublegetDouble​(String attribute, - double defaultValue) -
        Fragt einen Attributwert des aktuellen Elements ab - Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
        -
        doublegetDoubleContent() -
        Fragt den Inhalt des aktuellen Elements als Doublezahl ab
        -
        doublegetDoubleContent​(double defaultValue) -
        Fragt den Inhalt des aktuellen Elements als Doublezahl ab - Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
        -
        floatgetFloat​(String attribute) -
        Fragt einen Attributwert des aktuellen Elements ab
        -
        floatgetFloat​(String attribute, - float defaultValue) -
        Fragt einen Attributwert des aktuellen Elements ab - Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
        -
        floatgetFloatContent() -
        Fragt den Inhalt des aktuellen Elements als Floatzahl ab
        -
        floatgetFloatContent​(float defaultValue) -
        Fragt den Inhalt des aktuellen Elements als Floatzahl ab - Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
        -
        intgetInt​(String attribute) -
        Fragt einen Attributwert des aktuellen Elements ab
        -
        intgetInt​(String attribute, - int defaultValue) -
        Fragt einen Attributwert des aktuellen Elements ab - Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
        -
        intgetIntContent() -
        Fragt den Inhalt des aktuellen Elements als Integerzahl ab
        -
        intgetIntContent​(int defaultValue) -
        Fragt den Inhalt des aktuellen Elements als Integerzahl ab - Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
        -
        StringgetName() -
        Frage den Namen des aktuellen Elements ab
        -
        XMLgetParent() -
        liefert ein XML-Objekt, das auf den Vaterknoten des aktuellen Elements zeigt.
        -
        StringgetString​(String attribute) -
        Fragt einen Attributwert des aktuellen Elements ab
        -
        StringgetString​(String attribute, - String defaultValue) -
        Fragt einen Attributwert des aktuellen Elements ab - Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
        -
        booleanhasAttribute() -
        liefert zurück, ob das aktuelle Element Attribute hat .
        -
        booleanhasChildren() -
        Überprüft, ob das Element irgendwelche Kinder hat oder nicht, und gibt das Ergebnis als boolean zurück.
        -
        String[]listAttributes() -
        Ruft alle Attribute des angegebenen Elements ab und gibt sie als Array von Strings zurück.
        -
        String[]listChildren() -
        Ermittelt die Namen aller Kinder des Elements und gibt die Namen als ein Array von Strings zurück.
        -
        voidloadXML​(String filename) -
        Öffnet das durch den Dateinamen gegebene Dokument
        -
        voidremoveChild​(XML kid) -
        löscht ein Kind des aktuellen Knotens.
        -
        voidsaveXML​(String filename) -
        Speichert den XML-Baum im angegebenen Dateinamen
        -
        voidsetContent​(String text) -
        Setzt den Inhalt/Text des aktuellen Elements
        -
        voidsetDouble​(String attribute, - double value) -
        Setzt einen Attributwert des aktuellen Elements
        -
        voidsetDoubleContent​(double value) -
        Setzt den Inhalt des aktuellen Elements
        -
        voidsetFloat​(String attribute, - float value) -
        Setzt einen Attributwert des aktuellen Elements
        -
        voidsetFloatContent​(float value) -
        Setzt den Inhalt des aktuellen Elements
        -
        voidsetInt​(String attribute, - int value) -
        Setzt einen Attributwert des aktuellen Elements
        -
        voidsetIntContent​(int value) -
        Setzt den Inhalt des aktuellen Elements
        -
        voidsetName​(String name) -
        Setze den Namen des aktuellen Elements.
        -
        voidsetString​(String attribute, - String text) -
        Setzt einen Attributwert des aktuellen Elements
        -
        - -
      • -
      -
      -
    • -
    -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          XML

          -
          public XML()
          -
          Erzeugt ein leeres XMLDokument
          -
        • -
        - - - -
          -
        • -

          XML

          -
          public XML​(String filename)
          -
          Erzeugt ein XML-Dokument aus einer Datei
          -
          -
          Parameters:
          -
          filename - Dateiname der XML-Datei
          -
          -
        • -
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          loadXML

          -
          public void loadXML​(String filename)
          -
          Öffnet das durch den Dateinamen gegebene Dokument
          -
          -
          Parameters:
          -
          filename - Dateiname des XML-Files
          -
          -
        • -
        - - - -
          -
        • -

          saveXML

          -
          public void saveXML​(String filename)
          -
          Speichert den XML-Baum im angegebenen Dateinamen
          -
          -
          Parameters:
          -
          filename - Dateiname des XML-Files
          -
          -
        • -
        - - - -
          -
        • -

          getParent

          -
          public XML getParent()
          -
          liefert ein XML-Objekt, das auf den Vaterknoten des aktuellen Elements zeigt.
          -
          -
          Returns:
          -
          Vater des aktuellen Objekts.
          -
          -
        • -
        - - - -
          -
        • -

          hasChildren

          -
          public boolean hasChildren()
          -
          Überprüft, ob das Element irgendwelche Kinder hat oder nicht, und gibt das Ergebnis als boolean zurück.
          -
          -
          Returns:
          -
          true, wenn Kinder vorhanden sind, sonst false
          -
          -
        • -
        - - - -
          -
        • -

          listChildren

          -
          public String[] listChildren()
          -
          Ermittelt die Namen aller Kinder des Elements und gibt die Namen als ein Array von Strings zurück. - Dies ist dasselbe wie das Durchlaufen und Aufrufen von getName() auf jedem untergeordneten Element einzeln.
          -
          -
          Returns:
          -
          Liste aller Namen der Kinder
          -
          -
        • -
        - - - -
          -
        • -

          getChildren

          -
          public XML[] getChildren()
          -
          Liefert alle Kinder des Elements als Array von XML-Objekten.
          -
          -
          Returns:
          -
          Array der Kinder als XML-Objekte
          -
          -
        • -
        - - - -
          -
        • -

          getChildren

          -
          public XML[] getChildren​(String name)
          -
          Liefert bestimmte Kinder des Elements als Array von XML-Objekten. - Die Methode gibt dabei alle Kinder zurück, die dem angegebenen Namen entsprechen.
          -
          -
          Parameters:
          -
          name - Name der gesuchten Kind-Objekte
          -
          Returns:
          -
          Array der Kinder als XML-Objekte
          -
          -
        • -
        - - - -
          -
        • -

          getChild

          -
          public XML getChild​(String name)
          -
          Liefert das erste Kind des Elements mit einem bestimmten Namen. - Die Methode gibt das erste Kind zurück, das dem angegebenen Namen entsprechen.
          -
          -
          Parameters:
          -
          name - Name des gesuchten Kind-Objektes
          -
          Returns:
          -
          Kind als XML-Objekt
          -
          -
        • -
        - - - -
          -
        • -

          getChild

          -
          public XML getChild​(int i)
          -
          Liefert das i. Kind des Elements. - Die Methode gibt das i. Kind des aktuellen Elements zurück.
          -
          -
          Parameters:
          -
          i - Nummer des Kindes
          -
          Returns:
          -
          Kind als XML-Objekt
          -
          -
        • -
        - - - -
          -
        • -

          getName

          -
          public String getName()
          -
          Frage den Namen des aktuellen Elements ab
          -
          -
          Returns:
          -
          Namen des Elements
          -
          -
        • -
        - - - -
          -
        • -

          setName

          -
          public void setName​(String name)
          -
          Setze den Namen des aktuellen Elements.
          -
          -
          Parameters:
          -
          name - Neuer Name des Elements
          -
          -
        • -
        - - - -
          -
        • -

          getAttributeCount

          -
          public int getAttributeCount()
          -
          liefert die Anzahl der Attribute eines Elements.
          -
          -
          Returns:
          -
          Anzahl des Attribute
          -
          -
        • -
        - - - -
          -
        • -

          hasAttribute

          -
          public boolean hasAttribute()
          -
          liefert zurück, ob das aktuelle Element Attribute hat .
          -
          -
          Returns:
          -
          true, wenn es Attribute gibt
          -
          -
        • -
        - - - -
          -
        • -

          listAttributes

          -
          public String[] listAttributes()
          -
          Ruft alle Attribute des angegebenen Elements ab und gibt sie als Array von Strings zurück.
          -
          -
          Returns:
          -
          Liste der Attributnamen
          -
          -
        • -
        - - - -
          -
        • -

          getString

          -
          public String getString​(String attribute)
          -
          Fragt einen Attributwert des aktuellen Elements ab
          -
          -
          Parameters:
          -
          attribute - Name des Attributs
          -
          Returns:
          -
          Wert des Attributs
          -
          -
        • -
        - - - -
          -
        • -

          getString

          -
          public String getString​(String attribute,
          -                        String defaultValue)
          -
          Fragt einen Attributwert des aktuellen Elements ab - Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
          -
          -
          Parameters:
          -
          attribute - Name des Attributs
          -
          defaultValue - Standardwert, falls es das Attribut nicht gibt
          -
          Returns:
          -
          Wert des Attributs
          -
          -
        • -
        - - - -
          -
        • -

          setString

          -
          public void setString​(String attribute,
          -                      String text)
          -
          Setzt einen Attributwert des aktuellen Elements
          -
          -
          Parameters:
          -
          attribute - Name des Attributs
          -
          text - neuer Wert des Attributs
          -
          -
        • -
        - - - -
          -
        • -

          getInt

          -
          public int getInt​(String attribute)
          -
          Fragt einen Attributwert des aktuellen Elements ab
          -
          -
          Parameters:
          -
          attribute - Name des Attributs
          -
          Returns:
          -
          Wert des Attributs als Integer-Zahl
          -
          -
        • -
        - - - -
          -
        • -

          getInt

          -
          public int getInt​(String attribute,
          -                  int defaultValue)
          -
          Fragt einen Attributwert des aktuellen Elements ab - Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
          -
          -
          Parameters:
          -
          attribute - Name des Attributs
          -
          defaultValue - Standardwert, falls es das Attribut nicht gibt
          -
          Returns:
          -
          Wert des Attributs als Integer-Zahl
          -
          -
        • -
        - - - -
          -
        • -

          setInt

          -
          public void setInt​(String attribute,
          -                   int value)
          -
          Setzt einen Attributwert des aktuellen Elements
          -
          -
          Parameters:
          -
          attribute - Name des Attributs
          -
          value - neuer Wert des Attributs
          -
          -
        • -
        - - - -
          -
        • -

          getFloat

          -
          public float getFloat​(String attribute)
          -
          Fragt einen Attributwert des aktuellen Elements ab
          -
          -
          Parameters:
          -
          attribute - Name des Attributs
          -
          Returns:
          -
          Wert des Attributs als Float-Zahl
          -
          -
        • -
        - - - -
          -
        • -

          getFloat

          -
          public float getFloat​(String attribute,
          -                      float defaultValue)
          -
          Fragt einen Attributwert des aktuellen Elements ab - Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
          -
          -
          Parameters:
          -
          attribute - Name des Attributs
          -
          defaultValue - Standardwert, falls es das Attribut nicht gibt
          -
          Returns:
          -
          Wert des Attributs als Float-Zahl
          -
          -
        • -
        - - - -
          -
        • -

          setFloat

          -
          public void setFloat​(String attribute,
          -                     float value)
          -
          Setzt einen Attributwert des aktuellen Elements
          -
          -
          Parameters:
          -
          attribute - Name des Attributs
          -
          value - neuer Wert des Attributs
          -
          -
        • -
        - - - -
          -
        • -

          getDouble

          -
          public double getDouble​(String attribute)
          -
          Fragt einen Attributwert des aktuellen Elements ab
          -
          -
          Parameters:
          -
          attribute - Name des Attributs
          -
          Returns:
          -
          Wert des Attributs als Double-Zahl
          -
          -
        • -
        - - - -
          -
        • -

          getDouble

          -
          public double getDouble​(String attribute,
          -                        double defaultValue)
          -
          Fragt einen Attributwert des aktuellen Elements ab - Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
          -
          -
          Parameters:
          -
          attribute - Name des Attributs
          -
          defaultValue - Standardwert, falls es das Attribut nicht gibt
          -
          Returns:
          -
          Wert des Attributs als double-Zahl
          -
          -
        • -
        - - - -
          -
        • -

          setDouble

          -
          public void setDouble​(String attribute,
          -                      double value)
          -
          Setzt einen Attributwert des aktuellen Elements
          -
          -
          Parameters:
          -
          attribute - Name des Attributs
          -
          value - neuer Wert des Attributs
          -
          -
        • -
        - - - -
          -
        • -

          getContent

          -
          public String getContent()
          -
          Fragt den Inhalt/Text des aktuellen Elements ab
          -
          -
          Returns:
          -
          Inhalt des Elements
          -
          -
        • -
        - - - -
          -
        • -

          getContent

          -
          public String getContent​(String defaultValue)
          -
          Fragt den Inhalt/Text des aktuellen Elements ab - Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
          -
          -
          Parameters:
          -
          defaultValue - Standardtext
          -
          Returns:
          -
          Inhalt des Elements
          -
          -
        • -
        - - - -
          -
        • -

          setContent

          -
          public void setContent​(String text)
          -
          Setzt den Inhalt/Text des aktuellen Elements
          -
          -
          Parameters:
          -
          text - Neuer Inhalt des Elements
          -
          -
        • -
        - - - -
          -
        • -

          getIntContent

          -
          public int getIntContent​(int defaultValue)
          -
          Fragt den Inhalt des aktuellen Elements als Integerzahl ab - Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
          -
          -
          Parameters:
          -
          defaultValue - Standardwert
          -
          Returns:
          -
          Inhalt des Elements
          -
          -
        • -
        - - - -
          -
        • -

          getIntContent

          -
          public int getIntContent()
          -
          Fragt den Inhalt des aktuellen Elements als Integerzahl ab
          -
          -
          Returns:
          -
          Inhalt des Elements
          -
          -
        • -
        - - - -
          -
        • -

          setIntContent

          -
          public void setIntContent​(int value)
          -
          Setzt den Inhalt des aktuellen Elements
          -
          -
          Parameters:
          -
          value - Neuer Inhalt des Elements
          -
          -
        • -
        - - - -
          -
        • -

          getFloatContent

          -
          public float getFloatContent​(float defaultValue)
          -
          Fragt den Inhalt des aktuellen Elements als Floatzahl ab - Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
          -
          -
          Parameters:
          -
          defaultValue - Standardwert
          -
          Returns:
          -
          Inhalt des Elements
          -
          -
        • -
        - - - -
          -
        • -

          getFloatContent

          -
          public float getFloatContent()
          -
          Fragt den Inhalt des aktuellen Elements als Floatzahl ab
          -
          -
          Returns:
          -
          Inhalt des Elements
          -
          -
        • -
        - - - -
          -
        • -

          setFloatContent

          -
          public void setFloatContent​(float value)
          -
          Setzt den Inhalt des aktuellen Elements
          -
          -
          Parameters:
          -
          value - Neuer Inhalt des Elements
          -
          -
        • -
        - - - -
          -
        • -

          getDoubleContent

          -
          public double getDoubleContent​(double defaultValue)
          -
          Fragt den Inhalt des aktuellen Elements als Doublezahl ab - Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
          -
          -
          Parameters:
          -
          defaultValue - Standardwert
          -
          Returns:
          -
          Inhalt des Elements
          -
          -
        • -
        - - - -
          -
        • -

          getDoubleContent

          -
          public double getDoubleContent()
          -
          Fragt den Inhalt des aktuellen Elements als Doublezahl ab
          -
          -
          Returns:
          -
          Inhalt des Elements
          -
          -
        • -
        - - - -
          -
        • -

          setDoubleContent

          -
          public void setDoubleContent​(double value)
          -
          Setzt den Inhalt des aktuellen Elements
          -
          -
          Parameters:
          -
          value - Neuer Inhalt des Elements
          -
          -
        • -
        - - - -
          -
        • -

          addChild

          -
          public XML addChild​(String name)
          -
          Erzeuge neues Element nach der aktuellen Position und setze dieses als aktuelles Element
          -
          -
          Parameters:
          -
          name - Name des neuen Elements
          -
          Returns:
          -
          neues Element als XML-Objekt
          -
          -
        • -
        - - - -
          -
        • -

          removeChild

          -
          public void removeChild​(XML kid)
          -
          löscht ein Kind des aktuellen Knotens. - Ist kid kein Kind des aktuellen Elements passiert gar nichts.
          -
          -
          Parameters:
          -
          kid - XML-Objekt des Kindes
          -
          -
        • -
        -
      • -
      -
      -
    • -
    -
    -
    -
    - -
    - -
    - - + + + + + +XML (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    + +
    +
    +
    Package imp
    +

    Class XML

    +
    +
    + +
    +
      +
    • +
      +
      public class XML
      +extends Object
      +
    • +
    +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Constructor Summary

        + + + + + + + + + + + + + + +
        Constructors 
        ConstructorDescription
        XML() +
        Erzeugt ein leeres XMLDokument
        +
        XML​(String filename) +
        Erzeugt ein XML-Dokument aus einer Datei
        +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        XMLaddChild​(String name) +
        Erzeuge neues Element nach der aktuellen Position und setze dieses als aktuelles Element
        +
        intgetAttributeCount() +
        liefert die Anzahl der Attribute eines Elements.
        +
        XMLgetChild​(int i) +
        Liefert das i.
        +
        XMLgetChild​(String name) +
        Liefert das erste Kind des Elements mit einem bestimmten Namen.
        +
        XML[]getChildren() +
        Liefert alle Kinder des Elements als Array von XML-Objekten.
        +
        XML[]getChildren​(String name) +
        Liefert bestimmte Kinder des Elements als Array von XML-Objekten.
        +
        StringgetContent() +
        Fragt den Inhalt/Text des aktuellen Elements ab
        +
        StringgetContent​(String defaultValue) +
        Fragt den Inhalt/Text des aktuellen Elements ab + Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
        +
        doublegetDouble​(String attribute) +
        Fragt einen Attributwert des aktuellen Elements ab
        +
        doublegetDouble​(String attribute, + double defaultValue) +
        Fragt einen Attributwert des aktuellen Elements ab + Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
        +
        doublegetDoubleContent() +
        Fragt den Inhalt des aktuellen Elements als Doublezahl ab
        +
        doublegetDoubleContent​(double defaultValue) +
        Fragt den Inhalt des aktuellen Elements als Doublezahl ab + Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
        +
        floatgetFloat​(String attribute) +
        Fragt einen Attributwert des aktuellen Elements ab
        +
        floatgetFloat​(String attribute, + float defaultValue) +
        Fragt einen Attributwert des aktuellen Elements ab + Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
        +
        floatgetFloatContent() +
        Fragt den Inhalt des aktuellen Elements als Floatzahl ab
        +
        floatgetFloatContent​(float defaultValue) +
        Fragt den Inhalt des aktuellen Elements als Floatzahl ab + Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
        +
        intgetInt​(String attribute) +
        Fragt einen Attributwert des aktuellen Elements ab
        +
        intgetInt​(String attribute, + int defaultValue) +
        Fragt einen Attributwert des aktuellen Elements ab + Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
        +
        intgetIntContent() +
        Fragt den Inhalt des aktuellen Elements als Integerzahl ab
        +
        intgetIntContent​(int defaultValue) +
        Fragt den Inhalt des aktuellen Elements als Integerzahl ab + Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
        +
        StringgetName() +
        Frage den Namen des aktuellen Elements ab
        +
        XMLgetParent() +
        liefert ein XML-Objekt, das auf den Vaterknoten des aktuellen Elements zeigt.
        +
        StringgetString​(String attribute) +
        Fragt einen Attributwert des aktuellen Elements ab
        +
        StringgetString​(String attribute, + String defaultValue) +
        Fragt einen Attributwert des aktuellen Elements ab + Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
        +
        booleanhasAttribute() +
        liefert zurück, ob das aktuelle Element Attribute hat .
        +
        booleanhasChildren() +
        Überprüft, ob das Element irgendwelche Kinder hat oder nicht, und gibt das Ergebnis als boolean zurück.
        +
        String[]listAttributes() +
        Ruft alle Attribute des angegebenen Elements ab und gibt sie als Array von Strings zurück.
        +
        String[]listChildren() +
        Ermittelt die Namen aller Kinder des Elements und gibt die Namen als ein Array von Strings zurück.
        +
        voidloadXML​(String filename) +
        Öffnet das durch den Dateinamen gegebene Dokument
        +
        voidremoveChild​(XML kid) +
        löscht ein Kind des aktuellen Knotens.
        +
        voidsaveXML​(String filename) +
        Speichert den XML-Baum im angegebenen Dateinamen
        +
        voidsetContent​(String text) +
        Setzt den Inhalt/Text des aktuellen Elements
        +
        voidsetDouble​(String attribute, + double value) +
        Setzt einen Attributwert des aktuellen Elements
        +
        voidsetDoubleContent​(double value) +
        Setzt den Inhalt des aktuellen Elements
        +
        voidsetFloat​(String attribute, + float value) +
        Setzt einen Attributwert des aktuellen Elements
        +
        voidsetFloatContent​(float value) +
        Setzt den Inhalt des aktuellen Elements
        +
        voidsetInt​(String attribute, + int value) +
        Setzt einen Attributwert des aktuellen Elements
        +
        voidsetIntContent​(int value) +
        Setzt den Inhalt des aktuellen Elements
        +
        voidsetName​(String name) +
        Setze den Namen des aktuellen Elements.
        +
        voidsetString​(String attribute, + String text) +
        Setzt einen Attributwert des aktuellen Elements
        +
        + +
      • +
      +
      +
    • +
    +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          XML

          +
          public XML()
          +
          Erzeugt ein leeres XMLDokument
          +
        • +
        + + + +
          +
        • +

          XML

          +
          public XML​(String filename)
          +
          Erzeugt ein XML-Dokument aus einer Datei
          +
          +
          Parameters:
          +
          filename - Dateiname der XML-Datei
          +
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          loadXML

          +
          public void loadXML​(String filename)
          +
          Öffnet das durch den Dateinamen gegebene Dokument
          +
          +
          Parameters:
          +
          filename - Dateiname des XML-Files
          +
          +
        • +
        + + + +
          +
        • +

          saveXML

          +
          public void saveXML​(String filename)
          +
          Speichert den XML-Baum im angegebenen Dateinamen
          +
          +
          Parameters:
          +
          filename - Dateiname des XML-Files
          +
          +
        • +
        + + + +
          +
        • +

          getParent

          +
          public XML getParent()
          +
          liefert ein XML-Objekt, das auf den Vaterknoten des aktuellen Elements zeigt.
          +
          +
          Returns:
          +
          Vater des aktuellen Objekts.
          +
          +
        • +
        + + + +
          +
        • +

          hasChildren

          +
          public boolean hasChildren()
          +
          Überprüft, ob das Element irgendwelche Kinder hat oder nicht, und gibt das Ergebnis als boolean zurück.
          +
          +
          Returns:
          +
          true, wenn Kinder vorhanden sind, sonst false
          +
          +
        • +
        + + + +
          +
        • +

          listChildren

          +
          public String[] listChildren()
          +
          Ermittelt die Namen aller Kinder des Elements und gibt die Namen als ein Array von Strings zurück. + Dies ist dasselbe wie das Durchlaufen und Aufrufen von getName() auf jedem untergeordneten Element einzeln.
          +
          +
          Returns:
          +
          Liste aller Namen der Kinder
          +
          +
        • +
        + + + +
          +
        • +

          getChildren

          +
          public XML[] getChildren()
          +
          Liefert alle Kinder des Elements als Array von XML-Objekten.
          +
          +
          Returns:
          +
          Array der Kinder als XML-Objekte
          +
          +
        • +
        + + + +
          +
        • +

          getChildren

          +
          public XML[] getChildren​(String name)
          +
          Liefert bestimmte Kinder des Elements als Array von XML-Objekten. + Die Methode gibt dabei alle Kinder zurück, die dem angegebenen Namen entsprechen.
          +
          +
          Parameters:
          +
          name - Name der gesuchten Kind-Objekte
          +
          Returns:
          +
          Array der Kinder als XML-Objekte
          +
          +
        • +
        + + + +
          +
        • +

          getChild

          +
          public XML getChild​(String name)
          +
          Liefert das erste Kind des Elements mit einem bestimmten Namen. + Die Methode gibt das erste Kind zurück, das dem angegebenen Namen entsprechen.
          +
          +
          Parameters:
          +
          name - Name des gesuchten Kind-Objektes
          +
          Returns:
          +
          Kind als XML-Objekt
          +
          +
        • +
        + + + +
          +
        • +

          getChild

          +
          public XML getChild​(int i)
          +
          Liefert das i. Kind des Elements. + Die Methode gibt das i. Kind des aktuellen Elements zurück.
          +
          +
          Parameters:
          +
          i - Nummer des Kindes
          +
          Returns:
          +
          Kind als XML-Objekt
          +
          +
        • +
        + + + +
          +
        • +

          getName

          +
          public String getName()
          +
          Frage den Namen des aktuellen Elements ab
          +
          +
          Returns:
          +
          Namen des Elements
          +
          +
        • +
        + + + +
          +
        • +

          setName

          +
          public void setName​(String name)
          +
          Setze den Namen des aktuellen Elements.
          +
          +
          Parameters:
          +
          name - Neuer Name des Elements
          +
          +
        • +
        + + + +
          +
        • +

          getAttributeCount

          +
          public int getAttributeCount()
          +
          liefert die Anzahl der Attribute eines Elements.
          +
          +
          Returns:
          +
          Anzahl des Attribute
          +
          +
        • +
        + + + +
          +
        • +

          hasAttribute

          +
          public boolean hasAttribute()
          +
          liefert zurück, ob das aktuelle Element Attribute hat .
          +
          +
          Returns:
          +
          true, wenn es Attribute gibt
          +
          +
        • +
        + + + +
          +
        • +

          listAttributes

          +
          public String[] listAttributes()
          +
          Ruft alle Attribute des angegebenen Elements ab und gibt sie als Array von Strings zurück.
          +
          +
          Returns:
          +
          Liste der Attributnamen
          +
          +
        • +
        + + + +
          +
        • +

          getString

          +
          public String getString​(String attribute)
          +
          Fragt einen Attributwert des aktuellen Elements ab
          +
          +
          Parameters:
          +
          attribute - Name des Attributs
          +
          Returns:
          +
          Wert des Attributs
          +
          +
        • +
        + + + +
          +
        • +

          getString

          +
          public String getString​(String attribute,
          +                        String defaultValue)
          +
          Fragt einen Attributwert des aktuellen Elements ab + Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
          +
          +
          Parameters:
          +
          attribute - Name des Attributs
          +
          defaultValue - Standardwert, falls es das Attribut nicht gibt
          +
          Returns:
          +
          Wert des Attributs
          +
          +
        • +
        + + + +
          +
        • +

          setString

          +
          public void setString​(String attribute,
          +                      String text)
          +
          Setzt einen Attributwert des aktuellen Elements
          +
          +
          Parameters:
          +
          attribute - Name des Attributs
          +
          text - neuer Wert des Attributs
          +
          +
        • +
        + + + +
          +
        • +

          getInt

          +
          public int getInt​(String attribute)
          +
          Fragt einen Attributwert des aktuellen Elements ab
          +
          +
          Parameters:
          +
          attribute - Name des Attributs
          +
          Returns:
          +
          Wert des Attributs als Integer-Zahl
          +
          +
        • +
        + + + +
          +
        • +

          getInt

          +
          public int getInt​(String attribute,
          +                  int defaultValue)
          +
          Fragt einen Attributwert des aktuellen Elements ab + Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
          +
          +
          Parameters:
          +
          attribute - Name des Attributs
          +
          defaultValue - Standardwert, falls es das Attribut nicht gibt
          +
          Returns:
          +
          Wert des Attributs als Integer-Zahl
          +
          +
        • +
        + + + +
          +
        • +

          setInt

          +
          public void setInt​(String attribute,
          +                   int value)
          +
          Setzt einen Attributwert des aktuellen Elements
          +
          +
          Parameters:
          +
          attribute - Name des Attributs
          +
          value - neuer Wert des Attributs
          +
          +
        • +
        + + + +
          +
        • +

          getFloat

          +
          public float getFloat​(String attribute)
          +
          Fragt einen Attributwert des aktuellen Elements ab
          +
          +
          Parameters:
          +
          attribute - Name des Attributs
          +
          Returns:
          +
          Wert des Attributs als Float-Zahl
          +
          +
        • +
        + + + +
          +
        • +

          getFloat

          +
          public float getFloat​(String attribute,
          +                      float defaultValue)
          +
          Fragt einen Attributwert des aktuellen Elements ab + Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
          +
          +
          Parameters:
          +
          attribute - Name des Attributs
          +
          defaultValue - Standardwert, falls es das Attribut nicht gibt
          +
          Returns:
          +
          Wert des Attributs als Float-Zahl
          +
          +
        • +
        + + + +
          +
        • +

          setFloat

          +
          public void setFloat​(String attribute,
          +                     float value)
          +
          Setzt einen Attributwert des aktuellen Elements
          +
          +
          Parameters:
          +
          attribute - Name des Attributs
          +
          value - neuer Wert des Attributs
          +
          +
        • +
        + + + +
          +
        • +

          getDouble

          +
          public double getDouble​(String attribute)
          +
          Fragt einen Attributwert des aktuellen Elements ab
          +
          +
          Parameters:
          +
          attribute - Name des Attributs
          +
          Returns:
          +
          Wert des Attributs als Double-Zahl
          +
          +
        • +
        + + + +
          +
        • +

          getDouble

          +
          public double getDouble​(String attribute,
          +                        double defaultValue)
          +
          Fragt einen Attributwert des aktuellen Elements ab + Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
          +
          +
          Parameters:
          +
          attribute - Name des Attributs
          +
          defaultValue - Standardwert, falls es das Attribut nicht gibt
          +
          Returns:
          +
          Wert des Attributs als double-Zahl
          +
          +
        • +
        + + + +
          +
        • +

          setDouble

          +
          public void setDouble​(String attribute,
          +                      double value)
          +
          Setzt einen Attributwert des aktuellen Elements
          +
          +
          Parameters:
          +
          attribute - Name des Attributs
          +
          value - neuer Wert des Attributs
          +
          +
        • +
        + + + +
          +
        • +

          getContent

          +
          public String getContent()
          +
          Fragt den Inhalt/Text des aktuellen Elements ab
          +
          +
          Returns:
          +
          Inhalt des Elements
          +
          +
        • +
        + + + +
          +
        • +

          getContent

          +
          public String getContent​(String defaultValue)
          +
          Fragt den Inhalt/Text des aktuellen Elements ab + Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
          +
          +
          Parameters:
          +
          defaultValue - Standardtext
          +
          Returns:
          +
          Inhalt des Elements
          +
          +
        • +
        + + + +
          +
        • +

          setContent

          +
          public void setContent​(String text)
          +
          Setzt den Inhalt/Text des aktuellen Elements
          +
          +
          Parameters:
          +
          text - Neuer Inhalt des Elements
          +
          +
        • +
        + + + +
          +
        • +

          getIntContent

          +
          public int getIntContent​(int defaultValue)
          +
          Fragt den Inhalt des aktuellen Elements als Integerzahl ab + Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
          +
          +
          Parameters:
          +
          defaultValue - Standardwert
          +
          Returns:
          +
          Inhalt des Elements
          +
          +
        • +
        + + + +
          +
        • +

          getIntContent

          +
          public int getIntContent()
          +
          Fragt den Inhalt des aktuellen Elements als Integerzahl ab
          +
          +
          Returns:
          +
          Inhalt des Elements
          +
          +
        • +
        + + + +
          +
        • +

          setIntContent

          +
          public void setIntContent​(int value)
          +
          Setzt den Inhalt des aktuellen Elements
          +
          +
          Parameters:
          +
          value - Neuer Inhalt des Elements
          +
          +
        • +
        + + + +
          +
        • +

          getFloatContent

          +
          public float getFloatContent​(float defaultValue)
          +
          Fragt den Inhalt des aktuellen Elements als Floatzahl ab + Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
          +
          +
          Parameters:
          +
          defaultValue - Standardwert
          +
          Returns:
          +
          Inhalt des Elements
          +
          +
        • +
        + + + +
          +
        • +

          getFloatContent

          +
          public float getFloatContent()
          +
          Fragt den Inhalt des aktuellen Elements als Floatzahl ab
          +
          +
          Returns:
          +
          Inhalt des Elements
          +
          +
        • +
        + + + +
          +
        • +

          setFloatContent

          +
          public void setFloatContent​(float value)
          +
          Setzt den Inhalt des aktuellen Elements
          +
          +
          Parameters:
          +
          value - Neuer Inhalt des Elements
          +
          +
        • +
        + + + +
          +
        • +

          getDoubleContent

          +
          public double getDoubleContent​(double defaultValue)
          +
          Fragt den Inhalt des aktuellen Elements als Doublezahl ab + Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
          +
          +
          Parameters:
          +
          defaultValue - Standardwert
          +
          Returns:
          +
          Inhalt des Elements
          +
          +
        • +
        + + + +
          +
        • +

          getDoubleContent

          +
          public double getDoubleContent()
          +
          Fragt den Inhalt des aktuellen Elements als Doublezahl ab
          +
          +
          Returns:
          +
          Inhalt des Elements
          +
          +
        • +
        + + + +
          +
        • +

          setDoubleContent

          +
          public void setDoubleContent​(double value)
          +
          Setzt den Inhalt des aktuellen Elements
          +
          +
          Parameters:
          +
          value - Neuer Inhalt des Elements
          +
          +
        • +
        + + + +
          +
        • +

          addChild

          +
          public XML addChild​(String name)
          +
          Erzeuge neues Element nach der aktuellen Position und setze dieses als aktuelles Element
          +
          +
          Parameters:
          +
          name - Name des neuen Elements
          +
          Returns:
          +
          neues Element als XML-Objekt
          +
          +
        • +
        + + + +
          +
        • +

          removeChild

          +
          public void removeChild​(XML kid)
          +
          löscht ein Kind des aktuellen Knotens. + Ist kid kein Kind des aktuellen Elements passiert gar nichts.
          +
          +
          Parameters:
          +
          kid - XML-Objekt des Kindes
          +
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + +
    + +
    + + diff --git a/doc/imp/package-summary.html b/doc/imp/package-summary.html index eabe03a..6185e1f 100644 --- a/doc/imp/package-summary.html +++ b/doc/imp/package-summary.html @@ -1,194 +1,194 @@ - - - - - -imp (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    -
    -
    -

    Package imp

    -
    -
    -
      -
    • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Class Summary 
      ClassDescription
      HSB -
      Hilfsklasse für das HSB-Farbmodell
      -
      NumberField 
      Picture -
      Bildklasse fuer die Simulation von Processing-Befehlen - - Diese Klasse stellt ein BufferedImage bereit, in das mit Processing-Befehlen gezeichnet - werden kann.
      -
      PictureViewer 
      Table 
      TableRow 
      XML 
      -
    • -
    -
    -
    -
    - -
    - - + + + + + +imp (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Package imp

    +
    +
    +
      +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Class Summary 
      ClassDescription
      HSB +
      Hilfsklasse für das HSB-Farbmodell
      +
      NumberField 
      Picture +
      Bildklasse fuer die Simulation von Processing-Befehlen + + Diese Klasse stellt ein BufferedImage bereit, in das mit Processing-Befehlen gezeichnet + werden kann.
      +
      PictureViewer 
      Table 
      TableRow 
      XML 
      +
    • +
    +
    +
    +
    + +
    + + diff --git a/doc/imp/package-tree.html b/doc/imp/package-tree.html index b075a2e..96fb37d 100644 --- a/doc/imp/package-tree.html +++ b/doc/imp/package-tree.html @@ -1,194 +1,194 @@ - - - - - -imp Class Hierarchy (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    -
    -
    -

    Hierarchy For Package imp

    -Package Hierarchies: - -
    -
    -
    -

    Class Hierarchy

    -
      -
    • java.lang.Object -
        -
      • imp.HSB
      • -
      • javafx.scene.Node (implements javafx.event.EventTarget, javafx.css.Styleable) -
          -
        • javafx.scene.Parent -
            -
          • javafx.scene.layout.Region -
              -
            • javafx.scene.control.Control (implements javafx.scene.control.Skinnable) -
                -
              • javafx.scene.control.ScrollPane - -
              • -
              • javafx.scene.control.TextInputControl -
                  -
                • javafx.scene.control.TextField - -
                • -
                -
              • -
              -
            • -
            -
          • -
          -
        • -
        -
      • -
      • imp.Picture
      • -
      • imp.Table
      • -
      • imp.TableRow
      • -
      • imp.XML
      • -
      -
    • -
    -
    -
    -
    -
    - -
    - - + + + + + +imp Class Hierarchy (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Hierarchy For Package imp

    +Package Hierarchies: + +
    +
    +
    +

    Class Hierarchy

    +
      +
    • java.lang.Object +
        +
      • imp.HSB
      • +
      • javafx.scene.Node (implements javafx.event.EventTarget, javafx.css.Styleable) +
          +
        • javafx.scene.Parent +
            +
          • javafx.scene.layout.Region +
              +
            • javafx.scene.control.Control (implements javafx.scene.control.Skinnable) +
                +
              • javafx.scene.control.ScrollPane + +
              • +
              • javafx.scene.control.TextInputControl +
                  +
                • javafx.scene.control.TextField + +
                • +
                +
              • +
              +
            • +
            +
          • +
          +
        • +
        +
      • +
      • imp.Picture
      • +
      • imp.Table
      • +
      • imp.TableRow
      • +
      • imp.XML
      • +
      +
    • +
    +
    +
    +
    +
    + +
    + + diff --git a/doc/index-all.html b/doc/index-all.html index e4d2597..4516891 100644 --- a/doc/index-all.html +++ b/doc/index-all.html @@ -1,2224 +1,2224 @@ - - - - - -Index (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    -
    -
    A B C D E F G H I K L M N O P Q R S T U V X 
    All Classes All Packages - - -

    A

    -
    -
    addChild(String) - Method in class imp.XML
    -
    -
    Erzeuge neues Element nach der aktuellen Position und setze dieses als aktuelles Element
    -
    -
    addColumn() - Method in class imp.Table
    -
    -
    Fügt eine neue Spalte am Ende der Tabelle an.
    -
    -
    addColumn(String) - Method in class imp.Table
    -
    -
    Fügt eine neue Spalte am Ende der Tabelle an und benennt sie.
    -
    -
    addColumn(String, String) - Method in class imp.Table
    -
    -
    Fügt eine neue Spalte am Ende der Tabelle an und benennt und typisiert sie.
    -
    -
    addRow() - Method in class imp.Table
    -
    -
    Fügt eine neue Zeile an das Ende der Tabelle an.
    -
    -
    algorithmen - package algorithmen
    -
     
    -
    append(String) - Method in class control.Hilfefenster
    -
     
    -
    append(String) - Method in interface graph.Hilfe
    -
     
    -
    ausgabe() - Method in class graph.Graph
    -
    -
    Konsolenausgabe der textuellen Repraesentation des Graphen.
    -
    -
    ausgabe() - Method in class graph.GraphPlotter
    -
    -
    Gibt die String-Repraesentation des GraphPlotters auf der Konsole aus.
    -
    -
    auswahl - Variable in class graph.GraphOptions
    -
     
    -
    - - - -

    B

    -
    -
    back() - Method in class imp.PictureViewer
    -
    -
    Ruft das letzte abgespeicherte Bild aus der History wieder auf.
    -
    -
    background(int) - Method in class imp.Picture
    -
    -
    Die Funktion background() setzt die Farbe, die fuer den Hintergrund des Bildes verwendet wird.
    -
    -
    background(int, int, int) - Method in class imp.Picture
    -
    -
    Die Funktion background() setzt die Farbe, die fuer den Hintergrund des Bildes verwendet wird.
    -
    -
    backtracking(Knoten) - Method in class algorithmen.GraphAlgo_ZyklusBacktracking
    -
     
    -
    bAnfang - Variable in class control.UnterTabMitController
    -
     
    -
    bAnfang(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    bBesucht(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    bBildLaden(ActionEvent) - Method in class control.EditTabMitController
    -
     
    -
    bBildLoeschen(ActionEvent) - Method in class control.EditTabMitController
    -
     
    -
    bDistanzenBestimmen(ActionEvent) - Method in class control.EditTabMitController
    -
     
    -
    bEnde - Variable in class control.UnterTabMitController
    -
     
    -
    bEnde(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    beste - Variable in class algorithmen.GraphAlgo_ColoringBacktracking
    -
     
    -
    beste - Variable in class algorithmen.GraphAlgo_DominatingSetBacktracking
    -
     
    -
    besteAnzahl - Variable in class algorithmen.GraphAlgo_ColoringBacktracking
    -
     
    -
    besteAnzahl - Variable in class algorithmen.GraphAlgo_DominatingSetBacktracking
    -
     
    -
    bGehezu - Variable in class control.UnterTabMitController
    -
     
    -
    bGeheZu(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    bHinzufuegenAnfang(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    bHinzufuegenEnde(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    bildAnzeigen - Variable in class graph.GraphOptions
    -
     
    -
    bildDatei - Variable in class graph.GraphOptions
    -
     
    -
    bLoeschenAusListe(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    bMarkieren(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    bNaechster(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    bSort(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    bSortieren - Variable in class control.UnterTabMitController
    -
     
    -
    bStatus - Variable in class control.UnterTabMitController
    -
     
    -
    bStatusRestore(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    bStatusSave(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    buildAuswahl() - Method in class control.UnterTabMitController
    -
     
    -
    bVoheriger(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    bWertAendern(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    - - - -

    C

    -
    -
    CENTER - Static variable in class imp.Picture
    -
     
    -
    clear() - Method in class imp.Picture
    -
    -
    Loescht den Inhalt des Bildes.
    -
    -
    clearRows() - Method in class imp.Table
    -
    -
    Löscht alle Zeilen der Tabelle.
    -
    -
    compareTo(GraphElement) - Method in class graph.GraphElement
    -
     
    -
    compareTo(GraphElement) - Method in class graph.Kante
    -
    -
    Vergleicht die Kante mit einer anderen Kante bezüglich ihres Gewichts
    -
    -
    compareTo(GraphElement) - Method in class graph.Knoten
    -
    -
    Vergleicht den Knoten mit einem anderen Knoten bezüglich seines Werts
    -
    -
    control - package control
    -
     
    -
    Controller - Class in control
    -
    -
    Die Klasse Controller stellt den Controller des Hauptfensters / Menu dar.
    -
    -
    Controller() - Constructor for class control.Controller
    -
     
    -
    copy() - Method in class graph.GraphOptions
    -
     
    -
    CORNER - Static variable in class imp.Picture
    -
     
    -
    CORNERS - Static variable in class imp.Picture
    -
     
    -
    - - - -

    D

    -
    -
    delay(int) - Method in class imp.Picture
    -
    -
    Hilfsfunktion zum Verzoegern der Ausgabe
    -
    -
    - - - -

    E

    -
    -
    EditTabMitController - Class in control
    -
    -
    Die Klasse EditTabMitController stellt einen Tab inclusive ihres Controllers - zur Editierung eines Graphs dar.
    -
    -
    EditTabMitController(Graph, GraphOptions) - Constructor for class control.EditTabMitController
    -
     
    -
    eigeneAlgorithmen - package eigeneAlgorithmen
    -
     
    -
    ellipse(int, int, int, int) - Method in class imp.Picture
    -
    -
    Zeichnet eine Ellipse/Kreis auf das Bild.
    -
    -
    ellipseMode(int) - Method in class imp.Picture
    -
    -
    Aendert den Koordinaten-Modus beim Zeichnen von Kreisen/Ellipsen.
    -
    -
    entferneKante(int, int) - Method in class graph.Graph
    -
    -
    Entfernt eine Kante aus dem Graphen.
    -
    -
    entferneKante(Kante) - Method in class graph.Graph
    -
    -
    Entfernt eine Kante aus dem Graphen.
    -
    -
    entferneKante(Knoten, Knoten) - Method in class graph.Graph
    -
    -
    Entfernt eine Kante aus dem Graphen.
    -
    -
    entferneKnoten(int) - Method in class graph.Graph
    -
    -
    Entfernt einen Knoten aus dem Graphen
    -
    -
    entferneKnoten(Knoten) - Method in class graph.Graph
    -
    -
    Entfernt einen Knoten aus dem Graphen
    -
    -
    entferneMarkierungBeiAllenKnoten() - Method in class graph.Graph
    -
    -
    Entfernt die Markierung bei allen Knoten des Graphen.
    -
    -
    erzeugeZufaelligeRundreise() - Method in class algorithmen.GraphAlgo_TSPGenetisch
    -
     
    -
    erzeugeZufaelligeTeilmenge() - Method in class algorithmen.GraphAlgo_DominatingSetGenetisch
    -
     
    -
    - - - -

    F

    -
    -
    farbenKanten - Variable in class graph.GraphOptions
    -
     
    -
    farbenKnoten - Variable in class graph.GraphOptions
    -
     
    -
    fill(int) - Method in class imp.Picture
    -
    -
    Legt die Farbe fest, mit der Formen gefuellt werden.
    -
    -
    fill(int, int, int) - Method in class imp.Picture
    -
    -
    Legt die Farbe fest, mit der Formen gefuellt werden.
    -
    -
    fill(String) - Method in class imp.Picture
    -
    -
    Legt die Farbe fest, mit der Formen gefuellt werden.
    -
    -
    findRow(String, int) - Method in class imp.Table
    -
    -
    Sucht nach einem bestimmtem Wert in einer Zeile.
    -
    -
    findRow(String, String) - Method in class imp.Table
    -
    -
    Sucht nach einem bestimmtem Wert in einer Zeile.
    -
    -
    FIT - Static variable in class imp.PictureViewer
    -
     
    -
    fokusArt - Variable in class graph.GraphOptions
    -
     
    -
    forceRepaint() - Method in class imp.Picture
    -
    -
    Ein repaint() (das Neuzeichnen) kann manuell erzwungen werden.
    -
    -
    format - Variable in class imp.TableRow
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_BellmanFord
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_Breitensuche
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_ColoringBacktracking
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_ColoringGreedy
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_ColoringGreedyRandom
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_Dijkstra
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetBacktracking
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGenetisch
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyA
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyB
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyC
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyD
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyE
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyF
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyG
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyH
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyI
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_EulerkreisExistenz
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_Moore
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_MST_Kruskal
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_MST_Prim
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_Tiefensuche
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_TiefensucheRek
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_toplogischeSortierung
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_TSPBacktracking
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_TSPGenetisch
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_TSPGreedy
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_TSPGreedy2
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_TSPGreedyOpt
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_ZyklusBacktracking
    -
     
    -
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo
    -
     
    -
    fuehreAlgorithmusAus() - Method in class eigeneAlgorithmen.GraphAlgo_Coloring_Schueler
    -
     
    -
    - - - -

    G

    -
    -
    g - Variable in class algorithmen.GraphAlgo
    -
     
    -
    getAdjazenzMatrix() - Method in class graph.Graph
    -
    -
    Die Methode getAdjazenzMatrix() gibt die Adjazenzmatrix zurueck.
    -
    -
    getAlleKanten(Predicate<Kante>...) - Method in class graph.Graph
    -
    -
    Gibt eine Liste aller Kanten des Graphen zurück.
    -
    -
    getAlleKnoten(Predicate<Knoten>...) - Method in class graph.Graph
    -
    -
    Gibt eine Liste aller Knoten des Graphen zurueck.
    -
    -
    getAnderesEnde(Knoten) - Method in class graph.Kante
    -
    -
    Gibt Knoten am anderen Ende der Kante zurueck
    -
    -
    getAnzahlKnoten() - Method in class graph.Graph
    -
    -
    Gibt die Anzahl der Knoten im Graph zurueck
    -
    -
    getAttributeCount() - Method in class imp.XML
    -
    -
    liefert die Anzahl der Attribute eines Elements.
    -
    -
    getAusgehendeKanten(int, Predicate<Kante>...) - Method in class graph.Graph
    -
    -
    Gibt eine Liste der ausgehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
    -
    -
    getAusgehendeKanten(Knoten, Predicate<Kante>...) - Method in class graph.Graph
    -
    -
    Gibt eine Liste der ausgehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
    -
    -
    getBewertung(int[]) - Method in class algorithmen.GraphAlgo_DominatingSetGenetisch
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_BellmanFord
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_Breitensuche
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_ColoringBacktracking
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_ColoringGreedy
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_ColoringGreedyRandom
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_Dijkstra
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetBacktracking
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGenetisch
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyA
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyB
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyC
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyD
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyE
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyF
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyG
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyH
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyI
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_EulerkreisExistenz
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_Moore
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_MST_Kruskal
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_MST_Prim
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_Tiefensuche
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_TiefensucheRek
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_toplogischeSortierung
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_TSPBacktracking
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_TSPGenetisch
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_TSPGreedy
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_TSPGreedy2
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_TSPGreedyOpt
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo_ZyklusBacktracking
    -
     
    -
    getBezeichnung() - Method in class algorithmen.GraphAlgo
    -
     
    -
    getBezeichnung() - Method in class eigeneAlgorithmen.GraphAlgo_Coloring_Schueler
    -
     
    -
    getBrightness(Color) - Static method in class imp.HSB
    -
    -
    Liefert die Helligkeit als Wert zwischen 0.0 (0%) und 1.0 (100%).
    -
    -
    getChild(int) - Method in class imp.XML
    -
    -
    Liefert das i.
    -
    -
    getChild(String) - Method in class imp.XML
    -
    -
    Liefert das erste Kind des Elements mit einem bestimmten Namen.
    -
    -
    getChildren() - Method in class imp.XML
    -
    -
    Liefert alle Kinder des Elements als Array von XML-Objekten.
    -
    -
    getChildren(String) - Method in class imp.XML
    -
    -
    Liefert bestimmte Kinder des Elements als Array von XML-Objekten.
    -
    -
    getColor(double, double, double) - Static method in class imp.HSB
    -
    -
    Liefert ein Java-Color-Objekt mit den angegebenen HSB-Werten.
    -
    -
    getColumn(String) - Method in class imp.TableRow
    -
    -
    Liefert die Nummer einer Spalte
    -
    -
    getColumnCount() - Method in class imp.Table
    -
    -
    Liefert die Anzahl der Spalten in der Tabelle
    -
    -
    getColumnCount() - Method in class imp.TableRow
    -
    -
    Liefert die Anzahl der Spalten der Zeile.
    -
    -
    getColumnTitle(int) - Method in class imp.TableRow
    -
    -
    Liefert den Titel einer Spalte
    -
    -
    getContent() - Method in class imp.XML
    -
    -
    Fragt den Inhalt/Text des aktuellen Elements ab
    -
    -
    getContent(String) - Method in class imp.XML
    -
    -
    Fragt den Inhalt/Text des aktuellen Elements ab - Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
    -
    -
    getDouble(int) - Method in class imp.TableRow
    -
    -
    Liefert den Wert einer Zelle als Double-Zahl
    -
    -
    getDouble(int, int) - Method in class imp.Table
    -
    -
    Liefert den Wert einer Zelle als Double-Zahl
    -
    -
    getDouble(int, String) - Method in class imp.Table
    -
    -
    Liefert den Wert einer Zelle als Double-Zahl
    -
    -
    getDouble(String) - Method in class imp.TableRow
    -
    -
    Liefert den Wert einer Zelle als Double-Zahl
    -
    -
    getDouble(String) - Method in class imp.XML
    -
    -
    Fragt einen Attributwert des aktuellen Elements ab
    -
    -
    getDouble(String, double) - Method in class imp.XML
    -
    -
    Fragt einen Attributwert des aktuellen Elements ab - Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
    -
    -
    getDoubleColumn(int) - Method in class imp.Table
    -
    -
    Liefert alle Werte einer Spalte als Double-Array.
    -
    -
    getDoubleColumn(String) - Method in class imp.Table
    -
    -
    Liefert alle Werte einer Spalte als Double-Array.
    -
    -
    getDoubleContent() - Method in class imp.XML
    -
    -
    Fragt den Inhalt des aktuellen Elements als Doublezahl ab
    -
    -
    getDoubleContent(double) - Method in class imp.XML
    -
    -
    Fragt den Inhalt des aktuellen Elements als Doublezahl ab - Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
    -
    -
    getDoubleRow(int) - Method in class imp.Table
    -
    -
    Liefert alle Werte einer Spalte als Double-Array.
    -
    -
    getDoubleValue() - Method in class imp.NumberField
    -
     
    -
    getDoubleWert() - Method in class graph.Knoten
    -
    -
    Gibt den Wert vom Knoten als Double-Wert zurueck
    -
    -
    getEingehendeKanten(int, Predicate<Kante>...) - Method in class graph.Graph
    -
    -
    Gibt eine Liste der eingehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
    -
    -
    getEingehendeKanten(Knoten, Predicate<Kante>...) - Method in class graph.Graph
    -
    -
    Gibt eine Liste der eingehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
    -
    -
    getFarbe() - Method in class graph.Kante
    -
    -
    Gibt zurueck, in welcher Farbe die Kante gezeichnet werden soll.
    -
    -
    getFarbe() - Method in class graph.Knoten
    -
    -
    Gibt den Index der Farbe des Knoten zurück.
    -
    -
    getFloat(int) - Method in class imp.TableRow
    -
    -
    Liefert den Wert einer Zelle als Float-Zahl
    -
    -
    getFloat(int, int) - Method in class imp.Table
    -
    -
    Liefert den Wert einer Zelle als Float-Zahl
    -
    -
    getFloat(int, String) - Method in class imp.Table
    -
    -
    Liefert den Wert einer Zelle als Float-Zahl
    -
    -
    getFloat(String) - Method in class imp.TableRow
    -
    -
    Liefert den Wert einer Zelle als Float-Zahl
    -
    -
    getFloat(String) - Method in class imp.XML
    -
    -
    Fragt einen Attributwert des aktuellen Elements ab
    -
    -
    getFloat(String, float) - Method in class imp.XML
    -
    -
    Fragt einen Attributwert des aktuellen Elements ab - Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
    -
    -
    getFloatColumn(int) - Method in class imp.Table
    -
    -
    Liefert alle Werte einer Spalte als Float-Array.
    -
    -
    getFloatColumn(String) - Method in class imp.Table
    -
    -
    Liefert alle Werte einer Spalte als Float-Array.
    -
    -
    getFloatContent() - Method in class imp.XML
    -
    -
    Fragt den Inhalt des aktuellen Elements als Floatzahl ab
    -
    -
    getFloatContent(float) - Method in class imp.XML
    -
    -
    Fragt den Inhalt des aktuellen Elements als Floatzahl ab - Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
    -
    -
    getFloatRow(int) - Method in class imp.Table
    -
    -
    Liefert alle Werte einer Zeile als Float-Array.
    -
    -
    getGewicht() - Method in class graph.Kante
    -
    -
    Gibt das Gewicht der Kante zurueck
    -
    -
    getGraph() - Method in class graph.GraphPlotter
    -
    -
    Gibt den Graphen zurueck.
    -
    -
    getGraphOptions() - Method in class control.TabMitController
    -
     
    -
    getGraphOptions() - Method in class graph.GraphPlotter
    -
     
    -
    getHeight() - Method in class imp.Picture
    -
    -
    Liefert die Hoehe des Bildes zurueck.
    -
    -
    getHue(Color) - Static method in class imp.HSB
    -
    -
    Liefert den Farbton als Winkel zwischen 0.0° und 360.0°.
    -
    -
    getImage() - Method in class imp.Picture
    -
    -
    Direktes Abfragen des Bildes (fuer interne Zwecke)
    -
    -
    getImage() - Method in class imp.PictureViewer
    -
    -
    Liefert das angezeigte Bild
    -
    -
    getInfo() - Method in class algorithmen.GraphAlgo_TSPBacktracking
    -
     
    -
    getInfo() - Method in class algorithmen.GraphAlgo_TSPGenetisch
    -
     
    -
    getInfo() - Method in class algorithmen.GraphAlgo_TSPGreedy
    -
     
    -
    getInfo() - Method in class algorithmen.GraphAlgo_TSPGreedy2
    -
     
    -
    getInfo() - Method in class algorithmen.GraphAlgo_TSPGreedyOpt
    -
     
    -
    getInfotext() - Method in class graph.Knoten
    -
    -
    Liefert den Infotext des Knotens
    -
    -
    getInt(int) - Method in class imp.TableRow
    -
    -
    Liefert den Wert einer Zelle als Int-Zahl
    -
    -
    getInt(int, int) - Method in class imp.Table
    -
    -
    Liefert den Wert einer Zelle als Integer-Zahl
    -
    -
    getInt(int, String) - Method in class imp.Table
    -
    -
    Liefert den Wert einer Zelle als Integer-Zahl
    -
    -
    getInt(String) - Method in class imp.TableRow
    -
    -
    Liefert den Wert einer Zelle als Int-Zahl
    -
    -
    getInt(String) - Method in class imp.XML
    -
    -
    Fragt einen Attributwert des aktuellen Elements ab
    -
    -
    getInt(String, int) - Method in class imp.XML
    -
    -
    Fragt einen Attributwert des aktuellen Elements ab - Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
    -
    -
    getIntColumn(int) - Method in class imp.Table
    -
    -
    Liefert alle Werte einer Spalte als Integer-Array.
    -
    -
    getIntColumn(String) - Method in class imp.Table
    -
    -
    Liefert alle Werte einer Spalte als Integer-Array.
    -
    -
    getIntContent() - Method in class imp.XML
    -
    -
    Fragt den Inhalt des aktuellen Elements als Integerzahl ab
    -
    -
    getIntContent(int) - Method in class imp.XML
    -
    -
    Fragt den Inhalt des aktuellen Elements als Integerzahl ab - Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
    -
    -
    getIntRow(int) - Method in class imp.Table
    -
    -
    Liefert alle Werte einer Zeile als Integer-Array.
    -
    -
    getIntValue() - Method in class imp.NumberField
    -
     
    -
    getIntWert() - Method in class graph.Knoten
    -
    -
    Gibt den Wert vom Knoten als Integer-Wert zurueck
    -
    -
    getKante(int, int) - Method in class graph.Graph
    -
    -
    Gibt eine gesuchte Kante aus dem Graphen zurueck.
    -
    -
    getKante(Knoten, Knoten) - Method in class graph.Graph
    -
    -
    Gibt eine gesuchte Kante aus dem Graphen zurueck.
    -
    -
    getKnoten(int) - Method in class graph.Graph
    -
    -
    Liefert einen Knoten des Graphen
    -
    -
    getKnoteninfo(Knoten, boolean) - Method in class graph.Graph
    -
    -
    Info über einen Knoten zurückgeben
    -
    -
    getLaenge() - Method in class algorithmen.GraphAlgo_TSPGreedyOpt
    -
     
    -
    getLaenge(int[]) - Method in class algorithmen.GraphAlgo_TSPGenetisch
    -
     
    -
    getNachbarknoten(Knoten, Predicate<Knoten>...) - Method in class graph.Graph
    -
    -
    Gibt die Liste aller Nachbarknoten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
    -
    -
    getName() - Method in class imp.XML
    -
    -
    Frage den Namen des aktuellen Elements ab
    -
    -
    getNummer(Kante) - Method in class graph.Graph
    -
    -
    Gibt die Nummer einer Kante zurück
    -
    -
    getNummer(Knoten) - Method in class graph.Graph
    -
    -
    Gibt die Nummer eines Knotens im Graphen zurück
    -
    -
    getObserver() - Method in class imp.Picture
    -
     
    -
    getParent() - Method in class imp.XML
    -
    -
    liefert ein XML-Objekt, das auf den Vaterknoten des aktuellen Elements zeigt.
    -
    -
    getPixelArray() - Method in class imp.Picture
    -
    -
    Liefert das Bild als zweidimensionales Pixel-Array.
    -
    -
    getRestrictTo() - Method in class graph.GraphPlotter
    -
     
    -
    getRow(int) - Method in class imp.Table
    -
    -
    Liefert eine Zeile der Tabelle
    -
    -
    getRowCount() - Method in class imp.Table
    -
    -
    Liefert die Anzahl der Zeilen in der Tabelle
    -
    -
    getSaturation(Color) - Static method in class imp.HSB
    -
    -
    Liefert die Sättigung als Wert zwischen 0.0 (0%) und 1.0 (100%).
    -
    -
    getSelectedKante() - Method in class graph.GraphPlotter
    -
    -
    Gibt das selektierte Kantenobjekt zurueck.
    -
    -
    getSelectedKnoten() - Method in class graph.GraphPlotter
    -
    -
    Gibt das selektierte Knotenobjekt zurueck.
    -
    -
    getSelectedKnotenListe() - Method in class graph.GraphPlotter
    -
    -
    Gibt die selektierte KnotenobjektListe (als Array) zurueck.
    -
    -
    getStart() - Method in class graph.Kante
    -
    -
    Gibt den Startknoten der Kante zurueck
    -
    -
    getStartKnoten() - Method in class algorithmen.GraphAlgo
    -
     
    -
    getStatus() - Method in class graph.Graph
    -
    -
    Speichert den Zustand des Graphen als String-List
    -
    -
    getStatus() - Method in class graph.GraphElement
    -
     
    -
    getStatus() - Method in class graph.Kante
    -
    -
    Liefert den Status einer Kante als String.
    -
    -
    getStatus() - Method in class graph.Knoten
    -
    -
    Liefert den Status eines Knotens als Status-String - Format: wert,markiert,besucht,farbe - wobei wert eine double-Zahl, mariert und besucht ein boolean-Wert (0=false, 1 = true) und - farbe eine zahl ist.
    -
    -
    getString(int) - Method in class imp.TableRow
    -
    -
    Liefert den Wert einer Zelle als String
    -
    -
    getString(int, int) - Method in class imp.Table
    -
    -
    Liefert den Wert einer Zelle als String
    -
    -
    getString(int, String) - Method in class imp.Table
    -
    -
    Liefert den Wert einer Zelle als String
    -
    -
    getString(String) - Method in class imp.TableRow
    -
    -
    Liefert den Wert einer Zelle als String
    -
    -
    getString(String) - Method in class imp.XML
    -
    -
    Fragt einen Attributwert des aktuellen Elements ab
    -
    -
    getString(String, String) - Method in class imp.XML
    -
    -
    Fragt einen Attributwert des aktuellen Elements ab - Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
    -
    -
    getStringColumn(int) - Method in class imp.Table
    -
    -
    Liefert alle Werte einer Spalte als String-Array.
    -
    -
    getStringColumn(String) - Method in class imp.Table
    -
    -
    Liefert alle Werte einer Spalte als String-Array.
    -
    -
    getStringRow(int) - Method in class imp.Table
    -
    -
    Liefert alle Werte einer Spalte als String-Array.
    -
    -
    getText() - Method in class graph.GraphOptions
    -
     
    -
    getViewer() - Method in class control.TabMitController
    -
     
    -
    getWaitforclick() - Method in class algorithmen.GraphAlgo
    -
     
    -
    getWaitforrepaint() - Method in class algorithmen.GraphAlgo
    -
     
    -
    getWidth() - Method in class imp.Picture
    -
    -
    Liefert die Breite des Bildes zurueck.
    -
    -
    getX() - Method in class graph.Knoten
    -
    -
    Liefert die x-Position des Knotens
    -
    -
    getY() - Method in class graph.Knoten
    -
    -
    Liefert die y-Position des Knotens
    -
    -
    getZiel() - Method in class graph.Kante
    -
    -
    Gibt den Zielknoten der Kante zurueck
    -
    -
    graph - package graph
    -
     
    -
    graph - Variable in class control.TabMitController
    -
     
    -
    Graph - Class in graph
    -
    -
    Dies ist das Herz vom "GraphTester" - der Graph selber, gepeichert als Adjazenzliste.
    -
    -
    Graph() - Constructor for class graph.Graph
    -
    -
    Der Konstruktor erstellt einen neuen ungerichteten, ungewichteten Graphen (genauer eine neue Adjazenzliste)
    -
    -
    Graph(boolean, boolean) - Constructor for class graph.Graph
    -
    -
    Der Konstruktor erstellt einen neuen Graphen (genauer eine neue Adjazenzliste)
    -
    -
    GraphAlgo - Class in algorithmen
    -
    -
    description
    -
    -
    GraphAlgo() - Constructor for class algorithmen.GraphAlgo
    -
     
    -
    GraphAlgo_BellmanFord - Class in algorithmen
    -
    -
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen.
    -
    -
    GraphAlgo_BellmanFord() - Constructor for class algorithmen.GraphAlgo_BellmanFord
    -
     
    -
    GraphAlgo_Breitensuche - Class in algorithmen
    -
    -
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    -
    -
    GraphAlgo_Breitensuche() - Constructor for class algorithmen.GraphAlgo_Breitensuche
    -
     
    -
    GraphAlgo_Coloring_Schueler - Class in eigeneAlgorithmen
    -
    -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    -
    -
    GraphAlgo_Coloring_Schueler() - Constructor for class eigeneAlgorithmen.GraphAlgo_Coloring_Schueler
    -
     
    -
    GraphAlgo_ColoringBacktracking - Class in algorithmen
    -
    -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    -
    -
    GraphAlgo_ColoringBacktracking() - Constructor for class algorithmen.GraphAlgo_ColoringBacktracking
    -
     
    -
    GraphAlgo_ColoringGreedy - Class in algorithmen
    -
    -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    -
    -
    GraphAlgo_ColoringGreedy() - Constructor for class algorithmen.GraphAlgo_ColoringGreedy
    -
     
    -
    GraphAlgo_ColoringGreedyRandom - Class in algorithmen
    -
    -
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten - die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    -
    -
    GraphAlgo_ColoringGreedyRandom() - Constructor for class algorithmen.GraphAlgo_ColoringGreedyRandom
    -
     
    -
    GraphAlgo_Dijkstra - Class in algorithmen
    -
    -
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen.
    -
    -
    GraphAlgo_Dijkstra() - Constructor for class algorithmen.GraphAlgo_Dijkstra
    -
     
    -
    GraphAlgo_DominatingSetBacktracking - Class in algorithmen
    -
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    -
    GraphAlgo_DominatingSetBacktracking() - Constructor for class algorithmen.GraphAlgo_DominatingSetBacktracking
    -
     
    -
    GraphAlgo_DominatingSetGenetisch - Class in algorithmen
    -
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    -
    GraphAlgo_DominatingSetGenetisch() - Constructor for class algorithmen.GraphAlgo_DominatingSetGenetisch
    -
     
    -
    GraphAlgo_DominatingSetGreedyA - Class in algorithmen
    -
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    -
    GraphAlgo_DominatingSetGreedyA() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyA
    -
     
    -
    GraphAlgo_DominatingSetGreedyB - Class in algorithmen
    -
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    -
    GraphAlgo_DominatingSetGreedyB() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyB
    -
     
    -
    GraphAlgo_DominatingSetGreedyC - Class in algorithmen
    -
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    -
    GraphAlgo_DominatingSetGreedyC() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyC
    -
     
    -
    GraphAlgo_DominatingSetGreedyD - Class in algorithmen
    -
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    -
    GraphAlgo_DominatingSetGreedyD() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyD
    -
     
    -
    GraphAlgo_DominatingSetGreedyE - Class in algorithmen
    -
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    -
    GraphAlgo_DominatingSetGreedyE() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyE
    -
     
    -
    GraphAlgo_DominatingSetGreedyF - Class in algorithmen
    -
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    -
    GraphAlgo_DominatingSetGreedyF() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyF
    -
     
    -
    GraphAlgo_DominatingSetGreedyG - Class in algorithmen
    -
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    -
    GraphAlgo_DominatingSetGreedyG() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyG
    -
     
    -
    GraphAlgo_DominatingSetGreedyH - Class in algorithmen
    -
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    -
    GraphAlgo_DominatingSetGreedyH() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyH
    -
     
    -
    GraphAlgo_DominatingSetGreedyI - Class in algorithmen
    -
    -
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen - und bestimmt den Zeitbedarf.
    -
    -
    GraphAlgo_DominatingSetGreedyI() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyI
    -
     
    -
    GraphAlgo_EulerkreisExistenz - Class in algorithmen
    -
    -
    Dieser Algorithmus testet, ob ein Eulerkreis existiert.
    -
    -
    GraphAlgo_EulerkreisExistenz() - Constructor for class algorithmen.GraphAlgo_EulerkreisExistenz
    -
     
    -
    GraphAlgo_Moore - Class in algorithmen
    -
    -
    Dieser Algorithmus findet die kürzesten Pfade in einem ungewichteten Graphen.
    -
    -
    GraphAlgo_Moore() - Constructor for class algorithmen.GraphAlgo_Moore
    -
     
    -
    GraphAlgo_MST_Kruskal - Class in algorithmen
    -
    -
    Dieser Algorithmus sucht einen minimal Spanning Tree - Algorithmus: Kruskal
    -
    -
    GraphAlgo_MST_Kruskal() - Constructor for class algorithmen.GraphAlgo_MST_Kruskal
    -
     
    -
    GraphAlgo_MST_Prim - Class in algorithmen
    -
    -
    Dieser Algorithmus sucht einen minimal Spanning Tree - Algorithmus: Prim
    -
    -
    GraphAlgo_MST_Prim() - Constructor for class algorithmen.GraphAlgo_MST_Prim
    -
     
    -
    GraphAlgo_Tiefensuche - Class in algorithmen
    -
    -
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    -
    -
    GraphAlgo_Tiefensuche() - Constructor for class algorithmen.GraphAlgo_Tiefensuche
    -
     
    -
    GraphAlgo_TiefensucheRek - Class in algorithmen
    -
    -
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    -
    -
    GraphAlgo_TiefensucheRek() - Constructor for class algorithmen.GraphAlgo_TiefensucheRek
    -
     
    -
    GraphAlgo_toplogischeSortierung - Class in algorithmen
    -
    -
    Dieser Algorithmus findet eine topologische Sortierung des Graphen.
    -
    -
    GraphAlgo_toplogischeSortierung() - Constructor for class algorithmen.GraphAlgo_toplogischeSortierung
    -
     
    -
    GraphAlgo_TSPBacktracking - Class in algorithmen
    -
    -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem).
    -
    -
    GraphAlgo_TSPBacktracking() - Constructor for class algorithmen.GraphAlgo_TSPBacktracking
    -
     
    -
    GraphAlgo_TSPGenetisch - Class in algorithmen
    -
    -
    description
    -
    -
    GraphAlgo_TSPGenetisch() - Constructor for class algorithmen.GraphAlgo_TSPGenetisch
    -
     
    -
    GraphAlgo_TSPGreedy - Class in algorithmen
    -
    -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem).
    -
    -
    GraphAlgo_TSPGreedy() - Constructor for class algorithmen.GraphAlgo_TSPGreedy
    -
     
    -
    GraphAlgo_TSPGreedy2 - Class in algorithmen
    -
    -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem).
    -
    -
    GraphAlgo_TSPGreedy2() - Constructor for class algorithmen.GraphAlgo_TSPGreedy2
    -
     
    -
    GraphAlgo_TSPGreedyOpt - Class in algorithmen
    -
    -
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling - Salesman Problem).
    -
    -
    GraphAlgo_TSPGreedyOpt() - Constructor for class algorithmen.GraphAlgo_TSPGreedyOpt
    -
     
    -
    GraphAlgo_ZyklusBacktracking - Class in algorithmen
    -
    -
    Dieser Algorithmus ist ein Beispiel für einen Backtracking-Algorithmus.
    -
    -
    GraphAlgo_ZyklusBacktracking() - Constructor for class algorithmen.GraphAlgo_ZyklusBacktracking
    -
     
    -
    graphClicked(MouseEvent) - Method in class control.EditTabMitController
    -
     
    -
    graphClicked(MouseEvent) - Method in class control.UnterTabMitController
    -
     
    -
    GraphElement - Class in graph
    -
    -
    Die Klasse GraphElement ist eine Oberklasse von Knoten und Kanten.
    -
    -
    GraphElement() - Constructor for class graph.GraphElement
    -
     
    -
    GraphenTester - Class in <Unnamed>
    -
     
    -
    GraphenTester() - Constructor for class GraphenTester
    -
     
    -
    graphLaden(String) - Method in class control.Controller
    -
     
    -
    GraphOptions - Class in graph
    -
    -
    Die Klasse GraphOptions speichert, wie ein Graph in einem Fenster vom - GraphPlotter angezeigt wird.
    -
    -
    GraphOptions() - Constructor for class graph.GraphOptions
    -
     
    -
    GraphPlotter - Class in graph
    -
    -
    Der GraphPlotter ist das Herzstueck der Visualisierung und dient als Schnittstelle zur GUI.
    -
    -
    GraphPlotter() - Constructor for class graph.GraphPlotter
    -
    -
    Der Konstruktor legt sowohl Einstellungen des mxGraphen (Drag&Drop, Editable, ...) als auch des Graphen (gewichtet, gerichtet, ...) fest.
    -
    -
    - - - -

    H

    -
    -
    hasAttribute() - Method in class imp.XML
    -
    -
    liefert zurück, ob das aktuelle Element Attribute hat .
    -
    -
    hasChildren() - Method in class imp.XML
    -
    -
    Überprüft, ob das Element irgendwelche Kinder hat oder nicht, und gibt das Ergebnis als boolean zurück.
    -
    -
    HauptTabMitController - Class in control
    -
    -
    Die Klasse HauptTabMitController stellt einen Tab inclusive ihres Controllers - für das Hauptfenster des Graphentesters dar.
    -
    -
    HauptTabMitController(Graph, GraphOptions) - Constructor for class control.HauptTabMitController
    -
     
    -
    Hilfe - Interface in graph
    -
     
    -
    Hilfefenster - Class in control
    -
    -
    Die Klasse Hilfefenster stellt ein Hilfefenster für die Simulation eines - Algorithmus bereit.
    -
    -
    Hilfefenster() - Constructor for class control.Hilfefenster
    -
     
    -
    HSB - Class in imp
    -
    -
    Hilfsklasse für das HSB-Farbmodell
    -
    -
    HSB() - Constructor for class imp.HSB
    -
     
    -
    - - - -

    I

    -
    -
    imp - package imp
    -
     
    -
    inArbeit - Variable in class algorithmen.GraphAlgo
    -
     
    -
    indentLess() - Method in class control.Hilfefenster
    -
     
    -
    indentLess() - Method in interface graph.Hilfe
    -
     
    -
    indentMore() - Method in class control.Hilfefenster
    -
     
    -
    indentMore() - Method in interface graph.Hilfe
    -
     
    -
    info(String) - Method in class algorithmen.GraphAlgo
    -
     
    -
    infoIndentLess() - Method in class algorithmen.GraphAlgo
    -
     
    -
    infoIndentMore() - Method in class algorithmen.GraphAlgo
    -
     
    -
    init() - Method in class graph.Kante
    -
    -
    Die Methode init initialisiert die Kantenfaerbung (auf unmarkiert)
    -
    -
    init() - Method in class graph.Knoten
    -
    -
    Die Methode init initialisiert den Zustand eines Knotens
    -
    -
    initialisiereAlleKanten() - Method in class graph.Graph
    -
    -
    Initialisiert alle Kanten des Graphen.
    -
    -
    initialisiereAlleKnoten() - Method in class graph.Graph
    -
    -
    Initialisiert alle Knoten des Graphen.
    -
    -
    initialize() - Method in class control.Controller
    -
     
    -
    initialize() - Method in class control.EditTabMitController
    -
     
    -
    initialize() - Method in class control.HauptTabMitController
    -
     
    -
    initialize() - Method in class control.Hilfefenster
    -
     
    -
    initialize() - Method in class control.SimulationTabMitController
    -
     
    -
    initialize() - Method in class control.TabMitController
    -
     
    -
    initialize() - Method in class control.UnterTabMitController
    -
     
    -
    isBesucht() - Method in class graph.Knoten
    -
    -
    Gibt den Besuchtwert vom Knoten zurueck
    -
    -
    isFarbeAutomatisch() - Method in class graph.Knoten
    -
    -
    Gibt zurück, ob die Knotenfarbe automatisch aus den Attributen ermittelt wird.
    -
    -
    isGeloescht() - Method in class graph.Kante
    -
    -
    Gibt den gelöscht-Wert der Kante zurueck
    -
    -
    isGerichtet() - Method in class graph.Graph
    -
    -
    Gibt zurueck, ob der Graph gerichtet oder ungerichtet ist.
    -
    -
    isGewichtet() - Method in class graph.Graph
    -
    -
    Gibt zurueck, ob der Graph gewichtet oder ungewichtet ist
    -
    -
    isKanteEnthalten(int, int) - Method in class graph.Graph
    -
    -
    Ueberprueft, ob eine Kante im Graphen enthalten ist.
    -
    -
    isKanteEnthalten(Kante) - Method in class graph.Graph
    -
    -
    Ueberprueft, ob eine Kante im Graphen enthalten ist.
    -
    -
    isKanteEnthalten(Knoten, Knoten) - Method in class graph.Graph
    -
    -
    Ueberprueft, ob eine Kante im Graphen enthalten ist.
    -
    -
    isKnotenEnthalten(Knoten) - Method in class graph.Graph
    -
    -
    Ueberprueft, ob ein Knoten in der Knotenliste enthalten ist.
    -
    -
    isLeer() - Method in class graph.Graph
    -
    -
    Ueberprueft, ob die Adjazenzliste leer ist, d.h. keine Knoten im Graphen enthalten sind.
    -
    -
    isMarkiert() - Method in class graph.Kante
    -
    -
    Gibt zurück, ob die Kanten markiert ist
    -
    -
    isMarkiert() - Method in class graph.Knoten
    -
    -
    Gibt den Markiertwert vom Knoten zurueck
    -
    -
    - - - -

    K

    -
    -
    Kante - Class in graph
    -
    -
    Die Klasse Kante beschreibt die Datenstruktur einer Kante, bestehend aus Startknoten, Gewicht und Zielknoten.
    -
    -
    Kante(Knoten, Knoten, double) - Constructor for class graph.Kante
    -
    -
    Der Konstruktor erstellt eine neue Kante mit Start- und Zielknoten und Kantengewicht.
    -
    -
    Knoten - Class in graph
    -
    -
    Diese Klasse Knoten definiert einen Knoten.
    -
    -
    Knoten(int, int) - Constructor for class graph.Knoten
    -
    -
    Der Konstruktor erstellt einen neuen Knoten mit einem neuen Namen
    -
    -
    Knoten(int, int, double) - Constructor for class graph.Knoten
    -
    -
    Der Konstruktor erstellt einen neuen Knoten mit einem Startwert
    -
    -
    knotenFarbe(MouseEvent) - Method in class control.UnterTabMitController
    -
     
    -
    kreuze(int[], int[]) - Method in class algorithmen.GraphAlgo_DominatingSetGenetisch
    -
     
    -
    kreuze(int[], int[]) - Method in class algorithmen.GraphAlgo_TSPGenetisch
    -
     
    -
    - - - -

    L

    -
    -
    ladeGraph(Table) - Method in class graph.Graph
    -
    -
    Ein Graph wird aus einer csv-Datei erstellt, die entweder - eine Matrix oder eine Adjazenzliste enthält, die den Graph beschreibt.
    -
    -
    ladeGraph(Table) - Method in class graph.GraphOptions
    -
     
    -
    line(int, int, int, int) - Method in class imp.Picture
    -
    -
    Zeichnet eine Linie (einen direkten Weg zwischen zwei Punkten) auf den Bildschirm.
    -
    -
    listAttributes() - Method in class imp.XML
    -
    -
    Ruft alle Attribute des angegebenen Elements ab und gibt sie als Array von Strings zurück.
    -
    -
    listChildren() - Method in class imp.XML
    -
    -
    Ermittelt die Namen aller Kinder des Elements und gibt die Namen als ein Array von Strings zurück.
    -
    -
    load(String) - Method in class imp.Picture
    -
    -
    Laedt ein Bild aus dem Dateisystem.
    -
    -
    loadCSV(String) - Method in class imp.Table
    -
    -
    Liest den Inhalt einer CSV-Datei ohne Kopfzeile (Separator = ';', Kennung für Text = '"').
    -
    -
    loadCSV(String, String) - Method in class imp.Table
    -
    -
    Liest den Inhalt einer CSV-Datei (Separator = ';', Kennung für Text = '"').
    -
    -
    loadCSV(String, String, char, char) - Method in class imp.Table
    -
    -
    Liest den Inhalt einer CSV-Datei.
    -
    -
    loadXML(String) - Method in class imp.XML
    -
    -
    Öffnet das durch den Dateinamen gegebene Dokument
    -
    -
    loescheAlles() - Method in class control.Hilfefenster
    -
     
    -
    loescheAlles() - Method in class graph.Graph
    -
    -
    Loescht den gesamten Graphen
    -
    -
    loescheAlles() - Method in interface graph.Hilfe
    -
     
    -
    loescheGraph() - Method in class graph.Graph
    -
    -
    Löscht alle Knoten und Kanten eines Graphen und stellt auf ungerichtet und ungewichtet zurück.
    -
    -
    - - - -

    M

    -
    -
    main(String[]) - Static method in class GraphenTester
    -
     
    -
    mBearbeiten(MouseEvent) - Method in class control.Controller
    -
     
    -
    mBeenden(ActionEvent) - Method in class control.Controller
    -
     
    -
    mBeenden(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    mBesucheKnoten(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    mBesuchtLoeschen(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    mBreak(ActionEvent) - Method in class control.SimulationTabMitController
    -
     
    -
    mChangeHilfefenster(ActionEvent) - Method in class control.Controller
    -
     
    -
    mChangeOptionBild(ActionEvent) - Method in class control.Controller
    -
     
    -
    mChangeOptionKantengewichte(ActionEvent) - Method in class control.Controller
    -
     
    -
    mChangeOptionKnoteninfo(ActionEvent) - Method in class control.Controller
    -
     
    -
    mChangeOptionKnotenname(ActionEvent) - Method in class control.Controller
    -
     
    -
    mChangeOptionKnotenwerte(ActionEvent) - Method in class control.Controller
    -
     
    -
    melde(String) - Method in class algorithmen.GraphAlgo
    -
     
    -
    menuChangeAnsicht() - Method in class control.Controller
    -
     
    -
    mExperimentiereAuswahl(ActionEvent) - Method in class control.Controller
    -
     
    -
    mExperimentiereKanten(ActionEvent) - Method in class control.Controller
    -
     
    -
    mExperimentiereKnoten(ActionEvent) - Method in class control.Controller
    -
     
    -
    mFaerbeKnoten(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    mInfotextAendern() - Method in class control.EditTabMitController
    -
     
    -
    mLoesche() - Method in class control.EditTabMitController
    -
     
    -
    mMarkiereKnoten(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    mMarkierungenLoeschen(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    mNeuerGraph(ActionEvent) - Method in class control.Controller
    -
     
    -
    mOeffnen(ActionEvent) - Method in class control.Controller
    -
     
    -
    mOeffnen(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    mouseClicked(MouseEvent) - Method in class graph.GraphPlotter
    -
     
    -
    mouseDown(MouseEvent) - Method in class graph.GraphPlotter
    -
     
    -
    mouseDragged(MouseEvent) - Method in class graph.GraphPlotter
    -
     
    -
    mouseUp(MouseEvent) - Method in class graph.GraphPlotter
    -
     
    -
    mReset(ActionEvent) - Method in class control.SimulationTabMitController
    -
     
    -
    mResetAlles(ActionEvent) - Method in class control.Controller
    -
     
    -
    mResetBesucht(ActionEvent) - Method in class control.Controller
    -
     
    -
    mResetFarbe(ActionEvent) - Method in class control.Controller
    -
     
    -
    mResetGeloescht(ActionEvent) - Method in class control.Controller
    -
     
    -
    mResetKantenmarkierung(ActionEvent) - Method in class control.Controller
    -
     
    -
    mResetMarkierung(ActionEvent) - Method in class control.Controller
    -
     
    -
    mResetWert(ActionEvent) - Method in class control.Controller
    -
     
    -
    mSchliessen(ActionEvent) - Method in class control.Controller
    -
     
    -
    mSchliessen(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    mSimuliere(MouseEvent) - Method in class control.Controller
    -
     
    -
    mSpeichern(ActionEvent) - Method in class control.Controller
    -
     
    -
    mSpeichern(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    mStart(ActionEvent) - Method in class control.SimulationTabMitController
    -
     
    -
    mStep(ActionEvent) - Method in class control.SimulationTabMitController
    -
     
    -
    mUeber(ActionEvent) - Method in class control.Controller
    -
     
    -
    mUeber(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    mutiere(int[]) - Method in class algorithmen.GraphAlgo_DominatingSetGenetisch
    -
     
    -
    mutiere(int[]) - Method in class algorithmen.GraphAlgo_TSPGenetisch
    -
     
    -
    mutiere2(int[]) - Method in class algorithmen.GraphAlgo_TSPGenetisch
    -
     
    -
    mWertAendern() - Method in class control.EditTabMitController
    -
     
    -
    mWertSetzen(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    mZurueck(ActionEvent) - Method in class control.UnterTabMitController
    -
     
    -
    - - - -

    N

    -
    -
    neueKante(Kante) - Method in class graph.Graph
    -
    -
    Fuegt eine Kante dem Graphen hinzu.
    -
    -
    neueKante(Knoten, Knoten, double) - Method in class graph.Graph
    -
    -
    Fuegt eine Kante dem Graphen hinzu.
    -
    -
    neuerKnoten(Knoten) - Method in class graph.Graph
    -
    -
    Fügt einen Knoten dem Graph hinzu.
    -
    -
    noFill() - Method in class imp.Picture
    -
    -
    Legt fest, dass die Formen nicht gefuellt werden sollen.
    -
    -
    NORMAL - Static variable in class imp.PictureViewer
    -
     
    -
    noStroke() - Method in class imp.Picture
    -
    -
    Legt fest, dass keine Linien oder Raender um Formen gezeichnet werden soll.
    -
    -
    NumberField - Class in imp
    -
     
    -
    NumberField() - Constructor for class imp.NumberField
    -
     
    -
    - - - -

    O

    -
    -
    options - Variable in class control.TabMitController
    -
     
    -
    - - - -

    P

    -
    -
    parent - Variable in class graph.GraphOptions
    -
     
    -
    Picture - Class in imp
    -
    -
    Bildklasse fuer die Simulation von Processing-Befehlen - - Diese Klasse stellt ein BufferedImage bereit, in das mit Processing-Befehlen gezeichnet - werden kann.
    -
    -
    Picture() - Constructor for class imp.Picture
    -
    -
    Erzeugt ein Bild mit Standardgroesse 500x400
    -
    -
    Picture(int, int) - Constructor for class imp.Picture
    -
    -
    Erzeugt ein Bild der angegeben Groesse
    -
    -
    Picture(int, int, String) - Constructor for class imp.Picture
    -
    -
    Erzeugt ein Bild der angegebenen Groesse mit festgelegtem Hintergrund
    -
    -
    Picture(String) - Constructor for class imp.Picture
    -
    -
    Erzeugt ein Bild aus einer Datei
    -
    -
    PictureViewer - Class in imp
    -
     
    -
    PictureViewer() - Constructor for class imp.PictureViewer
    -
    -
    Erzeugt ein ScrollPanel mit integriertem Bild der Größe 1000x1000
    -
    -
    PictureViewer(int, int) - Constructor for class imp.PictureViewer
    -
    -
    Erzeugt ein ScrollPanel mit integriertem Bild der angegebenen Größe
    -
    -
    PictureViewer(int, int, String) - Constructor for class imp.PictureViewer
    -
    -
    Erzeugt ein ScrollPanel mit integriertem Bild der angegebenen Größe
    -
    -
    PictureViewer(Picture) - Constructor for class imp.PictureViewer
    -
    -
    Erzeugt ein ScrollPanel und zeigt das Bild-Objekt an
    -
    -
    PictureViewer(String) - Constructor for class imp.PictureViewer
    -
    -
    Erzeugt ein ScrollPanel mit integriertem Bild aus einer Bilddatei
    -
    -
    point(int, int) - Method in class imp.Picture
    -
    -
    Zeichnet einen Punkt, d.h. einen Kreis in der Dimension eines Pixels.
    -
    -
    polygon(int[], int[]) - Method in class imp.Picture
    -
    -
    Zeichnet ein Polygon auf das Bild.
    -
    -
    probiere(Knoten) - Method in class algorithmen.GraphAlgo_TSPBacktracking
    -
     
    -
    pushImage() - Method in class imp.PictureViewer
    -
    -
    Speichert das übergebene Bild in der History.
    -
    -
    - - - -

    Q

    -
    -
    quad(int, int, int, int, int, int, int, int) - Method in class imp.Picture
    -
    -
    Zeichnet ein Viereck auf das Bild.
    -
    -
    - - - -

    R

    -
    -
    RADIUS - Static variable in class imp.Picture
    -
     
    -
    rect(int, int, int, int) - Method in class imp.Picture
    -
    -
    Zeichnet ein Rechteck auf das Bild.
    -
    -
    rectMode(int) - Method in class imp.Picture
    -
    -
    Aendert den Koordinaten-Modus beim Zeichnen von Rechtecken.
    -
    -
    removeChild(XML) - Method in class imp.XML
    -
    -
    löscht ein Kind des aktuellen Knotens.
    -
    -
    removeColumn(int) - Method in class imp.Table
    -
    -
    Löscht eine Spalte.
    -
    -
    removeColumn(String) - Method in class imp.Table
    -
    -
    Löscht eine Spalte
    -
    -
    removeRow(int) - Method in class imp.Table
    -
    -
    Löscht eine Zeile
    -
    -
    repaint() - Method in class imp.PictureViewer
    -
    -
    Setzt das angezeigt Bild neu und beachtet dabei den Zoomfaktor.
    -
    -
    replaceSelection(String) - Method in class imp.NumberField
    -
     
    -
    replaceText(int, int, String) - Method in class imp.NumberField
    -
     
    -
    resetInfo() - Method in class algorithmen.GraphAlgo
    -
     
    -
    rows() - Method in class imp.Table
    -
    -
    Liefert die ganze Tabelle als Array von TableRow-Objekten
    -
    -
    run() - Method in class algorithmen.GraphAlgo
    -
     
    -
    - - - -

    S

    -
    -
    save(String) - Method in class imp.Picture
    -
    -
    Speichert ein Bild.
    -
    -
    saveAsMatrix - Variable in class graph.GraphOptions
    -
     
    -
    saveCSV(String) - Method in class imp.Table
    -
    -
    Speichert das aktuelle Dokument als CSV-Datei ohne Kopfzeile (Separator = ';', Kennung für Text = '"').
    -
    -
    saveCSV(String, String) - Method in class imp.Table
    -
    -
    Speichert das aktuelle Dokument als CSV-Datei (Separator = ';', Kennung für Text = '"').
    -
    -
    saveCSV(String, String, char, char) - Method in class imp.Table
    -
    -
    Speichert das aktuelle Dokument als CSV-Datei.
    -
    -
    saveXML(String) - Method in class imp.Table
    -
    -
    Speichert die Tabelle als XML-Dokument.
    -
    -
    saveXML(String) - Method in class imp.XML
    -
    -
    Speichert den XML-Baum im angegebenen Dateinamen
    -
    -
    schliesseTabs() - Method in class control.Controller
    -
     
    -
    setAuswahl(List<GraphElement>) - Method in class control.UnterTabMitController
    -
     
    -
    setAutoRefresh(boolean) - Method in class imp.Picture
    -
    -
    Legt fest, ob nach jedem Zeichenbefehl automatisch das Bild auch in - der Oberflaeche aktualisiert wird.
    -
    -
    setBesucht(boolean) - Method in class graph.Knoten
    -
    -
    Setzt das Besuchtattribut vom Knoten
    -
    -
    setContent(String) - Method in class imp.XML
    -
    -
    Setzt den Inhalt/Text des aktuellen Elements
    -
    -
    setDouble(int, double) - Method in class imp.TableRow
    -
    -
    Setzt den Wert einer Zelle als Double-Zahl
    -
    -
    setDouble(int, int, double) - Method in class imp.Table
    -
    -
    Setzt den Wert einer Zelle als Double-Zahl
    -
    -
    setDouble(int, String, double) - Method in class imp.Table
    -
    -
    Setzt den Wert einer Zelle als Double-Zahl
    -
    -
    setDouble(String, double) - Method in class imp.TableRow
    -
    -
    Setzt den Wert einer Zelle als Double-Zahl
    -
    -
    setDouble(String, double) - Method in class imp.XML
    -
    -
    Setzt einen Attributwert des aktuellen Elements
    -
    -
    setDoubleContent(double) - Method in class imp.XML
    -
    -
    Setzt den Inhalt des aktuellen Elements
    -
    -
    setEditable() - Method in class graph.GraphPlotter
    -
     
    -
    setFarbe(int) - Method in class graph.Kante
    -
    -
    Setzt die Farbe auf einen bestimmten Farbindex
    -
    -
    setFarbe(int) - Method in class graph.Knoten
    -
    -
    Setzt den Index der Farbe des Knoten.
    -
    -
    setFarbeAutomatisch(boolean) - Method in class graph.Knoten
    -
    -
    Legt fest, ob die Knotenfarbe automatisch aus den Attributen ermittelt wird.
    -
    -
    setFloat(int, float) - Method in class imp.TableRow
    -
    -
    Setzt den Wert einer Zelle als Float-Zahl
    -
    -
    setFloat(int, int, float) - Method in class imp.Table
    -
    -
    Setzt den Wert einer Zelle als Float-Zahl
    -
    -
    setFloat(int, String, float) - Method in class imp.Table
    -
    -
    Setzt den Wert einer Zelle als Float-Zahl
    -
    -
    setFloat(String, float) - Method in class imp.TableRow
    -
    -
    Setzt den Wert einer Zelle als Float-Zahl
    -
    -
    setFloat(String, float) - Method in class imp.XML
    -
    -
    Setzt einen Attributwert des aktuellen Elements
    -
    -
    setFloatContent(float) - Method in class imp.XML
    -
    -
    Setzt den Inhalt des aktuellen Elements
    -
    -
    setGeloescht(boolean) - Method in class graph.Kante
    -
    -
    Setzt das gelöscht-Attribut der Kante
    -
    -
    setGerichtet(boolean) - Method in class control.EditTabMitController
    -
     
    -
    setGerichtet(boolean) - Method in class graph.Graph
    -
    -
    Legt fest, ob der Graph gerichtet oder ungerichtet ist.
    -
    -
    setGewicht(double) - Method in class graph.Kante
    -
    -
    Setzt das Gewicht der Kante
    -
    -
    setGewichtet(boolean) - Method in class control.EditTabMitController
    -
     
    -
    setGewichtet(boolean) - Method in class graph.Graph
    -
    -
    Legt fest, ob der Graph gewichtet oder ungewichtet ist.
    -
    -
    setGraph(Graph) - Method in class algorithmen.GraphAlgo
    -
     
    -
    setGraph(Graph, GraphOptions) - Method in class control.SimulationTabMitController
    -
     
    -
    setGraph(Graph, GraphOptions) - Method in class control.TabMitController
    -
     
    -
    setGraph(Graph, GraphOptions) - Method in class control.UnterTabMitController
    -
     
    -
    setGraph(Graph, GraphOptions) - Method in class graph.GraphPlotter
    -
     
    -
    setGraphPlotter(GraphPlotter) - Method in class control.Hilfefenster
    -
     
    -
    setGraphPlotter(GraphPlotter) - Method in interface graph.Hilfe
    -
     
    -
    setGUIElemente(GraphPlotter, Hilfe) - Method in class algorithmen.GraphAlgo
    -
     
    -
    setImage(Picture, boolean) - Method in class imp.PictureViewer
    -
    -
    Setzt das anzuzeigende Bild neu
    -
    -
    setImage(BufferedImage) - Method in class imp.Picture
    -
    -
    Direktes Setzen des Bildes (fuer interne Zwecke)
    -
    -
    setInfotext(boolean) - Method in class control.EditTabMitController
    -
     
    -
    setInfotext(String) - Method in class graph.Knoten
    -
    -
    Setzt den Infotext für einen Knoten
    -
    -
    setInt(int, int) - Method in class imp.TableRow
    -
    -
    Setzt den Wert einer Zelle als Int-Zahl
    -
    -
    setInt(int, int, int) - Method in class imp.Table
    -
    -
    Setzt den Wert einer Zelle als Integer-Zahl
    -
    -
    setInt(int, String, int) - Method in class imp.Table
    -
    -
    Setzt den Wert einer Zelle als Integer-Zahl
    -
    -
    setInt(String, int) - Method in class imp.TableRow
    -
    -
    Setzt den Wert einer Zelle als Int-Zahl
    -
    -
    setInt(String, int) - Method in class imp.XML
    -
    -
    Setzt einen Attributwert des aktuellen Elements
    -
    -
    setIntContent(int) - Method in class imp.XML
    -
    -
    Setzt den Inhalt des aktuellen Elements
    -
    -
    setKnotenTyp(Toggle) - Method in class control.EditTabMitController
    -
     
    -
    setMarkiert(boolean) - Method in class graph.Kante
    -
    -
    Setzt das markiert-Attribut der Kante
    -
    -
    setMarkiert(boolean) - Method in class graph.Knoten
    -
    -
    Setzt das Markiertattribut vom Knoten
    -
    -
    setName(String) - Method in class imp.XML
    -
    -
    Setze den Namen des aktuellen Elements.
    -
    -
    setObserver(PictureViewer) - Method in class imp.Picture
    -
    -
    Legt fest, wer das Bild anzeigt.
    -
    -
    setPixelArray(Color[][]) - Method in class imp.Picture
    -
    -
    Setzt das Bild neu auf Basis des Pixel-Arrays.
    -
    -
    setRestrictTo(GraphElement) - Method in class graph.GraphPlotter
    -
     
    -
    setReviewAllowed(boolean) - Method in class control.Hilfefenster
    -
     
    -
    setReviewAllowed(boolean) - Method in interface graph.Hilfe
    -
     
    -
    setSpeed(int) - Method in class algorithmen.GraphAlgo
    -
     
    -
    setStandardFarbe() - Method in class graph.Kante
    -
    -
    Setzt die Farbe auf die Standardfarbgebung zurück
    -
    -
    setStart(Knoten) - Method in class graph.Kante
    -
    -
    Setzt den Startknoten der Kante
    -
    -
    setStartKnoten(Knoten) - Method in class algorithmen.GraphAlgo
    -
     
    -
    setStatus(String) - Method in class graph.GraphElement
    -
     
    -
    setStatus(String) - Method in class graph.Kante
    -
    -
    Setzt den Status einer Kante, der in einem String gespeichert ist.
    -
    -
    setStatus(String) - Method in class graph.Knoten
    -
    -
    Setzt den Status eines Knotens aus einem Status-String - Format: wert,markiert,besucht,farbe - wobei wert eine double-Zahl, mariert und besucht ein boolean-Wert (0=false, 1 = true) und - farbe eine zahl ist.
    -
    -
    setStatus(List<String>) - Method in class graph.Graph
    -
    -
    Stellt den Zustand des Graphen aus String-List wieder her
    -
    -
    setStepping(boolean) - Method in class algorithmen.GraphAlgo
    -
     
    -
    setString(int, int, String) - Method in class imp.Table
    -
    -
    Setzt den Wert einer Zelle als String
    -
    -
    setString(int, String) - Method in class imp.TableRow
    -
    -
    Setzt den Wert einer Zelle als String
    -
    -
    setString(int, String, String) - Method in class imp.Table
    -
    -
    Setzt den Wert einer Zelle als String
    -
    -
    setString(String, String) - Method in class imp.TableRow
    -
    -
    Setzt den Wert einer Zelle als String
    -
    -
    setString(String, String) - Method in class imp.XML
    -
    -
    Setzt einen Attributwert des aktuellen Elements
    -
    -
    setValue(double) - Method in class imp.NumberField
    -
     
    -
    setValue(int) - Method in class imp.NumberField
    -
     
    -
    setWaitforclick(boolean) - Method in class algorithmen.GraphAlgo
    -
     
    -
    setWaitforrepaint(boolean) - Method in class algorithmen.GraphAlgo
    -
     
    -
    setWert(double) - Method in class graph.Knoten
    -
    -
    Setzt den Wert beim Knoten
    -
    -
    setX(int) - Method in class graph.Knoten
    -
    -
    Setzt die x-Position des Knotens
    -
    -
    setY(int) - Method in class graph.Knoten
    -
    -
    Setzt die y-Position des Knotens
    -
    -
    setZiel(Knoten) - Method in class graph.Kante
    -
    -
    Setzt den Zielknoten der Kante
    -
    -
    setZoom(double) - Method in class imp.PictureViewer
    -
    -
    Setzt den Zoom-Faktor für das Bild.
    -
    -
    sGroesseAendern(Number) - Method in class control.EditTabMitController
    -
     
    -
    showEdgeWeights - Variable in class graph.GraphOptions
    -
     
    -
    showHilfe(boolean) - Method in class control.SimulationTabMitController
    -
     
    -
    showInFrame() - Method in class imp.Picture
    -
     
    -
    showRundreise(int[]) - Method in class algorithmen.GraphAlgo_TSPGenetisch
    -
     
    -
    showState() - Method in class control.Hilfefenster
    -
     
    -
    showTeilmenge(int[]) - Method in class algorithmen.GraphAlgo_DominatingSetGenetisch
    -
     
    -
    showVertexInfo - Variable in class graph.GraphOptions
    -
     
    -
    showVertexText - Variable in class graph.GraphOptions
    -
     
    -
    showVertexValue - Variable in class graph.GraphOptions
    -
     
    -
    SimulationTabMitController - Class in control
    -
    -
    Die Klasse SimulationTabMitController stellt einen Tab inclusive ihres Controllers - zur Simulation eines Algorithmus dar.
    -
    -
    SimulationTabMitController(Graph, GraphOptions) - Constructor for class control.SimulationTabMitController
    -
     
    -
    size(int, int) - Method in class imp.Picture
    -
    -
    Definiert die Dimension der Breite und Hoehe des Anzeigefensters in Pixeleinheiten.
    -
    -
    start(Stage) - Method in class GraphenTester
    -
     
    -
    stdFarbenKanten - Variable in class graph.GraphOptions
    -
     
    -
    stdFarbenKnoten - Variable in class graph.GraphOptions
    -
     
    -
    step() - Method in class algorithmen.GraphAlgo
    -
     
    -
    stroke(int) - Method in class imp.Picture
    -
    -
    Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden.
    -
    -
    stroke(int, int, int) - Method in class imp.Picture
    -
    -
    Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden.
    -
    -
    stroke(String) - Method in class imp.Picture
    -
    -
    Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden.
    -
    -
    strokeWeight(double) - Method in class imp.Picture
    -
    -
    Legt die Breite des Strichs fuer Linien, Punkte und den Rand um Formen fest.
    -
    -
    - - - -

    T

    -
    -
    Table - Class in imp
    -
     
    -
    Table() - Constructor for class imp.Table
    -
    -
    Erzeugt leeres Tabellen-Dokument.
    -
    -
    Table(String) - Constructor for class imp.Table
    -
    -
    Erzeugt Tabellen-Dokument aus einer CSV-Datei.
    -
    -
    Table(String, String) - Constructor for class imp.Table
    -
    -
    Erzeugt Tabellen-Dokument aus einer CSV-Datei.
    -
    -
    Table(String, String, char, char) - Constructor for class imp.Table
    -
    -
    Erzeugt Tabellen-Dokument aus einer CSV-Datei.
    -
    -
    TableRow - Class in imp
    -
     
    -
    TableRow(Document, Element) - Constructor for class imp.TableRow
    -
    -
    Erzeugt ein TableRow-Objekt.
    -
    -
    TabMitController - Class in control
    -
    -
    Die Klasse TabMitController stellt die Oberklasse für alle Tabs des Graphentesters - dar.
    -
    -
    TabMitController() - Constructor for class control.TabMitController
    -
     
    -
    tabOeffnen(GraphOptions) - Method in class control.TabMitController
    -
     
    -
    text(String, int, int) - Method in class imp.Picture
    -
    -
    Gibt einen Text an den gegebenen Koordinaten aus - Zur Ausgabe des Textes wird der ausgewaehlte Font verwendet.
    -
    -
    textFont(Font) - Method in class imp.Picture
    -
    -
    Legt die Schriftart fuer Textausgaben fest.
    -
    -
    textMode(int) - Method in class imp.Picture
    -
    -
    Aendert den Koordinaten-Modus beim Zeichnen von Texten.
    -
    -
    toCSVString(boolean) - Method in class graph.Graph
    -
    -
    Die Methode erstellt eine CSV-Ausgabe des Graphen entweder als Adjazenzliste oder als Adjazenzmatrix.
    -
    -
    toString() - Method in class graph.Graph
    -
    -
    Textuelle Repraesentation des Graphen.
    -
    -
    toString() - Method in class graph.GraphPlotter
    -
    -
    Ueberschreibt die Methode toString.
    -
    -
    toString() - Method in class graph.Kante
    -
    -
    Die Methode ueberschreibt die Methode toString() und gibt die String-Raepraesentation einer Kante zurueck
    -
    -
    toString() - Method in class graph.Knoten
    -
    -
    Die Methode ueberschreibt die Methode toString() und gibt die String-Raepraesentation eines Knotens zurueck
    -
    -
    triangle(int, int, int, int, int, int) - Method in class imp.Picture
    -
    -
    Zeichnet ein Dreieck auf das Bild.
    -
    -
    trim() - Method in class imp.Table
    -
    -
    Kürzt alle Einträge der Tabelle um unnötige Leerzeichen am Anfang oder Ende
    -
    -
    - - - -

    U

    -
    -
    UnterTabMitController - Class in control
    -
    -
    Die Klasse UnterTabMitController stellt einen Tab inclusive ihres Controllers - zur händischen Erforschung eines Algorithmus.
    -
    -
    UnterTabMitController(Graph, GraphOptions) - Constructor for class control.UnterTabMitController
    -
     
    -
    update() - Method in class control.TabMitController
    -
     
    -
    update() - Method in class control.UnterTabMitController
    -
     
    -
    updateImage() - Method in class graph.GraphPlotter
    -
     
    -
    updateInfofeld() - Method in class control.UnterTabMitController
    -
     
    -
    - - - -

    V

    -
    -
    vertexSize - Variable in class graph.GraphOptions
    -
     
    -
    viewer - Variable in class control.TabMitController
    -
     
    -
    - - - -

    X

    -
    -
    XML - Class in imp
    -
     
    -
    XML() - Constructor for class imp.XML
    -
    -
    Erzeugt ein leeres XMLDokument
    -
    -
    XML(String) - Constructor for class imp.XML
    -
    -
    Erzeugt ein XML-Dokument aus einer Datei
    -
    -
    -A B C D E F G H I K L M N O P Q R S T U V X 
    All Classes All Packages
    -
    -
    - -
    - - + + + + + +Index (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    +
    +
    A B C D E F G H I K L M N O P Q R S T U V X 
    All Classes All Packages + + +

    A

    +
    +
    addChild(String) - Method in class imp.XML
    +
    +
    Erzeuge neues Element nach der aktuellen Position und setze dieses als aktuelles Element
    +
    +
    addColumn() - Method in class imp.Table
    +
    +
    Fügt eine neue Spalte am Ende der Tabelle an.
    +
    +
    addColumn(String) - Method in class imp.Table
    +
    +
    Fügt eine neue Spalte am Ende der Tabelle an und benennt sie.
    +
    +
    addColumn(String, String) - Method in class imp.Table
    +
    +
    Fügt eine neue Spalte am Ende der Tabelle an und benennt und typisiert sie.
    +
    +
    addRow() - Method in class imp.Table
    +
    +
    Fügt eine neue Zeile an das Ende der Tabelle an.
    +
    +
    algorithmen - package algorithmen
    +
     
    +
    append(String) - Method in class control.Hilfefenster
    +
     
    +
    append(String) - Method in interface graph.Hilfe
    +
     
    +
    ausgabe() - Method in class graph.Graph
    +
    +
    Konsolenausgabe der textuellen Repraesentation des Graphen.
    +
    +
    ausgabe() - Method in class graph.GraphPlotter
    +
    +
    Gibt die String-Repraesentation des GraphPlotters auf der Konsole aus.
    +
    +
    auswahl - Variable in class graph.GraphOptions
    +
     
    +
    + + + +

    B

    +
    +
    back() - Method in class imp.PictureViewer
    +
    +
    Ruft das letzte abgespeicherte Bild aus der History wieder auf.
    +
    +
    background(int) - Method in class imp.Picture
    +
    +
    Die Funktion background() setzt die Farbe, die fuer den Hintergrund des Bildes verwendet wird.
    +
    +
    background(int, int, int) - Method in class imp.Picture
    +
    +
    Die Funktion background() setzt die Farbe, die fuer den Hintergrund des Bildes verwendet wird.
    +
    +
    backtracking(Knoten) - Method in class algorithmen.GraphAlgo_ZyklusBacktracking
    +
     
    +
    bAnfang - Variable in class control.UnterTabMitController
    +
     
    +
    bAnfang(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    bBesucht(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    bBildLaden(ActionEvent) - Method in class control.EditTabMitController
    +
     
    +
    bBildLoeschen(ActionEvent) - Method in class control.EditTabMitController
    +
     
    +
    bDistanzenBestimmen(ActionEvent) - Method in class control.EditTabMitController
    +
     
    +
    bEnde - Variable in class control.UnterTabMitController
    +
     
    +
    bEnde(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    beste - Variable in class algorithmen.GraphAlgo_ColoringBacktracking
    +
     
    +
    beste - Variable in class algorithmen.GraphAlgo_DominatingSetBacktracking
    +
     
    +
    besteAnzahl - Variable in class algorithmen.GraphAlgo_ColoringBacktracking
    +
     
    +
    besteAnzahl - Variable in class algorithmen.GraphAlgo_DominatingSetBacktracking
    +
     
    +
    bGehezu - Variable in class control.UnterTabMitController
    +
     
    +
    bGeheZu(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    bHinzufuegenAnfang(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    bHinzufuegenEnde(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    bildAnzeigen - Variable in class graph.GraphOptions
    +
     
    +
    bildDatei - Variable in class graph.GraphOptions
    +
     
    +
    bLoeschenAusListe(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    bMarkieren(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    bNaechster(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    bSort(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    bSortieren - Variable in class control.UnterTabMitController
    +
     
    +
    bStatus - Variable in class control.UnterTabMitController
    +
     
    +
    bStatusRestore(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    bStatusSave(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    buildAuswahl() - Method in class control.UnterTabMitController
    +
     
    +
    bVoheriger(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    bWertAendern(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    + + + +

    C

    +
    +
    CENTER - Static variable in class imp.Picture
    +
     
    +
    clear() - Method in class imp.Picture
    +
    +
    Loescht den Inhalt des Bildes.
    +
    +
    clearRows() - Method in class imp.Table
    +
    +
    Löscht alle Zeilen der Tabelle.
    +
    +
    compareTo(GraphElement) - Method in class graph.GraphElement
    +
     
    +
    compareTo(GraphElement) - Method in class graph.Kante
    +
    +
    Vergleicht die Kante mit einer anderen Kante bezüglich ihres Gewichts
    +
    +
    compareTo(GraphElement) - Method in class graph.Knoten
    +
    +
    Vergleicht den Knoten mit einem anderen Knoten bezüglich seines Werts
    +
    +
    control - package control
    +
     
    +
    Controller - Class in control
    +
    +
    Die Klasse Controller stellt den Controller des Hauptfensters / Menu dar.
    +
    +
    Controller() - Constructor for class control.Controller
    +
     
    +
    copy() - Method in class graph.GraphOptions
    +
     
    +
    CORNER - Static variable in class imp.Picture
    +
     
    +
    CORNERS - Static variable in class imp.Picture
    +
     
    +
    + + + +

    D

    +
    +
    delay(int) - Method in class imp.Picture
    +
    +
    Hilfsfunktion zum Verzoegern der Ausgabe
    +
    +
    + + + +

    E

    +
    +
    EditTabMitController - Class in control
    +
    +
    Die Klasse EditTabMitController stellt einen Tab inclusive ihres Controllers + zur Editierung eines Graphs dar.
    +
    +
    EditTabMitController(Graph, GraphOptions) - Constructor for class control.EditTabMitController
    +
     
    +
    eigeneAlgorithmen - package eigeneAlgorithmen
    +
     
    +
    ellipse(int, int, int, int) - Method in class imp.Picture
    +
    +
    Zeichnet eine Ellipse/Kreis auf das Bild.
    +
    +
    ellipseMode(int) - Method in class imp.Picture
    +
    +
    Aendert den Koordinaten-Modus beim Zeichnen von Kreisen/Ellipsen.
    +
    +
    entferneKante(int, int) - Method in class graph.Graph
    +
    +
    Entfernt eine Kante aus dem Graphen.
    +
    +
    entferneKante(Kante) - Method in class graph.Graph
    +
    +
    Entfernt eine Kante aus dem Graphen.
    +
    +
    entferneKante(Knoten, Knoten) - Method in class graph.Graph
    +
    +
    Entfernt eine Kante aus dem Graphen.
    +
    +
    entferneKnoten(int) - Method in class graph.Graph
    +
    +
    Entfernt einen Knoten aus dem Graphen
    +
    +
    entferneKnoten(Knoten) - Method in class graph.Graph
    +
    +
    Entfernt einen Knoten aus dem Graphen
    +
    +
    entferneMarkierungBeiAllenKnoten() - Method in class graph.Graph
    +
    +
    Entfernt die Markierung bei allen Knoten des Graphen.
    +
    +
    erzeugeZufaelligeRundreise() - Method in class algorithmen.GraphAlgo_TSPGenetisch
    +
     
    +
    erzeugeZufaelligeTeilmenge() - Method in class algorithmen.GraphAlgo_DominatingSetGenetisch
    +
     
    +
    + + + +

    F

    +
    +
    farbenKanten - Variable in class graph.GraphOptions
    +
     
    +
    farbenKnoten - Variable in class graph.GraphOptions
    +
     
    +
    fill(int) - Method in class imp.Picture
    +
    +
    Legt die Farbe fest, mit der Formen gefuellt werden.
    +
    +
    fill(int, int, int) - Method in class imp.Picture
    +
    +
    Legt die Farbe fest, mit der Formen gefuellt werden.
    +
    +
    fill(String) - Method in class imp.Picture
    +
    +
    Legt die Farbe fest, mit der Formen gefuellt werden.
    +
    +
    findRow(String, int) - Method in class imp.Table
    +
    +
    Sucht nach einem bestimmtem Wert in einer Zeile.
    +
    +
    findRow(String, String) - Method in class imp.Table
    +
    +
    Sucht nach einem bestimmtem Wert in einer Zeile.
    +
    +
    FIT - Static variable in class imp.PictureViewer
    +
     
    +
    fokusArt - Variable in class graph.GraphOptions
    +
     
    +
    forceRepaint() - Method in class imp.Picture
    +
    +
    Ein repaint() (das Neuzeichnen) kann manuell erzwungen werden.
    +
    +
    format - Variable in class imp.TableRow
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_BellmanFord
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_Breitensuche
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_ColoringBacktracking
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_ColoringGreedy
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_ColoringGreedyRandom
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_Dijkstra
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetBacktracking
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGenetisch
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyA
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyB
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyC
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyD
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyE
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyF
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyG
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyH
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyI
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_EulerkreisExistenz
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_Moore
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_MST_Kruskal
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_MST_Prim
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_Tiefensuche
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_TiefensucheRek
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_toplogischeSortierung
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_TSPBacktracking
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_TSPGenetisch
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_TSPGreedy
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_TSPGreedy2
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_TSPGreedyOpt
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo_ZyklusBacktracking
    +
     
    +
    fuehreAlgorithmusAus() - Method in class algorithmen.GraphAlgo
    +
     
    +
    fuehreAlgorithmusAus() - Method in class eigeneAlgorithmen.GraphAlgo_Coloring_Schueler
    +
     
    +
    + + + +

    G

    +
    +
    g - Variable in class algorithmen.GraphAlgo
    +
     
    +
    getAdjazenzMatrix() - Method in class graph.Graph
    +
    +
    Die Methode getAdjazenzMatrix() gibt die Adjazenzmatrix zurueck.
    +
    +
    getAlleKanten(Predicate<Kante>...) - Method in class graph.Graph
    +
    +
    Gibt eine Liste aller Kanten des Graphen zurück.
    +
    +
    getAlleKnoten(Predicate<Knoten>...) - Method in class graph.Graph
    +
    +
    Gibt eine Liste aller Knoten des Graphen zurueck.
    +
    +
    getAnderesEnde(Knoten) - Method in class graph.Kante
    +
    +
    Gibt Knoten am anderen Ende der Kante zurueck
    +
    +
    getAnzahlKnoten() - Method in class graph.Graph
    +
    +
    Gibt die Anzahl der Knoten im Graph zurueck
    +
    +
    getAttributeCount() - Method in class imp.XML
    +
    +
    liefert die Anzahl der Attribute eines Elements.
    +
    +
    getAusgehendeKanten(int, Predicate<Kante>...) - Method in class graph.Graph
    +
    +
    Gibt eine Liste der ausgehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
    +
    +
    getAusgehendeKanten(Knoten, Predicate<Kante>...) - Method in class graph.Graph
    +
    +
    Gibt eine Liste der ausgehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
    +
    +
    getBewertung(int[]) - Method in class algorithmen.GraphAlgo_DominatingSetGenetisch
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_BellmanFord
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_Breitensuche
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_ColoringBacktracking
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_ColoringGreedy
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_ColoringGreedyRandom
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_Dijkstra
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetBacktracking
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGenetisch
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyA
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyB
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyC
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyD
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyE
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyF
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyG
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyH
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_DominatingSetGreedyI
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_EulerkreisExistenz
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_Moore
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_MST_Kruskal
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_MST_Prim
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_Tiefensuche
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_TiefensucheRek
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_toplogischeSortierung
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_TSPBacktracking
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_TSPGenetisch
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_TSPGreedy
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_TSPGreedy2
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_TSPGreedyOpt
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo_ZyklusBacktracking
    +
     
    +
    getBezeichnung() - Method in class algorithmen.GraphAlgo
    +
     
    +
    getBezeichnung() - Method in class eigeneAlgorithmen.GraphAlgo_Coloring_Schueler
    +
     
    +
    getBrightness(Color) - Static method in class imp.HSB
    +
    +
    Liefert die Helligkeit als Wert zwischen 0.0 (0%) und 1.0 (100%).
    +
    +
    getChild(int) - Method in class imp.XML
    +
    +
    Liefert das i.
    +
    +
    getChild(String) - Method in class imp.XML
    +
    +
    Liefert das erste Kind des Elements mit einem bestimmten Namen.
    +
    +
    getChildren() - Method in class imp.XML
    +
    +
    Liefert alle Kinder des Elements als Array von XML-Objekten.
    +
    +
    getChildren(String) - Method in class imp.XML
    +
    +
    Liefert bestimmte Kinder des Elements als Array von XML-Objekten.
    +
    +
    getColor(double, double, double) - Static method in class imp.HSB
    +
    +
    Liefert ein Java-Color-Objekt mit den angegebenen HSB-Werten.
    +
    +
    getColumn(String) - Method in class imp.TableRow
    +
    +
    Liefert die Nummer einer Spalte
    +
    +
    getColumnCount() - Method in class imp.Table
    +
    +
    Liefert die Anzahl der Spalten in der Tabelle
    +
    +
    getColumnCount() - Method in class imp.TableRow
    +
    +
    Liefert die Anzahl der Spalten der Zeile.
    +
    +
    getColumnTitle(int) - Method in class imp.TableRow
    +
    +
    Liefert den Titel einer Spalte
    +
    +
    getContent() - Method in class imp.XML
    +
    +
    Fragt den Inhalt/Text des aktuellen Elements ab
    +
    +
    getContent(String) - Method in class imp.XML
    +
    +
    Fragt den Inhalt/Text des aktuellen Elements ab + Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
    +
    +
    getDouble(int) - Method in class imp.TableRow
    +
    +
    Liefert den Wert einer Zelle als Double-Zahl
    +
    +
    getDouble(int, int) - Method in class imp.Table
    +
    +
    Liefert den Wert einer Zelle als Double-Zahl
    +
    +
    getDouble(int, String) - Method in class imp.Table
    +
    +
    Liefert den Wert einer Zelle als Double-Zahl
    +
    +
    getDouble(String) - Method in class imp.TableRow
    +
    +
    Liefert den Wert einer Zelle als Double-Zahl
    +
    +
    getDouble(String) - Method in class imp.XML
    +
    +
    Fragt einen Attributwert des aktuellen Elements ab
    +
    +
    getDouble(String, double) - Method in class imp.XML
    +
    +
    Fragt einen Attributwert des aktuellen Elements ab + Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
    +
    +
    getDoubleColumn(int) - Method in class imp.Table
    +
    +
    Liefert alle Werte einer Spalte als Double-Array.
    +
    +
    getDoubleColumn(String) - Method in class imp.Table
    +
    +
    Liefert alle Werte einer Spalte als Double-Array.
    +
    +
    getDoubleContent() - Method in class imp.XML
    +
    +
    Fragt den Inhalt des aktuellen Elements als Doublezahl ab
    +
    +
    getDoubleContent(double) - Method in class imp.XML
    +
    +
    Fragt den Inhalt des aktuellen Elements als Doublezahl ab + Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
    +
    +
    getDoubleRow(int) - Method in class imp.Table
    +
    +
    Liefert alle Werte einer Spalte als Double-Array.
    +
    +
    getDoubleValue() - Method in class imp.NumberField
    +
     
    +
    getDoubleWert() - Method in class graph.Knoten
    +
    +
    Gibt den Wert vom Knoten als Double-Wert zurueck
    +
    +
    getEingehendeKanten(int, Predicate<Kante>...) - Method in class graph.Graph
    +
    +
    Gibt eine Liste der eingehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
    +
    +
    getEingehendeKanten(Knoten, Predicate<Kante>...) - Method in class graph.Graph
    +
    +
    Gibt eine Liste der eingehenden Kanten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
    +
    +
    getFarbe() - Method in class graph.Kante
    +
    +
    Gibt zurueck, in welcher Farbe die Kante gezeichnet werden soll.
    +
    +
    getFarbe() - Method in class graph.Knoten
    +
    +
    Gibt den Index der Farbe des Knoten zurück.
    +
    +
    getFloat(int) - Method in class imp.TableRow
    +
    +
    Liefert den Wert einer Zelle als Float-Zahl
    +
    +
    getFloat(int, int) - Method in class imp.Table
    +
    +
    Liefert den Wert einer Zelle als Float-Zahl
    +
    +
    getFloat(int, String) - Method in class imp.Table
    +
    +
    Liefert den Wert einer Zelle als Float-Zahl
    +
    +
    getFloat(String) - Method in class imp.TableRow
    +
    +
    Liefert den Wert einer Zelle als Float-Zahl
    +
    +
    getFloat(String) - Method in class imp.XML
    +
    +
    Fragt einen Attributwert des aktuellen Elements ab
    +
    +
    getFloat(String, float) - Method in class imp.XML
    +
    +
    Fragt einen Attributwert des aktuellen Elements ab + Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
    +
    +
    getFloatColumn(int) - Method in class imp.Table
    +
    +
    Liefert alle Werte einer Spalte als Float-Array.
    +
    +
    getFloatColumn(String) - Method in class imp.Table
    +
    +
    Liefert alle Werte einer Spalte als Float-Array.
    +
    +
    getFloatContent() - Method in class imp.XML
    +
    +
    Fragt den Inhalt des aktuellen Elements als Floatzahl ab
    +
    +
    getFloatContent(float) - Method in class imp.XML
    +
    +
    Fragt den Inhalt des aktuellen Elements als Floatzahl ab + Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
    +
    +
    getFloatRow(int) - Method in class imp.Table
    +
    +
    Liefert alle Werte einer Zeile als Float-Array.
    +
    +
    getGewicht() - Method in class graph.Kante
    +
    +
    Gibt das Gewicht der Kante zurueck
    +
    +
    getGraph() - Method in class graph.GraphPlotter
    +
    +
    Gibt den Graphen zurueck.
    +
    +
    getGraphOptions() - Method in class control.TabMitController
    +
     
    +
    getGraphOptions() - Method in class graph.GraphPlotter
    +
     
    +
    getHeight() - Method in class imp.Picture
    +
    +
    Liefert die Hoehe des Bildes zurueck.
    +
    +
    getHue(Color) - Static method in class imp.HSB
    +
    +
    Liefert den Farbton als Winkel zwischen 0.0° und 360.0°.
    +
    +
    getImage() - Method in class imp.Picture
    +
    +
    Direktes Abfragen des Bildes (fuer interne Zwecke)
    +
    +
    getImage() - Method in class imp.PictureViewer
    +
    +
    Liefert das angezeigte Bild
    +
    +
    getInfo() - Method in class algorithmen.GraphAlgo_TSPBacktracking
    +
     
    +
    getInfo() - Method in class algorithmen.GraphAlgo_TSPGenetisch
    +
     
    +
    getInfo() - Method in class algorithmen.GraphAlgo_TSPGreedy
    +
     
    +
    getInfo() - Method in class algorithmen.GraphAlgo_TSPGreedy2
    +
     
    +
    getInfo() - Method in class algorithmen.GraphAlgo_TSPGreedyOpt
    +
     
    +
    getInfotext() - Method in class graph.Knoten
    +
    +
    Liefert den Infotext des Knotens
    +
    +
    getInt(int) - Method in class imp.TableRow
    +
    +
    Liefert den Wert einer Zelle als Int-Zahl
    +
    +
    getInt(int, int) - Method in class imp.Table
    +
    +
    Liefert den Wert einer Zelle als Integer-Zahl
    +
    +
    getInt(int, String) - Method in class imp.Table
    +
    +
    Liefert den Wert einer Zelle als Integer-Zahl
    +
    +
    getInt(String) - Method in class imp.TableRow
    +
    +
    Liefert den Wert einer Zelle als Int-Zahl
    +
    +
    getInt(String) - Method in class imp.XML
    +
    +
    Fragt einen Attributwert des aktuellen Elements ab
    +
    +
    getInt(String, int) - Method in class imp.XML
    +
    +
    Fragt einen Attributwert des aktuellen Elements ab + Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
    +
    +
    getIntColumn(int) - Method in class imp.Table
    +
    +
    Liefert alle Werte einer Spalte als Integer-Array.
    +
    +
    getIntColumn(String) - Method in class imp.Table
    +
    +
    Liefert alle Werte einer Spalte als Integer-Array.
    +
    +
    getIntContent() - Method in class imp.XML
    +
    +
    Fragt den Inhalt des aktuellen Elements als Integerzahl ab
    +
    +
    getIntContent(int) - Method in class imp.XML
    +
    +
    Fragt den Inhalt des aktuellen Elements als Integerzahl ab + Hat das Element keinen Inhalt wird der defaultValue zurückgegeben.
    +
    +
    getIntRow(int) - Method in class imp.Table
    +
    +
    Liefert alle Werte einer Zeile als Integer-Array.
    +
    +
    getIntValue() - Method in class imp.NumberField
    +
     
    +
    getIntWert() - Method in class graph.Knoten
    +
    +
    Gibt den Wert vom Knoten als Integer-Wert zurueck
    +
    +
    getKante(int, int) - Method in class graph.Graph
    +
    +
    Gibt eine gesuchte Kante aus dem Graphen zurueck.
    +
    +
    getKante(Knoten, Knoten) - Method in class graph.Graph
    +
    +
    Gibt eine gesuchte Kante aus dem Graphen zurueck.
    +
    +
    getKnoten(int) - Method in class graph.Graph
    +
    +
    Liefert einen Knoten des Graphen
    +
    +
    getKnoteninfo(Knoten, boolean) - Method in class graph.Graph
    +
    +
    Info über einen Knoten zurückgeben
    +
    +
    getLaenge() - Method in class algorithmen.GraphAlgo_TSPGreedyOpt
    +
     
    +
    getLaenge(int[]) - Method in class algorithmen.GraphAlgo_TSPGenetisch
    +
     
    +
    getNachbarknoten(Knoten, Predicate<Knoten>...) - Method in class graph.Graph
    +
    +
    Gibt die Liste aller Nachbarknoten eines Knotens k zurueck, falls k in der Knotenliste vorhanden ist.
    +
    +
    getName() - Method in class imp.XML
    +
    +
    Frage den Namen des aktuellen Elements ab
    +
    +
    getNummer(Kante) - Method in class graph.Graph
    +
    +
    Gibt die Nummer einer Kante zurück
    +
    +
    getNummer(Knoten) - Method in class graph.Graph
    +
    +
    Gibt die Nummer eines Knotens im Graphen zurück
    +
    +
    getObserver() - Method in class imp.Picture
    +
     
    +
    getParent() - Method in class imp.XML
    +
    +
    liefert ein XML-Objekt, das auf den Vaterknoten des aktuellen Elements zeigt.
    +
    +
    getPixelArray() - Method in class imp.Picture
    +
    +
    Liefert das Bild als zweidimensionales Pixel-Array.
    +
    +
    getRestrictTo() - Method in class graph.GraphPlotter
    +
     
    +
    getRow(int) - Method in class imp.Table
    +
    +
    Liefert eine Zeile der Tabelle
    +
    +
    getRowCount() - Method in class imp.Table
    +
    +
    Liefert die Anzahl der Zeilen in der Tabelle
    +
    +
    getSaturation(Color) - Static method in class imp.HSB
    +
    +
    Liefert die Sättigung als Wert zwischen 0.0 (0%) und 1.0 (100%).
    +
    +
    getSelectedKante() - Method in class graph.GraphPlotter
    +
    +
    Gibt das selektierte Kantenobjekt zurueck.
    +
    +
    getSelectedKnoten() - Method in class graph.GraphPlotter
    +
    +
    Gibt das selektierte Knotenobjekt zurueck.
    +
    +
    getSelectedKnotenListe() - Method in class graph.GraphPlotter
    +
    +
    Gibt die selektierte KnotenobjektListe (als Array) zurueck.
    +
    +
    getStart() - Method in class graph.Kante
    +
    +
    Gibt den Startknoten der Kante zurueck
    +
    +
    getStartKnoten() - Method in class algorithmen.GraphAlgo
    +
     
    +
    getStatus() - Method in class graph.Graph
    +
    +
    Speichert den Zustand des Graphen als String-List
    +
    +
    getStatus() - Method in class graph.GraphElement
    +
     
    +
    getStatus() - Method in class graph.Kante
    +
    +
    Liefert den Status einer Kante als String.
    +
    +
    getStatus() - Method in class graph.Knoten
    +
    +
    Liefert den Status eines Knotens als Status-String + Format: wert,markiert,besucht,farbe + wobei wert eine double-Zahl, mariert und besucht ein boolean-Wert (0=false, 1 = true) und + farbe eine zahl ist.
    +
    +
    getString(int) - Method in class imp.TableRow
    +
    +
    Liefert den Wert einer Zelle als String
    +
    +
    getString(int, int) - Method in class imp.Table
    +
    +
    Liefert den Wert einer Zelle als String
    +
    +
    getString(int, String) - Method in class imp.Table
    +
    +
    Liefert den Wert einer Zelle als String
    +
    +
    getString(String) - Method in class imp.TableRow
    +
    +
    Liefert den Wert einer Zelle als String
    +
    +
    getString(String) - Method in class imp.XML
    +
    +
    Fragt einen Attributwert des aktuellen Elements ab
    +
    +
    getString(String, String) - Method in class imp.XML
    +
    +
    Fragt einen Attributwert des aktuellen Elements ab + Sollte es das Attribut nicht geben, wird ein default-Wert zurückgegeben
    +
    +
    getStringColumn(int) - Method in class imp.Table
    +
    +
    Liefert alle Werte einer Spalte als String-Array.
    +
    +
    getStringColumn(String) - Method in class imp.Table
    +
    +
    Liefert alle Werte einer Spalte als String-Array.
    +
    +
    getStringRow(int) - Method in class imp.Table
    +
    +
    Liefert alle Werte einer Spalte als String-Array.
    +
    +
    getText() - Method in class graph.GraphOptions
    +
     
    +
    getViewer() - Method in class control.TabMitController
    +
     
    +
    getWaitforclick() - Method in class algorithmen.GraphAlgo
    +
     
    +
    getWaitforrepaint() - Method in class algorithmen.GraphAlgo
    +
     
    +
    getWidth() - Method in class imp.Picture
    +
    +
    Liefert die Breite des Bildes zurueck.
    +
    +
    getX() - Method in class graph.Knoten
    +
    +
    Liefert die x-Position des Knotens
    +
    +
    getY() - Method in class graph.Knoten
    +
    +
    Liefert die y-Position des Knotens
    +
    +
    getZiel() - Method in class graph.Kante
    +
    +
    Gibt den Zielknoten der Kante zurueck
    +
    +
    graph - package graph
    +
     
    +
    graph - Variable in class control.TabMitController
    +
     
    +
    Graph - Class in graph
    +
    +
    Dies ist das Herz vom "GraphTester" - der Graph selber, gepeichert als Adjazenzliste.
    +
    +
    Graph() - Constructor for class graph.Graph
    +
    +
    Der Konstruktor erstellt einen neuen ungerichteten, ungewichteten Graphen (genauer eine neue Adjazenzliste)
    +
    +
    Graph(boolean, boolean) - Constructor for class graph.Graph
    +
    +
    Der Konstruktor erstellt einen neuen Graphen (genauer eine neue Adjazenzliste)
    +
    +
    GraphAlgo - Class in algorithmen
    +
    +
    description
    +
    +
    GraphAlgo() - Constructor for class algorithmen.GraphAlgo
    +
     
    +
    GraphAlgo_BellmanFord - Class in algorithmen
    +
    +
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen.
    +
    +
    GraphAlgo_BellmanFord() - Constructor for class algorithmen.GraphAlgo_BellmanFord
    +
     
    +
    GraphAlgo_Breitensuche - Class in algorithmen
    +
    +
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    +
    +
    GraphAlgo_Breitensuche() - Constructor for class algorithmen.GraphAlgo_Breitensuche
    +
     
    +
    GraphAlgo_Coloring_Schueler - Class in eigeneAlgorithmen
    +
    +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    +
    +
    GraphAlgo_Coloring_Schueler() - Constructor for class eigeneAlgorithmen.GraphAlgo_Coloring_Schueler
    +
     
    +
    GraphAlgo_ColoringBacktracking - Class in algorithmen
    +
    +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    +
    +
    GraphAlgo_ColoringBacktracking() - Constructor for class algorithmen.GraphAlgo_ColoringBacktracking
    +
     
    +
    GraphAlgo_ColoringGreedy - Class in algorithmen
    +
    +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    +
    +
    GraphAlgo_ColoringGreedy() - Constructor for class algorithmen.GraphAlgo_ColoringGreedy
    +
     
    +
    GraphAlgo_ColoringGreedyRandom - Class in algorithmen
    +
    +
    Dieser Algorithmus färbt einen Graphen, so dass keine benachbarten Knoten + die gleiche Farbe haben und möglichst wenige Farben benutzt werden.
    +
    +
    GraphAlgo_ColoringGreedyRandom() - Constructor for class algorithmen.GraphAlgo_ColoringGreedyRandom
    +
     
    +
    GraphAlgo_Dijkstra - Class in algorithmen
    +
    +
    Dieser Algorithmus findet die kürzesten Pfade in einem gewichteten Graphen.
    +
    +
    GraphAlgo_Dijkstra() - Constructor for class algorithmen.GraphAlgo_Dijkstra
    +
     
    +
    GraphAlgo_DominatingSetBacktracking - Class in algorithmen
    +
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    +
    GraphAlgo_DominatingSetBacktracking() - Constructor for class algorithmen.GraphAlgo_DominatingSetBacktracking
    +
     
    +
    GraphAlgo_DominatingSetGenetisch - Class in algorithmen
    +
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    +
    GraphAlgo_DominatingSetGenetisch() - Constructor for class algorithmen.GraphAlgo_DominatingSetGenetisch
    +
     
    +
    GraphAlgo_DominatingSetGreedyA - Class in algorithmen
    +
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    +
    GraphAlgo_DominatingSetGreedyA() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyA
    +
     
    +
    GraphAlgo_DominatingSetGreedyB - Class in algorithmen
    +
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    +
    GraphAlgo_DominatingSetGreedyB() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyB
    +
     
    +
    GraphAlgo_DominatingSetGreedyC - Class in algorithmen
    +
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    +
    GraphAlgo_DominatingSetGreedyC() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyC
    +
     
    +
    GraphAlgo_DominatingSetGreedyD - Class in algorithmen
    +
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    +
    GraphAlgo_DominatingSetGreedyD() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyD
    +
     
    +
    GraphAlgo_DominatingSetGreedyE - Class in algorithmen
    +
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    +
    GraphAlgo_DominatingSetGreedyE() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyE
    +
     
    +
    GraphAlgo_DominatingSetGreedyF - Class in algorithmen
    +
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    +
    GraphAlgo_DominatingSetGreedyF() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyF
    +
     
    +
    GraphAlgo_DominatingSetGreedyG - Class in algorithmen
    +
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    +
    GraphAlgo_DominatingSetGreedyG() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyG
    +
     
    +
    GraphAlgo_DominatingSetGreedyH - Class in algorithmen
    +
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    +
    GraphAlgo_DominatingSetGreedyH() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyH
    +
     
    +
    GraphAlgo_DominatingSetGreedyI - Class in algorithmen
    +
    +
    Dieser Algorithmus bestimmt die kleinste dominierende Menge in einem Graphen + und bestimmt den Zeitbedarf.
    +
    +
    GraphAlgo_DominatingSetGreedyI() - Constructor for class algorithmen.GraphAlgo_DominatingSetGreedyI
    +
     
    +
    GraphAlgo_EulerkreisExistenz - Class in algorithmen
    +
    +
    Dieser Algorithmus testet, ob ein Eulerkreis existiert.
    +
    +
    GraphAlgo_EulerkreisExistenz() - Constructor for class algorithmen.GraphAlgo_EulerkreisExistenz
    +
     
    +
    GraphAlgo_Moore - Class in algorithmen
    +
    +
    Dieser Algorithmus findet die kürzesten Pfade in einem ungewichteten Graphen.
    +
    +
    GraphAlgo_Moore() - Constructor for class algorithmen.GraphAlgo_Moore
    +
     
    +
    GraphAlgo_MST_Kruskal - Class in algorithmen
    +
    +
    Dieser Algorithmus sucht einen minimal Spanning Tree + Algorithmus: Kruskal
    +
    +
    GraphAlgo_MST_Kruskal() - Constructor for class algorithmen.GraphAlgo_MST_Kruskal
    +
     
    +
    GraphAlgo_MST_Prim - Class in algorithmen
    +
    +
    Dieser Algorithmus sucht einen minimal Spanning Tree + Algorithmus: Prim
    +
    +
    GraphAlgo_MST_Prim() - Constructor for class algorithmen.GraphAlgo_MST_Prim
    +
     
    +
    GraphAlgo_Tiefensuche - Class in algorithmen
    +
    +
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    +
    +
    GraphAlgo_Tiefensuche() - Constructor for class algorithmen.GraphAlgo_Tiefensuche
    +
     
    +
    GraphAlgo_TiefensucheRek - Class in algorithmen
    +
    +
    Dieser Algorithmus nummeriert alle Knoten des Graphen.
    +
    +
    GraphAlgo_TiefensucheRek() - Constructor for class algorithmen.GraphAlgo_TiefensucheRek
    +
     
    +
    GraphAlgo_toplogischeSortierung - Class in algorithmen
    +
    +
    Dieser Algorithmus findet eine topologische Sortierung des Graphen.
    +
    +
    GraphAlgo_toplogischeSortierung() - Constructor for class algorithmen.GraphAlgo_toplogischeSortierung
    +
     
    +
    GraphAlgo_TSPBacktracking - Class in algorithmen
    +
    +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem).
    +
    +
    GraphAlgo_TSPBacktracking() - Constructor for class algorithmen.GraphAlgo_TSPBacktracking
    +
     
    +
    GraphAlgo_TSPGenetisch - Class in algorithmen
    +
    +
    description
    +
    +
    GraphAlgo_TSPGenetisch() - Constructor for class algorithmen.GraphAlgo_TSPGenetisch
    +
     
    +
    GraphAlgo_TSPGreedy - Class in algorithmen
    +
    +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem).
    +
    +
    GraphAlgo_TSPGreedy() - Constructor for class algorithmen.GraphAlgo_TSPGreedy
    +
     
    +
    GraphAlgo_TSPGreedy2 - Class in algorithmen
    +
    +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem).
    +
    +
    GraphAlgo_TSPGreedy2() - Constructor for class algorithmen.GraphAlgo_TSPGreedy2
    +
     
    +
    GraphAlgo_TSPGreedyOpt - Class in algorithmen
    +
    +
    Dieser Algorithmus sucht einen möglichst kurzen Hamilton-Kreis (Traveling + Salesman Problem).
    +
    +
    GraphAlgo_TSPGreedyOpt() - Constructor for class algorithmen.GraphAlgo_TSPGreedyOpt
    +
     
    +
    GraphAlgo_ZyklusBacktracking - Class in algorithmen
    +
    +
    Dieser Algorithmus ist ein Beispiel für einen Backtracking-Algorithmus.
    +
    +
    GraphAlgo_ZyklusBacktracking() - Constructor for class algorithmen.GraphAlgo_ZyklusBacktracking
    +
     
    +
    graphClicked(MouseEvent) - Method in class control.EditTabMitController
    +
     
    +
    graphClicked(MouseEvent) - Method in class control.UnterTabMitController
    +
     
    +
    GraphElement - Class in graph
    +
    +
    Die Klasse GraphElement ist eine Oberklasse von Knoten und Kanten.
    +
    +
    GraphElement() - Constructor for class graph.GraphElement
    +
     
    +
    GraphenTester - Class in <Unnamed>
    +
     
    +
    GraphenTester() - Constructor for class GraphenTester
    +
     
    +
    graphLaden(String) - Method in class control.Controller
    +
     
    +
    GraphOptions - Class in graph
    +
    +
    Die Klasse GraphOptions speichert, wie ein Graph in einem Fenster vom + GraphPlotter angezeigt wird.
    +
    +
    GraphOptions() - Constructor for class graph.GraphOptions
    +
     
    +
    GraphPlotter - Class in graph
    +
    +
    Der GraphPlotter ist das Herzstueck der Visualisierung und dient als Schnittstelle zur GUI.
    +
    +
    GraphPlotter() - Constructor for class graph.GraphPlotter
    +
    +
    Der Konstruktor legt sowohl Einstellungen des mxGraphen (Drag&Drop, Editable, ...) als auch des Graphen (gewichtet, gerichtet, ...) fest.
    +
    +
    + + + +

    H

    +
    +
    hasAttribute() - Method in class imp.XML
    +
    +
    liefert zurück, ob das aktuelle Element Attribute hat .
    +
    +
    hasChildren() - Method in class imp.XML
    +
    +
    Überprüft, ob das Element irgendwelche Kinder hat oder nicht, und gibt das Ergebnis als boolean zurück.
    +
    +
    HauptTabMitController - Class in control
    +
    +
    Die Klasse HauptTabMitController stellt einen Tab inclusive ihres Controllers + für das Hauptfenster des Graphentesters dar.
    +
    +
    HauptTabMitController(Graph, GraphOptions) - Constructor for class control.HauptTabMitController
    +
     
    +
    Hilfe - Interface in graph
    +
     
    +
    Hilfefenster - Class in control
    +
    +
    Die Klasse Hilfefenster stellt ein Hilfefenster für die Simulation eines + Algorithmus bereit.
    +
    +
    Hilfefenster() - Constructor for class control.Hilfefenster
    +
     
    +
    HSB - Class in imp
    +
    +
    Hilfsklasse für das HSB-Farbmodell
    +
    +
    HSB() - Constructor for class imp.HSB
    +
     
    +
    + + + +

    I

    +
    +
    imp - package imp
    +
     
    +
    inArbeit - Variable in class algorithmen.GraphAlgo
    +
     
    +
    indentLess() - Method in class control.Hilfefenster
    +
     
    +
    indentLess() - Method in interface graph.Hilfe
    +
     
    +
    indentMore() - Method in class control.Hilfefenster
    +
     
    +
    indentMore() - Method in interface graph.Hilfe
    +
     
    +
    info(String) - Method in class algorithmen.GraphAlgo
    +
     
    +
    infoIndentLess() - Method in class algorithmen.GraphAlgo
    +
     
    +
    infoIndentMore() - Method in class algorithmen.GraphAlgo
    +
     
    +
    init() - Method in class graph.Kante
    +
    +
    Die Methode init initialisiert die Kantenfaerbung (auf unmarkiert)
    +
    +
    init() - Method in class graph.Knoten
    +
    +
    Die Methode init initialisiert den Zustand eines Knotens
    +
    +
    initialisiereAlleKanten() - Method in class graph.Graph
    +
    +
    Initialisiert alle Kanten des Graphen.
    +
    +
    initialisiereAlleKnoten() - Method in class graph.Graph
    +
    +
    Initialisiert alle Knoten des Graphen.
    +
    +
    initialize() - Method in class control.Controller
    +
     
    +
    initialize() - Method in class control.EditTabMitController
    +
     
    +
    initialize() - Method in class control.HauptTabMitController
    +
     
    +
    initialize() - Method in class control.Hilfefenster
    +
     
    +
    initialize() - Method in class control.SimulationTabMitController
    +
     
    +
    initialize() - Method in class control.TabMitController
    +
     
    +
    initialize() - Method in class control.UnterTabMitController
    +
     
    +
    isBesucht() - Method in class graph.Knoten
    +
    +
    Gibt den Besuchtwert vom Knoten zurueck
    +
    +
    isFarbeAutomatisch() - Method in class graph.Knoten
    +
    +
    Gibt zurück, ob die Knotenfarbe automatisch aus den Attributen ermittelt wird.
    +
    +
    isGeloescht() - Method in class graph.Kante
    +
    +
    Gibt den gelöscht-Wert der Kante zurueck
    +
    +
    isGerichtet() - Method in class graph.Graph
    +
    +
    Gibt zurueck, ob der Graph gerichtet oder ungerichtet ist.
    +
    +
    isGewichtet() - Method in class graph.Graph
    +
    +
    Gibt zurueck, ob der Graph gewichtet oder ungewichtet ist
    +
    +
    isKanteEnthalten(int, int) - Method in class graph.Graph
    +
    +
    Ueberprueft, ob eine Kante im Graphen enthalten ist.
    +
    +
    isKanteEnthalten(Kante) - Method in class graph.Graph
    +
    +
    Ueberprueft, ob eine Kante im Graphen enthalten ist.
    +
    +
    isKanteEnthalten(Knoten, Knoten) - Method in class graph.Graph
    +
    +
    Ueberprueft, ob eine Kante im Graphen enthalten ist.
    +
    +
    isKnotenEnthalten(Knoten) - Method in class graph.Graph
    +
    +
    Ueberprueft, ob ein Knoten in der Knotenliste enthalten ist.
    +
    +
    isLeer() - Method in class graph.Graph
    +
    +
    Ueberprueft, ob die Adjazenzliste leer ist, d.h. keine Knoten im Graphen enthalten sind.
    +
    +
    isMarkiert() - Method in class graph.Kante
    +
    +
    Gibt zurück, ob die Kanten markiert ist
    +
    +
    isMarkiert() - Method in class graph.Knoten
    +
    +
    Gibt den Markiertwert vom Knoten zurueck
    +
    +
    + + + +

    K

    +
    +
    Kante - Class in graph
    +
    +
    Die Klasse Kante beschreibt die Datenstruktur einer Kante, bestehend aus Startknoten, Gewicht und Zielknoten.
    +
    +
    Kante(Knoten, Knoten, double) - Constructor for class graph.Kante
    +
    +
    Der Konstruktor erstellt eine neue Kante mit Start- und Zielknoten und Kantengewicht.
    +
    +
    Knoten - Class in graph
    +
    +
    Diese Klasse Knoten definiert einen Knoten.
    +
    +
    Knoten(int, int) - Constructor for class graph.Knoten
    +
    +
    Der Konstruktor erstellt einen neuen Knoten mit einem neuen Namen
    +
    +
    Knoten(int, int, double) - Constructor for class graph.Knoten
    +
    +
    Der Konstruktor erstellt einen neuen Knoten mit einem Startwert
    +
    +
    knotenFarbe(MouseEvent) - Method in class control.UnterTabMitController
    +
     
    +
    kreuze(int[], int[]) - Method in class algorithmen.GraphAlgo_DominatingSetGenetisch
    +
     
    +
    kreuze(int[], int[]) - Method in class algorithmen.GraphAlgo_TSPGenetisch
    +
     
    +
    + + + +

    L

    +
    +
    ladeGraph(Table) - Method in class graph.Graph
    +
    +
    Ein Graph wird aus einer csv-Datei erstellt, die entweder + eine Matrix oder eine Adjazenzliste enthält, die den Graph beschreibt.
    +
    +
    ladeGraph(Table) - Method in class graph.GraphOptions
    +
     
    +
    line(int, int, int, int) - Method in class imp.Picture
    +
    +
    Zeichnet eine Linie (einen direkten Weg zwischen zwei Punkten) auf den Bildschirm.
    +
    +
    listAttributes() - Method in class imp.XML
    +
    +
    Ruft alle Attribute des angegebenen Elements ab und gibt sie als Array von Strings zurück.
    +
    +
    listChildren() - Method in class imp.XML
    +
    +
    Ermittelt die Namen aller Kinder des Elements und gibt die Namen als ein Array von Strings zurück.
    +
    +
    load(String) - Method in class imp.Picture
    +
    +
    Laedt ein Bild aus dem Dateisystem.
    +
    +
    loadCSV(String) - Method in class imp.Table
    +
    +
    Liest den Inhalt einer CSV-Datei ohne Kopfzeile (Separator = ';', Kennung für Text = '"').
    +
    +
    loadCSV(String, String) - Method in class imp.Table
    +
    +
    Liest den Inhalt einer CSV-Datei (Separator = ';', Kennung für Text = '"').
    +
    +
    loadCSV(String, String, char, char) - Method in class imp.Table
    +
    +
    Liest den Inhalt einer CSV-Datei.
    +
    +
    loadXML(String) - Method in class imp.XML
    +
    +
    Öffnet das durch den Dateinamen gegebene Dokument
    +
    +
    loescheAlles() - Method in class control.Hilfefenster
    +
     
    +
    loescheAlles() - Method in class graph.Graph
    +
    +
    Loescht den gesamten Graphen
    +
    +
    loescheAlles() - Method in interface graph.Hilfe
    +
     
    +
    loescheGraph() - Method in class graph.Graph
    +
    +
    Löscht alle Knoten und Kanten eines Graphen und stellt auf ungerichtet und ungewichtet zurück.
    +
    +
    + + + +

    M

    +
    +
    main(String[]) - Static method in class GraphenTester
    +
     
    +
    mBearbeiten(MouseEvent) - Method in class control.Controller
    +
     
    +
    mBeenden(ActionEvent) - Method in class control.Controller
    +
     
    +
    mBeenden(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    mBesucheKnoten(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    mBesuchtLoeschen(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    mBreak(ActionEvent) - Method in class control.SimulationTabMitController
    +
     
    +
    mChangeHilfefenster(ActionEvent) - Method in class control.Controller
    +
     
    +
    mChangeOptionBild(ActionEvent) - Method in class control.Controller
    +
     
    +
    mChangeOptionKantengewichte(ActionEvent) - Method in class control.Controller
    +
     
    +
    mChangeOptionKnoteninfo(ActionEvent) - Method in class control.Controller
    +
     
    +
    mChangeOptionKnotenname(ActionEvent) - Method in class control.Controller
    +
     
    +
    mChangeOptionKnotenwerte(ActionEvent) - Method in class control.Controller
    +
     
    +
    melde(String) - Method in class algorithmen.GraphAlgo
    +
     
    +
    menuChangeAnsicht() - Method in class control.Controller
    +
     
    +
    mExperimentiereAuswahl(ActionEvent) - Method in class control.Controller
    +
     
    +
    mExperimentiereKanten(ActionEvent) - Method in class control.Controller
    +
     
    +
    mExperimentiereKnoten(ActionEvent) - Method in class control.Controller
    +
     
    +
    mFaerbeKnoten(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    mInfotextAendern() - Method in class control.EditTabMitController
    +
     
    +
    mLoesche() - Method in class control.EditTabMitController
    +
     
    +
    mMarkiereKnoten(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    mMarkierungenLoeschen(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    mNeuerGraph(ActionEvent) - Method in class control.Controller
    +
     
    +
    mOeffnen(ActionEvent) - Method in class control.Controller
    +
     
    +
    mOeffnen(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    mouseClicked(MouseEvent) - Method in class graph.GraphPlotter
    +
     
    +
    mouseDown(MouseEvent) - Method in class graph.GraphPlotter
    +
     
    +
    mouseDragged(MouseEvent) - Method in class graph.GraphPlotter
    +
     
    +
    mouseUp(MouseEvent) - Method in class graph.GraphPlotter
    +
     
    +
    mReset(ActionEvent) - Method in class control.SimulationTabMitController
    +
     
    +
    mResetAlles(ActionEvent) - Method in class control.Controller
    +
     
    +
    mResetBesucht(ActionEvent) - Method in class control.Controller
    +
     
    +
    mResetFarbe(ActionEvent) - Method in class control.Controller
    +
     
    +
    mResetGeloescht(ActionEvent) - Method in class control.Controller
    +
     
    +
    mResetKantenmarkierung(ActionEvent) - Method in class control.Controller
    +
     
    +
    mResetMarkierung(ActionEvent) - Method in class control.Controller
    +
     
    +
    mResetWert(ActionEvent) - Method in class control.Controller
    +
     
    +
    mSchliessen(ActionEvent) - Method in class control.Controller
    +
     
    +
    mSchliessen(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    mSimuliere(MouseEvent) - Method in class control.Controller
    +
     
    +
    mSpeichern(ActionEvent) - Method in class control.Controller
    +
     
    +
    mSpeichern(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    mStart(ActionEvent) - Method in class control.SimulationTabMitController
    +
     
    +
    mStep(ActionEvent) - Method in class control.SimulationTabMitController
    +
     
    +
    mUeber(ActionEvent) - Method in class control.Controller
    +
     
    +
    mUeber(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    mutiere(int[]) - Method in class algorithmen.GraphAlgo_DominatingSetGenetisch
    +
     
    +
    mutiere(int[]) - Method in class algorithmen.GraphAlgo_TSPGenetisch
    +
     
    +
    mutiere2(int[]) - Method in class algorithmen.GraphAlgo_TSPGenetisch
    +
     
    +
    mWertAendern() - Method in class control.EditTabMitController
    +
     
    +
    mWertSetzen(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    mZurueck(ActionEvent) - Method in class control.UnterTabMitController
    +
     
    +
    + + + +

    N

    +
    +
    neueKante(Kante) - Method in class graph.Graph
    +
    +
    Fuegt eine Kante dem Graphen hinzu.
    +
    +
    neueKante(Knoten, Knoten, double) - Method in class graph.Graph
    +
    +
    Fuegt eine Kante dem Graphen hinzu.
    +
    +
    neuerKnoten(Knoten) - Method in class graph.Graph
    +
    +
    Fügt einen Knoten dem Graph hinzu.
    +
    +
    noFill() - Method in class imp.Picture
    +
    +
    Legt fest, dass die Formen nicht gefuellt werden sollen.
    +
    +
    NORMAL - Static variable in class imp.PictureViewer
    +
     
    +
    noStroke() - Method in class imp.Picture
    +
    +
    Legt fest, dass keine Linien oder Raender um Formen gezeichnet werden soll.
    +
    +
    NumberField - Class in imp
    +
     
    +
    NumberField() - Constructor for class imp.NumberField
    +
     
    +
    + + + +

    O

    +
    +
    options - Variable in class control.TabMitController
    +
     
    +
    + + + +

    P

    +
    +
    parent - Variable in class graph.GraphOptions
    +
     
    +
    Picture - Class in imp
    +
    +
    Bildklasse fuer die Simulation von Processing-Befehlen + + Diese Klasse stellt ein BufferedImage bereit, in das mit Processing-Befehlen gezeichnet + werden kann.
    +
    +
    Picture() - Constructor for class imp.Picture
    +
    +
    Erzeugt ein Bild mit Standardgroesse 500x400
    +
    +
    Picture(int, int) - Constructor for class imp.Picture
    +
    +
    Erzeugt ein Bild der angegeben Groesse
    +
    +
    Picture(int, int, String) - Constructor for class imp.Picture
    +
    +
    Erzeugt ein Bild der angegebenen Groesse mit festgelegtem Hintergrund
    +
    +
    Picture(String) - Constructor for class imp.Picture
    +
    +
    Erzeugt ein Bild aus einer Datei
    +
    +
    PictureViewer - Class in imp
    +
     
    +
    PictureViewer() - Constructor for class imp.PictureViewer
    +
    +
    Erzeugt ein ScrollPanel mit integriertem Bild der Größe 1000x1000
    +
    +
    PictureViewer(int, int) - Constructor for class imp.PictureViewer
    +
    +
    Erzeugt ein ScrollPanel mit integriertem Bild der angegebenen Größe
    +
    +
    PictureViewer(int, int, String) - Constructor for class imp.PictureViewer
    +
    +
    Erzeugt ein ScrollPanel mit integriertem Bild der angegebenen Größe
    +
    +
    PictureViewer(Picture) - Constructor for class imp.PictureViewer
    +
    +
    Erzeugt ein ScrollPanel und zeigt das Bild-Objekt an
    +
    +
    PictureViewer(String) - Constructor for class imp.PictureViewer
    +
    +
    Erzeugt ein ScrollPanel mit integriertem Bild aus einer Bilddatei
    +
    +
    point(int, int) - Method in class imp.Picture
    +
    +
    Zeichnet einen Punkt, d.h. einen Kreis in der Dimension eines Pixels.
    +
    +
    polygon(int[], int[]) - Method in class imp.Picture
    +
    +
    Zeichnet ein Polygon auf das Bild.
    +
    +
    probiere(Knoten) - Method in class algorithmen.GraphAlgo_TSPBacktracking
    +
     
    +
    pushImage() - Method in class imp.PictureViewer
    +
    +
    Speichert das übergebene Bild in der History.
    +
    +
    + + + +

    Q

    +
    +
    quad(int, int, int, int, int, int, int, int) - Method in class imp.Picture
    +
    +
    Zeichnet ein Viereck auf das Bild.
    +
    +
    + + + +

    R

    +
    +
    RADIUS - Static variable in class imp.Picture
    +
     
    +
    rect(int, int, int, int) - Method in class imp.Picture
    +
    +
    Zeichnet ein Rechteck auf das Bild.
    +
    +
    rectMode(int) - Method in class imp.Picture
    +
    +
    Aendert den Koordinaten-Modus beim Zeichnen von Rechtecken.
    +
    +
    removeChild(XML) - Method in class imp.XML
    +
    +
    löscht ein Kind des aktuellen Knotens.
    +
    +
    removeColumn(int) - Method in class imp.Table
    +
    +
    Löscht eine Spalte.
    +
    +
    removeColumn(String) - Method in class imp.Table
    +
    +
    Löscht eine Spalte
    +
    +
    removeRow(int) - Method in class imp.Table
    +
    +
    Löscht eine Zeile
    +
    +
    repaint() - Method in class imp.PictureViewer
    +
    +
    Setzt das angezeigt Bild neu und beachtet dabei den Zoomfaktor.
    +
    +
    replaceSelection(String) - Method in class imp.NumberField
    +
     
    +
    replaceText(int, int, String) - Method in class imp.NumberField
    +
     
    +
    resetInfo() - Method in class algorithmen.GraphAlgo
    +
     
    +
    rows() - Method in class imp.Table
    +
    +
    Liefert die ganze Tabelle als Array von TableRow-Objekten
    +
    +
    run() - Method in class algorithmen.GraphAlgo
    +
     
    +
    + + + +

    S

    +
    +
    save(String) - Method in class imp.Picture
    +
    +
    Speichert ein Bild.
    +
    +
    saveAsMatrix - Variable in class graph.GraphOptions
    +
     
    +
    saveCSV(String) - Method in class imp.Table
    +
    +
    Speichert das aktuelle Dokument als CSV-Datei ohne Kopfzeile (Separator = ';', Kennung für Text = '"').
    +
    +
    saveCSV(String, String) - Method in class imp.Table
    +
    +
    Speichert das aktuelle Dokument als CSV-Datei (Separator = ';', Kennung für Text = '"').
    +
    +
    saveCSV(String, String, char, char) - Method in class imp.Table
    +
    +
    Speichert das aktuelle Dokument als CSV-Datei.
    +
    +
    saveXML(String) - Method in class imp.Table
    +
    +
    Speichert die Tabelle als XML-Dokument.
    +
    +
    saveXML(String) - Method in class imp.XML
    +
    +
    Speichert den XML-Baum im angegebenen Dateinamen
    +
    +
    schliesseTabs() - Method in class control.Controller
    +
     
    +
    setAuswahl(List<GraphElement>) - Method in class control.UnterTabMitController
    +
     
    +
    setAutoRefresh(boolean) - Method in class imp.Picture
    +
    +
    Legt fest, ob nach jedem Zeichenbefehl automatisch das Bild auch in + der Oberflaeche aktualisiert wird.
    +
    +
    setBesucht(boolean) - Method in class graph.Knoten
    +
    +
    Setzt das Besuchtattribut vom Knoten
    +
    +
    setContent(String) - Method in class imp.XML
    +
    +
    Setzt den Inhalt/Text des aktuellen Elements
    +
    +
    setDouble(int, double) - Method in class imp.TableRow
    +
    +
    Setzt den Wert einer Zelle als Double-Zahl
    +
    +
    setDouble(int, int, double) - Method in class imp.Table
    +
    +
    Setzt den Wert einer Zelle als Double-Zahl
    +
    +
    setDouble(int, String, double) - Method in class imp.Table
    +
    +
    Setzt den Wert einer Zelle als Double-Zahl
    +
    +
    setDouble(String, double) - Method in class imp.TableRow
    +
    +
    Setzt den Wert einer Zelle als Double-Zahl
    +
    +
    setDouble(String, double) - Method in class imp.XML
    +
    +
    Setzt einen Attributwert des aktuellen Elements
    +
    +
    setDoubleContent(double) - Method in class imp.XML
    +
    +
    Setzt den Inhalt des aktuellen Elements
    +
    +
    setEditable() - Method in class graph.GraphPlotter
    +
     
    +
    setFarbe(int) - Method in class graph.Kante
    +
    +
    Setzt die Farbe auf einen bestimmten Farbindex
    +
    +
    setFarbe(int) - Method in class graph.Knoten
    +
    +
    Setzt den Index der Farbe des Knoten.
    +
    +
    setFarbeAutomatisch(boolean) - Method in class graph.Knoten
    +
    +
    Legt fest, ob die Knotenfarbe automatisch aus den Attributen ermittelt wird.
    +
    +
    setFloat(int, float) - Method in class imp.TableRow
    +
    +
    Setzt den Wert einer Zelle als Float-Zahl
    +
    +
    setFloat(int, int, float) - Method in class imp.Table
    +
    +
    Setzt den Wert einer Zelle als Float-Zahl
    +
    +
    setFloat(int, String, float) - Method in class imp.Table
    +
    +
    Setzt den Wert einer Zelle als Float-Zahl
    +
    +
    setFloat(String, float) - Method in class imp.TableRow
    +
    +
    Setzt den Wert einer Zelle als Float-Zahl
    +
    +
    setFloat(String, float) - Method in class imp.XML
    +
    +
    Setzt einen Attributwert des aktuellen Elements
    +
    +
    setFloatContent(float) - Method in class imp.XML
    +
    +
    Setzt den Inhalt des aktuellen Elements
    +
    +
    setGeloescht(boolean) - Method in class graph.Kante
    +
    +
    Setzt das gelöscht-Attribut der Kante
    +
    +
    setGerichtet(boolean) - Method in class control.EditTabMitController
    +
     
    +
    setGerichtet(boolean) - Method in class graph.Graph
    +
    +
    Legt fest, ob der Graph gerichtet oder ungerichtet ist.
    +
    +
    setGewicht(double) - Method in class graph.Kante
    +
    +
    Setzt das Gewicht der Kante
    +
    +
    setGewichtet(boolean) - Method in class control.EditTabMitController
    +
     
    +
    setGewichtet(boolean) - Method in class graph.Graph
    +
    +
    Legt fest, ob der Graph gewichtet oder ungewichtet ist.
    +
    +
    setGraph(Graph) - Method in class algorithmen.GraphAlgo
    +
     
    +
    setGraph(Graph, GraphOptions) - Method in class control.SimulationTabMitController
    +
     
    +
    setGraph(Graph, GraphOptions) - Method in class control.TabMitController
    +
     
    +
    setGraph(Graph, GraphOptions) - Method in class control.UnterTabMitController
    +
     
    +
    setGraph(Graph, GraphOptions) - Method in class graph.GraphPlotter
    +
     
    +
    setGraphPlotter(GraphPlotter) - Method in class control.Hilfefenster
    +
     
    +
    setGraphPlotter(GraphPlotter) - Method in interface graph.Hilfe
    +
     
    +
    setGUIElemente(GraphPlotter, Hilfe) - Method in class algorithmen.GraphAlgo
    +
     
    +
    setImage(Picture, boolean) - Method in class imp.PictureViewer
    +
    +
    Setzt das anzuzeigende Bild neu
    +
    +
    setImage(BufferedImage) - Method in class imp.Picture
    +
    +
    Direktes Setzen des Bildes (fuer interne Zwecke)
    +
    +
    setInfotext(boolean) - Method in class control.EditTabMitController
    +
     
    +
    setInfotext(String) - Method in class graph.Knoten
    +
    +
    Setzt den Infotext für einen Knoten
    +
    +
    setInt(int, int) - Method in class imp.TableRow
    +
    +
    Setzt den Wert einer Zelle als Int-Zahl
    +
    +
    setInt(int, int, int) - Method in class imp.Table
    +
    +
    Setzt den Wert einer Zelle als Integer-Zahl
    +
    +
    setInt(int, String, int) - Method in class imp.Table
    +
    +
    Setzt den Wert einer Zelle als Integer-Zahl
    +
    +
    setInt(String, int) - Method in class imp.TableRow
    +
    +
    Setzt den Wert einer Zelle als Int-Zahl
    +
    +
    setInt(String, int) - Method in class imp.XML
    +
    +
    Setzt einen Attributwert des aktuellen Elements
    +
    +
    setIntContent(int) - Method in class imp.XML
    +
    +
    Setzt den Inhalt des aktuellen Elements
    +
    +
    setKnotenTyp(Toggle) - Method in class control.EditTabMitController
    +
     
    +
    setMarkiert(boolean) - Method in class graph.Kante
    +
    +
    Setzt das markiert-Attribut der Kante
    +
    +
    setMarkiert(boolean) - Method in class graph.Knoten
    +
    +
    Setzt das Markiertattribut vom Knoten
    +
    +
    setName(String) - Method in class imp.XML
    +
    +
    Setze den Namen des aktuellen Elements.
    +
    +
    setObserver(PictureViewer) - Method in class imp.Picture
    +
    +
    Legt fest, wer das Bild anzeigt.
    +
    +
    setPixelArray(Color[][]) - Method in class imp.Picture
    +
    +
    Setzt das Bild neu auf Basis des Pixel-Arrays.
    +
    +
    setRestrictTo(GraphElement) - Method in class graph.GraphPlotter
    +
     
    +
    setReviewAllowed(boolean) - Method in class control.Hilfefenster
    +
     
    +
    setReviewAllowed(boolean) - Method in interface graph.Hilfe
    +
     
    +
    setSpeed(int) - Method in class algorithmen.GraphAlgo
    +
     
    +
    setStandardFarbe() - Method in class graph.Kante
    +
    +
    Setzt die Farbe auf die Standardfarbgebung zurück
    +
    +
    setStart(Knoten) - Method in class graph.Kante
    +
    +
    Setzt den Startknoten der Kante
    +
    +
    setStartKnoten(Knoten) - Method in class algorithmen.GraphAlgo
    +
     
    +
    setStatus(String) - Method in class graph.GraphElement
    +
     
    +
    setStatus(String) - Method in class graph.Kante
    +
    +
    Setzt den Status einer Kante, der in einem String gespeichert ist.
    +
    +
    setStatus(String) - Method in class graph.Knoten
    +
    +
    Setzt den Status eines Knotens aus einem Status-String + Format: wert,markiert,besucht,farbe + wobei wert eine double-Zahl, mariert und besucht ein boolean-Wert (0=false, 1 = true) und + farbe eine zahl ist.
    +
    +
    setStatus(List<String>) - Method in class graph.Graph
    +
    +
    Stellt den Zustand des Graphen aus String-List wieder her
    +
    +
    setStepping(boolean) - Method in class algorithmen.GraphAlgo
    +
     
    +
    setString(int, int, String) - Method in class imp.Table
    +
    +
    Setzt den Wert einer Zelle als String
    +
    +
    setString(int, String) - Method in class imp.TableRow
    +
    +
    Setzt den Wert einer Zelle als String
    +
    +
    setString(int, String, String) - Method in class imp.Table
    +
    +
    Setzt den Wert einer Zelle als String
    +
    +
    setString(String, String) - Method in class imp.TableRow
    +
    +
    Setzt den Wert einer Zelle als String
    +
    +
    setString(String, String) - Method in class imp.XML
    +
    +
    Setzt einen Attributwert des aktuellen Elements
    +
    +
    setValue(double) - Method in class imp.NumberField
    +
     
    +
    setValue(int) - Method in class imp.NumberField
    +
     
    +
    setWaitforclick(boolean) - Method in class algorithmen.GraphAlgo
    +
     
    +
    setWaitforrepaint(boolean) - Method in class algorithmen.GraphAlgo
    +
     
    +
    setWert(double) - Method in class graph.Knoten
    +
    +
    Setzt den Wert beim Knoten
    +
    +
    setX(int) - Method in class graph.Knoten
    +
    +
    Setzt die x-Position des Knotens
    +
    +
    setY(int) - Method in class graph.Knoten
    +
    +
    Setzt die y-Position des Knotens
    +
    +
    setZiel(Knoten) - Method in class graph.Kante
    +
    +
    Setzt den Zielknoten der Kante
    +
    +
    setZoom(double) - Method in class imp.PictureViewer
    +
    +
    Setzt den Zoom-Faktor für das Bild.
    +
    +
    sGroesseAendern(Number) - Method in class control.EditTabMitController
    +
     
    +
    showEdgeWeights - Variable in class graph.GraphOptions
    +
     
    +
    showHilfe(boolean) - Method in class control.SimulationTabMitController
    +
     
    +
    showInFrame() - Method in class imp.Picture
    +
     
    +
    showRundreise(int[]) - Method in class algorithmen.GraphAlgo_TSPGenetisch
    +
     
    +
    showState() - Method in class control.Hilfefenster
    +
     
    +
    showTeilmenge(int[]) - Method in class algorithmen.GraphAlgo_DominatingSetGenetisch
    +
     
    +
    showVertexInfo - Variable in class graph.GraphOptions
    +
     
    +
    showVertexText - Variable in class graph.GraphOptions
    +
     
    +
    showVertexValue - Variable in class graph.GraphOptions
    +
     
    +
    SimulationTabMitController - Class in control
    +
    +
    Die Klasse SimulationTabMitController stellt einen Tab inclusive ihres Controllers + zur Simulation eines Algorithmus dar.
    +
    +
    SimulationTabMitController(Graph, GraphOptions) - Constructor for class control.SimulationTabMitController
    +
     
    +
    size(int, int) - Method in class imp.Picture
    +
    +
    Definiert die Dimension der Breite und Hoehe des Anzeigefensters in Pixeleinheiten.
    +
    +
    start(Stage) - Method in class GraphenTester
    +
     
    +
    stdFarbenKanten - Variable in class graph.GraphOptions
    +
     
    +
    stdFarbenKnoten - Variable in class graph.GraphOptions
    +
     
    +
    step() - Method in class algorithmen.GraphAlgo
    +
     
    +
    stroke(int) - Method in class imp.Picture
    +
    +
    Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden.
    +
    +
    stroke(int, int, int) - Method in class imp.Picture
    +
    +
    Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden.
    +
    +
    stroke(String) - Method in class imp.Picture
    +
    +
    Legt die Farbe fest, mit der Linien und Raender um Formen gezeichnet werden.
    +
    +
    strokeWeight(double) - Method in class imp.Picture
    +
    +
    Legt die Breite des Strichs fuer Linien, Punkte und den Rand um Formen fest.
    +
    +
    + + + +

    T

    +
    +
    Table - Class in imp
    +
     
    +
    Table() - Constructor for class imp.Table
    +
    +
    Erzeugt leeres Tabellen-Dokument.
    +
    +
    Table(String) - Constructor for class imp.Table
    +
    +
    Erzeugt Tabellen-Dokument aus einer CSV-Datei.
    +
    +
    Table(String, String) - Constructor for class imp.Table
    +
    +
    Erzeugt Tabellen-Dokument aus einer CSV-Datei.
    +
    +
    Table(String, String, char, char) - Constructor for class imp.Table
    +
    +
    Erzeugt Tabellen-Dokument aus einer CSV-Datei.
    +
    +
    TableRow - Class in imp
    +
     
    +
    TableRow(Document, Element) - Constructor for class imp.TableRow
    +
    +
    Erzeugt ein TableRow-Objekt.
    +
    +
    TabMitController - Class in control
    +
    +
    Die Klasse TabMitController stellt die Oberklasse für alle Tabs des Graphentesters + dar.
    +
    +
    TabMitController() - Constructor for class control.TabMitController
    +
     
    +
    tabOeffnen(GraphOptions) - Method in class control.TabMitController
    +
     
    +
    text(String, int, int) - Method in class imp.Picture
    +
    +
    Gibt einen Text an den gegebenen Koordinaten aus + Zur Ausgabe des Textes wird der ausgewaehlte Font verwendet.
    +
    +
    textFont(Font) - Method in class imp.Picture
    +
    +
    Legt die Schriftart fuer Textausgaben fest.
    +
    +
    textMode(int) - Method in class imp.Picture
    +
    +
    Aendert den Koordinaten-Modus beim Zeichnen von Texten.
    +
    +
    toCSVString(boolean) - Method in class graph.Graph
    +
    +
    Die Methode erstellt eine CSV-Ausgabe des Graphen entweder als Adjazenzliste oder als Adjazenzmatrix.
    +
    +
    toString() - Method in class graph.Graph
    +
    +
    Textuelle Repraesentation des Graphen.
    +
    +
    toString() - Method in class graph.GraphPlotter
    +
    +
    Ueberschreibt die Methode toString.
    +
    +
    toString() - Method in class graph.Kante
    +
    +
    Die Methode ueberschreibt die Methode toString() und gibt die String-Raepraesentation einer Kante zurueck
    +
    +
    toString() - Method in class graph.Knoten
    +
    +
    Die Methode ueberschreibt die Methode toString() und gibt die String-Raepraesentation eines Knotens zurueck
    +
    +
    triangle(int, int, int, int, int, int) - Method in class imp.Picture
    +
    +
    Zeichnet ein Dreieck auf das Bild.
    +
    +
    trim() - Method in class imp.Table
    +
    +
    Kürzt alle Einträge der Tabelle um unnötige Leerzeichen am Anfang oder Ende
    +
    +
    + + + +

    U

    +
    +
    UnterTabMitController - Class in control
    +
    +
    Die Klasse UnterTabMitController stellt einen Tab inclusive ihres Controllers + zur händischen Erforschung eines Algorithmus.
    +
    +
    UnterTabMitController(Graph, GraphOptions) - Constructor for class control.UnterTabMitController
    +
     
    +
    update() - Method in class control.TabMitController
    +
     
    +
    update() - Method in class control.UnterTabMitController
    +
     
    +
    updateImage() - Method in class graph.GraphPlotter
    +
     
    +
    updateInfofeld() - Method in class control.UnterTabMitController
    +
     
    +
    + + + +

    V

    +
    +
    vertexSize - Variable in class graph.GraphOptions
    +
     
    +
    viewer - Variable in class control.TabMitController
    +
     
    +
    + + + +

    X

    +
    +
    XML - Class in imp
    +
     
    +
    XML() - Constructor for class imp.XML
    +
    +
    Erzeugt ein leeres XMLDokument
    +
    +
    XML(String) - Constructor for class imp.XML
    +
    +
    Erzeugt ein XML-Dokument aus einer Datei
    +
    +
    +A B C D E F G H I K L M N O P Q R S T U V X 
    All Classes All Packages
    +
    +
    + +
    + + diff --git a/doc/index.html b/doc/index.html index 4a8d7a0..f2bd147 100644 --- a/doc/index.html +++ b/doc/index.html @@ -1,26 +1,23 @@ - - - - -Generated Documentation (Untitled) - - - - - - - - - - - -
    - -

    graph/package-summary.html

    -
    - - + + + + + +Generated Documentation (Untitled) + + + + + + + +
    + +

    graph/package-summary.html

    +
    + + diff --git a/doc/jquery/jszip/dist/jszip.js b/doc/jquery/jszip/dist/jszip.js index 02804cd..f44b705 100644 --- a/doc/jquery/jszip/dist/jszip.js +++ b/doc/jquery/jszip/dist/jszip.js @@ -4341,8 +4341,8 @@ module.exports = require('./_descriptors') ? function(object, key, value){ },{"./_descriptors":42,"./_object-dp":52,"./_property-desc":53}],48:[function(require,module,exports){ module.exports = require('./_global').document && document.documentElement; },{"./_global":46}],49:[function(require,module,exports){ -module.exports = !require('./_descriptors') && !require('./_fails')(function(){ - return Object.defineProperty(require('./_dom-create')('div'), 'a', {get: function(){ return 7; }}).a != 7; +module.exports = !require('./_descriptors') && !require('./_fails')(function(){ + return Object.defineProperty(require('./_dom-create')('div'), 'a', {get: function(){ return 7; }}).a != 7; }); },{"./_descriptors":42,"./_dom-create":43,"./_fails":45}],50:[function(require,module,exports){ // fast apply, http://jsperf.lnkit.com/fast-apply/5 diff --git a/doc/legal/ADDITIONAL_LICENSE_INFO b/doc/legal/ADDITIONAL_LICENSE_INFO index ff700cd..3f7e921 100644 --- a/doc/legal/ADDITIONAL_LICENSE_INFO +++ b/doc/legal/ADDITIONAL_LICENSE_INFO @@ -1,37 +1 @@ - ADDITIONAL INFORMATION ABOUT LICENSING - -Certain files distributed by Oracle America, Inc. and/or its affiliates are -subject to the following clarification and special exception to the GPLv2, -based on the GNU Project exception for its Classpath libraries, known as the -GNU Classpath Exception. - -Note that Oracle includes multiple, independent programs in this software -package. Some of those programs are provided under licenses deemed -incompatible with the GPLv2 by the Free Software Foundation and others. -For example, the package includes programs licensed under the Apache -License, Version 2.0 and may include FreeType. Such programs are licensed -to you under their original licenses. - -Oracle facilitates your further distribution of this package by adding the -Classpath Exception to the necessary parts of its GPLv2 code, which permits -you to use that code in combination with other independent modules not -licensed under the GPLv2. However, note that this would not permit you to -commingle code under an incompatible license with Oracle's GPLv2 licensed -code by, for example, cutting and pasting such code into a file also -containing Oracle's GPLv2 licensed code and then distributing the result. - -Additionally, if you were to remove the Classpath Exception from any of the -files to which it applies and distribute the result, you would likely be -required to license some or all of the other code in that distribution under -the GPLv2 as well, and since the GPLv2 is incompatible with the license terms -of some items included in the distribution by Oracle, removing the Classpath -Exception could therefore effectively compromise your ability to further -distribute the package. - -Failing to distribute notices associated with some files may also create -unexpected legal consequences. - -Proceed with caution and we recommend that you obtain the advice of a lawyer -skilled in open source matters before removing the Classpath Exception or -making modifications to this package which may subsequently be redistributed -and/or involve the use of third party software. +Please see ..\java.base\ADDITIONAL_LICENSE_INFO diff --git a/doc/legal/ASSEMBLY_EXCEPTION b/doc/legal/ASSEMBLY_EXCEPTION index 065b8d9..e09f918 100644 --- a/doc/legal/ASSEMBLY_EXCEPTION +++ b/doc/legal/ASSEMBLY_EXCEPTION @@ -1,27 +1 @@ - -OPENJDK ASSEMBLY EXCEPTION - -The OpenJDK source code made available by Oracle America, Inc. (Oracle) at -openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU -General Public License version 2 -only ("GPL2"), with the following clarification and special exception. - - Linking this OpenJDK Code statically or dynamically with other code - is making a combined work based on this library. Thus, the terms - and conditions of GPL2 cover the whole combination. - - As a special exception, Oracle gives you permission to link this - OpenJDK Code with certain code licensed by Oracle as indicated at - http://openjdk.java.net/legal/exception-modules-2007-05-08.html - ("Designated Exception Modules") to produce an executable, - regardless of the license terms of the Designated Exception Modules, - and to copy and distribute the resulting executable under GPL2, - provided that the Designated Exception Modules continue to be - governed by the licenses under which they were offered by Oracle. - -As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code -to build an executable that includes those portions of necessary code that -Oracle could not provide under GPL2 (or that Oracle has provided under GPL2 -with the Classpath exception). If you modify or add to the OpenJDK code, -that new GPL2 code may still be combined with Designated Exception Modules -if the new code is made subject to this exception by its copyright holder. +Please see ..\java.base\ASSEMBLY_EXCEPTION diff --git a/doc/legal/LICENSE b/doc/legal/LICENSE index 8b400c7..940481e 100644 --- a/doc/legal/LICENSE +++ b/doc/legal/LICENSE @@ -1,347 +1 @@ -The GNU General Public License (GPL) - -Version 2, June 1991 - -Copyright (C) 1989, 1991 Free Software Foundation, Inc. -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -Everyone is permitted to copy and distribute verbatim copies of this license -document, but changing it is not allowed. - -Preamble - -The licenses for most software are designed to take away your freedom to share -and change it. By contrast, the GNU General Public License is intended to -guarantee your freedom to share and change free software--to make sure the -software is free for all its users. This General Public License applies to -most of the Free Software Foundation's software and to any other program whose -authors commit to using it. (Some other Free Software Foundation software is -covered by the GNU Library General Public License instead.) You can apply it to -your programs, too. - -When we speak of free software, we are referring to freedom, not price. Our -General Public Licenses are designed to make sure that you have the freedom to -distribute copies of free software (and charge for this service if you wish), -that you receive source code or can get it if you want it, that you can change -the software or use pieces of it in new free programs; and that you know you -can do these things. - -To protect your rights, we need to make restrictions that forbid anyone to deny -you these rights or to ask you to surrender the rights. These restrictions -translate to certain responsibilities for you if you distribute copies of the -software, or if you modify it. - -For example, if you distribute copies of such a program, whether gratis or for -a fee, you must give the recipients all the rights that you have. You must -make sure that they, too, receive or can get the source code. And you must -show them these terms so they know their rights. - -We protect your rights with two steps: (1) copyright the software, and (2) -offer you this license which gives you legal permission to copy, distribute -and/or modify the software. - -Also, for each author's protection and ours, we want to make certain that -everyone understands that there is no warranty for this free software. If the -software is modified by someone else and passed on, we want its recipients to -know that what they have is not the original, so that any problems introduced -by others will not reflect on the original authors' reputations. - -Finally, any free program is threatened constantly by software patents. We -wish to avoid the danger that redistributors of a free program will -individually obtain patent licenses, in effect making the program proprietary. -To prevent this, we have made it clear that any patent must be licensed for -everyone's free use or not licensed at all. - -The precise terms and conditions for copying, distribution and modification -follow. - -TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - -0. This License applies to any program or other work which contains a notice -placed by the copyright holder saying it may be distributed under the terms of -this General Public License. The "Program", below, refers to any such program -or work, and a "work based on the Program" means either the Program or any -derivative work under copyright law: that is to say, a work containing the -Program or a portion of it, either verbatim or with modifications and/or -translated into another language. (Hereinafter, translation is included -without limitation in the term "modification".) Each licensee is addressed as -"you". - -Activities other than copying, distribution and modification are not covered by -this License; they are outside its scope. The act of running the Program is -not restricted, and the output from the Program is covered only if its contents -constitute a work based on the Program (independent of having been made by -running the Program). Whether that is true depends on what the Program does. - -1. You may copy and distribute verbatim copies of the Program's source code as -you receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice and -disclaimer of warranty; keep intact all the notices that refer to this License -and to the absence of any warranty; and give any other recipients of the -Program a copy of this License along with the Program. - -You may charge a fee for the physical act of transferring a copy, and you may -at your option offer warranty protection in exchange for a fee. - -2. You may modify your copy or copies of the Program or any portion of it, thus -forming a work based on the Program, and copy and distribute such modifications -or work under the terms of Section 1 above, provided that you also meet all of -these conditions: - - a) You must cause the modified files to carry prominent notices stating - that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in whole or - in part contains or is derived from the Program or any part thereof, to be - licensed as a whole at no charge to all third parties under the terms of - this License. - - c) If the modified program normally reads commands interactively when run, - you must cause it, when started running for such interactive use in the - most ordinary way, to print or display an announcement including an - appropriate copyright notice and a notice that there is no warranty (or - else, saying that you provide a warranty) and that users may redistribute - the program under these conditions, and telling the user how to view a copy - of this License. (Exception: if the Program itself is interactive but does - not normally print such an announcement, your work based on the Program is - not required to print an announcement.) - -These requirements apply to the modified work as a whole. If identifiable -sections of that work are not derived from the Program, and can be reasonably -considered independent and separate works in themselves, then this License, and -its terms, do not apply to those sections when you distribute them as separate -works. But when you distribute the same sections as part of a whole which is a -work based on the Program, the distribution of the whole must be on the terms -of this License, whose permissions for other licensees extend to the entire -whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest your -rights to work written entirely by you; rather, the intent is to exercise the -right to control the distribution of derivative or collective works based on -the Program. - -In addition, mere aggregation of another work not based on the Program with the -Program (or with a work based on the Program) on a volume of a storage or -distribution medium does not bring the other work under the scope of this -License. - -3. You may copy and distribute the Program (or a work based on it, under -Section 2) in object code or executable form under the terms of Sections 1 and -2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable source - code, which must be distributed under the terms of Sections 1 and 2 above - on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three years, to - give any third party, for a charge no more than your cost of physically - performing source distribution, a complete machine-readable copy of the - corresponding source code, to be distributed under the terms of Sections 1 - and 2 above on a medium customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer to - distribute corresponding source code. (This alternative is allowed only - for noncommercial distribution and only if you received the program in - object code or executable form with such an offer, in accord with - Subsection b above.) - -The source code for a work means the preferred form of the work for making -modifications to it. For an executable work, complete source code means all -the source code for all modules it contains, plus any associated interface -definition files, plus the scripts used to control compilation and installation -of the executable. However, as a special exception, the source code -distributed need not include anything that is normally distributed (in either -source or binary form) with the major components (compiler, kernel, and so on) -of the operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the source -code from the same place counts as distribution of the source code, even though -third parties are not compelled to copy the source along with the object code. - -4. You may not copy, modify, sublicense, or distribute the Program except as -expressly provided under this License. Any attempt otherwise to copy, modify, -sublicense or distribute the Program is void, and will automatically terminate -your rights under this License. However, parties who have received copies, or -rights, from you under this License will not have their licenses terminated so -long as such parties remain in full compliance. - -5. You are not required to accept this License, since you have not signed it. -However, nothing else grants you permission to modify or distribute the Program -or its derivative works. These actions are prohibited by law if you do not -accept this License. Therefore, by modifying or distributing the Program (or -any work based on the Program), you indicate your acceptance of this License to -do so, and all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - -6. Each time you redistribute the Program (or any work based on the Program), -the recipient automatically receives a license from the original licensor to -copy, distribute or modify the Program subject to these terms and conditions. -You may not impose any further restrictions on the recipients' exercise of the -rights granted herein. You are not responsible for enforcing compliance by -third parties to this License. - -7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), conditions -are imposed on you (whether by court order, agreement or otherwise) that -contradict the conditions of this License, they do not excuse you from the -conditions of this License. If you cannot distribute so as to satisfy -simultaneously your obligations under this License and any other pertinent -obligations, then as a consequence you may not distribute the Program at all. -For example, if a patent license would not permit royalty-free redistribution -of the Program by all those who receive copies directly or indirectly through -you, then the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply and -the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any patents or -other property right claims or to contest validity of any such claims; this -section has the sole purpose of protecting the integrity of the free software -distribution system, which is implemented by public license practices. Many -people have made generous contributions to the wide range of software -distributed through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing to -distribute software through any other system and a licensee cannot impose that -choice. - -This section is intended to make thoroughly clear what is believed to be a -consequence of the rest of this License. - -8. If the distribution and/or use of the Program is restricted in certain -countries either by patents or by copyrighted interfaces, the original -copyright holder who places the Program under this License may add an explicit -geographical distribution limitation excluding those countries, so that -distribution is permitted only in or among countries not thus excluded. In -such case, this License incorporates the limitation as if written in the body -of this License. - -9. The Free Software Foundation may publish revised and/or new versions of the -General Public License from time to time. Such new versions will be similar in -spirit to the present version, but may differ in detail to address new problems -or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any later -version", you have the option of following the terms and conditions either of -that version or of any later version published by the Free Software Foundation. -If the Program does not specify a version number of this License, you may -choose any version ever published by the Free Software Foundation. - -10. If you wish to incorporate parts of the Program into other free programs -whose distribution conditions are different, write to the author to ask for -permission. For software which is copyrighted by the Free Software Foundation, -write to the Free Software Foundation; we sometimes make exceptions for this. -Our decision will be guided by the two goals of preserving the free status of -all derivatives of our free software and of promoting the sharing and reuse of -software generally. - -NO WARRANTY - -11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR -THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE -STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE -PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, -INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND -PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, -YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - -12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL -ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE -PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR -INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA -BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER -OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -END OF TERMS AND CONDITIONS - -How to Apply These Terms to Your New Programs - -If you develop a new program, and you want it to be of the greatest possible -use to the public, the best way to achieve this is to make it free software -which everyone can redistribute and change under these terms. - -To do so, attach the following notices to the program. It is safest to attach -them to the start of each source file to most effectively convey the exclusion -of warranty; and each file should have at least the "copyright" line and a -pointer to where the full notice is found. - - One line to give the program's name and a brief idea of what it does. - - Copyright (C) - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the Free - Software Foundation; either version 2 of the License, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this when it -starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author Gnomovision comes - with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free - software, and you are welcome to redistribute it under certain conditions; - type 'show c' for details. - -The hypothetical commands 'show w' and 'show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may be -called something other than 'show w' and 'show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your school, -if any, to sign a "copyright disclaimer" for the program, if necessary. Here -is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - 'Gnomovision' (which makes passes at compilers) written by James Hacker. - - signature of Ty Coon, 1 April 1989 - - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General Public -License instead of this License. - - -"CLASSPATH" EXCEPTION TO THE GPL - -Certain source files distributed by Oracle America and/or its affiliates are -subject to the following clarification and special exception to the GPL, but -only where Oracle has expressly included in the particular source file's header -the words "Oracle designates this particular file as subject to the "Classpath" -exception as provided by Oracle in the LICENSE file that accompanied this code." - - Linking this library statically or dynamically with other modules is making - a combined work based on this library. Thus, the terms and conditions of - the GNU General Public License cover the whole combination. - - As a special exception, the copyright holders of this library give you - permission to link this library with independent modules to produce an - executable, regardless of the license terms of these independent modules, - and to copy and distribute the resulting executable under terms of your - choice, provided that you also meet, for each linked independent module, - the terms and conditions of the license of that module. An independent - module is a module which is not derived from or based on this library. If - you modify this library, you may extend this exception to your version of - the library, but you are not obligated to do so. If you do not wish to do - so, delete this exception statement from your version. +Please see ..\java.base\LICENSE diff --git a/doc/legal/jszip.md b/doc/legal/jszip.md new file mode 100644 index 0000000..203e4b0 --- /dev/null +++ b/doc/legal/jszip.md @@ -0,0 +1,26 @@ +## JSZip v3.2.1 + +### MIT License +
    +
    +Copyright (c) 2009-2016 Stuart Knightley, David Duponchel, Franz Buchinger, António Afonso
    +
    +Permission is hereby granted, free of charge, to any person obtaining a
    +copy of this software and associated documentation files (the "Software"),
    +to deal in the Software without restriction, including without limitation
    +the rights to use, copy, modify, merge, publish, distribute, sublicense,
    +and/or sell copies of the Software, and to permit persons to whom the
    +Software is furnished to do so, subject to the following conditions:
    +
    +The above copyright notice and this permission notice shall be included
    +in all copies or substantial portions of the Software.
    +
    +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
    +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
    +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
    +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
    +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
    +OTHER DEALINGS IN THE SOFTWARE.
    +
    +
    diff --git a/doc/legal/pako.md b/doc/legal/pako.md new file mode 100644 index 0000000..de339d8 --- /dev/null +++ b/doc/legal/pako.md @@ -0,0 +1,45 @@ +## Pako v1.0 + +### Pako License +
    +Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn
    +
    +Permission is hereby granted, free of charge, to any person obtaining a copy
    +of this software and associated documentation files (the "Software"), to deal
    +in the Software without restriction, including without limitation the rights
    +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +copies of the Software, and to permit persons to whom the Software is
    +furnished to do so, subject to the following conditions:
    +
    +The above copyright notice and this permission notice shall be included in
    +all copies or substantial portions of the Software.
    +
    +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    +THE SOFTWARE.
    +(C) 1995-2013 Jean-loup Gailly and Mark Adler
    +(C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
    +
    +This software is provided 'as-is', without any express or implied
    +warranty. In no event will the authors be held liable for any damages
    +arising from the use of this software.
    +
    +Permission is granted to anyone to use this software for any purpose,
    +including commercial applications, and to alter it and redistribute it
    +freely, subject to the following restrictions:
    +
    +1. The origin of this software must not be misrepresented; you must not
    +claim that you wrote the original software. If you use this software
    +in a product, an acknowledgment in the product documentation would be
    +appreciated but is not required.
    +2. Altered source versions must be plainly marked as such, and must not be
    + misrepresented as being the original software.
    +3. This notice may not be removed or altered from any source distribution.
    +
    +
    + + diff --git a/doc/logfile.txt b/doc/logfile.txt index a34a098..f2c68e6 100644 --- a/doc/logfile.txt +++ b/doc/logfile.txt @@ -1,74 +1,36 @@ -Class documentation -<---- javadoc command: ----> -/usr/share/bluej/jdk/bin/javadoc --author --version --nodeprecated --package --Xdoclint:none --noindex --notree --nohelp --nonavbar --source -17 --classpath -/usr/share/bluej/bluejcore.jar:/usr/share/bluej/junit-jupiter-migrationsupport-5.5.2.jar:/usr/share/bluej/junit-platform-suite-api-1.5.2.jar:/usr/share/bluej/junit-platform-launcher-1.5.2.jar:/usr/share/bluej/junit-jupiter-5.5.2.jar:/usr/share/bluej/junit-platform-console-1.5.2.jar:/usr/share/bluej/junit-quickcheck-core-0.9.jar:/usr/share/bluej/junit-platform-runner-1.5.2.jar:/usr/share/bluej/junit-platform-console-standalone-1.5.2.jar:/usr/share/bluej/junit-platform-engine-1.5.2.jar:/usr/share/bluej/junit-jupiter-api-5.5.2.jar:/usr/share/bluej/junit-vintage-engine-5.5.2.jar:/usr/share/bluej/junit-jupiter-engine-5.5.2.jar:/usr/share/bluej/junit-jupiter-params-5.5.2.jar:/usr/share/bluej/junit-platform-testkit-1.5.2.jar:/usr/share/bluej/junit-platform-commons-1.5.2.jar:/usr/share/bluej/junit-platform-reporting-1.5.2.jar:/usr/share/bluej/hamcrest-core-1.3.jar:/usr/share/bluej/hamcrest-library-1.3.jar:/usr/share/bluej/lang-stride.jar:/usr/share/bluej/javafx/lib/javafx.base.jar:/usr/share/bluej/javafx/lib/javafx.controls.jar:/usr/share/bluej/javafx/lib/javafx.fxml.jar:/usr/share/bluej/javafx/lib/javafx.graphics.jar:/usr/share/bluej/javafx/lib/javafx.media.jar:/usr/share/bluej/javafx/lib/javafx.properties.jar:/usr/share/bluej/javafx/lib/javafx.swing.jar:/usr/share/bluej/javafx/lib/javafx.web.jar:/home/sbel/gt/1_graphentester/+libs/jdom-1.1.3.jar:/home/sbel/gt/1_graphentester/+libs/commons-io-2.4.jar:/home/sbel/gt/1_graphentester/+libs/csv.jar:/home/sbel/gt/1_graphentester --d -/home/sbel/gt/1_graphentester/doc --encoding -UTF-8 --charset -UTF-8 -/home/sbel/gt/1_graphentester/graph/Graph.java -<---- end of javadoc command ----> -Loading source file /home/sbel/gt/1_graphentester/graph/Graph.java... -Constructing Javadoc information... -Standard Doclet version 17.0.4+8 -Building tree for all the packages and classes... -Generating /home/sbel/gt/1_graphentester/doc/graph/Graph.html... -/home/sbel/gt/1_graphentester/graph/Graph.java:240: warning: invalid input: '&' - * @param filter optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()} - ^ -/home/sbel/gt/1_graphentester/graph/Graph.java:240: warning: invalid input: '&' - * @param filter optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()} - ^ -/home/sbel/gt/1_graphentester/graph/Graph.java:302: warning: invalid input: '&' - * @param filter optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()} - ^ -/home/sbel/gt/1_graphentester/graph/Graph.java:302: warning: invalid input: '&' - * @param filter optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()} - ^ -/home/sbel/gt/1_graphentester/graph/Graph.java:320: warning: invalid input: '&' - * @param filter optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()} - ^ -/home/sbel/gt/1_graphentester/graph/Graph.java:320: warning: invalid input: '&' - * @param filter optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()} - ^ -/home/sbel/gt/1_graphentester/graph/Graph.java:346: warning: invalid input: '&' - * @param filter optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()} - ^ -/home/sbel/gt/1_graphentester/graph/Graph.java:346: warning: invalid input: '&' - * @param filter optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()} - ^ -/home/sbel/gt/1_graphentester/graph/Graph.java:370: warning: invalid input: '&' - * @param filter optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()} - ^ -/home/sbel/gt/1_graphentester/graph/Graph.java:370: warning: invalid input: '&' - * @param filter optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()} - ^ -/home/sbel/gt/1_graphentester/graph/Graph.java:394: warning: invalid input: '&' - * @param filter optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()} - ^ -/home/sbel/gt/1_graphentester/graph/Graph.java:394: warning: invalid input: '&' - * @param filter optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()} - ^ -/home/sbel/gt/1_graphentester/graph/Graph.java:410: warning: invalid input: '&' - * @param filter optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()} - ^ -/home/sbel/gt/1_graphentester/graph/Graph.java:410: warning: invalid input: '&' - * @param filter optionaler Filter, der auf die Liste angewendet wird. Er muss einen boolean-Wert zurückgeben: z.B. @literal{k->k.isMarkiert() && k.isBesucht()} - ^ -Generating /home/sbel/gt/1_graphentester/doc/graph/package-summary.html... -Generating /home/sbel/gt/1_graphentester/doc/index.html... -14 warnings +Class documentation +<---- javadoc command: ----> +C:\Program Files\BlueJ\jdk\bin\javadoc.exe +-author +-version +-nodeprecated +-package +-Xdoclint:none +-noindex +-notree +-nohelp +-nonavbar +-source +11 +-classpath +C:\Program Files\BlueJ\lib\bluejcore.jar;C:\Program Files\BlueJ\lib\junit-jupiter-5.5.2.jar;C:\Program Files\BlueJ\lib\junit-jupiter-api-5.5.2.jar;C:\Program Files\BlueJ\lib\junit-jupiter-engine-5.5.2.jar;C:\Program Files\BlueJ\lib\junit-jupiter-migrationsupport-5.5.2.jar;C:\Program Files\BlueJ\lib\junit-jupiter-params-5.5.2.jar;C:\Program Files\BlueJ\lib\junit-platform-commons-1.5.2.jar;C:\Program Files\BlueJ\lib\junit-platform-console-1.5.2.jar;C:\Program Files\BlueJ\lib\junit-platform-console-standalone-1.5.2.jar;C:\Program Files\BlueJ\lib\junit-platform-engine-1.5.2.jar;C:\Program Files\BlueJ\lib\junit-platform-launcher-1.5.2.jar;C:\Program Files\BlueJ\lib\junit-platform-reporting-1.5.2.jar;C:\Program Files\BlueJ\lib\junit-platform-runner-1.5.2.jar;C:\Program Files\BlueJ\lib\junit-platform-suite-api-1.5.2.jar;C:\Program Files\BlueJ\lib\junit-platform-testkit-1.5.2.jar;C:\Program Files\BlueJ\lib\junit-quickcheck-core-0.9.jar;C:\Program Files\BlueJ\lib\junit-vintage-engine-5.5.2.jar;C:\Program Files\BlueJ\lib\hamcrest-core-1.3.jar;C:\Program Files\BlueJ\lib\hamcrest-library-1.3.jar;C:\Program Files\BlueJ\lib\lang-stride.jar;C:\Program Files\BlueJ\lib\javafx\lib\javafx.base.jar;C:\Program Files\BlueJ\lib\javafx\lib\javafx.controls.jar;C:\Program Files\BlueJ\lib\javafx\lib\javafx.fxml.jar;C:\Program Files\BlueJ\lib\javafx\lib\javafx.graphics.jar;C:\Program Files\BlueJ\lib\javafx\lib\javafx.media.jar;C:\Program Files\BlueJ\lib\javafx\lib\javafx.properties.jar;C:\Program Files\BlueJ\lib\javafx\lib\javafx.swing.jar;C:\Program Files\BlueJ\lib\javafx\lib\javafx.web.jar;H:\GitTest\3_vorlagen_tauschordner\1_graphentester\+libs\commons-io-2.4.jar;H:\GitTest\3_vorlagen_tauschordner\1_graphentester\+libs\csv.jar;H:\GitTest\3_vorlagen_tauschordner\1_graphentester\+libs\jdom-1.1.3.jar;H:\GitTest\3_vorlagen_tauschordner\1_graphentester +-d +H:\GitTest\3_vorlagen_tauschordner\1_graphentester\doc +-encoding +UTF-8 +-charset +UTF-8 +H:\GitTest\3_vorlagen_tauschordner\1_graphentester\graph\GraphElement.java +<---- end of javadoc command ----> +Loading source file H:\GitTest\3_vorlagen_tauschordner\1_graphentester\graph\GraphElement.java... +Constructing Javadoc information... +Standard Doclet version 11.0.14.1 +Building tree for all the packages and classes... +Generating H:\GitTest\3_vorlagen_tauschordner\1_graphentester\doc\graph\GraphElement.html... +Generating H:\GitTest\3_vorlagen_tauschordner\1_graphentester\doc\graph\package-summary.html... +Generating H:\GitTest\3_vorlagen_tauschordner\1_graphentester\doc\constant-values.html... +Building index for all the packages and classes... +Building index for all classes... +Generating H:\GitTest\3_vorlagen_tauschordner\1_graphentester\doc\allclasses.html... +Generating H:\GitTest\3_vorlagen_tauschordner\1_graphentester\doc\allclasses.html... +Generating H:\GitTest\3_vorlagen_tauschordner\1_graphentester\doc\index.html... diff --git a/doc/overview-summary.html b/doc/overview-summary.html index 337b6ad..91faf01 100644 --- a/doc/overview-summary.html +++ b/doc/overview-summary.html @@ -1,23 +1,23 @@ - - - - - -1_graphentester - - - - - - - -
    - -

    index.html

    -
    - - + + + + + +1_graphentester + + + + + + + +
    + +

    index.html

    +
    + + diff --git a/doc/overview-tree.html b/doc/overview-tree.html index b39f3fa..880a115 100644 --- a/doc/overview-tree.html +++ b/doc/overview-tree.html @@ -1,282 +1,282 @@ - - - - - -Class Hierarchy (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    -
    -
    -

    Hierarchy For All Packages

    -Package Hierarchies: - -
    -
    -
    -

    Class Hierarchy

    - -
    -
    -

    Interface Hierarchy

    - -
    -
    -
    -
    - -
    - - + + + + + +Class Hierarchy (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Hierarchy For All Packages

    +Package Hierarchies: + +
    +
    +
    +

    Class Hierarchy

    + +
    +
    +

    Interface Hierarchy

    + +
    +
    +
    +
    + +
    + + diff --git a/doc/package-summary.html b/doc/package-summary.html index d9ccba9..71c1d29 100644 --- a/doc/package-summary.html +++ b/doc/package-summary.html @@ -1,163 +1,163 @@ - - - - - -<Unnamed> (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    -
    -
    -

    Package <Unnamed>

    -
    -
    -
      -
    • - - - - - - - - - - - - -
      Class Summary 
      ClassDescription
      GraphenTester 
      -
    • -
    -
    -
    -
    - -
    - - + + + + + +<Unnamed> (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Package <Unnamed>

    +
    +
    +
      +
    • + + + + + + + + + + + + +
      Class Summary 
      ClassDescription
      GraphenTester 
      +
    • +
    +
    +
    +
    + +
    + + diff --git a/doc/package-tree.html b/doc/package-tree.html index a9b2f38..d63a204 100644 --- a/doc/package-tree.html +++ b/doc/package-tree.html @@ -1,164 +1,164 @@ - - - - - - Class Hierarchy (1_graphentester) - - - - - - - - - - - - - - - -
    - -
    -
    -
    -

    Hierarchy For Package <Unnamed>

    -Package Hierarchies: - -
    -
    -
    -

    Class Hierarchy

    - -
    -
    -
    -
    - -
    - - + + + + + + Class Hierarchy (1_graphentester) + + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Hierarchy For Package <Unnamed>

    +Package Hierarchies: + +
    +
    +
    +

    Class Hierarchy

    + +
    +
    +
    +
    + +
    + + diff --git a/doc/script.js b/doc/script.js index 864989c..53f3ea0 100644 --- a/doc/script.js +++ b/doc/script.js @@ -1,132 +1,149 @@ -/* - * Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -var moduleSearchIndex; -var packageSearchIndex; -var typeSearchIndex; -var memberSearchIndex; -var tagSearchIndex; -function loadScripts(doc, tag) { - createElem(doc, tag, 'search.js'); - - createElem(doc, tag, 'module-search-index.js'); - createElem(doc, tag, 'package-search-index.js'); - createElem(doc, tag, 'type-search-index.js'); - createElem(doc, tag, 'member-search-index.js'); - createElem(doc, tag, 'tag-search-index.js'); -} - -function createElem(doc, tag, path) { - var script = doc.createElement(tag); - var scriptElement = doc.getElementsByTagName(tag)[0]; - script.src = pathtoroot + path; - scriptElement.parentNode.insertBefore(script, scriptElement); -} - -function show(tableId, selected, columns) { - if (tableId !== selected) { - document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')') - .forEach(function(elem) { - elem.style.display = 'none'; - }); - } - document.querySelectorAll('div.' + selected) - .forEach(function(elem, index) { - elem.style.display = ''; - var isEvenRow = index % (columns * 2) < columns; - elem.classList.remove(isEvenRow ? oddRowColor : evenRowColor); - elem.classList.add(isEvenRow ? evenRowColor : oddRowColor); - }); - updateTabs(tableId, selected); -} - -function updateTabs(tableId, selected) { - document.querySelector('div#' + tableId +' .summary-table') - .setAttribute('aria-labelledby', selected); - document.querySelectorAll('button[id^="' + tableId + '"]') - .forEach(function(tab, index) { - if (selected === tab.id || (tableId === selected && index === 0)) { - tab.className = activeTableTab; - tab.setAttribute('aria-selected', true); - tab.setAttribute('tabindex',0); - } else { - tab.className = tableTab; - tab.setAttribute('aria-selected', false); - tab.setAttribute('tabindex',-1); - } - }); -} - -function switchTab(e) { - var selected = document.querySelector('[aria-selected=true]'); - if (selected) { - if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) { - // left or up arrow key pressed: move focus to previous tab - selected.previousSibling.click(); - selected.previousSibling.focus(); - e.preventDefault(); - } else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) { - // right or down arrow key pressed: move focus to next tab - selected.nextSibling.click(); - selected.nextSibling.focus(); - e.preventDefault(); - } - } -} - -var updateSearchResults = function() {}; - -function indexFilesLoaded() { - return moduleSearchIndex - && packageSearchIndex - && typeSearchIndex - && memberSearchIndex - && tagSearchIndex; -} - -// Workaround for scroll position not being included in browser history (8249133) -document.addEventListener("DOMContentLoaded", function(e) { - var contentDiv = document.querySelector("div.flex-content"); - window.addEventListener("popstate", function(e) { - if (e.state !== null) { - contentDiv.scrollTop = e.state; - } - }); - window.addEventListener("hashchange", function(e) { - history.replaceState(contentDiv.scrollTop, document.title); - }); - contentDiv.addEventListener("scroll", function(e) { - var timeoutID; - if (!timeoutID) { - timeoutID = setTimeout(function() { - history.replaceState(contentDiv.scrollTop, document.title); - timeoutID = null; - }, 100); - } - }); - if (!location.hash) { - history.replaceState(contentDiv.scrollTop, document.title); - } -}); +/* + * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var moduleSearchIndex; +var packageSearchIndex; +var typeSearchIndex; +var memberSearchIndex; +var tagSearchIndex; +function loadScripts(doc, tag) { + createElem(doc, tag, 'jquery/jszip/dist/jszip.js'); + createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils.js'); + if (window.navigator.userAgent.indexOf('MSIE ') > 0 || window.navigator.userAgent.indexOf('Trident/') > 0 || + window.navigator.userAgent.indexOf('Edge/') > 0) { + createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils-ie.js'); + } + createElem(doc, tag, 'search.js'); + + $.get(pathtoroot + "module-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "module-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("module-search-index.json").async("text").then(function(content){ + moduleSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "package-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "package-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("package-search-index.json").async("text").then(function(content){ + packageSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "type-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "type-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("type-search-index.json").async("text").then(function(content){ + typeSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "member-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "member-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("member-search-index.json").async("text").then(function(content){ + memberSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "tag-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "tag-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("tag-search-index.json").async("text").then(function(content){ + tagSearchIndex = JSON.parse(content); + }); + }); + }); + }); + if (!moduleSearchIndex) { + createElem(doc, tag, 'module-search-index.js'); + } + if (!packageSearchIndex) { + createElem(doc, tag, 'package-search-index.js'); + } + if (!typeSearchIndex) { + createElem(doc, tag, 'type-search-index.js'); + } + if (!memberSearchIndex) { + createElem(doc, tag, 'member-search-index.js'); + } + if (!tagSearchIndex) { + createElem(doc, tag, 'tag-search-index.js'); + } + $(window).resize(function() { + $('.navPadding').css('padding-top', $('.fixedNav').css("height")); + }); +} + +function createElem(doc, tag, path) { + var script = doc.createElement(tag); + var scriptElement = doc.getElementsByTagName(tag)[0]; + script.src = pathtoroot + path; + scriptElement.parentNode.insertBefore(script, scriptElement); +} + +function show(type) { + count = 0; + for (var key in data) { + var row = document.getElementById(key); + if ((data[key] & type) !== 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) { + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} + +function updateModuleFrame(pFrame, cFrame) { + top.packageFrame.location = pFrame; + top.classFrame.location = cFrame; +} diff --git a/doc/search.js b/doc/search.js index d4bc17b..9d3fb81 100644 --- a/doc/search.js +++ b/doc/search.js @@ -1,329 +1,329 @@ -/* - * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -var noResult = {l: "No results found"}; -var catModules = "Modules"; -var catPackages = "Packages"; -var catTypes = "Types"; -var catMembers = "Members"; -var catSearchTags = "SearchTags"; -var highlight = "$&"; -var camelCaseRegexp = ""; -var secondaryMatcher = ""; -function getHighlightedText(item) { - var ccMatcher = new RegExp(camelCaseRegexp); - var label = item.replace(ccMatcher, highlight); - if (label === item) { - label = item.replace(secondaryMatcher, highlight); - } - return label; -} -function getURLPrefix(ui) { - var urlPrefix=""; - if (useModuleDirectories) { - var slash = "/"; - if (ui.item.category === catModules) { - return ui.item.l + slash; - } else if (ui.item.category === catPackages && ui.item.m) { - return ui.item.m + slash; - } else if ((ui.item.category === catTypes && ui.item.p) || ui.item.category === catMembers) { - $.each(packageSearchIndex, function(index, item) { - if (ui.item.p == item.l) { - urlPrefix = item.m + slash; - } - }); - return urlPrefix; - } else { - return urlPrefix; - } - } - return urlPrefix; -} -var watermark = 'Search'; -$(function() { - $("#search").val(''); - $("#search").prop("disabled", false); - $("#reset").prop("disabled", false); - $("#search").val(watermark).addClass('watermark'); - $("#search").blur(function() { - if ($(this).val().length == 0) { - $(this).val(watermark).addClass('watermark'); - } - }); - $("#search").on('click keydown', function() { - if ($(this).val() == watermark) { - $(this).val('').removeClass('watermark'); - } - }); - $("#reset").click(function() { - $("#search").val(''); - $("#search").focus(); - }); - $("#search").focus(); - $("#search")[0].setSelectionRange(0, 0); -}); -$.widget("custom.catcomplete", $.ui.autocomplete, { - _create: function() { - this._super(); - this.widget().menu("option", "items", "> :not(.ui-autocomplete-category)"); - }, - _renderMenu: function(ul, items) { - var rMenu = this, - currentCategory = ""; - $.each(items, function(index, item) { - var li; - if (item.l !== noResult.l && item.category !== currentCategory) { - ul.append("
  • " + item.category + "
  • "); - currentCategory = item.category; - } - li = rMenu._renderItemData(ul, item); - if (item.category) { - li.attr("aria-label", item.category + " : " + item.l); - li.attr("class", "resultItem"); - } else { - li.attr("aria-label", item.l); - li.attr("class", "resultItem"); - } - }); - }, - _renderItem: function(ul, item) { - var label = ""; - if (item.category === catModules) { - label = getHighlightedText(item.l); - } else if (item.category === catPackages) { - label = (item.m) - ? getHighlightedText(item.m + "/" + item.l) - : getHighlightedText(item.l); - } else if (item.category === catTypes) { - label = (item.p) - ? getHighlightedText(item.p + "." + item.l) - : getHighlightedText(item.l); - } else if (item.category === catMembers) { - label = getHighlightedText(item.p + "." + (item.c + "." + item.l)); - } else if (item.category === catSearchTags) { - label = getHighlightedText(item.l); - } else { - label = item.l; - } - $li = $("
  • ").appendTo(ul); - if (item.category === catSearchTags) { - if (item.d) { - $("").attr("href", "#") - .html(label + " (" + item.h + ")
    " - + item.d + "
    ") - .appendTo($li); - } else { - $("
    ").attr("href", "#") - .html(label + " (" + item.h + ")") - .appendTo($li); - } - } else { - $("").attr("href", "#") - .html(label) - .appendTo($li); - } - return $li; - } -}); -$(function() { - $("#search").catcomplete({ - minLength: 1, - delay: 100, - source: function(request, response) { - var result = new Array(); - var presult = new Array(); - var tresult = new Array(); - var mresult = new Array(); - var tgresult = new Array(); - var secondaryresult = new Array(); - var displayCount = 0; - var exactMatcher = new RegExp("^" + $.ui.autocomplete.escapeRegex(request.term) + "$", "i"); - camelCaseRegexp = ($.ui.autocomplete.escapeRegex(request.term)).split(/(?=[A-Z])/).join("([a-z0-9_$]*?)"); - var camelCaseMatcher = new RegExp("^" + camelCaseRegexp); - secondaryMatcher = new RegExp($.ui.autocomplete.escapeRegex(request.term), "i"); - - // Return the nested innermost name from the specified object - function nestedName(e) { - return e.l.substring(e.l.lastIndexOf(".") + 1); - } - - function concatResults(a1, a2) { - a1 = a1.concat(a2); - a2.length = 0; - return a1; - } - - if (moduleSearchIndex) { - var mdleCount = 0; - $.each(moduleSearchIndex, function(index, item) { - item.category = catModules; - if (exactMatcher.test(item.l)) { - result.push(item); - mdleCount++; - } else if (camelCaseMatcher.test(item.l)) { - result.push(item); - } else if (secondaryMatcher.test(item.l)) { - secondaryresult.push(item); - } - }); - displayCount = mdleCount; - result = concatResults(result, secondaryresult); - } - if (packageSearchIndex) { - var pCount = 0; - var pkg = ""; - $.each(packageSearchIndex, function(index, item) { - item.category = catPackages; - pkg = (item.m) - ? (item.m + "/" + item.l) - : item.l; - if (exactMatcher.test(item.l)) { - presult.push(item); - pCount++; - } else if (camelCaseMatcher.test(pkg)) { - presult.push(item); - } else if (secondaryMatcher.test(pkg)) { - secondaryresult.push(item); - } - }); - result = result.concat(concatResults(presult, secondaryresult)); - displayCount = (pCount > displayCount) ? pCount : displayCount; - } - if (typeSearchIndex) { - var tCount = 0; - $.each(typeSearchIndex, function(index, item) { - item.category = catTypes; - var s = nestedName(item); - if (exactMatcher.test(s)) { - tresult.push(item); - tCount++; - } else if (camelCaseMatcher.test(s)) { - tresult.push(item); - } else if (secondaryMatcher.test(item.p + "." + item.l)) { - secondaryresult.push(item); - } - }); - result = result.concat(concatResults(tresult, secondaryresult)); - displayCount = (tCount > displayCount) ? tCount : displayCount; - } - if (memberSearchIndex) { - var mCount = 0; - $.each(memberSearchIndex, function(index, item) { - item.category = catMembers; - var s = nestedName(item); - if (exactMatcher.test(s)) { - mresult.push(item); - mCount++; - } else if (camelCaseMatcher.test(s)) { - mresult.push(item); - } else if (secondaryMatcher.test(item.c + "." + item.l)) { - secondaryresult.push(item); - } - }); - result = result.concat(concatResults(mresult, secondaryresult)); - displayCount = (mCount > displayCount) ? mCount : displayCount; - } - if (tagSearchIndex) { - var tgCount = 0; - $.each(tagSearchIndex, function(index, item) { - item.category = catSearchTags; - if (exactMatcher.test(item.l)) { - tgresult.push(item); - tgCount++; - } else if (secondaryMatcher.test(item.l)) { - secondaryresult.push(item); - } - }); - result = result.concat(concatResults(tgresult, secondaryresult)); - displayCount = (tgCount > displayCount) ? tgCount : displayCount; - } - displayCount = (displayCount > 500) ? displayCount : 500; - var counter = function() { - var count = {Modules: 0, Packages: 0, Types: 0, Members: 0, SearchTags: 0}; - var f = function(item) { - count[item.category] += 1; - return (count[item.category] <= displayCount); - }; - return f; - }(); - response(result.filter(counter)); - }, - response: function(event, ui) { - if (!ui.content.length) { - ui.content.push(noResult); - } else { - $("#search").empty(); - } - }, - autoFocus: true, - position: { - collision: "flip" - }, - select: function(event, ui) { - if (ui.item.l !== noResult.l) { - var url = getURLPrefix(ui); - if (ui.item.category === catModules) { - if (useModuleDirectories) { - url += "module-summary.html"; - } else { - url = ui.item.l + "-summary.html"; - } - } else if (ui.item.category === catPackages) { - if (ui.item.url) { - url = ui.item.url; - } else { - url += ui.item.l.replace(/\./g, '/') + "/package-summary.html"; - } - } else if (ui.item.category === catTypes) { - if (ui.item.url) { - url = ui.item.url; - } else if (ui.item.p === "") { - url += ui.item.l + ".html"; - } else { - url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.l + ".html"; - } - } else if (ui.item.category === catMembers) { - if (ui.item.p === "") { - url += ui.item.c + ".html" + "#"; - } else { - url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.c + ".html" + "#"; - } - if (ui.item.url) { - url += ui.item.url; - } else { - url += ui.item.l; - } - } else if (ui.item.category === catSearchTags) { - url += ui.item.u; - } - if (top !== window) { - parent.classFrame.location = pathtoroot + url; - } else { - window.location.href = pathtoroot + url; - } - } - } - }); -}); +/* + * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var noResult = {l: "No results found"}; +var catModules = "Modules"; +var catPackages = "Packages"; +var catTypes = "Types"; +var catMembers = "Members"; +var catSearchTags = "SearchTags"; +var highlight = "$&"; +var camelCaseRegexp = ""; +var secondaryMatcher = ""; +function getHighlightedText(item) { + var ccMatcher = new RegExp(camelCaseRegexp); + var label = item.replace(ccMatcher, highlight); + if (label === item) { + label = item.replace(secondaryMatcher, highlight); + } + return label; +} +function getURLPrefix(ui) { + var urlPrefix=""; + if (useModuleDirectories) { + var slash = "/"; + if (ui.item.category === catModules) { + return ui.item.l + slash; + } else if (ui.item.category === catPackages && ui.item.m) { + return ui.item.m + slash; + } else if ((ui.item.category === catTypes && ui.item.p) || ui.item.category === catMembers) { + $.each(packageSearchIndex, function(index, item) { + if (ui.item.p == item.l) { + urlPrefix = item.m + slash; + } + }); + return urlPrefix; + } else { + return urlPrefix; + } + } + return urlPrefix; +} +var watermark = 'Search'; +$(function() { + $("#search").val(''); + $("#search").prop("disabled", false); + $("#reset").prop("disabled", false); + $("#search").val(watermark).addClass('watermark'); + $("#search").blur(function() { + if ($(this).val().length == 0) { + $(this).val(watermark).addClass('watermark'); + } + }); + $("#search").on('click keydown', function() { + if ($(this).val() == watermark) { + $(this).val('').removeClass('watermark'); + } + }); + $("#reset").click(function() { + $("#search").val(''); + $("#search").focus(); + }); + $("#search").focus(); + $("#search")[0].setSelectionRange(0, 0); +}); +$.widget("custom.catcomplete", $.ui.autocomplete, { + _create: function() { + this._super(); + this.widget().menu("option", "items", "> :not(.ui-autocomplete-category)"); + }, + _renderMenu: function(ul, items) { + var rMenu = this, + currentCategory = ""; + $.each(items, function(index, item) { + var li; + if (item.l !== noResult.l && item.category !== currentCategory) { + ul.append("
  • " + item.category + "
  • "); + currentCategory = item.category; + } + li = rMenu._renderItemData(ul, item); + if (item.category) { + li.attr("aria-label", item.category + " : " + item.l); + li.attr("class", "resultItem"); + } else { + li.attr("aria-label", item.l); + li.attr("class", "resultItem"); + } + }); + }, + _renderItem: function(ul, item) { + var label = ""; + if (item.category === catModules) { + label = getHighlightedText(item.l); + } else if (item.category === catPackages) { + label = (item.m) + ? getHighlightedText(item.m + "/" + item.l) + : getHighlightedText(item.l); + } else if (item.category === catTypes) { + label = (item.p) + ? getHighlightedText(item.p + "." + item.l) + : getHighlightedText(item.l); + } else if (item.category === catMembers) { + label = getHighlightedText(item.p + "." + (item.c + "." + item.l)); + } else if (item.category === catSearchTags) { + label = getHighlightedText(item.l); + } else { + label = item.l; + } + $li = $("
  • ").appendTo(ul); + if (item.category === catSearchTags) { + if (item.d) { + $("").attr("href", "#") + .html(label + " (" + item.h + ")
    " + + item.d + "
    ") + .appendTo($li); + } else { + $("
    ").attr("href", "#") + .html(label + " (" + item.h + ")") + .appendTo($li); + } + } else { + $("").attr("href", "#") + .html(label) + .appendTo($li); + } + return $li; + } +}); +$(function() { + $("#search").catcomplete({ + minLength: 1, + delay: 100, + source: function(request, response) { + var result = new Array(); + var presult = new Array(); + var tresult = new Array(); + var mresult = new Array(); + var tgresult = new Array(); + var secondaryresult = new Array(); + var displayCount = 0; + var exactMatcher = new RegExp("^" + $.ui.autocomplete.escapeRegex(request.term) + "$", "i"); + camelCaseRegexp = ($.ui.autocomplete.escapeRegex(request.term)).split(/(?=[A-Z])/).join("([a-z0-9_$]*?)"); + var camelCaseMatcher = new RegExp("^" + camelCaseRegexp); + secondaryMatcher = new RegExp($.ui.autocomplete.escapeRegex(request.term), "i"); + + // Return the nested innermost name from the specified object + function nestedName(e) { + return e.l.substring(e.l.lastIndexOf(".") + 1); + } + + function concatResults(a1, a2) { + a1 = a1.concat(a2); + a2.length = 0; + return a1; + } + + if (moduleSearchIndex) { + var mdleCount = 0; + $.each(moduleSearchIndex, function(index, item) { + item.category = catModules; + if (exactMatcher.test(item.l)) { + result.push(item); + mdleCount++; + } else if (camelCaseMatcher.test(item.l)) { + result.push(item); + } else if (secondaryMatcher.test(item.l)) { + secondaryresult.push(item); + } + }); + displayCount = mdleCount; + result = concatResults(result, secondaryresult); + } + if (packageSearchIndex) { + var pCount = 0; + var pkg = ""; + $.each(packageSearchIndex, function(index, item) { + item.category = catPackages; + pkg = (item.m) + ? (item.m + "/" + item.l) + : item.l; + if (exactMatcher.test(item.l)) { + presult.push(item); + pCount++; + } else if (camelCaseMatcher.test(pkg)) { + presult.push(item); + } else if (secondaryMatcher.test(pkg)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(presult, secondaryresult)); + displayCount = (pCount > displayCount) ? pCount : displayCount; + } + if (typeSearchIndex) { + var tCount = 0; + $.each(typeSearchIndex, function(index, item) { + item.category = catTypes; + var s = nestedName(item); + if (exactMatcher.test(s)) { + tresult.push(item); + tCount++; + } else if (camelCaseMatcher.test(s)) { + tresult.push(item); + } else if (secondaryMatcher.test(item.p + "." + item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(tresult, secondaryresult)); + displayCount = (tCount > displayCount) ? tCount : displayCount; + } + if (memberSearchIndex) { + var mCount = 0; + $.each(memberSearchIndex, function(index, item) { + item.category = catMembers; + var s = nestedName(item); + if (exactMatcher.test(s)) { + mresult.push(item); + mCount++; + } else if (camelCaseMatcher.test(s)) { + mresult.push(item); + } else if (secondaryMatcher.test(item.c + "." + item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(mresult, secondaryresult)); + displayCount = (mCount > displayCount) ? mCount : displayCount; + } + if (tagSearchIndex) { + var tgCount = 0; + $.each(tagSearchIndex, function(index, item) { + item.category = catSearchTags; + if (exactMatcher.test(item.l)) { + tgresult.push(item); + tgCount++; + } else if (secondaryMatcher.test(item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(tgresult, secondaryresult)); + displayCount = (tgCount > displayCount) ? tgCount : displayCount; + } + displayCount = (displayCount > 500) ? displayCount : 500; + var counter = function() { + var count = {Modules: 0, Packages: 0, Types: 0, Members: 0, SearchTags: 0}; + var f = function(item) { + count[item.category] += 1; + return (count[item.category] <= displayCount); + }; + return f; + }(); + response(result.filter(counter)); + }, + response: function(event, ui) { + if (!ui.content.length) { + ui.content.push(noResult); + } else { + $("#search").empty(); + } + }, + autoFocus: true, + position: { + collision: "flip" + }, + select: function(event, ui) { + if (ui.item.l !== noResult.l) { + var url = getURLPrefix(ui); + if (ui.item.category === catModules) { + if (useModuleDirectories) { + url += "module-summary.html"; + } else { + url = ui.item.l + "-summary.html"; + } + } else if (ui.item.category === catPackages) { + if (ui.item.url) { + url = ui.item.url; + } else { + url += ui.item.l.replace(/\./g, '/') + "/package-summary.html"; + } + } else if (ui.item.category === catTypes) { + if (ui.item.url) { + url = ui.item.url; + } else if (ui.item.p === "") { + url += ui.item.l + ".html"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.l + ".html"; + } + } else if (ui.item.category === catMembers) { + if (ui.item.p === "") { + url += ui.item.c + ".html" + "#"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.c + ".html" + "#"; + } + if (ui.item.url) { + url += ui.item.url; + } else { + url += ui.item.l; + } + } else if (ui.item.category === catSearchTags) { + url += ui.item.u; + } + if (top !== window) { + parent.classFrame.location = pathtoroot + url; + } else { + window.location.href = pathtoroot + url; + } + } + } + }); +}); diff --git a/doc/serialized-form.html b/doc/serialized-form.html index 3cba42a..f855eeb 100644 --- a/doc/serialized-form.html +++ b/doc/serialized-form.html @@ -1,179 +1,179 @@ - - - - - -Serialized Form (GraphTester_v6.7) - - - - - - - - - - - - - - - -
    - -
    -
    -
    -

    Serialized Form

    -
    -
    - -
    -
    -
    - -
    - - + + + + + +Serialized Form (GraphTester_v6.7) + + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Serialized Form

    +
    +
    + +
    +
    +
    + +
    + + diff --git a/doc/stylesheet.css b/doc/stylesheet.css index 836c62d..c027275 100644 --- a/doc/stylesheet.css +++ b/doc/stylesheet.css @@ -1,865 +1,906 @@ -/* - * Javadoc style sheet - */ - -@import url('resources/fonts/dejavu.css'); - -/* - * Styles for individual HTML elements. - * - * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular - * HTML element throughout the page. - */ - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; - padding:0; - height:100%; - width:100%; -} -iframe { - margin:0; - padding:0; - height:100%; - width:100%; - overflow-y:scroll; - border:none; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a[href]:hover, a[href]:focus { - text-decoration:none; - color:#bb7a2a; -} -a[name] { - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; -} -h4 { - font-size:15px; -} -h5 { - font-size:14px; -} -h6 { - font-size:13px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; -} -:not(h1, h2, h3, h4, h5, h6) > code, -:not(h1, h2, h3, h4, h5, h6) > tt { - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -.summary-table dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -button { - font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size: 14px; -} -/* - * Styles for HTML generated by javadoc. - * - * These are style classes that are used by the standard doclet to generate HTML documentation. - */ - -/* - * Styles for document title and copyright. - */ -.clear { - clear:both; - height:0; - overflow:hidden; -} -.about-language { - float:right; - padding:0 21px 8px 8px; - font-size:11px; - margin-top:-9px; - height:2.9em; -} -.legal-copy { - margin-left:.5em; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* - * Styles for navigation bar. - */ -@media screen { - .flex-box { - position:fixed; - display:flex; - flex-direction:column; - height: 100%; - width: 100%; - } - .flex-header { - flex: 0 0 auto; - } - .flex-content { - flex: 1 1 auto; - overflow-y: auto; - } -} -.top-nav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - min-height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.sub-nav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.sub-nav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -.sub-nav .nav-list { - padding-top:5px; -} -ul.nav-list { - display:block; - margin:0 25px 0 0; - padding:0; -} -ul.sub-nav-list { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.nav-list li { - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -.sub-nav .nav-list-search { - float:right; - margin:0 0 0 0; - padding:5px 6px; - clear:none; -} -.nav-list-search label { - position:relative; - right:-16px; -} -ul.sub-nav-list li { - list-style:none; - float:left; - padding-top:10px; -} -.top-nav a:link, .top-nav a:active, .top-nav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.top-nav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.nav-bar-cell1-rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skip-nav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* - * Hide navigation links and search box in print layout - */ -@media print { - ul.nav-list, div.sub-nav { - display:none; - } -} -/* - * Styles for page header and footer. - */ -.title { - color:#2c4557; - margin:10px 0; -} -.sub-title { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* - * Styles for headings. - */ -body.class-declaration-page .summary h2, -body.class-declaration-page .details h2, -body.class-use-page h2, -body.module-declaration-page .block-list h2 { - font-style: italic; - padding:0; - margin:15px 0; -} -body.class-declaration-page .summary h3, -body.class-declaration-page .details h3, -body.class-declaration-page .summary .inherited-list h2 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -/* - * Styles for page layout containers. - */ -main { - clear:both; - padding:10px 20px; - position:relative; -} -dl.notes > dt { - font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -dl.notes > dd { - margin:5px 10px 10px 0; - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} -dl.name-value > dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -dl.name-value > dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* - * Styles for lists. - */ -li.circle { - list-style:circle; -} -ul.horizontal li { - display:inline; - font-size:0.9em; -} -div.inheritance { - margin:0; - padding:0; -} -div.inheritance div.inheritance { - margin-left:2em; -} -ul.block-list, -ul.details-list, -ul.member-list, -ul.summary-list { - margin:10px 0 10px 0; - padding:0; -} -ul.block-list > li, -ul.details-list > li, -ul.member-list > li, -ul.summary-list > li { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -.summary-table dl, .summary-table dl dt, .summary-table dl dd { - margin-top:0; - margin-bottom:1px; -} -ul.see-list, ul.see-list-long { - padding-left: 0; - list-style: none; -} -ul.see-list li { - display: inline; -} -ul.see-list li:not(:last-child):after, -ul.see-list-long li:not(:last-child):after { - content: ", "; - white-space: pre-wrap; -} -/* - * Styles for tables. - */ -.summary-table, .details-table { - width:100%; - border-spacing:0; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; - padding:0; -} -.caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0; - padding-top:10px; - padding-left:1px; - margin:0; - white-space:pre; -} -.caption a:link, .caption a:visited { - color:#1f389c; -} -.caption a:hover, -.caption a:active { - color:#FFFFFF; -} -.caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -div.table-tabs { - padding:10px 0 0 1px; - margin:0; -} -div.table-tabs > button { - border: none; - cursor: pointer; - padding: 5px 12px 7px 12px; - font-weight: bold; - margin-right: 3px; -} -div.table-tabs > button.active-table-tab { - background: #F8981D; - color: #253441; -} -div.table-tabs > button.table-tab { - background: #4D7A97; - color: #FFFFFF; -} -.two-column-summary { - display: grid; - grid-template-columns: minmax(15%, max-content) minmax(15%, auto); -} -.three-column-summary { - display: grid; - grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, auto); -} -.four-column-summary { - display: grid; - grid-template-columns: minmax(10%, max-content) minmax(10%, max-content) minmax(10%, max-content) minmax(10%, auto); -} -@media screen and (max-width: 600px) { - .two-column-summary { - display: grid; - grid-template-columns: 1fr; - } -} -@media screen and (max-width: 800px) { - .three-column-summary { - display: grid; - grid-template-columns: minmax(10%, max-content) minmax(25%, auto); - } - .three-column-summary .col-last { - grid-column-end: span 2; - } -} -@media screen and (max-width: 1000px) { - .four-column-summary { - display: grid; - grid-template-columns: minmax(15%, max-content) minmax(15%, auto); - } -} -.summary-table > div, .details-table > div { - text-align:left; - padding: 8px 3px 3px 7px; -} -.col-first, .col-second, .col-last, .col-constructor-name, .col-summary-item-name { - vertical-align:top; - padding-right:0; - padding-top:8px; - padding-bottom:3px; -} -.table-header { - background:#dee3e9; - font-weight: bold; -} -.col-first, .col-first { - font-size:13px; -} -.col-second, .col-second, .col-last, .col-constructor-name, .col-summary-item-name, .col-last { - font-size:13px; -} -.col-first, .col-second, .col-constructor-name { - vertical-align:top; - overflow: auto; -} -.col-last { - white-space:normal; -} -.col-first a:link, .col-first a:visited, -.col-second a:link, .col-second a:visited, -.col-first a:link, .col-first a:visited, -.col-second a:link, .col-second a:visited, -.col-constructor-name a:link, .col-constructor-name a:visited, -.col-summary-item-name a:link, .col-summary-item-name a:visited, -.constant-values-container a:link, .constant-values-container a:visited, -.all-classes-container a:link, .all-classes-container a:visited, -.all-packages-container a:link, .all-packages-container a:visited { - font-weight:bold; -} -.table-sub-heading-color { - background-color:#EEEEFF; -} -.even-row-color, .even-row-color .table-header { - background-color:#FFFFFF; -} -.odd-row-color, .odd-row-color .table-header { - background-color:#EEEEEF; -} -/* - * Styles for contents. - */ -.deprecated-content { - margin:0; - padding:10px 0; -} -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} -.col-last div { - padding-top:0; -} -.col-last a { - padding-bottom:3px; -} -.module-signature, -.package-signature, -.type-signature, -.member-signature { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - margin:14px 0; - white-space: pre-wrap; -} -.module-signature, -.package-signature, -.type-signature { - margin-top: 0; -} -.member-signature .type-parameters-long, -.member-signature .parameters, -.member-signature .exceptions { - display: inline-block; - vertical-align: top; - white-space: pre; -} -.member-signature .type-parameters { - white-space: normal; -} -/* - * Styles for formatting effect. - */ -.source-line-no { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:0 10px 5px 0; - color:#474747; -} -.deprecated-label, .descfrm-type-label, .implementation-label, .member-name-label, .member-name-link, -.module-label-in-package, .module-label-in-type, .override-specify-label, .package-label-in-type, -.package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link, .preview-label { - font-weight:bold; -} -.deprecation-comment, .help-footnote, .preview-comment { - font-style:italic; -} -.deprecation-block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; - border-style:solid; - border-width:thin; - border-radius:10px; - padding:10px; - margin-bottom:10px; - margin-right:10px; - display:inline-block; -} -.preview-block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; - border-style:solid; - border-width:thin; - border-radius:10px; - padding:10px; - margin-bottom:10px; - margin-right:10px; - display:inline-block; -} -div.block div.deprecation-comment { - font-style:normal; -} -/* - * Styles specific to HTML5 elements. - */ -main, nav, header, footer, section { - display:block; -} -/* - * Styles for javadoc search. - */ -.ui-autocomplete-category { - font-weight:bold; - font-size:15px; - padding:7px 0 7px 3px; - background-color:#4D7A97; - color:#FFFFFF; -} -.result-item { - font-size:13px; -} -.ui-autocomplete { - max-height:85%; - max-width:65%; - overflow-y:scroll; - overflow-x:scroll; - white-space:nowrap; - box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); -} -ul.ui-autocomplete { - position:fixed; - z-index:999999; -} -ul.ui-autocomplete li { - float:left; - clear:both; - width:100%; -} -.result-highlight { - font-weight:bold; -} -#search-input { - background-image:url('resources/glass.png'); - background-size:13px; - background-repeat:no-repeat; - background-position:2px 3px; - padding-left:20px; - position:relative; - right:-18px; - width:400px; -} -#reset-button { - background-color: rgb(255,255,255); - background-image:url('resources/x.png'); - background-position:center; - background-repeat:no-repeat; - background-size:12px; - border:0 none; - width:16px; - height:16px; - position:relative; - left:-4px; - top:-4px; - font-size:0px; -} -.watermark { - color:#545454; -} -.search-tag-desc-result { - font-style:italic; - font-size:11px; -} -.search-tag-holder-result { - font-style:italic; - font-size:12px; -} -.search-tag-result:target { - background-color:yellow; -} -.module-graph span { - display:none; - position:absolute; -} -.module-graph:hover span { - display:block; - margin: -100px 0 0 100px; - z-index: 1; -} -.inherited-list { - margin: 10px 0 10px 0; -} -section.class-description { - line-height: 1.4; -} -.summary section[class$="-summary"], .details section[class$="-details"], -.class-uses .detail, .serialized-class-details { - padding: 0px 20px 5px 10px; - border: 1px solid #ededed; - background-color: #f8f8f8; -} -.inherited-list, section[class$="-details"] .detail { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -.vertical-separator { - padding: 0 5px; -} -ul.help-section-list { - margin: 0; -} -ul.help-subtoc > li { - display: inline-block; - padding-right: 5px; - font-size: smaller; -} -ul.help-subtoc > li::before { - content: "\2022" ; - padding-right:2px; -} -span.help-note { - font-style: italic; -} -/* - * Indicator icon for external links. - */ -main a[href*="://"]::after { - content:""; - display:inline-block; - background-image:url('data:image/svg+xml; utf8, \ - \ - \ - '); - background-size:100% 100%; - width:7px; - height:7px; - margin-left:2px; - margin-bottom:4px; -} -main a[href*="://"]:hover::after, -main a[href*="://"]:focus::after { - background-image:url('data:image/svg+xml; utf8, \ - \ - \ - '); -} - -/* - * Styles for user-provided tables. - * - * borderless: - * No borders, vertical margins, styled caption. - * This style is provided for use with existing doc comments. - * In general, borderless tables should not be used for layout purposes. - * - * plain: - * Plain borders around table and cells, vertical margins, styled caption. - * Best for small tables or for complex tables for tables with cells that span - * rows and columns, when the "striped" style does not work well. - * - * striped: - * Borders around the table and vertical borders between cells, striped rows, - * vertical margins, styled caption. - * Best for tables that have a header row, and a body containing a series of simple rows. - */ - -table.borderless, -table.plain, -table.striped { - margin-top: 10px; - margin-bottom: 10px; -} -table.borderless > caption, -table.plain > caption, -table.striped > caption { - font-weight: bold; - font-size: smaller; -} -table.borderless th, table.borderless td, -table.plain th, table.plain td, -table.striped th, table.striped td { - padding: 2px 5px; -} -table.borderless, -table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, -table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { - border: none; -} -table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { - background-color: transparent; -} -table.plain { - border-collapse: collapse; - border: 1px solid black; -} -table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { - background-color: transparent; -} -table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, -table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { - border: 1px solid black; -} -table.striped { - border-collapse: collapse; - border: 1px solid black; -} -table.striped > thead { - background-color: #E3E3E3; -} -table.striped > thead > tr > th, table.striped > thead > tr > td { - border: 1px solid black; -} -table.striped > tbody > tr:nth-child(even) { - background-color: #EEE -} -table.striped > tbody > tr:nth-child(odd) { - background-color: #FFF -} -table.striped > tbody > tr > th, table.striped > tbody > tr > td { - border-left: 1px solid black; - border-right: 1px solid black; -} -table.striped > tbody > tr > th { - font-weight: normal; -} -/** - * Tweak font sizes and paddings for small screens. - */ -@media screen and (max-width: 1050px) { - #search-input { - width: 300px; - } -} -@media screen and (max-width: 800px) { - #search-input { - width: 200px; - } - .top-nav, - .bottom-nav { - font-size: 11px; - padding-top: 6px; - } - .sub-nav { - font-size: 11px; - } - .about-language { - padding-right: 16px; - } - ul.nav-list li, - .sub-nav .nav-list-search { - padding: 6px; - } - ul.sub-nav-list li { - padding-top: 5px; - } - main { - padding: 10px; - } - .summary section[class$="-summary"], .details section[class$="-details"], - .class-uses .detail, .serialized-class-details { - padding: 0 8px 5px 8px; - } - body { - -webkit-text-size-adjust: none; - } -} -@media screen and (max-width: 500px) { - #search-input { - width: 150px; - } - .top-nav, - .bottom-nav { - font-size: 10px; - } - .sub-nav { - font-size: 10px; - } - .about-language { - font-size: 10px; - padding-right: 12px; - } -} +/* + * Javadoc style sheet + */ + +@import url('resources/fonts/dejavu.css'); + +/* + * Styles for individual HTML elements. + * + * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular + * HTML element throughout the page. + */ + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; + padding:0; + height:100%; + width:100%; +} +iframe { + margin:0; + padding:0; + height:100%; + width:100%; + overflow-y:scroll; + border:none; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a[href]:hover, a[href]:focus { + text-decoration:none; + color:#bb7a2a; +} +a[name] { + color:#353833; +} +a[name]:before, a[name]:target, a[id]:before, a[id]:target { + content:""; + display:inline-block; + position:relative; + padding-top:129px; + margin-top:-129px; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} + +/* + * Styles for HTML generated by javadoc. + * + * These are style classes that are used by the standard doclet to generate HTML documentation. + */ + +/* + * Styles for document title and copyright. + */ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.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; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* + * Styles for navigation bar. + */ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.navPadding { + padding-top: 107px; +} +.fixedNav { + position:fixed; + width:100%; + z-index:999; + background-color:#ffffff; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.navListSearch { + float:right; + margin:0 0 0 0; + padding:0; +} +ul.navListSearch li { + list-style:none; + float:right; + padding: 5px 6px; + text-transform:uppercase; +} +ul.navListSearch li label { + position:relative; + right:-16px; +} +ul.subNavList li { + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* + * Styles for page header and footer. + */ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexNav { + position:relative; + font-size:12px; + background-color:#dee3e9; +} +.indexNav ul { + margin-top:0; + padding:5px; +} +.indexNav ul li { + display:inline; + list-style-type:none; + padding-right:10px; + text-transform:uppercase; +} +.indexNav h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* + * Styles for headings. + */ +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:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* + * Styles for page layout containers. + */ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer, +.allClassesContainer, .allPackagesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +.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; +} +/* + * Styles for lists. + */ +li.circle { + list-style:circle; +} +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:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +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:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +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; +} +/* + * Styles for tables. + */ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary, +.requiresSummary, .packagesSummary, .providesSummary, .usesSummary { + width:100%; + border-spacing:0; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary, .requiresSummary, .packagesSummary, .providesSummary, .usesSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption, +.requiresSummary caption, .packagesSummary caption, .providesSummary caption, .usesSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.constantsSummary caption a:link, .deprecatedSummary caption a:link, +.requiresSummary caption a:link, .packagesSummary caption a:link, .providesSummary caption a:link, +.usesSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.requiresSummary caption a:hover, .packagesSummary caption a:hover, .providesSummary caption a:hover, +.usesSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.constantsSummary caption a:active, .deprecatedSummary caption a:active, +.requiresSummary caption a:active, .packagesSummary caption a:active, .providesSummary caption a:active, +.usesSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.constantsSummary caption a:visited, .deprecatedSummary caption a:visited, +.requiresSummary caption a:visited, .packagesSummary caption a:visited, .providesSummary caption a:visited, +.usesSummary caption a:visited { + color:#FFFFFF; +} +.useSummary caption a:link, .useSummary caption a:hover, .useSummary caption a:active, +.useSummary caption a:visited { + color:#1f389c; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span, +.requiresSummary caption span, .packagesSummary caption span, .providesSummary caption span, +.usesSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span, .packagesSummary caption span.activeTableTab span, +.overviewSummary caption span.activeTableTab span, .typeSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span, .packagesSummary caption span.tableTab span, +.overviewSummary caption span.tableTab span, .typeSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab, +.packagesSummary caption span.tableTab, .packagesSummary caption span.activeTableTab, +.overviewSummary caption span.tableTab, .overviewSummary caption span.activeTableTab, +.typeSummary caption span.tableTab, .typeSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd, +.requiresSummary .tabEnd, .packagesSummary .tabEnd, .providesSummary .tabEnd, .usesSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd, .packagesSummary .activeTableTab .tabEnd, +.overviewSummary .activeTableTab .tabEnd, .typeSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd, .packagesSummary .tableTab .tabEnd, +.overviewSummary .tableTab .tabEnd, .typeSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; +} +.rowColor th, .altColor th { + font-weight:normal; +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td, +.requiresSummary td, .packagesSummary td, .providesSummary td, .usesSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .useSummary th, +.constantsSummary th, .packagesSummary th, td.colFirst, td.colSecond, td.colLast, .useSummary td, +.constantsSummary td { + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .constantsSummary th, +.packagesSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + font-size:13px; +} +td.colSecond, th.colSecond, td.colLast, th.colConstructorName, th.colDeprecatedItemName, th.colLast { + font-size:13px; +} +.constantsSummary th, .packagesSummary th { + font-size:13px; +} +.providesSummary th.colFirst, .providesSummary th.colLast, .providesSummary td.colFirst, +.providesSummary td.colLast { + white-space:normal; + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.requiresSummary td.colFirst, .requiresSummary th.colFirst, +.packagesSummary td.colFirst, .packagesSummary td.colSecond, .packagesSummary th.colFirst, .packagesSummary th, +.usesSummary td.colFirst, .usesSummary th.colFirst, +.providesSummary td.colFirst, .providesSummary th.colFirst, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colSecond, .memberSummary th.colSecond, .memberSummary th.colConstructorName, +.typeSummary td.colFirst, .typeSummary th.colFirst { + vertical-align:top; +} +.packagesSummary th.colLast, .packagesSummary td.colLast { + white-space:normal; +} +td.colFirst a:link, td.colFirst a:visited, +td.colSecond a:link, td.colSecond a:visited, +th.colFirst a:link, th.colFirst a:visited, +th.colSecond a:link, th.colSecond a:visited, +th.colConstructorName a:link, th.colConstructorName a:visited, +th.colDeprecatedItemName a:link, th.colDeprecatedItemName a:visited, +.constantValuesContainer td a:link, .constantValuesContainer td a:visited, +.allClassesContainer td a:link, .allClassesContainer td a:visited, +.allPackagesContainer td a:link, .allPackagesContainer td a:visited { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor, .altColor th { + background-color:#FFFFFF; +} +.rowColor, .rowColor th { + background-color:#EEEEEF; +} +/* + * Styles for contents. + */ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +td.colLast div { + padding-top:0px; +} +td.colLast a { + padding-bottom:3px; +} +/* + * Styles for formatting effect. + */ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .implementationLabel, .memberNameLabel, .memberNameLink, +.moduleLabelInPackage, .moduleLabelInType, .overrideSpecifyLabel, .packageLabelInType, +.packageHierarchyLabel, .paramLabel, .returnLabel, .seeLabel, .simpleTagLabel, +.throwsLabel, .typeNameLabel, .typeNameLink, .searchTagLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} +.deprecationBlock { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +div.block div.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} +div.contentContainer ul.blockList li.blockList h2 { + padding-bottom:0px; +} +/* + * Styles for IFRAME. + */ +.mainContainer { + margin:0 auto; + padding:0; + height:100%; + width:100%; + position:fixed; + top:0; + left:0; +} +.leftContainer { + height:100%; + position:fixed; + width:320px; +} +.leftTop { + position:relative; + float:left; + width:315px; + top:0; + left:0; + height:30%; + border-right:6px solid #ccc; + border-bottom:6px solid #ccc; +} +.leftBottom { + position:relative; + float:left; + width:315px; + bottom:0; + left:0; + height:70%; + border-right:6px solid #ccc; + border-top:1px solid #000; +} +.rightContainer { + position:absolute; + left:320px; + top:0; + bottom:0; + height:100%; + right:0; + border-left:1px solid #000; +} +.rightIframe { + margin:0; + padding:0; + height:100%; + right:30px; + width:100%; + overflow:visible; + margin-bottom:30px; +} +/* + * Styles specific to HTML5 elements. + */ +main, nav, header, footer, section { + display:block; +} +/* + * Styles for javadoc search. + */ +.ui-autocomplete-category { + font-weight:bold; + font-size:15px; + padding:7px 0 7px 3px; + background-color:#4D7A97; + color:#FFFFFF; +} +.resultItem { + font-size:13px; +} +.ui-autocomplete { + max-height:85%; + max-width:65%; + overflow-y:scroll; + overflow-x:scroll; + white-space:nowrap; + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); +} +ul.ui-autocomplete { + position:fixed; + z-index:999999; +} +ul.ui-autocomplete li { + float:left; + clear:both; + width:100%; +} +.resultHighlight { + font-weight:bold; +} +#search { + background-image:url('resources/glass.png'); + background-size:13px; + background-repeat:no-repeat; + background-position:2px 3px; + padding-left:20px; + position:relative; + right:-18px; +} +#reset { + background-color: rgb(255,255,255); + background-image:url('resources/x.png'); + background-position:center; + background-repeat:no-repeat; + background-size:12px; + border:0 none; + width:16px; + height:17px; + position:relative; + left:-4px; + top:-4px; + font-size:0px; +} +.watermark { + color:#545454; +} +.searchTagDescResult { + font-style:italic; + font-size:11px; +} +.searchTagHolderResult { + font-style:italic; + font-size:12px; +} +.searchTagResult:before, .searchTagResult:target { + color:red; +} +.moduleGraph span { + display:none; + position:absolute; +} +.moduleGraph:hover span { + display:block; + margin: -100px 0 0 100px; + z-index: 1; +} +.methodSignature { + white-space:normal; +} + +/* + * Styles for user-provided tables. + * + * borderless: + * No borders, vertical margins, styled caption. + * This style is provided for use with existing doc comments. + * In general, borderless tables should not be used for layout purposes. + * + * plain: + * Plain borders around table and cells, vertical margins, styled caption. + * Best for small tables or for complex tables for tables with cells that span + * rows and columns, when the "striped" style does not work well. + * + * striped: + * Borders around the table and vertical borders between cells, striped rows, + * vertical margins, styled caption. + * Best for tables that have a header row, and a body containing a series of simple rows. + */ + +table.borderless, +table.plain, +table.striped { + margin-top: 10px; + margin-bottom: 10px; +} +table.borderless > caption, +table.plain > caption, +table.striped > caption { + font-weight: bold; + font-size: smaller; +} +table.borderless th, table.borderless td, +table.plain th, table.plain td, +table.striped th, table.striped td { + padding: 2px 5px; +} +table.borderless, +table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, +table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { + border: none; +} +table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { + background-color: transparent; +} +table.plain { + border-collapse: collapse; + border: 1px solid black; +} +table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { + background-color: transparent; +} +table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, +table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { + border: 1px solid black; +} +table.striped { + border-collapse: collapse; + border: 1px solid black; +} +table.striped > thead { + background-color: #E3E3E3; +} +table.striped > thead > tr > th, table.striped > thead > tr > td { + border: 1px solid black; +} +table.striped > tbody > tr:nth-child(even) { + background-color: #EEE +} +table.striped > tbody > tr:nth-child(odd) { + background-color: #FFF +} +table.striped > tbody > tr > th, table.striped > tbody > tr > td { + border-left: 1px solid black; + border-right: 1px solid black; +} +table.striped > tbody > tr > th { + font-weight: normal; +} diff --git a/eigeneAlgorithmen/GraphAlgo_Coloring_Schueler.ctxt b/eigeneAlgorithmen/GraphAlgo_Coloring_Schueler.ctxt index 2f5ba81..4a407d4 100644 --- a/eigeneAlgorithmen/GraphAlgo_Coloring_Schueler.ctxt +++ b/eigeneAlgorithmen/GraphAlgo_Coloring_Schueler.ctxt @@ -1,6 +1,6 @@ #BlueJ class context comment0.target=GraphAlgo_Coloring_Schueler -comment0.text=\n\ Dieser\ Algorithmus\ f\u00E4rbt\ einen\ Graphen,\ so\ dass\ keine\ benachbarten\ Knoten\n\ die\ gleiche\ Farbe\ haben\ und\ m\u00F6glichst\ wenige\ Farben\ benutzt\ werden.\n\ Algorithmus\:\ Beispieldatei,\ in\ der\ Sch\u00FCler\ den\ Algorithmus\ selbst\ umsetzen\ k\u00F6nnen\n\n\ @version\ 1.0\ from\ 10.12.2020\n\ @author\ Thomas\ Schaller\n +comment0.text=\r\n\ Dieser\ Algorithmus\ f\u00E4rbt\ einen\ Graphen,\ so\ dass\ keine\ benachbarten\ Knoten\r\n\ die\ gleiche\ Farbe\ haben\ und\ m\u00F6glichst\ wenige\ Farben\ benutzt\ werden.\r\n\ Algorithmus\:\ Beispieldatei,\ in\ der\ Sch\u00FCler\ den\ Algorithmus\ selbst\ umsetzen\ k\u00F6nnen\r\n\r\n\ @version\ 1.0\ from\ 10.12.2020\r\n\ @author\ Thomas\ Schaller\r\n comment1.params= comment1.target=java.lang.String\ getBezeichnung() comment2.params= diff --git a/eigeneAlgorithmen/GraphAlgo_Coloring_Schueler.java b/eigeneAlgorithmen/GraphAlgo_Coloring_Schueler.java index b86d12f..e6e8822 100644 --- a/eigeneAlgorithmen/GraphAlgo_Coloring_Schueler.java +++ b/eigeneAlgorithmen/GraphAlgo_Coloring_Schueler.java @@ -19,7 +19,7 @@ import algorithmen.*; public class GraphAlgo_Coloring_Schueler extends GraphAlgo { - + Graph gr; public String getBezeichnung() { return "Greedy-Coloring (toDo)"; @@ -29,7 +29,8 @@ public class GraphAlgo_Coloring_Schueler extends GraphAlgo { // Anfang Methoden public void fuehreAlgorithmusAus() { - getStartKnoten().setFarbe(3); + gr = getGraph(); + getStartKnoten().setFarbe(3); // Hole alle Knoten vom Graph g diff --git a/eigeneAlgorithmen/package.bluej b/eigeneAlgorithmen/package.bluej index ed5c45c..864787f 100644 --- a/eigeneAlgorithmen/package.bluej +++ b/eigeneAlgorithmen/package.bluej @@ -1,27 +1,34 @@ -#BlueJ package file -objectbench.height=93 -objectbench.width=776 -package.divider.horizontal=0.599476439790576 -package.divider.vertical=0.8003992015968064 -package.editor.height=394 -package.editor.width=659 -package.editor.x=819 -package.editor.y=382 -package.frame.height=600 -package.frame.width=800 -package.numDependencies=0 -package.numTargets=1 -package.showExtends=true -package.showUses=true -readme.height=60 -readme.name=@README -readme.width=49 -readme.x=10 -readme.y=10 -target1.height=50 -target1.name=GraphAlgo_Coloring_Schueler -target1.showInterface=false -target1.type=ClassTarget -target1.width=220 -target1.x=10 -target1.y=90 +#BlueJ package file +objectbench.height=93 +objectbench.width=760 +package.divider.horizontal=0.599476439790576 +package.divider.vertical=0.8 +package.editor.height=393 +package.editor.width=649 +package.editor.x=819 +package.editor.y=382 +package.frame.height=600 +package.frame.width=800 +package.numDependencies=0 +package.numTargets=2 +package.showExtends=true +package.showUses=true +readme.height=60 +readme.name=@README +readme.width=49 +readme.x=10 +readme.y=10 +target1.height=70 +target1.name=GraphAlgo_Dijkstra_Eigener +target1.showInterface=false +target1.type=ClassTarget +target1.width=200 +target1.x=70 +target1.y=10 +target2.height=50 +target2.name=GraphAlgo_Coloring_Schueler +target2.showInterface=false +target2.type=ClassTarget +target2.width=210 +target2.x=10 +target2.y=90 diff --git a/graph/Graph.java b/graph/Graph.java index 8c601c5..2f104bf 100644 --- a/graph/Graph.java +++ b/graph/Graph.java @@ -456,6 +456,7 @@ public class Graph if (!isKnotenEnthalten(k)){ kList.add(k); adList.add(new ArrayList()); + k.setGraph(this); } } @@ -493,6 +494,7 @@ public class Graph } adList.remove(index); kList.remove(k); + k.setGraph(null); return true; } @@ -577,6 +579,7 @@ public class Graph adList.get(kList.indexOf(e.getStart())).add(e); if(!gerichtet) adList.get(kList.indexOf(e.getZiel())).add(e); kaList.add(e); + e.setGraph(this); } /** @@ -625,8 +628,10 @@ public class Graph } } kaList.remove(e1); + e1.setGraph(null); if(!gerichtet) { kaList.remove(e2); + e2.setGraph(null); } } @@ -654,6 +659,8 @@ public class Graph * Loescht den gesamten Graphen */ public void loescheAlles() { + for(Kante k : kaList) k.setGraph(null); + for(Knoten k : kList) k.setGraph(null); adList.clear(); kList.clear(); kaList.clear(); diff --git a/graph/Graph.uml b/graph/Graph.uml index ee8976c..10d13d4 100644 --- a/graph/Graph.uml +++ b/graph/Graph.uml @@ -1,16 +1,16 @@ -[Diagram] -comments=0 -OffsetX=0 -OffsetY=0 -Visibility=0 -ShowParameter=4 -SortOrder=0 -ShowIcons=0 -ShowConnections=0 -Fontname=Segoe UI -Fontsize=10 -ShowObjectDiagram=0 - -[Interactive] -I0= - +[Diagram] +comments=0 +OffsetX=0 +OffsetY=0 +Visibility=0 +ShowParameter=4 +SortOrder=0 +ShowIcons=0 +ShowConnections=0 +Fontname=Segoe UI +Fontsize=10 +ShowObjectDiagram=0 + +[Interactive] +I0= + diff --git a/graph/GraphElement.java b/graph/GraphElement.java index d665af8..e96d0fb 100644 --- a/graph/GraphElement.java +++ b/graph/GraphElement.java @@ -1,16 +1,229 @@ package graph; - +import java.util.HashMap; +import java.util.List; +import java.util.Arrays; /** * Die Klasse GraphElement ist eine Oberklasse von Knoten und Kanten. * Sie ist nur für die interne Verarbeitung wichtig. * * @author Thomas Schaller - * @version v1.1 + * @version 28.02.2023 (v7.0) + * v7.0: Die am Element gespeicherten Informationen werden in einer Hashmap gespeichert. Daher können beliebige weitere Informationen abgelegt werden. + * Es wird auch gespeichert, als welcher Typ die Information übergeben wurde. */ public abstract class GraphElement implements Comparable { - public abstract int compareTo(GraphElement e); - public abstract String getStatus(); - public abstract void setStatus(String status); + protected HashMap daten; + protected HashMap typen; + protected Graph g; + protected String sortierKriterium; + + public GraphElement() { + daten = new HashMap(); + typen = new HashMap(); + } + + /** + * Setzt den Status einer Kante, der in einem String gespeichert ist. + * Form: markiert,geloescht,farbe + * Dabei sind markiert und geloescht boolsche Werte (0 = false, 1 = true) und + * die farbe eine Zahl + * @param status Statusstring + */ + public void setStatus(String status) { + List items = Arrays.asList(status.split("\\s*,\\s*")); + for(int i=0; i< items.size(); i++) { + String[] pair = items.get(i).split(":"); + daten.put(pair[0], pair[1]); + } + } + + /** + * Liefert den Status einer Kante als String. + * Form: markiert,geloescht,farbe + * Dabei sind markiert und geloescht boolsche Werte (0 = false, 1 = true) und + * die farbe eine Zahl + * @return Statusstring + */ + public String getStatus() { + String s = ""; + for (String i : daten.keySet()) { + s = s + ","+i+":"+daten.get(i); + } + s = s.substring(1); + return s; + } + + + /** Setzt das Sortierkriterium des Knoten/der Kante. + * @param name Bezeichnung des Wertes nach dem sortiert werden soll + */ + public void setSortierkriterium(String name) { + sortierKriterium = name; + } + + /** Gibt die Beschreibung des Knoten / der Kante als Kurztext für die Anzeige im + * Kreis bzw. Kasten zurück. Dabei wird jeder Eintrag der Liste als eigene Zeile + * dargestellt. Es werden nur die Werte angezeigt. Es sind max. 2 Zeilen zulässig. + * @param namen Namen der Werte, die im Kurztext angezeigt werden sollen. + */ + public abstract List getKurztext(String[] namen); + + /** Gibt die Beschreibung des Knoten / der Kante als Langtext für die Anzeige im + * Tooltip-Fenster zurück. Dabei wird jeder Eintrag der Liste als eigene Zeile + * dargestellt. Es wird jeweils die Bezeichnung und der Wert ausgegeben. + * @param namen Namen der Werte, die im Tooltip angezeigt werden sollen. + */ + public abstract List getLangtext(String[] namen); + + /** Speichert den Graphen, in den Knoten/Kante eingefügt wurde. Damit kann er selbst seine Nummer + * ermitteln. + * @param g Graph + */ + public void setGraph(Graph g) { + this.g = g; + } + + /** Speichert zusätzliche Daten am Knoten oder der Kante + * @param name Bezeichnung der Art der Daten + * @param wert Wert der zu speichernden Daten + */ + public void set(String name, String wert) { + wert = wert.replaceAll(":", ""); + wert = wert.replaceAll(",", ""); + daten.put(name.toLowerCase(), wert); + typen.put(name.toLowerCase(), "String"); + } + + /** Speichert zusätzliche Daten am Knoten oder der Kante + * Double.POSITIVE_INFINITY bzw. NEGATIVE_INFINITY wird als +/- unendlich dargestellt + * @param name Bezeichnung der Art der Daten + * @param wert Wert der zu speichernden Daten + */ + public void set(String name, double wert) { + if(wert == Double.POSITIVE_INFINITY) { + daten.put(name.toLowerCase(), "\u221e"); + + } else { + if(wert == Double.NEGATIVE_INFINITY) { + daten.put(name.toLowerCase(), "-\u221e"); + + } else { + if((int) wert == wert) { + daten.put(name.toLowerCase(), ""+(int) wert); + } else { + daten.put(name.toLowerCase(), ""+wert); + } + } + } + typen.put(name.toLowerCase(), "Number"); + } + + /** Speichert zusätzliche Daten am Knoten oder der Kante + * Integer.MAX_VALUE bzw. MIN_VALUE werden als +/- unendlich dargestellt. + * @param name Bezeichnung der Art der Daten + * @param wert Wert der zu speichernden Daten + */ + public void set(String name, int wert) { + typen.put(name.toLowerCase(), "Number"); + + if(wert == Integer.MAX_VALUE) { + daten.put(name.toLowerCase(), "\u221e"); + return; + } + if(wert == Integer.MIN_VALUE) { + daten.put(name.toLowerCase(), "-\u221e"); + return; + } + daten.put(name.toLowerCase(), ""+wert); + } + + /** Speichert zusätzliche Daten am Knoten oder der Kante + * @param name Bezeichnung der Art der Daten + * @param wert Wert der zu speichernden Daten + */ + public void set(String name, boolean wert) { + typen.put(name.toLowerCase(), "Boolean"); + daten.put(name.toLowerCase(), ""+wert); + } + + /** Gibt zusätzliche Daten als String zurück + * @param name Bezeichnung der zusätzlichen Daten + * @return Wert von "name" oder "", wenn name nicht gespeichert ist + */ + public String getString(String name) { + if(daten.containsKey(name.toLowerCase())) { + return daten.get(name.toLowerCase()); + } else { + return ""; + } + } + + /** Gibt zusätzliche Daten als int zurück + * @param name Bezeichnung der zusätzlichen Daten + * @return Wert von "name" oder 0, wenn name nicht gespeichert ist oder keine Zahl ist + */ + public int getInt(String name) { + try{ + if(daten.get(name.toLowerCase()).equals("\u221e")) return Integer.MAX_VALUE; + if(daten.get(name.toLowerCase()).equals("-\u221e")) return Integer.MIN_VALUE; + return Integer.parseInt(daten.get(name.toLowerCase())); + } catch(Exception e) { + return 0; + } + } + + /** Gibt zusätzliche Daten als int zurück + * @param name Bezeichnung der zusätzlichen Daten + * @return Wert von "name" oder 0, wenn name nicht gespeichert ist oder keine Zahl ist + */ + public double getDouble(String name) { + try{ + if(daten.get(name.toLowerCase()).equals("\u221e")) return Double.POSITIVE_INFINITY; + if(daten.get(name.toLowerCase()).equals("-\u221e")) return Double.NEGATIVE_INFINITY; + return Double.parseDouble(daten.get(name.toLowerCase())); + } catch(Exception e) { + return 0.0; + } + } + + /** Gibt zusätzliche Daten als int zurück + * @param name Bezeichnung der zusätzlichen Daten + * @return Wert von "name" oder false, wenn name nicht gespeichert ist oder kein Boolean ist + */ + public boolean getBoolean(String name) { + try{ + return Boolean.parseBoolean(daten.get(name.toLowerCase())); + } catch(Exception e) { + return false; + } + } + + /** Vergleicht den Knoten/Kante mit einem anderen Knoten/Kante bezüglich seines Sortierkriteriums + * Das Sortierkriterium ist normalerweise der "Wert", kann aber mit setSortierkriterium gesetzt werden. + * @param e anderer Knoten + * @return kleiner 0 der andere Knoten hat einen größeren Wert, größer 0 der andere Knoten hat einen kleineren Wert, gleich 0 beide sind gleich + */ + public int compareTo(GraphElement e) { + double w1, w2; + String s1 = sortierKriterium.toLowerCase(); + String s2 = e.sortierKriterium.toLowerCase(); + if(!typen.get(s1).equals(e.typen.get(s2))) return 0; + + if(typen.get(s1).equals("String")){ + return getString(s1).compareTo(e.getString(s2)); + } + if(typen.get(s1).equals("Number")){ + return (int) (getDouble(s1) - e.getDouble(s2)); + } + if(typen.get(s1).equals("Boolean")){ + if(getBoolean(s1) == e.getBoolean(s2)) return 0; + if(getBoolean(s1)) return 1; else return -1; + } + + return 0; + } + + } diff --git a/graph/GraphOptions.java b/graph/GraphOptions.java index 1dd1ae7..f20477e 100644 --- a/graph/GraphOptions.java +++ b/graph/GraphOptions.java @@ -7,10 +7,15 @@ import java.util.Arrays; * GraphPlotter angezeigt wird. * * @author Thomas Schaller - * @version v6.7 (9.12.2020) + * @version v7.0 (28.02.2023) + * v7.0 Angezeigte Informationen bei Knoten/Kanten können ausgewählt werden + * */ public class GraphOptions { + // Graph + Graph g; + // Bild public String bildDatei = ""; public boolean bildAnzeigen = false; @@ -21,6 +26,12 @@ public class GraphOptions public boolean showVertexValue = true; public boolean showVertexText = false; public boolean showVertexInfo = false; + + // Welche Informationen sollen bei Knoten und Kanten angezeigt werden + public String[] kanteKurztext; + public String[] kanteLangtext; + public String[] knotenKurztext = {"Wert"}; + public String[] knotenLangtext = {"Infotext","Wert","Markiert","Besucht"}; // Speicheroption public boolean saveAsMatrix = false; @@ -36,7 +47,15 @@ public class GraphOptions public GraphElement parent = null; public int auswahl = 0; // 0 = alle, 1 = Nachbarn, 2 = Single - public GraphOptions() { + public GraphOptions(Graph g) { + this.g = g; + if(g.isGewichtet()) { + kanteKurztext = new String[]{"Gewicht"}; + kanteLangtext = new String[]{"Gewicht","Markiert","Gelöscht"}; + } else { + kanteKurztext = new String[]{}; + kanteLangtext = new String[]{"Markiert","Gelöscht"}; + } } public void ladeGraph(Table csvParser) { @@ -145,7 +164,7 @@ public class GraphOptions } public GraphOptions copy() { - GraphOptions kopie = new GraphOptions(); + GraphOptions kopie = new GraphOptions(g); kopie.bildDatei= bildDatei; kopie.bildAnzeigen = bildAnzeigen; kopie.vertexSize = vertexSize; @@ -161,6 +180,10 @@ public class GraphOptions kopie.fokusArt = fokusArt; kopie.auswahl = auswahl; kopie.parent = parent; + kopie.kanteKurztext = kanteKurztext.clone(); + kopie.knotenKurztext = knotenKurztext.clone(); + kopie.kanteLangtext = kanteLangtext.clone(); + kopie.knotenLangtext = knotenLangtext.clone(); return kopie; } diff --git a/graph/GraphPlotter.java b/graph/GraphPlotter.java index d096f37..eb933f9 100644 --- a/graph/GraphPlotter.java +++ b/graph/GraphPlotter.java @@ -1,6 +1,11 @@ package graph; import imp.*; +import javafx.beans.property.BooleanProperty; +import javafx.beans.property.ObjectProperty; +import javafx.beans.property.SimpleObjectProperty; +import javafx.beans.property.SimpleBooleanProperty; +import java.awt.Graphics2D; import javafx.geometry.Point2D; import javafx.geometry.Pos; @@ -12,13 +17,18 @@ import java.util.ArrayList; import java.util.List; import javafx.scene.control.Tooltip; import javafx.util.Duration; +import javafx.animation.AnimationTimer; +import java.awt.image.*; import org.apache.commons.io.FileUtils; /** * Der GraphPlotter ist das Herzstueck der Visualisierung und dient als Schnittstelle zur GUI. * * @author Thomas Schaller - * @version 09.12.2020 (v6.7) + * @version 07.02.2023 (v7.0) + * v6.9: Context-Menü schließt, wenn an andere Stelle geklickt wird + * v7.0: MouseOver - Infos für Knoten und Kanten, Infos können ausgewählt werden. + * */ public class GraphPlotter extends PictureViewer { // Anfang Attribute @@ -38,6 +48,9 @@ public class GraphPlotter extends PictureViewer { private GraphElement restrictTo = null; private Point2D offset = new Point2D(0,0); + private ObjectProperty mouseLocation = new SimpleObjectProperty(new Point2D(0, 0)); + private BooleanProperty mouseMoving = new SimpleBooleanProperty(); + // private JTextArea jTAMeldungen = new JTextArea(""); // private JScrollPane jTAMeldungenScrollPane = new JScrollPane(jTAMeldungen); @@ -51,36 +64,41 @@ public class GraphPlotter extends PictureViewer { * @param String hintergrundBild Gibt den Namen eines Hintergrundbildes an */ public GraphPlotter() { - options = new GraphOptions(); graph = new Graph(); + options = new GraphOptions(graph); this.setStyle("-fx-background:#FFFFE8"); // add(jTAMeldungenScrollPane, BorderLayout.SOUTH); setOnMouseClicked(mouseEvent -> mouseClicked(mouseEvent)); - // setOnMouseMoved(mouseEvent -> { mouseX = mouseEvent.getSceneX(); mouseY = mouseEvent.getSceneY(); t.hide();}); this.widthProperty().addListener((value, oldWidth, newWidth) -> updateImage()); this.heightProperty().addListener((value, oldWidth, newWidth) -> updateImage()); - // t = new Tooltip(); - // Tooltip.install(this, t); - // t.setPrefWidth(80); - // t.setWrapText(true); - // t.setHideOnEscape(true); - // t.setStyle("-fx-background: rgba(30,30,30); -fx-text-fill: black; -fx-background-color: rgba(230,230,90,0.8);"+ - // "-fx-background-radius: 6px; -fx-background-insets: 0; -fx-padding: 0.667em 0.75em 0.667em 0.75em; "+ - // " -fx-effect: dropshadow( three-pass-box , rgba(0,0,0,0.5) , 10, 0.0 , 0 , 3 ); -fx-font-size: 0.85em;"); + setOnMouseMoved(e -> mouseLocation.set(new Point2D(e.getSceneX(), e.getSceneY()))); + mouseMoving.addListener((obs, wasMoving, isNowMoving) -> { + updateImage(); + }); - // t.setShowDelay(Duration.seconds(1)); - // t.setOnShowing(ev -> {// called just prior to being shown - // Point2D local = this.getContent().sceneToLocal(mouseX, mouseY); - // Knoten k = getKnotenAt((int) local.getX(), (int) local.getY()); - // if(k == null) { - // t.hide(); - // } else { - // t.setText("Knoten Nr. "+graph.getNummer(k)+"\nWert: "+k.getDoubleWert()); - // } - // }); + AnimationTimer timer = new AnimationTimer() { + private double lastMouseX ; + private double lastMouseY ; + long lastMouseMovement ; + long MIN_STATIONARY_TIME = 2000; + @Override + public void handle(long timestamp) { + double x = mouseLocation.get().getX(); + double y = mouseLocation.get().getY(); + if (Math.abs(lastMouseX-x) > 5 || Math.abs(lastMouseY-y)>5) { + lastMouseMovement = timestamp ; + lastMouseX = x; + lastMouseY = y; + } + + mouseMoving.set(timestamp - lastMouseMovement < MIN_STATIONARY_TIME); + + } + }; + timer.start(); } @@ -101,10 +119,10 @@ public class GraphPlotter extends PictureViewer { public void setRestrictTo(GraphElement k) { if(restrictTo != k) { - restrictTo = k; - selected.clear(); - if (k!= null) selected.add(k); - updateImage(); + restrictTo = k; + selected.clear(); + if (k!= null) selected.add(k); + updateImage(); } } @@ -175,7 +193,9 @@ public class GraphPlotter extends PictureViewer { Point2D local = this.getContent().sceneToLocal(mouseEvent.getSceneX(), mouseEvent.getSceneY()); Knoten k = getKnotenAt((int) local.getX(), (int) local.getY()); if(dragMode == 3 && k==null && getKanteAt((int) local.getX(), (int) local.getY())==null) { // neuer Knoten - graph.neuerKnoten(new Knoten((int)local.getX(), (int) local.getY())) ; + if(getContextMenu() == null) { + graph.neuerKnoten(new Knoten((int)local.getX(), (int) local.getY())) ; + } else { setContextMenu(null); } } else { if(dragMode == 2 && k != null && k != dragKnoten) { graph.neueKante(dragKnoten, k, 0.0); @@ -323,6 +343,9 @@ public class GraphPlotter extends PictureViewer { } public Picture updateImage() { + Picture p = new Picture(2000,2000,"FFFFE8"); + Graphics2D g = (Graphics2D) p.getImage().getGraphics(); + Knoten restrictToKnoten = null; Kante restrictToKante = null; if(restrictTo != null && restrictTo instanceof Knoten) restrictToKnoten = (Knoten) restrictTo; @@ -340,8 +363,6 @@ public class GraphPlotter extends PictureViewer { miny = Math.min(miny,k.getY()); } - Picture p = new Picture(2000,2000,"FFFFE8"); - if(restrictToKnoten != null) { knoten = graph.getNachbarknoten(restrictToKnoten); kanten = graph.getAusgehendeKanten(restrictToKnoten); @@ -464,15 +485,28 @@ public class GraphPlotter extends PictureViewer { } } - if(options.showEdgeWeights && graph.isGewichtet()) { + if(options.showEdgeWeights) { + double my = (startY+startY+endY)/3; double mx = (startX+startX+endX)/3; + p.fill(255); p.stroke(0); p.strokeWeight(1); - p.rect((int) mx-15, (int) my-7, 30, 16); - p.fill(0); - p.text(format(k.getGewicht()), (int) mx, (int) my); + + int lh = g.getFontMetrics().getAscent(); + List t = k.getKurztext(options.kanteKurztext); + if(t.size() == 1) { + p.rect((int) mx-15, (int) my-(lh+4)/2, 30, lh+4); + p.fill(0); + p.text(t.get(0), (int) mx, (int) my); + } + if(t.size() > 1) { + p.rect((int) mx-15, (int) my-(lh+2), 30, lh*2+4); + p.fill(0); + p.text(t.get(0), (int) mx, (int) my-lh/2); + p.text(t.get(1), (int) mx, (int) my+lh/2); + } } } } @@ -499,7 +533,14 @@ public class GraphPlotter extends PictureViewer { p.text(""+graph.getNummer(k), k.getX(), k.getY()); } else { if (options.showVertexValue) { - p.text(format(k.getDoubleWert()), k.getX(), k.getY()); + List t = k.getKurztext(options.knotenKurztext); + if(t.size() == 1) { + p.text(t.get(0), k.getX(), k.getY()); + } else { + int lh = g.getFontMetrics().getAscent(); + p.text(t.get(0), k.getX(), k.getY()-lh/2); + p.text(t.get(1), k.getX(), k.getY()+lh/2); + } } } @@ -511,6 +552,43 @@ public class GraphPlotter extends PictureViewer { } } + // Tooltip anzeigen, aber nicht wenn im Editiermodus + if(!mouseMoving.get() && !editable) { + Point2D local = this.getContent().sceneToLocal(mouseLocation.get().getX(), mouseLocation.get().getY()); + + int x = (int) local.getX(); + int y = (int) local.getY(); + + // sowohl bei Kante wie auch Knoten + GraphElement k = getKnotenAt(x,y); + if(k == null) { k = getKanteAt(x,y);} + if(k != null) { + p.fill(200); + p.stroke(0); + p.strokeWeight(2); + + List t; + if(k instanceof Knoten) t = k.getLangtext(options.knotenLangtext); + else t = k.getLangtext(options.kanteLangtext); + + // Größe des Kastens berechnen + int w = 0; + int lh = g.getFontMetrics().getAscent(); + int h = t.size() * lh; + for(int i = 0; i w) w = w2; + } + + // Rechteck mit Text ausgeben + p.rect(x, y, w+16, h+10); + p.fill("303030"); + for(int i = 0; i items = Arrays.asList(status.split("\\s*,\\s*")); - this.markiert = items.get(0).equals("1"); - this.geloescht = items.get(1).equals("1"); - this.farbe = Integer.parseInt(items.get(2)); - } - - /** - * Liefert den Status einer Kante als String. - * Form: markiert,geloescht,farbe - * Dabei sind markiert und geloescht boolsche Werte (0 = false, 1 = true) und - * die farbe eine Zahl - * @return Statusstring - */ - public String getStatus() { - return ""+(markiert ? "1," : "0,")+ (geloescht ? "1," : "0,")+ farbe; + set("Markiert", false); + set("Gelöscht", false); + set("Farbe", -1); } + /** + * Liefert einen kurzen Text, der den Wert des Knotens angibt und innerhalb der Kreises + * des Knotens angezeigt werden kann. + * @return Array von Anzeigezeilen (dürfen max. 2 sein) + */ + public List getKurztext(String[] namen) { + int l = Math.min(namen.length,2); + List t = new ArrayList(); + for(int i = 0; i getLangtext(String[] namen) { + int l = namen.length; + List t = new ArrayList(); + + String symbol = "<->"; + if(g.isGerichtet()) symbol = "->"; + if(!start.getInfotext().equals("") && !ziel.getInfotext().equals("")) { + t.add(start.getInfotext()+" "+symbol+" "+ziel.getInfotext()); + } else { + t.add("Knoten Nr."+g.getNummer(start)+" "+symbol+" Knoten Nr."+g.getNummer(ziel)); + } + + for(int i = 0; i=0 && farbe < 20) - this.farbe = farbe; + set("Farbe",farbe); } /** @@ -198,19 +218,10 @@ public class Kante extends GraphElement */ public void setStandardFarbe() { - farbe = -1; + setFarbe(-1); } - /** Vergleicht die Kante mit einer anderen Kante bezüglich ihres Gewichts - * @param e andere Kante - * @return kleiner 0 die andere Kante hat ein größeres Gewicht, größer 0 die andere Kante hat ein kleineres Gewicht, gleich 0 beides sind gleich - */ - public int compareTo(GraphElement e) { - double w1, w2; - if(e instanceof Knoten) w1 = ((Knoten) e).getDoubleWert(); else w1 = ((Kante) e).getGewicht(); - w2 = getGewicht(); - return (int) (w2-w1); - } + /** * Die Methode ueberschreibt die Methode toString() und gibt die String-Raepraesentation einer Kante zurueck @@ -219,7 +230,7 @@ public class Kante extends GraphElement */ @Override public String toString() { - return " --("+gewicht+")--> "; + return " --("+getGewicht()+")--> "; } } diff --git a/graph/Knoten.java b/graph/Knoten.java index a20b1b9..3df00cb 100644 --- a/graph/Knoten.java +++ b/graph/Knoten.java @@ -1,6 +1,7 @@ package graph; import java.util.List; import java.util.Arrays; +import java.util.ArrayList; /** * Diese Klasse Knoten definiert einen Knoten. @@ -8,17 +9,16 @@ import java.util.Arrays; * Im Infotext kann eine zusätzliche Information für die Anzeige gespeichert werden. * * @author Dirk Zechnall, Thomas Schaller - * @version 22.07.2020 (v6.4) + * @version 28.02.2023 (v7.0) + * v7.0: Die Knoteninformationen werden in einer Hashmap gespeichert. Daher können beliebige weitere Informationen abgelegt werden. */ public class Knoten extends GraphElement { - private String infotext; - private double wert; // wird z.B. fuer den Colorierungs-Algorithmus verwendet - speichert da die Farben (codiert als Zahlen) - private boolean istMarkiert = false; - private boolean istBesucht = false; + + private int x; private int y; - private int farbe = -1; + /** * Der Konstruktor erstellt einen neuen Knoten mit einem neuen Namen * @@ -26,10 +26,7 @@ public class Knoten extends GraphElement * @param y y-Position des Knotens */ public Knoten(int x, int y) { - this.x = x; - this.y = y; - wert = 0; - infotext = ""; + this(x,y,0); } /** @@ -40,62 +37,74 @@ public class Knoten extends GraphElement * @param neuerWert Der neue Wert des Knotens */ public Knoten(int x, int y, double neuerWert) { + super(); this.x = x; this.y = y; - wert = neuerWert; - infotext = ""; - } - - /** - * Setzt den Status eines Knotens aus einem Status-String - * Format: wert,markiert,besucht,farbe - * wobei wert eine double-Zahl, mariert und besucht ein boolean-Wert (0=false, 1 = true) und - * farbe eine zahl ist. - * - * @param status Der Statusstring - */ - public void setStatus(String status) { - List items = Arrays.asList(status.split("\\s*,\\s*")); - this.wert = Double.parseDouble(items.get(0)); // wird z.B. fuer den Colorierungs-Algorithmus verwendet - speichert da die Farben (codiert als Zahlen) - this.istMarkiert = items.get(1).equals("1"); - this.istBesucht = items.get(2).equals("1"); - this.farbe = Integer.parseInt(items.get(3)); - } - - /** - * Liefert den Status eines Knotens als Status-String - * Format: wert,markiert,besucht,farbe - * wobei wert eine double-Zahl, mariert und besucht ein boolean-Wert (0=false, 1 = true) und - * farbe eine zahl ist. - * - * @return Der Statusstring - */ - public String getStatus() { - return ""+wert+","+(istMarkiert ? "1," : "0,")+ (istBesucht ? "1," : "0,")+ farbe; + set("Wert",neuerWert); + set("Markiert", false); + set("Geloescht", false); + set("Farbe", -1); + setSortierkriterium("Wert"); } /** * Die Methode init initialisiert den Zustand eines Knotens */ protected void init() { - wert = 0.0; - farbe = -1; - istMarkiert = false; - istBesucht = false; + set("Wert", 0.0); + set("Farbe", -1); + set("Markiert", false); + set("Besucht", false); } + /** + * Liefert einen kurzen Text, der den Wert des Knotens angibt und innerhalb der Kreises + * des Knotens angezeigt werden kann. + * @return Array von Anzeigezeilen (dürfen max. 2 sein) + */ + public List getKurztext(String[] namen) { + int l = Math.min(namen.length,2); + List t = new ArrayList(); + for(int i = 0; i3) + t.add(text.substring(0,3)); + else + t.add(text); + } + return t; + } + + /** + * Liefert eine ausführliche Beschreibung der Werte des Knoten. Wird in dem Tooltext Fenster + * angezeigt, wenn man mit der Maus über den Knoten geht. + * @return Array von Anzeigezeilen + */ + public List getLangtext(String[] namen) { + int l = namen.length; + List t = new ArrayList(); + t.add("Knoten Nr. "+g.getNummer(this)); + for(int i = 0; i - + @@ -65,7 +65,7 @@ - + diff --git a/view/graphtab.fxml b/view/graphtab.fxml index 3a35b6f..ba2ea58 100644 --- a/view/graphtab.fxml +++ b/view/graphtab.fxml @@ -31,7 +31,7 @@ - + + + + + + + + + +