Las vistas fueron movidas con tal de conseguir un solo frame de programa y realizar todo el flujo dentro de el
This commit is contained in:
@@ -20,6 +20,14 @@ public class EstadoResultadoController extends BaseController{
|
||||
this.updateMonth();
|
||||
}
|
||||
|
||||
public EstadoResultadoView getView() {
|
||||
return view;
|
||||
}
|
||||
|
||||
public void update(){
|
||||
this.updateMonth();
|
||||
}
|
||||
|
||||
private void setupViewEvents() {
|
||||
this.view.getMonthCombo().addActionListener(e -> this.updateMonth());
|
||||
this.view.getYearSpinner().addChangeListener(e -> this.updateMonth());
|
||||
@@ -54,9 +62,7 @@ public class EstadoResultadoController extends BaseController{
|
||||
}
|
||||
|
||||
private void setupMovementViewEvents() {
|
||||
moveTo(this.view.getGastosGeneralesCuentaCorrienteFactura(), this.view.getGastosGeneralesCuentaCorrienteBoleta());
|
||||
moveTo(this.view.getGastosGeneralesCuentaCorrienteBoleta(), this.view.getGastosGeneralesCuentaCorrienteSinRespaldo());
|
||||
moveTo(this.view.getGastosGeneralesCuentaCorrienteSinRespaldo(), this.view.getGastosOperacionalesCostoVenta());
|
||||
|
||||
moveTo(this.view.getGastosOperacionalesCostoVenta(), this.view.getGastosOperacionalesRemuneraciones());
|
||||
moveTo(this.view.getGastosOperacionalesRemuneraciones(), this.view.getGastosOperacionalesFiniquitos());
|
||||
moveTo(this.view.getGastosOperacionalesFiniquitos(), this.view.getGastosOperacionalesAguinaldo());
|
||||
@@ -64,11 +70,17 @@ public class EstadoResultadoController extends BaseController{
|
||||
moveTo(this.view.getGastosOperacionalesBonos(), this.view.getGastosOperacionalesHonorariosContador());
|
||||
moveTo(this.view.getGastosOperacionalesHonorariosContador(), this.view.getGastosOperacionalesArriendo());
|
||||
moveTo(this.view.getGastosOperacionalesArriendo(), this.view.getServiciosAgua());
|
||||
|
||||
moveTo(this.view.getServiciosAgua(), this.view.getServiciosLuz());
|
||||
moveTo(this.view.getServiciosLuz(), this.view.getServiciosGas());
|
||||
moveTo(this.view.getServiciosGas(), this.view.getServiciosTelefono());
|
||||
moveTo(this.view.getServiciosTelefono(), this.view.getServiciosOtro());
|
||||
moveTo(this.view.getServiciosOtro(), this.view.getResumenPPM());
|
||||
moveTo(this.view.getServiciosOtro(), this.view.getGastosGeneralesCuentaCorrienteFactura());
|
||||
|
||||
moveTo(this.view.getGastosGeneralesCuentaCorrienteFactura(), this.view.getGastosGeneralesCuentaCorrienteBoleta());
|
||||
moveTo(this.view.getGastosGeneralesCuentaCorrienteBoleta(), this.view.getGastosGeneralesCuentaCorrienteSinRespaldo());
|
||||
moveTo(this.view.getGastosGeneralesCuentaCorrienteSinRespaldo(), this.view.getResumenPPM());
|
||||
|
||||
moveTo(this.view.getResumenPPM(), this.view.getResumenIVAFavor());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user