diff --git a/.classpath b/.classpath index 08f7d5d..07c5b23 100644 --- a/.classpath +++ b/.classpath @@ -2,9 +2,9 @@ - - - - + + + + diff --git a/.config b/.config index eedc58b..37a4847 100644 --- a/.config +++ b/.config @@ -1,4 +1,4 @@ #Configuracion general -#Sat Nov 16 23:04:44 CET 2019 +#Sun Nov 17 14:23:42 CET 2019 tema=0 ruta=.mes diff --git a/.mes b/.mes index e68a0f5..73c5009 100644 Binary files a/.mes and b/.mes differ diff --git a/LGoodDatePicker-10.4.1-javadoc.jar b/LGoodDatePicker-10.4.1-javadoc.jar new file mode 100644 index 0000000..f8aa154 Binary files /dev/null and b/LGoodDatePicker-10.4.1-javadoc.jar differ diff --git a/LGoodDatePicker-10.4.1.jar b/LGoodDatePicker-10.4.1.jar new file mode 100644 index 0000000..e8d50fb Binary files /dev/null and b/LGoodDatePicker-10.4.1.jar differ diff --git a/bin/.gitignore b/bin/.gitignore index cbd64bd..86d6556 100644 --- a/bin/.gitignore +++ b/bin/.gitignore @@ -1,4 +1,3 @@ -/IniciarSesion/ -/VistaControlador/ /Logica/ +/VistaControlador/ /Ficheros/ diff --git a/bin/IniciarSesion/Usuario.class b/bin/IniciarSesion/Usuario.class new file mode 100644 index 0000000..a00334c Binary files /dev/null and b/bin/IniciarSesion/Usuario.class differ diff --git a/bin/IniciarSesion/Validacion.class b/bin/IniciarSesion/Validacion.class new file mode 100644 index 0000000..41e6917 Binary files /dev/null and b/bin/IniciarSesion/Validacion.class differ diff --git a/bin/Logica/Transaccion.class b/bin/Logica/Transaccion.class index c7630f2..a546cc5 100644 Binary files a/bin/Logica/Transaccion.class and b/bin/Logica/Transaccion.class differ diff --git a/bin/Main.class b/bin/Main.class index 5f2f877..cfeaff2 100644 Binary files a/bin/Main.class and b/bin/Main.class differ diff --git a/doc/Ficheros/Configuracion.html b/doc/Ficheros/Configuracion.html new file mode 100644 index 0000000..475b01c --- /dev/null +++ b/doc/Ficheros/Configuracion.html @@ -0,0 +1,301 @@ + + + + + +Configuracion + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
Ficheros
+

Class Configuracion

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/Ficheros/class-use/Configuracion.html b/doc/Ficheros/class-use/Configuracion.html new file mode 100644 index 0000000..4e3acf8 --- /dev/null +++ b/doc/Ficheros/class-use/Configuracion.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class Ficheros.Configuracion + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
Ficheros.Configuracion

+
+
No usage of Ficheros.Configuracion
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/Ficheros/package-frame.html b/doc/Ficheros/package-frame.html new file mode 100644 index 0000000..be79405 --- /dev/null +++ b/doc/Ficheros/package-frame.html @@ -0,0 +1,20 @@ + + + + + +Ficheros + + + + + +

Ficheros

+
+

Classes

+ +
+ + diff --git a/doc/Ficheros/package-summary.html b/doc/Ficheros/package-summary.html new file mode 100644 index 0000000..f1e5801 --- /dev/null +++ b/doc/Ficheros/package-summary.html @@ -0,0 +1,142 @@ + + + + + +Ficheros + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package Ficheros

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/Ficheros/package-tree.html b/doc/Ficheros/package-tree.html new file mode 100644 index 0000000..fa2cca4 --- /dev/null +++ b/doc/Ficheros/package-tree.html @@ -0,0 +1,137 @@ + + + + + +Ficheros Class Hierarchy + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package Ficheros

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/Ficheros/package-use.html b/doc/Ficheros/package-use.html new file mode 100644 index 0000000..1be14be --- /dev/null +++ b/doc/Ficheros/package-use.html @@ -0,0 +1,124 @@ + + + + + +Uses of Package Ficheros + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Package
Ficheros

+
+
No usage of Ficheros
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/IniciarSesion/Usuario.html b/doc/IniciarSesion/Usuario.html new file mode 100644 index 0000000..964a24e --- /dev/null +++ b/doc/IniciarSesion/Usuario.html @@ -0,0 +1,297 @@ + + + + + +Usuario + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
IniciarSesion
+

Class Usuario

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/IniciarSesion/Validacion.html b/doc/IniciarSesion/Validacion.html new file mode 100644 index 0000000..d914850 --- /dev/null +++ b/doc/IniciarSesion/Validacion.html @@ -0,0 +1,237 @@ + + + + + +Validacion + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
IniciarSesion
+

Class Validacion

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/IniciarSesion/class-use/Usuario.html b/doc/IniciarSesion/class-use/Usuario.html new file mode 100644 index 0000000..6ef2219 --- /dev/null +++ b/doc/IniciarSesion/class-use/Usuario.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class IniciarSesion.Usuario + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
IniciarSesion.Usuario

+
+
No usage of IniciarSesion.Usuario
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/IniciarSesion/class-use/Validacion.html b/doc/IniciarSesion/class-use/Validacion.html new file mode 100644 index 0000000..2621bf7 --- /dev/null +++ b/doc/IniciarSesion/class-use/Validacion.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class IniciarSesion.Validacion + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
IniciarSesion.Validacion

+
+
No usage of IniciarSesion.Validacion
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/IniciarSesion/package-frame.html b/doc/IniciarSesion/package-frame.html new file mode 100644 index 0000000..54a5175 --- /dev/null +++ b/doc/IniciarSesion/package-frame.html @@ -0,0 +1,21 @@ + + + + + +IniciarSesion + + + + + +

IniciarSesion

+
+

Classes

+ +
+ + diff --git a/doc/IniciarSesion/package-summary.html b/doc/IniciarSesion/package-summary.html new file mode 100644 index 0000000..146a19b --- /dev/null +++ b/doc/IniciarSesion/package-summary.html @@ -0,0 +1,146 @@ + + + + + +IniciarSesion + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package IniciarSesion

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/IniciarSesion/package-tree.html b/doc/IniciarSesion/package-tree.html new file mode 100644 index 0000000..00f49cd --- /dev/null +++ b/doc/IniciarSesion/package-tree.html @@ -0,0 +1,138 @@ + + + + + +IniciarSesion Class Hierarchy + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package IniciarSesion

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/IniciarSesion/package-use.html b/doc/IniciarSesion/package-use.html new file mode 100644 index 0000000..8df0cfc --- /dev/null +++ b/doc/IniciarSesion/package-use.html @@ -0,0 +1,124 @@ + + + + + +Uses of Package IniciarSesion + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Package
IniciarSesion

