201202203204205206207208
/** * Notifica cuando el modelo de la gráfica cambia */ private void modeloGraficaChange() { fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent( this, CHANGE_MODELO_GRAFICA_COMIDA)); }
209210211212213214215216
/** * Notifica cuando cambia el modelo de la tabla */ private void modeloPoblacionChange() { fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent( this, CHANGE_MODELO_POBLACION_TABLA)); }
217218219220221222223224
/** * Notififca cuando cambia el modelo del comentario */ private void modeloComentarioChange() { fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent( this, CHANGE_MODELO_COMENTARIOS)); }
225226227228229230231232
/** * Notififca cuando cambia el modelo de la simulación */ private void modeloSimulacionChange() { fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent( this, CHANGE_MODELO_SIMULACION)); }
271272273274275276277278279
* @param nombrePoblacion String nombrePoblacion */ public void setNombrePoblacion(String nombrePoblacion) { this.nombrePoblacion = nombrePoblacion; fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(this, CHANGE_NOMBRE_POBLACION)); }
291292293294295296297298299
* @param String fecha */ public void setFecha(String fecha) { this.fecha = fecha; fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(this, CHANGE_FECHA)); }
311312313314315316317318319
* @param int tamanioPoblacion */ public void setTamanioPoblacion(int tamanioPoblacion) { this.tamanioPoblacion = tamanioPoblacion; fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(this, CHANGE_TAMANIO_POBLACION)); }
331332333334335336337338339
* @param int temperatura */ public void setTemperatura(int temperatura) { this.temperatura = temperatura; fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(this, CHANGE_TEMPERATURA)); }
351352353354355356357358359
* @param String escalaTemperatura */ public void setEscalaTemperatura(String escalaTemperatura) { this.escalaTemperatura = escalaTemperatura; fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(this, CHANGE_ESCALA_TEMPERATURA)); }
371372373374375376377378379
* @param String luminosidad */ public void setLuminosidad(String luminosidad) { this.luminosidad = luminosidad; fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(this, CHANGE_LUMINOSIDAD)); }