400401402403404405406407408
modeloGraficaChange(); } }); fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(this, CHANGE_MODELO_GRAFICA)); }
427428429430431432433434435
public void tableChanged(TableModelEvent e) { modeloPoblacionChange(); } }); fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(this, CHANGE_MODELO_POBLACION_GRAFICA)); }
459460461462463464465466467
public void removedComentario(ComentarioEvent ce) { modeloComentarioChange(); } }); fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(this, CHANGE_MODELO_COMENTARIOS)); }
493494495496497498499500501
int [][]bacteriasDia) {} @Override public void empezadaSimulacion() {} }); fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(this, CHANGE_MODELO_SIMULACION)); }
147148149150151152153154
/** * Notifica cuando el modelo de la gráfica cambia */ private void modeloGraficaChange() { fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent( this, CHANGE_MODELO_GRAFICA_COMIDA)); }
155156157158159160161162
/** * Notifica cuando cambia el modelo de la tabla */ private void modeloPoblacionChange() { fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent( this, CHANGE_MODELO_POBLACION_TABLA)); }
163164165166167168169170
/** * Notififca cuando cambia el modelo del comentario */ private void modeloComentarioChange() { fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent( this, CHANGE_MODELO_COMENTARIOS)); }
209210211212213214215216217
* @param nombrePoblacion String nombrePoblacion */ public void setNombrePoblacion(String nombrePoblacion) { this.nombrePoblacion = nombrePoblacion; fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(this, CHANGE_NOMBRE_POBLACION)); }
229230231232233234235236237
* @param String fecha */ public void setFecha(String fecha) { this.fecha = fecha; fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(this, CHANGE_FECHA)); }
249250251252253254255256257
* @param int tamanioPoblacion */ public void setTamanioPoblacion(int tamanioPoblacion) { this.tamanioPoblacion = tamanioPoblacion; fireModeloPoblacionPropertyChange(new PoblacionPropertyEvent(this, CHANGE_TAMANIO_POBLACION)); }