+
+
No usage of IniciarSesion
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/Logica/Gestion.html b/doc/Logica/Gestion.html new file mode 100644 index 0000000..5d95e7c --- /dev/null +++ b/doc/Logica/Gestion.html @@ -0,0 +1,454 @@ + + + + + +Gestion + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
Logica
+

Class Gestion

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/Logica/Meses.html b/doc/Logica/Meses.html new file mode 100644 index 0000000..278d793 --- /dev/null +++ b/doc/Logica/Meses.html @@ -0,0 +1,493 @@ + + + + + +Meses + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
Logica
+

Class Meses

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/Logica/Transaccion.html b/doc/Logica/Transaccion.html new file mode 100644 index 0000000..9f59a7a --- /dev/null +++ b/doc/Logica/Transaccion.html @@ -0,0 +1,436 @@ + + + + + +Transaccion + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
Logica
+

Class Transaccion

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/Logica/class-use/Gestion.html b/doc/Logica/class-use/Gestion.html new file mode 100644 index 0000000..8ece327 --- /dev/null +++ b/doc/Logica/class-use/Gestion.html @@ -0,0 +1,229 @@ + + + + + +Uses of Class Logica.Gestion + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
Logica.Gestion

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/Logica/class-use/Meses.html b/doc/Logica/class-use/Meses.html new file mode 100644 index 0000000..9b44673 --- /dev/null +++ b/doc/Logica/class-use/Meses.html @@ -0,0 +1,164 @@ + + + + + +Uses of Class Logica.Meses + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
Logica.Meses

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/Logica/class-use/Transaccion.html b/doc/Logica/class-use/Transaccion.html new file mode 100644 index 0000000..75991a1 --- /dev/null +++ b/doc/Logica/class-use/Transaccion.html @@ -0,0 +1,189 @@ + + + + + +Uses of Class Logica.Transaccion + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
Logica.Transaccion

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/Logica/package-frame.html b/doc/Logica/package-frame.html new file mode 100644 index 0000000..2209db8 --- /dev/null +++ b/doc/Logica/package-frame.html @@ -0,0 +1,22 @@ + + + + + +Logica + + + + + +

Logica

+
+

Classes

+ +
+ + diff --git a/doc/Logica/package-summary.html b/doc/Logica/package-summary.html new file mode 100644 index 0000000..bf69853 --- /dev/null +++ b/doc/Logica/package-summary.html @@ -0,0 +1,150 @@ + + + + + +Logica + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package Logica

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/Logica/package-tree.html b/doc/Logica/package-tree.html new file mode 100644 index 0000000..38bf9cd --- /dev/null +++ b/doc/Logica/package-tree.html @@ -0,0 +1,139 @@ + + + + + +Logica Class Hierarchy + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package Logica

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/Logica/package-use.html b/doc/Logica/package-use.html new file mode 100644 index 0000000..98edcf6 --- /dev/null +++ b/doc/Logica/package-use.html @@ -0,0 +1,182 @@ + + + + + +Uses of Package Logica + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Package
Logica

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/Main.html b/doc/Main.html new file mode 100644 index 0000000..1acf7e2 --- /dev/null +++ b/doc/Main.html @@ -0,0 +1,277 @@ + + + + + +Main + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+

Class Main

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/BarraOpciones.html b/doc/VistaControlador/BarraOpciones.html new file mode 100644 index 0000000..65fb406 --- /dev/null +++ b/doc/VistaControlador/BarraOpciones.html @@ -0,0 +1,347 @@ + + + + + +BarraOpciones + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
VistaControlador
+

Class BarraOpciones

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/ControladorAniadirVisualizar.html b/doc/VistaControlador/ControladorAniadirVisualizar.html new file mode 100644 index 0000000..ae84f26 --- /dev/null +++ b/doc/VistaControlador/ControladorAniadirVisualizar.html @@ -0,0 +1,280 @@ + + + + + +ControladorAniadirVisualizar + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
VistaControlador
+

Class ControladorAniadirVisualizar

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/ControladorBarra.html b/doc/VistaControlador/ControladorBarra.html new file mode 100644 index 0000000..8f0abf0 --- /dev/null +++ b/doc/VistaControlador/ControladorBarra.html @@ -0,0 +1,290 @@ + + + + + +ControladorBarra + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
VistaControlador
+

Class ControladorBarra

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/ControladorPanelLateral.html b/doc/VistaControlador/ControladorPanelLateral.html new file mode 100644 index 0000000..0afcf79 --- /dev/null +++ b/doc/VistaControlador/ControladorPanelLateral.html @@ -0,0 +1,307 @@ + + + + + +ControladorPanelLateral + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
VistaControlador
+

Class ControladorPanelLateral

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/Menu.html b/doc/VistaControlador/Menu.html new file mode 100644 index 0000000..2a3a910 --- /dev/null +++ b/doc/VistaControlador/Menu.html @@ -0,0 +1,481 @@ + + + + + +Menu + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
VistaControlador
+

Class Menu

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/MostrarTodo.html b/doc/VistaControlador/MostrarTodo.html new file mode 100644 index 0000000..f7be7c5 --- /dev/null +++ b/doc/VistaControlador/MostrarTodo.html @@ -0,0 +1,384 @@ + + + + + +MostrarTodo + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
VistaControlador
+

Class MostrarTodo

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/VistaAniadirVisualizar.html b/doc/VistaControlador/VistaAniadirVisualizar.html new file mode 100644 index 0000000..588ad18 --- /dev/null +++ b/doc/VistaControlador/VistaAniadirVisualizar.html @@ -0,0 +1,438 @@ + + + + + +VistaAniadirVisualizar + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
VistaControlador
+

Class VistaAniadirVisualizar

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/VistaPanelLateral.html b/doc/VistaControlador/VistaPanelLateral.html new file mode 100644 index 0000000..49d4c59 --- /dev/null +++ b/doc/VistaControlador/VistaPanelLateral.html @@ -0,0 +1,304 @@ + + + + + +VistaPanelLateral + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
VistaControlador
+

Class VistaPanelLateral

+
+
+ +
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/class-use/BarraOpciones.html b/doc/VistaControlador/class-use/BarraOpciones.html new file mode 100644 index 0000000..b37fb48 --- /dev/null +++ b/doc/VistaControlador/class-use/BarraOpciones.html @@ -0,0 +1,165 @@ + + + + + +Uses of Class VistaControlador.BarraOpciones + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
VistaControlador.BarraOpciones

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/class-use/ControladorAniadirVisualizar.html b/doc/VistaControlador/class-use/ControladorAniadirVisualizar.html new file mode 100644 index 0000000..ad33848 --- /dev/null +++ b/doc/VistaControlador/class-use/ControladorAniadirVisualizar.html @@ -0,0 +1,168 @@ + + + + + +Uses of Class VistaControlador.ControladorAniadirVisualizar + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
VistaControlador.ControladorAniadirVisualizar

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/class-use/ControladorBarra.html b/doc/VistaControlador/class-use/ControladorBarra.html new file mode 100644 index 0000000..7bd6f40 --- /dev/null +++ b/doc/VistaControlador/class-use/ControladorBarra.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class VistaControlador.ControladorBarra + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
VistaControlador.ControladorBarra

