Package eas.simulation.spatial.sim2D.marbSimulation.endlAutomat.conditions

Examples of eas.simulation.spatial.sim2D.marbSimulation.endlAutomat.conditions.ConditionNummer


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


            this.conds[autNum] = cond;
           
            if (this.isSelektiert()) {
                this.vAut[autNum].setzeChanged();
                this.vAut[autNum].notifyObservers(
                        new ConditionNummer(this.conds[autNum].toString(),
                                            autNum));
            }
        }
       
        if (this.isSelektiert()) {
View Full Code Here

            this.conds[autNum] = cond;
           
            if (this.isSelektiert()) {
                this.vAut[autNum].setzeChanged();
                this.vAut[autNum].notifyObservers(
                        new ConditionNummer(this.conds[autNum].toString(),
                                            autNum));
            }
        }
       
        if (this.isSelektiert()) {
View Full Code Here

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

            this.conds[autNum] = cond;
           
            if (this.isSelektiert()) {
                this.vAut[autNum].setzeChanged();
                this.vAut[autNum].notifyObservers(
                        new ConditionNummer(this.conds[autNum].toString(),
                                            autNum));
            }
        }
       
        if (this.isSelektiert()) {
View Full Code Here

            this.conds[autNum] = cond;
           
            if (this.isSelektiert()) {
                this.vAut[autNum].setzeChanged();
                this.vAut[autNum].notifyObservers(
                        new ConditionNummer(this.conds[autNum].toString(),
                                            autNum));
            }
        }
       
        if (this.isSelektiert()) {
View Full Code Here

     */
    @Override
    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;
            this.setzeCond(cN.getAutNum(), cN.getSequenz());
           
            for (VisTrans v : this.aktVisTrans) {
                v.neuZeichnen();
            }
        }
View Full Code Here

TOP

Related Classes of eas.simulation.spatial.sim2D.marbSimulation.endlAutomat.conditions.ConditionNummer

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.