Package practica1.logic

Examples of practica1.logic.LogicPoblacion


        for(ControllerListener l : listenersController) {
            l.experimentoPrincipalChange(new ControllerListenerEvent(experimento));
        }
       
        for(ControllerExperimentoListener l : listenersExperimento) {
            l.addedExperimento(new ControllerExperimentoEvent(experimento));
        }
    }
View Full Code Here


                + " - " + poblacion.getNombrePoblacion());
            }
        });
       
        Controller.getInstance().addControllerPoblacionListener(
                new ControllerPoblacionListener() {

            @Override
            public void addedPoblacion(ControllerPoblacionEvent event) {}

            @Override
View Full Code Here

    /**
     * Lanza el evento a todos los escuchadores de que el experimento ha cambiado
     */
    private void fireExperimentoChange() {
        for(ExperimentoListener l : expListener) {
            l.modificadoExperimento(new ExperimentoEvent(this));
        }
    }
View Full Code Here

   
    /**
     * Notifica cuando el modelo de la gráfica cambia
     */
    private void modeloGraficaChange() {
        fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(
             this, CHANGE_MODELO_GRAFICA_COMIDA));  
    }
View Full Code Here

   
    /**
     * Notifica cuando cambia el modelo de la tabla
     */
    private void modeloPoblacionChange() {
        fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(
                this, CHANGE_MODELO_POBLACION_TABLA));
    }
View Full Code Here

   
    /**
     * Notififca cuando cambia el modelo del comentario
     */
    private void modeloComentarioChange() {
        fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(
                this, CHANGE_MODELO_COMENTARIOS));
    }
View Full Code Here

     * @param nombrePoblacion String nombrePoblacion
     */
    public void setNombrePoblacion(String nombrePoblacion) {
        this.nombrePoblacion = nombrePoblacion;
       
        fireModeloPoblacionPropertyChange(new
                        PoblacionPropertyEvent(this,
                        CHANGE_NOMBRE_POBLACION));
    }
View Full Code Here

     * @param String fecha
     */
    public void setFecha(String fecha) {
        this.fecha = fecha;
       
        fireModeloPoblacionPropertyChange(new
                        PoblacionPropertyEvent(this,
                        CHANGE_FECHA));
    }
View Full Code Here

     * @param int tamanioPoblacion
     */
    public void setTamanioPoblacion(int tamanioPoblacion) {
        this.tamanioPoblacion = tamanioPoblacion;
       
        fireModeloPoblacionPropertyChange(new
                        PoblacionPropertyEvent(this,
                        CHANGE_TAMANIO_POBLACION));
    }
View Full Code Here

     * @param int temperatura
     */
    public void setTemperatura(int temperatura) {
        this.temperatura = temperatura;
       
        fireModeloPoblacionPropertyChange(new
                        PoblacionPropertyEvent(this,
                        CHANGE_TEMPERATURA));
    }
View Full Code Here

TOP

Related Classes of practica1.logic.LogicPoblacion

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.