+
+
No usage of VistaControlador.ControladorBarra
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/class-use/ControladorPanelLateral.html b/doc/VistaControlador/class-use/ControladorPanelLateral.html new file mode 100644 index 0000000..1e0ff9c --- /dev/null +++ b/doc/VistaControlador/class-use/ControladorPanelLateral.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class VistaControlador.ControladorPanelLateral + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
VistaControlador.ControladorPanelLateral

+
+
No usage of VistaControlador.ControladorPanelLateral
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/class-use/Menu.html b/doc/VistaControlador/class-use/Menu.html new file mode 100644 index 0000000..fcfe39d --- /dev/null +++ b/doc/VistaControlador/class-use/Menu.html @@ -0,0 +1,207 @@ + + + + + +Uses of Class VistaControlador.Menu + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
VistaControlador.Menu

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/class-use/MostrarTodo.html b/doc/VistaControlador/class-use/MostrarTodo.html new file mode 100644 index 0000000..4c9b615 --- /dev/null +++ b/doc/VistaControlador/class-use/MostrarTodo.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class VistaControlador.MostrarTodo + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
VistaControlador.MostrarTodo

+
+
No usage of VistaControlador.MostrarTodo
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/class-use/VistaAniadirVisualizar.html b/doc/VistaControlador/class-use/VistaAniadirVisualizar.html new file mode 100644 index 0000000..8c6bdac --- /dev/null +++ b/doc/VistaControlador/class-use/VistaAniadirVisualizar.html @@ -0,0 +1,162 @@ + + + + + +Uses of Class VistaControlador.VistaAniadirVisualizar + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
VistaControlador.VistaAniadirVisualizar

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/class-use/VistaPanelLateral.html b/doc/VistaControlador/class-use/VistaPanelLateral.html new file mode 100644 index 0000000..baa9bd1 --- /dev/null +++ b/doc/VistaControlador/class-use/VistaPanelLateral.html @@ -0,0 +1,180 @@ + + + + + +Uses of Class VistaControlador.VistaPanelLateral + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
VistaControlador.VistaPanelLateral

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/package-frame.html b/doc/VistaControlador/package-frame.html new file mode 100644 index 0000000..bb01375 --- /dev/null +++ b/doc/VistaControlador/package-frame.html @@ -0,0 +1,27 @@ + + + + + +VistaControlador + + + + + +

VistaControlador

+
+

Classes

+ +
+ + diff --git a/doc/VistaControlador/package-summary.html b/doc/VistaControlador/package-summary.html new file mode 100644 index 0000000..b4e1a9a --- /dev/null +++ b/doc/VistaControlador/package-summary.html @@ -0,0 +1,170 @@ + + + + + +VistaControlador + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package VistaControlador

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/package-tree.html b/doc/VistaControlador/package-tree.html new file mode 100644 index 0000000..1aae2cc --- /dev/null +++ b/doc/VistaControlador/package-tree.html @@ -0,0 +1,176 @@ + + + + + +VistaControlador Class Hierarchy + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package VistaControlador

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/VistaControlador/package-use.html b/doc/VistaControlador/package-use.html new file mode 100644 index 0000000..1c5ed2d --- /dev/null +++ b/doc/VistaControlador/package-use.html @@ -0,0 +1,188 @@ + + + + + +Uses of Package VistaControlador + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Package
VistaControlador

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/allclasses-frame.html b/doc/allclasses-frame.html new file mode 100644 index 0000000..6239e6d --- /dev/null +++ b/doc/allclasses-frame.html @@ -0,0 +1,33 @@ + + + + + +All Classes + + + + + +

All Classes

+
+ +
+ + diff --git a/doc/allclasses-noframe.html b/doc/allclasses-noframe.html new file mode 100644 index 0000000..8c0f23c --- /dev/null +++ b/doc/allclasses-noframe.html @@ -0,0 +1,33 @@ + + + + + +All Classes + + + + + +

All Classes

+
+ +
+ + diff --git a/doc/class-use/Main.html b/doc/class-use/Main.html new file mode 100644 index 0000000..5900ac3 --- /dev/null +++ b/doc/class-use/Main.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class Main + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
Main

+
+
No usage of Main
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/constant-values.html b/doc/constant-values.html new file mode 100644 index 0000000..044bb36 --- /dev/null +++ b/doc/constant-values.html @@ -0,0 +1,124 @@ + + + + + +Constant Field Values + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/deprecated-list.html b/doc/deprecated-list.html new file mode 100644 index 0000000..250cc68 --- /dev/null +++ b/doc/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + +Deprecated List + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/help-doc.html b/doc/help-doc.html new file mode 100644 index 0000000..5556567 --- /dev/null +++ b/doc/help-doc.html @@ -0,0 +1,229 @@ + + + + + +API Help + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/index-files/index-1.html b/doc/index-files/index-1.html new file mode 100644 index 0000000..4873fca --- /dev/null +++ b/doc/index-files/index-1.html @@ -0,0 +1,161 @@ + + + + + +A-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D E F G I L M S T U V  + + +

A

+
+
actionPerformed(ActionEvent) - Method in class VistaControlador.ControladorAniadirVisualizar
+
 
+
actionPerformed(ActionEvent) - Method in class VistaControlador.ControladorBarra
+
 
+
actionPerformed(ActionEvent) - Method in class VistaControlador.ControladorPanelLateral
+
 
+
alterarVisibilidad(int) - Method in class Logica.Gestion
+
+
Permite alterar la visibilidad de un elemento
+
+
alterarVisivilidad() - Method in class Logica.Transaccion
+
+
invierte la visibilidad de la transaccion y la devuelve
+
+
aniadirElemento(String, float, ControladorAniadirVisualizar) - Method in class VistaControlador.VistaAniadirVisualizar
+
+
Aniade una nueva transaccion introduciendo sus datos
+
+
aniadirGasto(Transaccion) - Method in class Logica.Gestion
+
+
Aniade una transaccion a la gestion
+
+
aniadirGestion(String, int, Month, boolean) - Method in class Logica.Meses
+
+
Aniade una gestion vacia a la lista de meses
+
+
aniadirse() - Method in class Logica.Transaccion
+
+
Se aniade al gasto al que pertenece;
+
+
aniadirTransaccion(Transaccion, String, boolean) - Method in class Logica.Meses
+
+
Aniade una transaccion y la coloca en el mes y gestion que le corresponde, creandolos si no existen todavia
+
+
+A B C D E F G I L M S T U V 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/index-files/index-10.html b/doc/index-files/index-10.html new file mode 100644 index 0000000..244545f --- /dev/null +++ b/doc/index-files/index-10.html @@ -0,0 +1,151 @@ + + + + + +M-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D E F G I L M S T U V  + + +

M

+
+
Main - Class in <Unnamed>
+
 
+
Main() - Constructor for class Main
+
 
+
main(String[]) - Static method in class Main
+
+
inicializa el programa
+
+
Menu - Class in VistaControlador
+
 
