Package fmg.fmg8.endlAutomat

Examples of fmg.fmg8.endlAutomat.AutomatenNummer


        }

        if (this.isSelektiert()) {
            this.getAktVAut().setzeChanged();
            this.getAktVAut().notifyObservers(
                    new AutomatenNummer(
                            this.getAktVAut().erzeugeStringSeq(),
                            this.getAktAutNum()));
           
        }
    }
View Full Code Here


        this.mut.mutiere((Roboter) this);
       
        if (this.isSelektiert()) {
            this.vAut[this.aktAut].setzeChanged();
            this.vAut[this.aktAut].notifyObservers(
                    new AutomatenNummer(
                            this.vAut[this.aktAut].erzeugeStringSeq(),
                            this.aktAut));
           
        }
    }
View Full Code Here

        if (this.selektiert != sel) {
            this.selektiert = sel;

            this.vAut[this.aktAut].setzeChanged();
            this.vAut[this.aktAut].notifyObservers(
                new AutomatenNummer(this.vAut[this.aktAut].erzeugeStringSeq(),
                                    this.aktAut));
        }
    }
View Full Code Here

    public void simBeendet() {
        if (this.pars.getGraphisch().booleanValue()) {
            for (int i = 0; i < this.vAut.length; i++) {
                this.vAut[i].setzeChanged();
                this.vAut[i].notifyObservers(
                        new AutomatenNummer(this.vAut[i].erzeugeStringSeq(),
                                            i));
            }
        }
    }
View Full Code Here

       
        if (this.isSelektiert()) {
            for (int i = 0; i < this.vAut.length; i++) {
                this.vAut[i].setzeChanged();
                this.vAut[i].notifyObservers(
                    new AutomatenNummer(this.vAut[i].erzeugeStringSeq(),
                                        i));
            }
        }
    }
View Full Code Here

        }
       
        if (this.isSelektiert()) {
            this.vAut[autNum].setzeChanged();
            this.vAut[autNum].notifyObservers(
                    new AutomatenNummer(this.vAut[autNum].erzeugeStringSeq(),
                                        autNum));
        }
    }
View Full Code Here

     * @param arg
     *            Der Zusatzparameter.
     */
    public void update(final Observable o, final Object arg) {
        Knoten k;
        AutomatenNummer aN;
        ConditionNummer cN;
        int autNum;

        if (arg == null) {
            return;
        }

        if (arg.getClass().equals(Integer.class)) {
            // Neuer Automat wurde ausgew�hlt.
            autNum = ((Integer) arg).intValue();
            this.benutztAut = autNum;
            this.selectAktAut(false, autNum);
        } else if (arg.getClass().equals(Knoten.class)) {
            // Neuer Knoten wurde ausgew�hlt.
            k = (Knoten) arg;
            this.selKnoten(k, this.benutztAut);
        } else if (arg.getClass().equals(AutomatenNummer.class)) {
            // Sequenz wurde ver�ndert.
            aN = (AutomatenNummer) arg;
            this.erzeugeAusSequenz(aN.getAutNum(),
                                   aN.getSequenz(),
                                   null,
                                   false);
        } else if (arg.getClass().equals(ConditionNummer.class)) {
            // Bedingungen wurden ver�ndert.
            cN = (ConditionNummer) arg;
View Full Code Here

        this.mut.mutiere((Roboter) this);
       
        if (this.isSelektiert()) {
            this.vAut[this.aktAut].setzeChanged();
            this.vAut[this.aktAut].notifyObservers(
                    new AutomatenNummer(
                            this.vAut[this.aktAut].erzeugeStringSeq(),
                            this.aktAut));
           
        }
    }
View Full Code Here

        if (this.selektiert != sel) {
            this.selektiert = sel;

            this.vAut[this.aktAut].setzeChanged();
            this.vAut[this.aktAut].notifyObservers(
                new AutomatenNummer(this.vAut[this.aktAut].erzeugeStringSeq(),
                                    this.aktAut));
        }
    }
View Full Code Here

    public void simBeendet() {
        if (this.pars.getGraphisch().booleanValue()) {
            for (int i = 0; i < this.vAut.length; i++) {
                this.vAut[i].setzeChanged();
                this.vAut[i].notifyObservers(
                        new AutomatenNummer(this.vAut[i].erzeugeStringSeq(),
                                            i));
            }
        }
    }
View Full Code Here

TOP

Related Classes of fmg.fmg8.endlAutomat.AutomatenNummer

Copyright © 2018 www.massapicom. 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.