Examples of AusgMerkm


Examples of fmg.fmg8.graphVis.zeichenModi.AusgMerkm

            final int stufe,
            final Vektor2D linksOben,
            final double radius) {
       
        ArrayList<Object> liste = new ArrayList<Object>(6);
        AusgMerkm ausgGRUENAktiv = new AusgMerkm(
                Color.black, Color.green, true, true);
        AusgMerkm ausgGELBAktiv = new AusgMerkm(
                Color.black, Color.yellow, true, true);
        AusgMerkm ausgROTAktiv = new AusgMerkm(
                Color.black, Color.red, true, true);
        AusgMerkm ausgGRUENPassiv = new AusgMerkm(
                Color.black, new Color(200, 200, 200), true, true);
        AusgMerkm ausgGELBPassiv = new AusgMerkm(
                Color.black, new Color(200, 200, 200), true, true);
        AusgMerkm ausgROTPassiv = new AusgMerkm(
                Color.black, new Color(200, 200, 200), true, true);
        Polygon2D quad = new Polygon2D(4);
        Vektor2D xSub = new Vektor2D(radius * 1.5, 0);
        Vektor2D ySub = new Vektor2D(0, radius * 1.5);
        Vektor2D zwisch;
        zwisch = new Vektor2D(linksOben);
        zwisch.sub(xSub);
        zwisch.sub(ySub);
        quad.add(zwisch);

        zwisch = new Vektor2D(linksOben.x, linksOben.y + radius * 4 + radius);
        zwisch.sub(xSub);
        zwisch.add(ySub);
        quad.add(zwisch);

        zwisch = new Vektor2D(linksOben.x, linksOben.y + radius * 4 + radius);
        zwisch.add(xSub);
        zwisch.add(ySub);
        quad.add(zwisch);

        zwisch = new Vektor2D(linksOben.x, linksOben.y);
        zwisch.add(xSub);
        zwisch.sub(ySub);
        quad.add(zwisch);
       
        AusgMerkm zwAusg = new AusgMerkm(Color.black, Color.black, true, true);
        liste.add(zwAusg);
        liste.add(quad.toPol(1, Vektor2D.NULL_VEKTOR));
       
        Kreis2D k1 = new Kreis2D(
                linksOben.x,
View Full Code Here

Examples of fmg.fmg8.graphVis.zeichenModi.AusgMerkm

            Pol2DMitAusgMerkm[] segs;
           
            this.loescheSegs();
            this.addAllSegs(this.userSegs);

            AusgMerkm ausg = new AusgMerkm(
                    Color.black,
                    Color.white,
                    true,
                    true);

            if (this.pfeilPol.size() > 1 && this.zeichneGrundPfeil) {
                SegSpez segNeu = new SegSpez(
                        ausg,
                        0,
                        this.pfeilPol.size() - 1,
                        PfeilMaster.DOPPELSPITZES_ENDE,
                        PfeilMaster.EINFACHE_SPITZE_1,
                        new Vektor2D(1, 1),
                        new Vektor2D(1, 1));
               
                this.addSeg(segNeu, false);
               
            }

            segs = this.zeichenArt.erzeugePfeilsegmente(
                    this.pfeilPol,
                    this.dicken,
                    this.segBeschr,
                    this.pars);
           
            liste = Geometrie2D.erzeugeObjList(
                    segs,
                    this.skalierung,
                    this.verschiebung);

            if (this.markiereEcken) {
                AusgMerkm unmark1 = new AusgMerkm(
                        Color.black,
                        Color.white,
                        true,
                        true);
                AusgMerkm unmark2 = new AusgMerkm(
                        Color.black,
                        Color.white,
                        false,
                        false);
                AusgMerkm m1 = new AusgMerkm(
                        Color.black,
                        Color.red,
                        true,
                        true);
                AusgMerkm m2 = new AusgMerkm(
                        Color.black,
                        Color.yellow,
                        true,
                        true);
               
                ArrayList<Integer> markierung
                    = new ArrayList<Integer>(this.markierte.size());
               
                for (int i : this.markierte) {
                    markierung.add(i);
                }
               
                this.zeichenArt.markiereEcken(
                        this.pfeilPol.toPol(
                                this.skalierung,
                                this.verschiebung),
                        liste,
                        markierung,
                        m2,
                        unmark1,
                        4);
               
                markierung.clear();
               
                markierung.add(this.mark1);
                markierung.add(this.mark2);

                this.zeichenArt.markiereEcken(
                        this.pfeilPol.toPol(
                                this.skalierung,
                                this.verschiebung),
                        liste,
                        markierung,
                        m1,
                        unmark2,
                        4);
            }
           
            if (this.ersteEcke != null && this.zweiteEcke != null) {
                Polygon2D quad = new Polygon2D(4);
               
                quad.add(new Vektor2D(this.ersteEcke));
                quad.add(new Vektor2D(this.ersteEcke.x, this.zweiteEcke.y));
                quad.add(new Vektor2D(this.zweiteEcke));
                quad.add(new Vektor2D(this.zweiteEcke.x, this.ersteEcke.y));
               
                liste.add(new AusgMerkm(
                        Color.lightGray,
                        Color.black,
                        true,
                        false));
                liste.add(quad.toPol(this.skalierung, this.verschiebung));
            }
           
            LinkedList<AbstractMsg> msgsError
                = this.pars.getMsgs(
                    (new MsgError(null, 0, null)).getType(),
                    zeit,
                    Long.MAX_VALUE);

            LinkedList<AbstractMsg> msgsWarning
                = this.pars.getMsgs(
                    (new MsgWarning(null, 0, null)).getType(),
                    zeit,
                    Long.MAX_VALUE);

            if (this.fehlerStufe == 2 || !msgsError.isEmpty()) {
                liste.addAll(this.ampel(2, new Vektor2D(50, 50), 7));
            } else if (this.fehlerStufe == 1 || !msgsWarning.isEmpty()) {
                liste.addAll(this.ampel(1, new Vektor2D(50, 50), 7));
            } else {
                liste.addAll(this.ampel(0, new Vektor2D(50, 50), 7));
            }
           
            liste.add(new AusgMerkm(
                    Color.black,
                    Color.red,
                    true,
                    true));
            liste.addAll(this.fehlerQuellen(msgsError));
            liste.addAll(this.fehlerQuellen(msgsWarning));

            liste.add(new AusgMerkm(
                    Color.black,
                    Color.black,
                    true,
                    true,
                    "",
View Full Code Here

Examples of fmg.fmg8.graphVis.zeichenModi.AusgMerkm

                    ausg1 = JColorChooser.showDialog(this,
                            "Rahmenfarbe w�hlen", ausg1);
                    ausg2 = JColorChooser.showDialog(this, "F�llfarbe w�hlen",
                            ausg2);

                    this.aktAusg = new AusgMerkm(ausg1, ausg2, ausg1 != null,
                            ausg2 != null);

                    this.aktGrph.setzeAktSegAusg(this.aktAusg);
                } else if (cmd.equals("Speichern...")) {
                    AllgemeinerDialog diaAllg;
View Full Code Here

Examples of fmg.fmg8.graphVis.zeichenModi.AusgMerkm

        this.anfang = PfeilMaster.EINFACHE_SPITZE_1;
        this.anfFakt = 1;
        this.endFakt = 1;
      
        this.gestricheltMerkm = new AusgMerkm[2];
        this.gestricheltMerkm[0] = new AusgMerkm(
                Color.black,
                Color.blue,
                true,
                true);
        this.gestricheltMerkm[1] = new AusgMerkm(
                Color.black,
                Color.yellow,
                true,
                true);
       
View Full Code Here

Examples of fmg.fmg8.graphVis.zeichenModi.AusgMerkm

            final int stufe,
            final Vektor2D linksOben,
            final double radius) {
       
        ArrayList<Object> liste = new ArrayList<Object>(6);
        AusgMerkm ausgGRUENAktiv = new AusgMerkm(
                Color.black, Color.green, true, true);
        AusgMerkm ausgGELBAktiv = new AusgMerkm(
                Color.black, Color.yellow, true, true);
        AusgMerkm ausgROTAktiv = new AusgMerkm(
                Color.black, Color.red, true, true);
        AusgMerkm ausgGRUENPassiv = new AusgMerkm(
                Color.black, new Color(200, 200, 200), true, true);
        AusgMerkm ausgGELBPassiv = new AusgMerkm(
                Color.black, new Color(200, 200, 200), true, true);
        AusgMerkm ausgROTPassiv = new AusgMerkm(
                Color.black, new Color(200, 200, 200), true, true);
        Polygon2D quad = new Polygon2D(4);
        Vektor2D xSub = new Vektor2D(radius * 1.5, 0);
        Vektor2D ySub = new Vektor2D(0, radius * 1.5);
        Vektor2D zwisch;
        zwisch = new Vektor2D(linksOben);
        zwisch.sub(xSub);
        zwisch.sub(ySub);
        quad.add(zwisch);

        zwisch = new Vektor2D(linksOben.x, linksOben.y + radius * 4 + radius);
        zwisch.sub(xSub);
        zwisch.add(ySub);
        quad.add(zwisch);

        zwisch = new Vektor2D(linksOben.x, linksOben.y + radius * 4 + radius);
        zwisch.add(xSub);
        zwisch.add(ySub);
        quad.add(zwisch);

        zwisch = new Vektor2D(linksOben.x, linksOben.y);
        zwisch.add(xSub);
        zwisch.sub(ySub);
        quad.add(zwisch);
       
        AusgMerkm zwAusg = new AusgMerkm(Color.black, Color.black, true, true);
        liste.add(zwAusg);
        liste.add(quad.toPol(1, Vektor2D.NULL_VEKTOR));
       
        Kreis2D k1 = new Kreis2D(
                linksOben.x,
View Full Code Here

Examples of fmg.fmg8.graphVis.zeichenModi.AusgMerkm

            final double skal,
            final Vektor2D versch) {
        List<Object> liste = new ArrayList<Object>();
        Pol2DMitAusgMerkm[] segs;
       
        AusgMerkm ausg = new AusgMerkm(
                Color.black,
                Color.white,
                true,
                true);
View Full Code Here

Examples of fmg.fmg8.graphVis.zeichenModi.AusgMerkm

            liste = this.erzeugeZeichenObjekte(
                    this.skalierung,
                    this.verschiebung);

            if (this.markiereEcken) {
                AusgMerkm unmark1 = new AusgMerkm(
                        Color.black,
                        Color.white,
                        true,
                        true);
                AusgMerkm unmark2 = new AusgMerkm(
                        Color.black,
                        Color.white,
                        false,
                        false);
                AusgMerkm m1 = new AusgMerkm(
                        Color.black,
                        Color.red,
                        true,
                        true);
                AusgMerkm m2 = new AusgMerkm(
                        Color.black,
                        Color.yellow,
                        true,
                        true);
               
                ArrayList<Integer> markierung
                    = new ArrayList<Integer>(this.markierte.size());
               
                for (int i : this.markierte) {
                    markierung.add(i);
                }
               
                this.zeichenArt.markiereEcken(
                        this.pfeilPol.toPol(
                                this.skalierung,
                                this.verschiebung),
                        liste,
                        markierung,
                        m2,
                        unmark1,
                        4);
               
                markierung.clear();
               
                markierung.add(this.mark1);
                markierung.add(this.mark2);

                this.zeichenArt.markiereEcken(
                        this.pfeilPol.toPol(
                                this.skalierung,
                                this.verschiebung),
                        liste,
                        markierung,
                        m1,
                        unmark2,
                        4);
            }
           
            if (this.ersteEcke != null && this.zweiteEcke != null) {
                Polygon2D quad = new Polygon2D(4);
               
                quad.add(new Vektor2D(this.ersteEcke));
                quad.add(new Vektor2D(this.ersteEcke.x, this.zweiteEcke.y));
                quad.add(new Vektor2D(this.zweiteEcke));
                quad.add(new Vektor2D(this.zweiteEcke.x, this.ersteEcke.y));
               
                liste.add(new AusgMerkm(
                        Color.lightGray,
                        Color.black,
                        true,
                        false));
                liste.add(quad.toPol(this.skalierung, this.verschiebung));
            }
           
            LinkedList<AbstractMsg> msgsError
                = this.pars.getMsgs(
                    (new MsgError(null, 0, null)).getType(),
                    zeit,
                    Long.MAX_VALUE);

            LinkedList<AbstractMsg> msgsWarning
                = this.pars.getMsgs(
                    (new MsgWarning(null, 0, null)).getType(),
                    zeit,
                    Long.MAX_VALUE);

            if (this.fehlerStufe == 2 || !msgsError.isEmpty()) {
                liste.addAll(this.ampel(2, new Vektor2D(50, 50), 7));
            } else if (this.fehlerStufe == 1 || !msgsWarning.isEmpty()) {
                liste.addAll(this.ampel(1, new Vektor2D(50, 50), 7));
            } else {
                liste.addAll(this.ampel(0, new Vektor2D(50, 50), 7));
            }
           
            liste.add(new AusgMerkm(
                    Color.black,
                    Color.red,
                    true,
                    true));
            liste.addAll(this.fehlerQuellen(msgsError));
            liste.addAll(this.fehlerQuellen(msgsWarning));

            liste.add(new AusgMerkm(
                    Color.black,
                    Color.black,
                    true,
                    true,
                    "",
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.