+
Menu() - Constructor for class VistaControlador.Menu
+
+
Constructor que carga los datos del menu
+
+
Meses - Class in Logica
+
 
+
Meses() - Constructor for class Logica.Meses
+
 
+
MostrarTodo - Class in VistaControlador
+
 
+
MostrarTodo(Meses) - Constructor for class VistaControlador.MostrarTodo
+
+
Clase que muestra todos los datos que se almacenan
+
+
+A B C D E F G I L M S T U V 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/index-files/index-11.html b/doc/index-files/index-11.html new file mode 100644 index 0000000..e2a980f --- /dev/null +++ b/doc/index-files/index-11.html @@ -0,0 +1,143 @@ + + + + + +S-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D E F G I L M S T U V  + + +

S

+
+
salidaTodo() - Method in class Logica.Meses
+
+
devuelve todas las transacciones del mes actual
+
+
setPanelLateral(VistaPanelLateral) - Static method in class VistaControlador.VistaAniadirVisualizar
+
+
Establece cual es el panel lateral
+
+
setRuta(String) - Method in class VistaControlador.Menu
+
+
Estabece ula ruta de los datos de persistencia
+
+
setTheme(int) - Method in class VistaControlador.Menu
+
+
Cambia el tema
+
+
+A B C D E F G I L M S T U V 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/index-files/index-12.html b/doc/index-files/index-12.html new file mode 100644 index 0000000..a915773 --- /dev/null +++ b/doc/index-files/index-12.html @@ -0,0 +1,137 @@ + + + + + +T-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D E F G I L M S T U V  + + +

T

+
+
toString() - Method in class Logica.Gestion
+
 
+
toString() - Method in class Logica.Transaccion
+
 
+
Transaccion - Class in Logica
+
 
+
Transaccion(String, float, LocalDate, Gestion) - Constructor for class Logica.Transaccion
+
+
Constructor de transaccion
+
+
+A B C D E F G I L M S T U V 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/index-files/index-13.html b/doc/index-files/index-13.html new file mode 100644 index 0000000..779d8dc --- /dev/null +++ b/doc/index-files/index-13.html @@ -0,0 +1,131 @@ + + + + + +U-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D E F G I L M S T U V  + + +

U

+
+
Usuario - Class in IniciarSesion
+
 
+
Usuario(String, String, boolean) - Constructor for class IniciarSesion.Usuario
+
 
+
+A B C D E F G I L M S T U V 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/index-files/index-14.html b/doc/index-files/index-14.html new file mode 100644 index 0000000..316235b --- /dev/null +++ b/doc/index-files/index-14.html @@ -0,0 +1,141 @@ + + + + + +V-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D E F G I L M S T U V  + + +

V

+
+
Validacion - Class in IniciarSesion
+
 
+
Validacion() - Constructor for class IniciarSesion.Validacion
+
 
+
VistaAniadirVisualizar - Class in VistaControlador
+
 
+
VistaAniadirVisualizar(Menu, Gestion) - Constructor for class VistaControlador.VistaAniadirVisualizar
+
+
Constructor de la ventana que contendra las pestanias
+
+
VistaControlador - package VistaControlador
+
 
+
VistaPanelLateral - Class in VistaControlador
+
 
+
+A B C D E F G I L M S T U V 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/index-files/index-2.html b/doc/index-files/index-2.html new file mode 100644 index 0000000..9171814 --- /dev/null +++ b/doc/index-files/index-2.html @@ -0,0 +1,133 @@ + + + + + +B-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D E F G I L M S T U V  + + +

B

+
+
BarraOpciones - Class in VistaControlador
+
 
+
BarraOpciones() - Constructor for class VistaControlador.BarraOpciones
+
+
Inicializa labarra con los datos por defecto
+
+
+A B C D E F G I L M S T U V 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/index-files/index-3.html b/doc/index-files/index-3.html new file mode 100644 index 0000000..5106955 --- /dev/null +++ b/doc/index-files/index-3.html @@ -0,0 +1,157 @@ + + + + + +C-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D E F G I L M S T U V  + + +

C

+
+
cargarConfiguracion(Menu) - Static method in class Ficheros.Configuracion
+
+
Carga la configuracion del menu
+
+
cargarMeses(String) - Method in class Logica.Meses
+
+
Carga los datos que hemos guardado en el fichero de persistencia
+
+
comprobar(String) - Method in class IniciarSesion.Usuario
+
 
+
Configuracion - Class in Ficheros
+
 
+
Configuracion() - Constructor for class Ficheros.Configuracion
+
 
+
ControladorAniadirVisualizar - Class in VistaControlador
+
 
+
ControladorAniadirVisualizar(VistaAniadirVisualizar) - Constructor for class VistaControlador.ControladorAniadirVisualizar
+
 
+
ControladorBarra - Class in VistaControlador
+
 
+
ControladorBarra(BarraOpciones, Menu) - Constructor for class VistaControlador.ControladorBarra
+
+
Constructor del controlador
+
+
ControladorPanelLateral - Class in VistaControlador
+
 
+
ControladorPanelLateral(VistaPanelLateral, Menu) - Constructor for class VistaControlador.ControladorPanelLateral
+
+
Controlador del panel lateral que gestionara los datos
+
+
+A B C D E F G I L M S T U V 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/index-files/index-4.html b/doc/index-files/index-4.html new file mode 100644 index 0000000..bd51a55 --- /dev/null +++ b/doc/index-files/index-4.html @@ -0,0 +1,129 @@ + + + + + +D-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D E F G I L M S T U V  + + +

D

+
+
dateChanged(DateChangeEvent) - Method in class VistaControlador.ControladorPanelLateral
+
 
+
+A B C D E F G I L M S T U V 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/index-files/index-5.html b/doc/index-files/index-5.html new file mode 100644 index 0000000..32bf8d4 --- /dev/null +++ b/doc/index-files/index-5.html @@ -0,0 +1,143 @@ + + + + + +E-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D E F G I L M S T U V  + + +

E

+
+
elegirMes(int, Month) - Method in class Logica.Meses
+
+
Define el mes en que nos encontramos a la hora de devolver objetos
+
+
eliminarTransaccion(String) - Method in class Logica.Gestion
+
+
Elimina una transaccion
+
+
esIngreso() - Method in class Logica.Gestion
+
+
Devuelve verdadero si es un ingerso y falso si es un gasto
+
+
exportarXML() - Method in class Logica.Meses
+
+
Exporta todos un esquema de toda la estructura de datos a un xml almacenado en la carpeta donde nos encontramos.
+
+
+A B C D E F G I L M S T U V 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/index-files/index-6.html b/doc/index-files/index-6.html new file mode 100644 index 0000000..dc25090 --- /dev/null +++ b/doc/index-files/index-6.html @@ -0,0 +1,129 @@ + + + + + +F-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D E F G I L M S T U V  + + +

F

+
+
Ficheros - package Ficheros
+
 
+
+A B C D E F G I L M S T U V 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/index-files/index-7.html b/doc/index-files/index-7.html new file mode 100644 index 0000000..5c58e1e --- /dev/null +++ b/doc/index-files/index-7.html @@ -0,0 +1,197 @@ + + + + + +G-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D E F G I L M S T U V  + + +

G

+
+
Gestion - Class in Logica
+
 
+
Gestion(String, boolean) - Constructor for class Logica.Gestion
+
+
Constructor principal de gestion
+
+
getDia() - Method in class Logica.Transaccion
+
+
Devuelve la fecha de la transaccion
+
+
getDinero() - Method in class Logica.Transaccion
+
+
Devuelve la cantidad de dinero que contiene
+
+
getElementos() - Method in class Logica.Gestion
+
+
Devuelve todas las transacciones que tiene
+
+
getGestion() - Method in class Logica.Transaccion
+
+
Devuelve la gestion a la que pertenece
+
+
getGestionesActuales() - Method in class Logica.Meses
+
+
Devuelve la lista de gestiones en la que nos encontramos
+
+
getName() - Method in class VistaControlador.VistaAniadirVisualizar
+
 
+
getNombre() - Method in class Logica.Gestion
+
+
Devuelve el nombre de la gestion
+
+
getNombre() - Method in class Logica.Transaccion
+
+
devuelve el nombre de la transaccion
+
+
getRuta() - Method in class VistaControlador.Menu
+
+
Devuelve la ruta en la que se guardan los datos de persistencia
+
+
getSuma() - Method in class Logica.Gestion
+
+
Devuelve la suma (sin tener e cuenta si es gasto o ingreso) de la gestion
+
+
getTema() - Method in class VistaControlador.Menu
+
+
devuelve el tema seleccionado
+
+
getTotal() - Method in class Logica.Gestion
+
+
Devuelve la suma de todos sus datos, esta vez teniendo en cuenta si debe sumar o restar
+
+
getTotal() - Method in class Logica.Meses
+
+
devuelve el dinero que nos queda este mes (o el que debemos)
+
+
getUsuario() - Method in class IniciarSesion.Usuario
+
 
+
getVisivilidad() - Method in class Logica.Transaccion
+
+
devuelve si la transaccion se contara en la gestion o no
+
+
guardarConfiguracion(Menu) - Static method in class Ficheros.Configuracion
+
+
Guarda la configuracion del menu en un fichero oculto
+
+
guardarMeses(String) - Method in class Logica.Meses
+
+
guarda las gestiones que hemos introducido en un fichero para garantizar la persistencia de los datos
+
+
+A B C D E F G I L M S T U V 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/index-files/index-8.html b/doc/index-files/index-8.html new file mode 100644 index 0000000..0553124 --- /dev/null +++ b/doc/index-files/index-8.html @@ -0,0 +1,137 @@ + + + + + +I-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D E F G I L M S T U V  + + +

I

+
+
importarXML() - Method in class Logica.Meses
+
+
Importa el xml cogiendolo de la ruta donde se guarda por defecto
+
+
importarXML(String) - Method in class Logica.Meses
+
+
Importa un xml de la ruta donde le indiquemos
+
+
IniciarSesion - package IniciarSesion
+
 
+
+A B C D E F G I L M S T U V 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/index-files/index-9.html b/doc/index-files/index-9.html new file mode 100644 index 0000000..d2b01c1 --- /dev/null +++ b/doc/index-files/index-9.html @@ -0,0 +1,129 @@ + + + + + +L-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D E F G I L M S T U V  + + +

L

+
+
Logica - package Logica
+
 
+
+A B C D E F G I L M S T U V 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/index.html b/doc/index.html new file mode 100644 index 0000000..c13a8b8 --- /dev/null +++ b/doc/index.html @@ -0,0 +1,75 @@ + + + + + +Generated Documentation (Untitled) + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/doc/overview-frame.html b/doc/overview-frame.html new file mode 100644 index 0000000..39e75cd --- /dev/null +++ b/doc/overview-frame.html @@ -0,0 +1,25 @@ + + + + + +Overview List + + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/doc/overview-summary.html b/doc/overview-summary.html new file mode 100644 index 0000000..936fecc --- /dev/null +++ b/doc/overview-summary.html @@ -0,0 +1,147 @@ + + + + + +Overview + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
Ficheros 
IniciarSesion 
Logica 
VistaControlador 
+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/overview-tree.html b/doc/overview-tree.html new file mode 100644 index 0000000..d1303ff --- /dev/null +++ b/doc/overview-tree.html @@ -0,0 +1,186 @@ + + + + + +Class Hierarchy + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/package-frame.html b/doc/package-frame.html new file mode 100644 index 0000000..c9b08bf --- /dev/null +++ b/doc/package-frame.html @@ -0,0 +1,20 @@ + + + + + +<Unnamed> + + + + + +

<Unnamed>

+
+

Classes

+ +
+ + diff --git a/doc/package-list b/doc/package-list new file mode 100644 index 0000000..759bbbc --- /dev/null +++ b/doc/package-list @@ -0,0 +1,5 @@ + +Ficheros +IniciarSesion +Logica +VistaControlador diff --git a/doc/package-summary.html b/doc/package-summary.html new file mode 100644 index 0000000..6a14c1b --- /dev/null +++ b/doc/package-summary.html @@ -0,0 +1,131 @@ + + + + + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package <Unnamed>

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/package-tree.html b/doc/package-tree.html new file mode 100644 index 0000000..9a8f4fa --- /dev/null +++ b/doc/package-tree.html @@ -0,0 +1,137 @@ + + + + + + Class Hierarchy + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package <Unnamed>

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/package-use.html b/doc/package-use.html new file mode 100644 index 0000000..846f3b8 --- /dev/null +++ b/doc/package-use.html @@ -0,0 +1,124 @@ + + + + + +Uses of Package + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Package

+
+
No usage of
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/script.js b/doc/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/doc/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/doc/serialized-form.html b/doc/serialized-form.html new file mode 100644 index 0000000..32eb293 --- /dev/null +++ b/doc/serialized-form.html @@ -0,0 +1,454 @@ + + + + + +Serialized Form + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Serialized Form

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/stylesheet.css b/doc/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/doc/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/gestiones.xml b/gestiones.xml index 0a981d0..a20f8fe 100644 --- a/gestiones.xml +++ b/gestiones.xml @@ -1 +1 @@ -NOVEMBER2019-1.00Ingresos4.0truezfgabbaf2019-11-164.0Gastos5.0falsefdfsba2019-11-165.0 \ No newline at end of file +NOVEMBER2019-1.02Ingresos4.0truezfgabbaf2019-11-164.0Gastos5.0falsefdfsba2019-11-165.0 \ No newline at end of file diff --git a/jfreechart-1.5.0-javadoc.jar b/jfreechart-1.5.0-javadoc.jar new file mode 100644 index 0000000..ef2582b Binary files /dev/null and b/jfreechart-1.5.0-javadoc.jar differ diff --git a/jfreechart-1.5.0.jar b/jfreechart-1.5.0.jar new file mode 100644 index 0000000..a6bebed Binary files /dev/null and b/jfreechart-1.5.0.jar differ diff --git a/src/Ficheros/Configuracion.java b/src/Ficheros/Configuracion.java index b4a4204..dfcba90 100644 --- a/src/Ficheros/Configuracion.java +++ b/src/Ficheros/Configuracion.java @@ -10,7 +10,7 @@ import java.util.Properties; public class Configuracion { private static String direccion=".config"; - /* + /** * Guarda la configuracion del menu en un fichero oculto * * @param menu Menu del que se guardan los datos @@ -26,10 +26,11 @@ public class Configuracion { } } - /* + /** * Carga la configuracion del menu * * @param menu menu en el que carga la configuracio + * @throws IOException */ public static void cargarConfiguracion(Menu menu) throws IOException { Properties configuracion = new Properties(); diff --git a/src/Logica/Gestion.java b/src/Logica/Gestion.java index 0cd8699..7583430 100644 --- a/src/Logica/Gestion.java +++ b/src/Logica/Gestion.java @@ -9,11 +9,11 @@ public class Gestion implements Serializable{ private boolean isPositivo; private String nombre; - /* + /** * Constructor principal de gestion * * @param nombre nombre de la gestion - * @param isPositive si es verdadero la gestion sera de beneficios, si es falsa sera de gastos + * @param isPositivo si es verdadero la gestion sera de beneficios, si es falsa sera de gastos */ public Gestion(String nombre, boolean isPositivo) { this.gestiones = new Vector(); @@ -23,7 +23,7 @@ public class Gestion implements Serializable{ this.isPositivo = isPositivo; } - /* + /** * Devuelve el nombre de la gestion * * @return nombre de la gestion @@ -32,7 +32,7 @@ public class Gestion implements Serializable{ return this.nombre; } - /* + /** * Aniade una transaccion a la gestion * * @param transaccion transaccion que sera aniadida a la gestion @@ -47,7 +47,7 @@ public class Gestion implements Serializable{ } } - /* + /** * Devuelve la suma (sin tener e cuenta si es gasto o ingreso) de la gestion * * @return suma de las transacciones de la gestion @@ -56,7 +56,7 @@ public class Gestion implements Serializable{ return this.suma; } - /* + /** * Devuelve la suma de todos sus datos, esta vez teniendo en cuenta si debe sumar o restar * * @return suma correcta de los datos @@ -65,7 +65,7 @@ public class Gestion implements Serializable{ return this.total; } - /* + /** * Devuelve todas las transacciones que tiene * * @return Transacciones que contiene @@ -74,7 +74,7 @@ public class Gestion implements Serializable{ return this.gestiones; } - /* + /** * Elimina una transaccion * * @param transaccion transaccion a eliminar @@ -88,7 +88,7 @@ public class Gestion implements Serializable{ } } - /* + /** * Devuelve verdadero si es un ingerso y falso si es un gasto * * @return verdadero si es ingersos y falso si sin gastos @@ -97,7 +97,7 @@ public class Gestion implements Serializable{ return this.isPositivo; } - /* + /** * Permite alterar la visibilidad de un elemento * * @param elemento indice del elemento a alterar diff --git a/src/Logica/Meses.java b/src/Logica/Meses.java index df666d9..1b2b783 100644 --- a/src/Logica/Meses.java +++ b/src/Logica/Meses.java @@ -44,7 +44,7 @@ public class Meses { this.meses = new ArrayList(); } - /* + /** * Aniade una gestion vacia a la lista de meses * * @param nombre nombre de la gestion @@ -57,6 +57,11 @@ public class Meses { try { for(Mes mesSelect:this.meses) { if(mesSelect.getMes().equals(mes) && mesSelect.getAnio() == anio){ + for(Gestion gestion:mesSelect.getGestiones()) { + if(gestion.getNombre().equals(nombre)) { + return gestion; + } + } ret = new Gestion(nombre, isPositivo); mesSelect.getGestiones().add(ret); return ret; @@ -76,11 +81,11 @@ public class Meses { return ret; } - /* + /** * Aniade una transaccion y la coloca en el mes y gestion que le corresponde, creandolos si no existen todavia * * @param transaccion transaccion a aniadir - * @param nombree nombre de la gestion a la que pertenece + * @param nombre nombre de la gestion a la que pertenece * @param isPositivo tipo de gestion a la que pertenece */ public void aniadirTransaccion(Transaccion transaccion, String nombre, boolean isPositivo) { @@ -96,7 +101,7 @@ public class Meses { this.meses.get(this.meses.size()-1).aniadirTransaccion(transaccion, nombre, isPositivo); } - /* + /** * Define el mes en que nos encontramos a la hora de devolver objetos * * @param anio anio en el que queremos situarnos @@ -113,7 +118,7 @@ public class Meses { this.mesActual = this.meses.size()-1; } - /* + /** * Devuelve la lista de gestiones en la que nos encontramos * * @return Lista de gestiones en la que nos encontramos @@ -122,7 +127,7 @@ public class Meses { return this.meses.get(this.mesActual).getGestiones(); } - /* + /** * devuelve el dinero que nos queda este mes (o el que debemos) * * @return dinero que nos queda o debemos este mes @@ -131,7 +136,7 @@ public class Meses { return this.meses.get(this.mesActual).getTotal(); } - /* + /** * guarda las gestiones que hemos introducido en un fichero para garantizar la persistencia de los datos * * @param nombre nombre del fichero donde se guardaran los datos @@ -151,10 +156,12 @@ public class Meses { fichero.close(); } - /* + /** * Carga los datos que hemos guardado en el fichero de persistencia * * @param nombre nombre del fichero + * @throws IOException + * @throws ClassNotFoundException */ public void cargarMeses(String nombre) throws IOException, ClassNotFoundException { FileInputStream fichero; @@ -176,7 +183,7 @@ public class Meses { } } - /* + /** * devuelve todas las transacciones del mes actual * * @return transacciones del mes actual @@ -195,7 +202,7 @@ public class Meses { return ret; } - /* + /** * Exporta todos un esquema de toda la estructura de datos a un xml almacenado en la carpeta donde nos encontramos. * El fichero se llamara gestiones.xml */ @@ -295,14 +302,14 @@ public class Meses { } - /* + /** * Importa el xml cogiendolo de la ruta donde se guarda por defecto */ public void importarXML() { this.importarXML("gestiones.xml"); } - /* + /** * Importa un xml de la ruta donde le indiquemos */ public void importarXML(String nombreFichero) { @@ -360,6 +367,13 @@ class Mes implements Serializable{ float total; int nGestiones; ArrayList gestiones; + /** + * Constructor por defecto de Mes + * + * @param gestiones lista de gestiones que contiene el mes + * @param anio anio al que pertenece el mes + * @param mes mes que gestiona la clase + */ Mes(ArrayList gestiones, int anio, Month mes){ this.gestiones = gestiones; this.anio = anio; @@ -367,7 +381,7 @@ class Mes implements Serializable{ this.nGestiones = this.gestiones.size(); } - /* + /** * Aniade una transaccion al mes * * @param transaccion Transaccion a aniadir @@ -387,7 +401,7 @@ class Mes implements Serializable{ return; } - /* + /** * Devuelve el mes que gestione * * @return mes que gestiona @@ -396,7 +410,7 @@ class Mes implements Serializable{ return this.mes; } - /* + /** * Devuelve el anio que gestiona * * @return anio que gestiona @@ -404,7 +418,7 @@ class Mes implements Serializable{ int getAnio() { return this.anio; } - /* + /** * devuelve las gestionaes que contiene * * @return gestiones que contiene @@ -413,7 +427,7 @@ class Mes implements Serializable{ return this.gestiones; } - /* + /** * devuelve el dinero que quedo ese mes (o que debe) * * @return dinero que queda o debe ese mes diff --git a/src/Logica/Transaccion.java b/src/Logica/Transaccion.java index 86bb964..fd69dea 100644 --- a/src/Logica/Transaccion.java +++ b/src/Logica/Transaccion.java @@ -11,6 +11,14 @@ public class Transaccion implements Serializable{ private LocalDate dia; private Gestion gestion; + /** + * Constructor de transaccion + * + * @param nombre ombre de la transaccion + * @param dinero cantidad de dinero de la transaccion + * @param dia dia en el que se creo o al que pertenece la transaccion + * @param gestion gestion a la que pertenece la transaccion + */ public Transaccion(String nombre, float dinero, LocalDate dia, Gestion gestion){ this.nombre = nombre; this.dinero = dinero; @@ -23,7 +31,7 @@ public class Transaccion implements Serializable{ return this.nombre + " " + this.dinero; } - /* + /** * devuelve si la transaccion se contara en la gestion o no * * @return visibilidad de la transaccion @@ -32,7 +40,7 @@ public class Transaccion implements Serializable{ return this.visible; } - /* + /** * invierte la visibilidad de la transaccion y la devuelve * * @return nueva visibilidad @@ -42,7 +50,7 @@ public class Transaccion implements Serializable{ return this.visible; } - /* + /** * Devuelve la cantidad de dinero que contiene * * @return dinero de la transaccion @@ -51,7 +59,7 @@ public class Transaccion implements Serializable{ return this.dinero; } - /* + /** * Devuelve la fecha de la transaccion * * @return Fecha de la transaccion @@ -60,14 +68,14 @@ public class Transaccion implements Serializable{ return this.dia; } - /* + /** * Se aniade al gasto al que pertenece; */ public void aniadirse() { this.gestion.aniadirGasto(this); } - /* + /** * Devuelve la gestion a la que pertenece * * @return gestion a la que pertenece @@ -76,7 +84,7 @@ public class Transaccion implements Serializable{ return this.gestion; } - /* + /** * devuelve el nombre de la transaccion * * @return nombre de la transaccion diff --git a/src/Main.java b/src/Main.java index f4c8fae..da8e79a 100644 --- a/src/Main.java +++ b/src/Main.java @@ -1,7 +1,11 @@ import VistaControlador.Menu; public class Main { - + /** + * inicializa el programa + * + * @param args + */ public static void main(String[] args) { Menu menu=new Menu(); menu.setVisible(true); diff --git a/src/VistaControlador/BarraOpciones.java b/src/VistaControlador/BarraOpciones.java index 5711841..9dad4bd 100644 --- a/src/VistaControlador/BarraOpciones.java +++ b/src/VistaControlador/BarraOpciones.java @@ -18,6 +18,10 @@ public class BarraOpciones extends JMenuBar{ JMenuItem modoClaro; JMenu mostrar; JMenuItem mostrarTodo; + + /** + * Inicializa labarra con los datos por defecto + */ public BarraOpciones() { this.menuAr = new JMenu("Archivo"); this.add(this.menuAr); diff --git a/src/VistaControlador/ControladorAniadirVisualizar.java b/src/VistaControlador/ControladorAniadirVisualizar.java index e9bc82a..7a3a7ea 100644 --- a/src/VistaControlador/ControladorAniadirVisualizar.java +++ b/src/VistaControlador/ControladorAniadirVisualizar.java @@ -58,7 +58,7 @@ public class ControladorAniadirVisualizar implements ActionListener{ } } - /* + /** * Aniade los listeners a la lista de objetos */ private void aniadirListeners() { diff --git a/src/VistaControlador/ControladorBarra.java b/src/VistaControlador/ControladorBarra.java index e5d69ff..c085346 100644 --- a/src/VistaControlador/ControladorBarra.java +++ b/src/VistaControlador/ControladorBarra.java @@ -12,6 +12,13 @@ import Ficheros.Configuracion; public class ControladorBarra implements ActionListener{ private BarraOpciones barra; private Menu menu; + + /** + * Constructor del controlador + * + * @param barra barra que usara el controlador + * @param menu menu en el que se encuentra la barra + */ public ControladorBarra(BarraOpciones barra, Menu menu) { this.barra = barra; this.menu = menu; @@ -78,7 +85,7 @@ public class ControladorBarra implements ActionListener{ } - /* + /** * Aniade los listeners a la lista de objetos */ private void aniadirListeners() { diff --git a/src/VistaControlador/ControladorPanelLateral.java b/src/VistaControlador/ControladorPanelLateral.java index fb07ee5..2390413 100644 --- a/src/VistaControlador/ControladorPanelLateral.java +++ b/src/VistaControlador/ControladorPanelLateral.java @@ -28,6 +28,12 @@ public class ControladorPanelLateral implements ActionListener, DateChangeListen private int anio; private Menu menu; + /** + * Controlador del panel lateral que gestionara los datos + * + * @param vista + * @param menu + */ public ControladorPanelLateral(VistaPanelLateral vista, Menu menu) { this.vista = vista; this.menu = menu; @@ -81,7 +87,8 @@ public class ControladorPanelLateral implements ActionListener, DateChangeListen } } - /* + + /** * Aniade los listeners a la lista de objetos */ private void aniadirElementos() { diff --git a/src/VistaControlador/Menu.java b/src/VistaControlador/Menu.java index e5b23cc..c84081a 100644 --- a/src/VistaControlador/Menu.java +++ b/src/VistaControlador/Menu.java @@ -38,6 +38,10 @@ public class Menu extends JFrame{ BarraOpciones barra; protected Gestion datosGastos; protected Gestion datosIngresos; + + /** + * Constructor que carga los datos del menu + */ public Menu() { this.rutaGuardado = ".mes"; this.tema = 0; @@ -91,7 +95,7 @@ public class Menu extends JFrame{ } } - /* + /** * Cierra la ventana */ private void close(){ @@ -108,7 +112,7 @@ public class Menu extends JFrame{ System.exit(0); } - /* + /** * Inicia las listas de elementos graficos pertenecientes a el mes correspondiente * * @param anio anio del que cargaremos los datos @@ -128,7 +132,7 @@ public class Menu extends JFrame{ this.cargarPestanias(); } - /* + /** * Carga los datos de las gestiones en caso de cambio de mes * * @param nio anio del que cargaremos los datos @@ -155,7 +159,7 @@ public class Menu extends JFrame{ } } - /* + /** * Carga la parte grafica de ese mes */ private void cargarMes() { @@ -174,14 +178,14 @@ public class Menu extends JFrame{ for(Gestion gestion:this.meses.getGestionesActuales()) { VistaAniadirVisualizar vista = new VistaAniadirVisualizar(this, gestion); ControladorAniadirVisualizar controlador = new ControladorAniadirVisualizar(vista); - vista.iniciarGestion(); + vista.iniciarGestion(controlador); this.pestanias.add(vista); this.controladores.add(controlador); } this.cargarPestanias(); } - /* + /** * Carga todas las pestanias nuevas */ void cargarPestanias() { @@ -193,7 +197,7 @@ public class Menu extends JFrame{ this.pestania.setSelectedIndex(0); } - /* + /** * aniade una nueva gestion * * @param nombre nombre de la gestion @@ -207,7 +211,7 @@ public class Menu extends JFrame{ this.pestania.addTab(vista.getName(),vista); } - /* + /** * Carga el listener de las pestanias en caso de que no lo tengan */ void listenerPestania(){ @@ -224,7 +228,7 @@ public class Menu extends JFrame{ } } - /* + /** * Devuelve la ruta en la que se guardan los datos de persistencia * * @return ruta de los datos de persistencia @@ -233,7 +237,7 @@ public class Menu extends JFrame{ return this.rutaGuardado; } - /* + /** * Estabece ula ruta de los datos de persistencia * * @param ruta ruta de los datos de persistencia @@ -242,7 +246,7 @@ public class Menu extends JFrame{ this.rutaGuardado=ruta; } - /* + /** * devuelve el tema seleccionado * * @return id del teme @@ -251,10 +255,10 @@ public class Menu extends JFrame{ return this.tema; } - /* + /** * Cambia el tema * - * @param id del tema + * @param tema id del tema */ public void setTheme(int tema) { switch(tema) { diff --git a/src/VistaControlador/MostrarTodo.java b/src/VistaControlador/MostrarTodo.java index 5507e8b..b7fb62f 100644 --- a/src/VistaControlador/MostrarTodo.java +++ b/src/VistaControlador/MostrarTodo.java @@ -12,7 +12,7 @@ import Logica.Transaccion; public class MostrarTodo extends JFrame{ JList elementos; - /* + /** * Clase que muestra todos los datos que se almacenan * * @param meses datos a mostrar diff --git a/src/VistaControlador/VistaAniadirVisualizar.java b/src/VistaControlador/VistaAniadirVisualizar.java index e68ef1a..a2cec7d 100644 --- a/src/VistaControlador/VistaAniadirVisualizar.java +++ b/src/VistaControlador/VistaAniadirVisualizar.java @@ -23,7 +23,7 @@ public class VistaAniadirVisualizar extends JPanel{ private ControladorAniadirVisualizar controlador; private static VistaPanelLateral panelLateral; - /* + /** * Constructor de la ventana que contendra las pestanias * * @param menu menu donde se guardaran @@ -46,7 +46,7 @@ public class VistaAniadirVisualizar extends JPanel{ this.add(panel); } - /* + /** * Establece cual es el panel lateral * * @param panel panel lateral que gestionara este panel @@ -59,21 +59,21 @@ public class VistaAniadirVisualizar extends JPanel{ return this.gestiones.getNombre(); } - /* + /** * Inicia la gestion */ - void iniciarGestion() { + void iniciarGestion(ControladorAniadirVisualizar controlador) { for(Transaccion transaccion:this.gestiones.getElementos()) { - this.aniadirElemento(transaccion); + this.aniadirElemento(transaccion, controlador); } } - /* + /** * Aniade una nueva transaccion introduciendo sus datos * * @param nombre nombre de la transaccion * @param dinero dinero de la transaccion - * @para controlador controlador de la casilla que de aniadira + * @param controlador controlador de la casilla que de aniadira */ public void aniadirElemento(String nombre, float dinero, ControladorAniadirVisualizar controlador) { Transaccion transaccion = new Transaccion(nombre, dinero,panelLateral.getDate(),this.gestiones); @@ -82,6 +82,7 @@ public class VistaAniadirVisualizar extends JPanel{ check.setSelected(true); check.setSize(new Dimension(x,VistaAniadirVisualizar.altoCheck)); check.addActionListener(controlador); + check.setActionCommand("pulsar"); this.transacciones.add(check); this.cuadro.add(check); this.y += VistaAniadirVisualizar.altoCheck; @@ -90,7 +91,7 @@ public class VistaAniadirVisualizar extends JPanel{ this.repaint(); } - /* + /** * Elimina las casillas deseleccionadas */ void eliminarDeseleccionados(){ @@ -98,20 +99,22 @@ public class VistaAniadirVisualizar extends JPanel{ if(!check.isSelected()) { this.cuadro.remove(check); this.gestiones.eliminarTransaccion(check.getText()); + this.menu.panel.actualizarDatos(this.gestiones); this.cuadro.revalidate(); this.cuadro.repaint(); } } } - /* + /** * aniade una nueva transaccion */ - private void aniadirElemento(Transaccion transaccion) { + private void aniadirElemento(Transaccion transaccion, ControladorAniadirVisualizar controlador) { JCheckBox check = new JCheckBox(transaccion.toString()); check.setSelected(true); check.setSize(new Dimension(x,VistaAniadirVisualizar.altoCheck)); - check.addActionListener(this.boton.getActionListeners()[0]); + check.addActionListener(controlador); + check.setActionCommand("pulsar"); this.transacciones.add(check); this.cuadro.add(check); this.y += VistaAniadirVisualizar.altoCheck; diff --git a/src/VistaControlador/VistaPanelLateral.java b/src/VistaControlador/VistaPanelLateral.java index abf256b..4000fb2 100644 --- a/src/VistaControlador/VistaPanelLateral.java +++ b/src/VistaControlador/VistaPanelLateral.java @@ -22,7 +22,7 @@ public class VistaPanelLateral extends JPanel{ JButton aniadirGestion; JButton eliminarTransaccion; Meses meses; - /* + /** * Constructor del panel lateral que gestiona las pestanias * * @param meses datos a gestionar @@ -43,7 +43,7 @@ public class VistaPanelLateral extends JPanel{ this.add(this.eliminarTransaccion); } - /* + /** * Actualiza los datos que se deben mostrar */ void actualizarDatos(Gestion gestion) { @@ -51,7 +51,7 @@ public class VistaPanelLateral extends JPanel{ this.gastoEnvio.setText("Suma: " + String.valueOf(gestion.getSuma()) + "€"); } - /* + /** * devuelve la fecha en la que se encuentra * * @return fecha en la que se encuentra @@ -60,7 +60,7 @@ public class VistaPanelLateral extends JPanel{ return elegirMes.getDate(); } - /* + /** * Inicializa el calendario * * @return calendario que inicializa