diff --git a/GoldenOwl.app/.DS_Store b/GoldenOwl.app/.DS_Store new file mode 100644 index 0000000..49fb028 Binary files /dev/null and b/GoldenOwl.app/.DS_Store differ diff --git a/GoldenOwl.app/._.DS_Store b/GoldenOwl.app/._.DS_Store new file mode 100644 index 0000000..8e82ed9 Binary files /dev/null and b/GoldenOwl.app/._.DS_Store differ diff --git a/GoldenOwl.app/config/._DBPAss b/GoldenOwl.app/config/._DBPAss new file mode 100644 index 0000000..55b0ede Binary files /dev/null and b/GoldenOwl.app/config/._DBPAss differ diff --git a/GoldenOwl.app/config/._DBUser b/GoldenOwl.app/config/._DBUser new file mode 100644 index 0000000..3360e10 Binary files /dev/null and b/GoldenOwl.app/config/._DBUser differ diff --git a/GoldenOwl.app/config/._ipserver b/GoldenOwl.app/config/._ipserver new file mode 100644 index 0000000..ed574de Binary files /dev/null and b/GoldenOwl.app/config/._ipserver differ diff --git a/GoldenOwl.app/config/DBPAss b/GoldenOwl.app/config/DBPAss new file mode 100644 index 0000000..568e37d --- /dev/null +++ b/GoldenOwl.app/config/DBPAss @@ -0,0 +1 @@ +goldenowl \ No newline at end of file diff --git a/GoldenOwl.app/config/DBUser b/GoldenOwl.app/config/DBUser new file mode 100644 index 0000000..93ca142 --- /dev/null +++ b/GoldenOwl.app/config/DBUser @@ -0,0 +1 @@ +root \ No newline at end of file diff --git a/GoldenOwl.app/config/ipserver b/GoldenOwl.app/config/ipserver new file mode 100644 index 0000000..d18580b --- /dev/null +++ b/GoldenOwl.app/config/ipserver @@ -0,0 +1 @@ +localhost \ No newline at end of file diff --git a/README.md b/README.md index 44719a7..aa36b7b 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,29 @@ git push -u origin master ``` git remote add origin https://git.librography.com/flashlan/Librography.git git push -u origin master -``` \ No newline at end of file +``` + +## GoldenOwl + +--------- + +Library Manager System writen in Java-Swing available for Windows, Linux and MacOs. + +------- + +**TODO:** + +* modulo pago de conslta por protocolo z39.50; +* Licensa de Software +* Modulo de serial key. +* Botao "Sobre"; +* modulo de registro de isbn +* Procurar/setar Instalador do Windows +* Procurar instalador MacOS +* pasta de configuracoes em "~/.goldenOwl"/ criado por script Pacote deb, rpm +* App fist run para ver os e crair pastas de acordo +* ~~instalador mysql + script criação banco de dados em first run (create if no exits)~~ +* ON CONFLICT DO NOTHING import xlsx em janela de opcoes de importacao +* relatorios de emprestimos e devolucoes +* limitar consultas de select * para especificas nos codigos +* suporte a internacionalização \ No newline at end of file diff --git a/Requires.txt b/Requires.txt new file mode 100644 index 0000000..d9702e7 --- /dev/null +++ b/Requires.txt @@ -0,0 +1,6 @@ +programs Onedrive: + +https://1drv.ms/u/s!Asa0dgo7peGpvgAlXM91A1YRd9V_?e=GcIWh9 + +Windows : +php 7.3.27 / MySql 5.0.12-dev / PhpMyAdmin 5.1.0 / Apacha 2.4.46 / Java Jdk 8 / netbeans 8.2 \ No newline at end of file diff --git a/build/classes/.netbeans_automatic_build b/build/classes/.netbeans_automatic_build new file mode 100644 index 0000000..e69de29 diff --git a/build/classes/.netbeans_update_resources b/build/classes/.netbeans_update_resources new file mode 100644 index 0000000..e69de29 diff --git a/build/classes/br/com/parg/viacep/ViaCEP.class b/build/classes/br/com/parg/viacep/ViaCEP.class index a5301f3..3c9c958 100644 Binary files a/build/classes/br/com/parg/viacep/ViaCEP.class and b/build/classes/br/com/parg/viacep/ViaCEP.class differ diff --git a/build/classes/br/com/parg/viacep/ViaCEPBase.class b/build/classes/br/com/parg/viacep/ViaCEPBase.class index 3293a64..f0a8e89 100644 Binary files a/build/classes/br/com/parg/viacep/ViaCEPBase.class and b/build/classes/br/com/parg/viacep/ViaCEPBase.class differ diff --git a/build/classes/br/com/parg/viacep/ViaCEPEvents.class b/build/classes/br/com/parg/viacep/ViaCEPEvents.class index 3333bc4..bfe78f2 100644 Binary files a/build/classes/br/com/parg/viacep/ViaCEPEvents.class and b/build/classes/br/com/parg/viacep/ViaCEPEvents.class differ diff --git a/build/classes/br/com/projeto/dao/EmprestimoDao.class b/build/classes/br/com/projeto/dao/EmprestimoDao.class index 6845a39..8f7dd93 100644 Binary files a/build/classes/br/com/projeto/dao/EmprestimoDao.class and b/build/classes/br/com/projeto/dao/EmprestimoDao.class differ diff --git a/build/classes/br/com/projeto/dao/FornecedorDao.class b/build/classes/br/com/projeto/dao/FornecedorDao.class index 863225b..af87ff6 100644 Binary files a/build/classes/br/com/projeto/dao/FornecedorDao.class and b/build/classes/br/com/projeto/dao/FornecedorDao.class differ diff --git a/build/classes/br/com/projeto/dao/FuncionarioDao.class b/build/classes/br/com/projeto/dao/FuncionarioDao.class index c51ad1f..c33377c 100644 Binary files a/build/classes/br/com/projeto/dao/FuncionarioDao.class and b/build/classes/br/com/projeto/dao/FuncionarioDao.class differ diff --git a/build/classes/br/com/projeto/dao/LivroDao.class b/build/classes/br/com/projeto/dao/LivroDao.class index 14eb6b6..7d8d299 100644 Binary files a/build/classes/br/com/projeto/dao/LivroDao.class and b/build/classes/br/com/projeto/dao/LivroDao.class differ diff --git a/build/classes/br/com/projeto/dao/MultaDao.class b/build/classes/br/com/projeto/dao/MultaDao.class index 09cddde..ac93ae6 100644 Binary files a/build/classes/br/com/projeto/dao/MultaDao.class and b/build/classes/br/com/projeto/dao/MultaDao.class differ diff --git a/build/classes/br/com/projeto/dao/OptionsDao.class b/build/classes/br/com/projeto/dao/OptionsDao.class index d547fab..572916b 100644 Binary files a/build/classes/br/com/projeto/dao/OptionsDao.class and b/build/classes/br/com/projeto/dao/OptionsDao.class differ diff --git a/build/classes/br/com/projeto/dao/ReciboDao.class b/build/classes/br/com/projeto/dao/ReciboDao.class index 6df8c9a..4c73c46 100644 Binary files a/build/classes/br/com/projeto/dao/ReciboDao.class and b/build/classes/br/com/projeto/dao/ReciboDao.class differ diff --git a/build/classes/br/com/projeto/dao/UsuarioDao.class b/build/classes/br/com/projeto/dao/UsuarioDao.class index cde572c..281f767 100644 Binary files a/build/classes/br/com/projeto/dao/UsuarioDao.class and b/build/classes/br/com/projeto/dao/UsuarioDao.class differ diff --git a/build/classes/br/com/projeto/jdbc/ConexaoBanco$1.class b/build/classes/br/com/projeto/jdbc/ConexaoBanco$1.class index 56992f3..58fa9f7 100644 Binary files a/build/classes/br/com/projeto/jdbc/ConexaoBanco$1.class and b/build/classes/br/com/projeto/jdbc/ConexaoBanco$1.class differ diff --git a/build/classes/br/com/projeto/jdbc/ConexaoBanco.class b/build/classes/br/com/projeto/jdbc/ConexaoBanco.class index 0e4265d..9dcb75a 100644 Binary files a/build/classes/br/com/projeto/jdbc/ConexaoBanco.class and b/build/classes/br/com/projeto/jdbc/ConexaoBanco.class differ diff --git a/build/classes/br/com/projeto/jdbc/TestarConexao.class b/build/classes/br/com/projeto/jdbc/TestarConexao.class index 6bf8990..b6fda3c 100644 Binary files a/build/classes/br/com/projeto/jdbc/TestarConexao.class and b/build/classes/br/com/projeto/jdbc/TestarConexao.class differ diff --git a/build/classes/br/com/projeto/model/Fornecedor.class b/build/classes/br/com/projeto/model/Fornecedor.class index 0284191..e26b9db 100644 Binary files a/build/classes/br/com/projeto/model/Fornecedor.class and b/build/classes/br/com/projeto/model/Fornecedor.class differ diff --git a/build/classes/br/com/projeto/model/Insert.class b/build/classes/br/com/projeto/model/Insert.class index 4a4498c..b81ada3 100644 Binary files a/build/classes/br/com/projeto/model/Insert.class and b/build/classes/br/com/projeto/model/Insert.class differ diff --git a/build/classes/br/com/projeto/model/Options.class b/build/classes/br/com/projeto/model/Options.class index 83ce949..9f4e1eb 100644 Binary files a/build/classes/br/com/projeto/model/Options.class and b/build/classes/br/com/projeto/model/Options.class differ diff --git a/build/classes/br/com/projeto/model/Utilitarios.class b/build/classes/br/com/projeto/model/Utilitarios.class index ebc3b22..54ef6ed 100644 Binary files a/build/classes/br/com/projeto/model/Utilitarios.class and b/build/classes/br/com/projeto/model/Utilitarios.class differ diff --git a/build/classes/br/com/projeto/model/XlsxProcess.class b/build/classes/br/com/projeto/model/XlsxProcess.class index be57f1b..ac43e4b 100644 Binary files a/build/classes/br/com/projeto/model/XlsxProcess.class and b/build/classes/br/com/projeto/model/XlsxProcess.class differ diff --git a/build/classes/br/com/projeto/view/FormCartao$5.class b/build/classes/br/com/projeto/view/FormCartao$5.class index ff3f1b3..ea9f729 100644 Binary files a/build/classes/br/com/projeto/view/FormCartao$5.class and b/build/classes/br/com/projeto/view/FormCartao$5.class differ diff --git a/build/classes/br/com/projeto/view/FormCartao$PrintObject.class b/build/classes/br/com/projeto/view/FormCartao$PrintObject.class index 5291b3a..8a32f30 100644 Binary files a/build/classes/br/com/projeto/view/FormCartao$PrintObject.class and b/build/classes/br/com/projeto/view/FormCartao$PrintObject.class differ diff --git a/build/classes/br/com/projeto/view/FormCartao.class b/build/classes/br/com/projeto/view/FormCartao.class index b1f4913..ffcd598 100644 Binary files a/build/classes/br/com/projeto/view/FormCartao.class and b/build/classes/br/com/projeto/view/FormCartao.class differ diff --git a/build/classes/br/com/projeto/view/FormCartao.form b/build/classes/br/com/projeto/view/FormCartao.form new file mode 100644 index 0000000..e38a889 --- /dev/null +++ b/build/classes/br/com/projeto/view/FormCartao.form @@ -0,0 +1,370 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/classes/br/com/projeto/view/FormDetalhesLivro$3.class b/build/classes/br/com/projeto/view/FormDetalhesLivro$3.class index b6fa676..83023f5 100644 Binary files a/build/classes/br/com/projeto/view/FormDetalhesLivro$3.class and b/build/classes/br/com/projeto/view/FormDetalhesLivro$3.class differ diff --git a/build/classes/br/com/projeto/view/FormDetalhesLivro.class b/build/classes/br/com/projeto/view/FormDetalhesLivro.class index b3eca7f..e92e5ba 100644 Binary files a/build/classes/br/com/projeto/view/FormDetalhesLivro.class and b/build/classes/br/com/projeto/view/FormDetalhesLivro.class differ diff --git a/build/classes/br/com/projeto/view/FormDetalhesLivro.form b/build/classes/br/com/projeto/view/FormDetalhesLivro.form new file mode 100644 index 0000000..94e42ee --- /dev/null +++ b/build/classes/br/com/projeto/view/FormDetalhesLivro.form @@ -0,0 +1,458 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/classes/br/com/projeto/view/FormEmprestimos$1.class b/build/classes/br/com/projeto/view/FormEmprestimos$1.class index 1b4b3e6..d2bec00 100644 Binary files a/build/classes/br/com/projeto/view/FormEmprestimos$1.class and b/build/classes/br/com/projeto/view/FormEmprestimos$1.class differ diff --git a/build/classes/br/com/projeto/view/FormEmprestimos$45.class b/build/classes/br/com/projeto/view/FormEmprestimos$45.class index fafa202..df4a752 100644 Binary files a/build/classes/br/com/projeto/view/FormEmprestimos$45.class and b/build/classes/br/com/projeto/view/FormEmprestimos$45.class differ diff --git a/build/classes/br/com/projeto/view/FormEmprestimos.class b/build/classes/br/com/projeto/view/FormEmprestimos.class index 4813749..bac0936 100644 Binary files a/build/classes/br/com/projeto/view/FormEmprestimos.class and b/build/classes/br/com/projeto/view/FormEmprestimos.class differ diff --git a/build/classes/br/com/projeto/view/FormEmprestimos.form b/build/classes/br/com/projeto/view/FormEmprestimos.form new file mode 100644 index 0000000..d0a9f88 --- /dev/null +++ b/build/classes/br/com/projeto/view/FormEmprestimos.form @@ -0,0 +1,1440 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + + +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + + +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + </TableColumnModel> + </Property> + <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor"> + <TableHeader reorderingAllowed="true" resizingAllowed="true"/> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="tabelaLivrosFiltroMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_AddingCodePost" type="java.lang.String" value="tabelaLivrosFiltro.getColumn(tabelaLivrosFiltro.getColumnName(0)).setPreferredWidth(34); tabelaLivrosFiltro.getColumn(tabelaLivrosFiltro.getColumnName(1)).setPreferredWidth(170); tabelaLivrosFiltro.getColumn(tabelaLivrosFiltro.getColumnName(2)).setPreferredWidth(150); tabelaLivrosFiltro.getColumn(tabelaLivrosFiltro.getColumnName(3)).setPreferredWidth(140);"/> + <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="new javax.swing.JTable() /* { @Override public Component prepareRenderer (TableCellRenderer renderer, int rowIndex, int columnIndex){ Component componenet = super.prepareRenderer(renderer, rowIndex, columnIndex); Object value = getModel().getValueAt(rowIndex,columnIndex); System.out.println("value ===" +value); if(columnIndex == 6){ if(value.equals("true")) { componenet.setBackground(Color.RED); componenet.setForeground(Color.GREEN); } if(value.equals("false")){ componenet.setBackground(Color.GREEN); componenet.setForeground(Color.RED); } }else { componenet.setBackground(Color.WHITE); componenet.setForeground(Color.BLACK); } return componenet; } } */ "/> + </AuxValues> + </Component> + </SubComponents> + </Container> + <Component class="javax.swing.JTextField" name="txtBuscaLivro"> + <Events> + <EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="txtBuscaLivroKeyReleased"/> + </Events> + </Component> + <Component class="javax.swing.JTextField" name="txtAgora"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtAgoraActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JTextField" name="txtPrazoEntrega"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtPrazoEntregaActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel4"> + <Properties> + <Property name="text" type="java.lang.String" value="Data para Devolução:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel6"> + <Properties> + <Property name="text" type="java.lang.String" value="Data Atual:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel7"> + <Properties> + <Property name="text" type="java.lang.String" value="Livro ID:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtTituloSelect"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtTituloSelectActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="brnAddLivro"> + <Properties> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/right_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="<html>Adicionar à Lista"/> + <Property name="toolTipText" type="java.lang.String" value=""/> + <Property name="actionCommand" type="java.lang.String" value="<html>Adicionar à Lista"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="brnAddLivroActionPerformed"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="brnAddLivro.setVerticalTextPosition(SwingConstants.BOTTOM); brnAddLivro.setHorizontalTextPosition(SwingConstants.CENTER);"/> + </AuxValues> + </Component> + <Component class="javax.swing.JTextField" name="txtBookId"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + </Component> + <Container class="javax.swing.JScrollPane" name="jScrollPane3"> + <AuxValues> + <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> + </AuxValues> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> + <SubComponents> + <Component class="javax.swing.JTextArea" name="txtObservacoes"> + <Properties> + <Property name="columns" type="int" value="20"/> + <Property name="rows" type="int" value="5"/> + </Properties> + </Component> + </SubComponents> + </Container> + <Component class="javax.swing.JLabel" name="jLabel8"> + <Properties> + <Property name="text" type="java.lang.String" value="Observações:"/> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="btnRemoveBook"> + <Properties> + <Property name="text" type="java.lang.String" value="Remover Livro da Lista"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnRemoveBookActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnSalvar"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/save_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="SALVAR"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSalvarActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel2"> + <Properties> + <Property name="text" type="java.lang.String" value="ID de Usuário:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtId"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtIdActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JCheckBox" name="cbOcultarEmprestados"> + <Properties> + <Property name="text" type="java.lang.String" value="Ocultar Emprestados"/> + </Properties> + <Events> + <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="cbOcultarEmprestadosItemStateChanged"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="jButton5"> + <Properties> + <Property name="text" type="java.lang.String" value="Mapa"/> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="btnNovo"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/new_file_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="NOVO"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnNovoActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="lblImagem"> + <Properties> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/book_cover.png"/> + </Property> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="org.netbeans.modules.form.compat2.border.EtchedBorderInfo"> + <EtchetBorder bevelType="0"> + <Color PropertyName="highlight" blue="ff" green="ff" id="white" palette="1" red="ff" type="palette"/> + <Color PropertyName="shadow" blue="40" green="40" id="darkGray" palette="1" red="40" type="palette"/> + </EtchetBorder> + </Border> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtISBN"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtISBNActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel10"> + <Properties> + <Property name="text" type="java.lang.String" value="<html>ISBN/<br>ISSN: "/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtStatus"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel11"> + <Properties> + <Property name="text" type="java.lang.String" value="Status:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel9"> + <Properties> + <Property name="text" type="java.lang.String" value="Empréstimos Restantes:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtEmprestimosRestantes"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="lblimagemUser"> + <Properties> + <Property name="horizontalAlignment" type="int" value="0"/> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor" postCode="lblimagemUser.setVerticalTextPosition(SwingConstants.BOTTOM); lblimagemUser.setHorizontalTextPosition(SwingConstants.CENTER);"> + <Image iconType="3" name="/imagens/iconfinder_student_309036 (2).png"/> + </Property> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="org.netbeans.modules.form.compat2.border.EtchedBorderInfo"> + <EtchetBorder bevelType="0"> + <Color PropertyName="highlight" blue="ff" green="ff" id="white" palette="1" red="ff" type="palette"/> + <Color PropertyName="shadow" blue="40" green="40" id="darkGray" palette="1" red="40" type="palette"/> + </EtchetBorder> + </Border> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="btnCartao"> + <Properties> + <Property name="text" type="java.lang.String" value="Imprimir/ Ver Cartão"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnCartaoActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="jButton1"> + <Properties> + <Property name="text" type="java.lang.String" value="Cadastro"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="jButton13"> + <Properties> + <Property name="text" type="java.lang.String" value="Cadastro"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton13ActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnDetalhes"> + <Properties> + <Property name="text" type="java.lang.String" value="Detalhes"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnDetalhesActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnBuscarLivrosAdvanced"> + <Properties> + <Property name="text" type="java.lang.String" value="Busca Avançada"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnBuscarLivrosAdvancedActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JTextField" name="txtDisponibilidade"> + <Properties> + <Property name="enabled" type="boolean" value="false"/> + <Property name="opaque" type="boolean" value="false"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel23"> + <Properties> + <Property name="text" type="java.lang.String" value="Título:"/> + </Properties> + </Component> + </SubComponents> + </Container> + <Container class="javax.swing.JPanel" name="jPanel3"> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> + <JTabbedPaneConstraints tabName="Devoluções"> + <Property name="tabTitle" type="java.lang.String" value="Devoluções"/> + </JTabbedPaneConstraints> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace min="-2" pref="37" max="-2" attributes="0"/> + <Component id="jLabel12" min="-2" max="-2" attributes="0"/> + </Group> + <Component id="jLabel15" alignment="1" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtIdEmprest" min="-2" pref="66" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel13" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtLeitorresponsavel" min="-2" pref="348" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <EmptySpace min="-2" pref="12" max="-2" attributes="0"/> + <Component id="txtLivroEmprestado" min="-2" pref="544" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="13" max="-2" attributes="0"/> + <Group type="103" groupAlignment="1" attributes="0"> + <Component id="jLabel20" min="-2" max="-2" attributes="0"/> + <Component id="jLabel19" min="-2" max="-2" attributes="0"/> + <Component id="jLabel21" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtMulta" min="-2" pref="175" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace min="-2" pref="12" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="txtDataParaDevolucao" min="-2" pref="175" max="-2" attributes="0"/> + <Component id="StatusEmprestimo" min="-2" pref="175" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace min="-2" pref="18" max="-2" attributes="0"/> + <Component id="jLabel17" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtDataEmprestimo" min="-2" pref="172" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="1" attributes="0"> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="txtFuncionarioQueEmprestou" alignment="1" min="-2" pref="275" max="-2" attributes="0"/> + <Component id="jScrollPane7" alignment="1" min="-2" pref="354" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="radbtnAddObs" alignment="1" min="-2" max="-2" attributes="0"/> + <Group type="102" alignment="1" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="btnDevolver" min="-2" pref="161" max="-2" attributes="0"/> + <Component id="btnReemprestar" min="-2" pref="161" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="btnImprimeMulta" min="-2" pref="148" max="-2" attributes="0"/> + <Component id="btnDesbloqueiaUsuario" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + <Component id="jLabel16" alignment="0" min="-2" max="-2" attributes="0"/> + <Component id="jLabel22" alignment="0" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <EmptySpace min="-2" pref="231" max="-2" attributes="0"/> + <Component id="jButton9" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="833" max="-2" attributes="0"/> + <Component id="radioLista" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="jScrollPane6" min="-2" pref="993" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace min="-2" pref="10" max="-2" attributes="0"/> + <Component id="radioLista" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="jScrollPane6" min="-2" pref="200" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="txtIdEmprest" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtLeitorresponsavel" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel12" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel13" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="2" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace min="-2" pref="13" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel15" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtLivroEmprestado" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="unrelated" pref="18" max="32767" attributes="0"/> + <Group type="103" groupAlignment="1" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <Component id="radbtnAddObs" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="3" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="btnImprimeMulta" alignment="3" min="-2" pref="50" max="-2" attributes="0"/> + <Component id="btnDevolver" alignment="3" min="-2" pref="50" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="btnDesbloqueiaUsuario" alignment="3" min="-2" pref="50" max="-2" attributes="0"/> + <Component id="btnReemprestar" alignment="3" min="-2" pref="50" max="-2" attributes="0"/> + </Group> + <EmptySpace pref="52" max="32767" attributes="0"/> + </Group> + <Group type="102" alignment="1" attributes="0"> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel16" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel17" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtDataEmprestimo" linkSize="1" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtFuncionarioQueEmprestou" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel19" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtDataParaDevolucao" linkSize="1" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel22" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="1" attributes="0"> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel20" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="StatusEmprestimo" linkSize="1" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="23" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel21" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtMulta" linkSize="1" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <Component id="jScrollPane7" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="35" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <Group type="102" attributes="0"> + <Component id="jButton9" min="-2" max="-2" attributes="0"/> + <EmptySpace min="0" pref="0" max="32767" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Container class="javax.swing.JScrollPane" name="jScrollPane6"> + <AuxValues> + <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> + </AuxValues> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> + <SubComponents> + <Component class="javax.swing.JTable" name="tabelaDevolucoes"> + <Properties> + <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor"> + <Table columnCount="9" rowCount="0"> + <Column editable="false" title="Atraso" type="java.lang.Object"/> + <Column editable="false" title="Id do Empréstimo" type="java.lang.Object"/> + <Column editable="false" title="Usuário" type="java.lang.Object"/> + <Column editable="false" title="Titulo" type="java.lang.Object"/> + <Column editable="false" title="Funcionário" type="java.lang.Object"/> + <Column editable="false" title="Data do Empréstimo" type="java.lang.Object"/> + <Column editable="false" title="Data Agendada de Entrega" type="java.lang.Object"/> + <Column editable="true" title="Observações" type="java.lang.Object"/> + <Column editable="false" title="Data da Devolução" type="java.lang.Object"/> + </Table> + </Property> + <Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor"> + <TableColumnModel selectionModel="0"> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + </TableColumnModel> + </Property> + <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor"> + <TableHeader reorderingAllowed="true" resizingAllowed="true"/> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="tabelaDevolucoesMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="new javax.swing.JTable() { @Override public Component prepareRenderer (TableCellRenderer renderer, int rowIndex, int columnIndex){ Component componenet = super.prepareRenderer(renderer, rowIndex, columnIndex); Object value = getModel().getValueAt(rowIndex,columnIndex); if(columnIndex == 0){ if(value.equals("1 dias restantes") || value.equals("2 dias restantes") || value.equals("3 dias restantes") || value.equals("4 dias restantes") || value.equals("5 dias restantes") || value.equals("6 dias restantes") || value.equals("7 dias restantes") || value.equals("8 dias restantes") || value.equals("9 dias restantes") || value.equals("10 dias restantes") || value.equals("11 dias restantes") || value.equals("12 dias restantes") || value.equals("13 dias restantes") || value.equals("14 dias restantes")) { componenet.setBackground(Color.GREEN); componenet.setForeground(Color.BLACK); } if(value.equals("Vence Hoje")){ // if date equal current date componenet.setBackground(Color.YELLOW); componenet.setForeground(Color.BLACK); } if(value.equals("1 dias de atraso") || value.equals("2 dias de atraso") || value.equals("3 dias de atraso") || value.equals("4 dias de atraso") || value.equals("5 dias de atraso") || value.equals("6 dias de atraso") || value.equals("7 dias de atraso") || value.equals("8 dias de atraso") || value.equals("9 dias de atraso") ){ componenet.setBackground(Color.PINK); componenet.setForeground(Color.BLACK); } if(value.equals("+ de 15 dias de atraso")){ // if date equal current date componenet.setBackground(Color.RED); componenet.setForeground(Color.WHITE); } if(value.equals("Devolvido")){ // if date equal current date componenet.setBackground(Color.WHITE); componenet.setForeground(Color.GRAY); } } else { // componenet.setBackground(Color.RED); // componenet.setForeground(Color.WHITE); } return componenet; } } "/> + <AuxValue name="JavaCodeGenerator_InitCodePre" type="java.lang.String" value="tabelaDevolucoes.setDefaultRenderer(Date.class, new DateRenderer());"/> + </AuxValues> + </Component> + </SubComponents> + </Container> + <Component class="javax.swing.JButton" name="btnDevolver"> + <Properties> + <Property name="text" type="java.lang.String" value="Devolver"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnDevolverActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnReemprestar"> + <Properties> + <Property name="text" type="java.lang.String" value="reeemprestar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnReemprestarActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="jButton9"> + <Properties> + <Property name="text" type="java.lang.String" value="Localização"/> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="btnImprimeMulta"> + <Properties> + <Property name="text" type="java.lang.String" value="Imprime Multa"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnImprimeMultaActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnDesbloqueiaUsuario"> + <Properties> + <Property name="text" type="java.lang.String" value="Desbloqueia Usuário"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtIdEmprest"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtIdEmprestActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JTextField" name="txtLeitorresponsavel"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtLivroEmprestado"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtFuncionarioQueEmprestou"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="horizontalAlignment" type="int" value="11"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtDataEmprestimo"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtDataParaDevolucao"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtMulta"> + </Component> + <Component class="javax.swing.JTextField" name="StatusEmprestimo"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + </Properties> + </Component> + <Container class="javax.swing.JScrollPane" name="jScrollPane7"> + <AuxValues> + <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> + </AuxValues> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> + <SubComponents> + <Component class="javax.swing.JTextArea" name="txtObservacoesDevolucao"> + <Properties> + <Property name="columns" type="int" value="20"/> + <Property name="rows" type="int" value="5"/> + </Properties> + </Component> + </SubComponents> + </Container> + <Component class="javax.swing.JLabel" name="jLabel12"> + <Properties> + <Property name="text" type="java.lang.String" value="Id do Empréstimo"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel13"> + <Properties> + <Property name="text" type="java.lang.String" value="Leitor Responsável:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel15"> + <Properties> + <Property name="text" type="java.lang.String" value="Título:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel16"> + <Properties> + <Property name="text" type="java.lang.String" value="Funcionário:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel17"> + <Properties> + <Property name="text" type="java.lang.String" value="Data de Empréstimo:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel19"> + <Properties> + <Property name="text" type="java.lang.String" value="Data para Devolução:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel20"> + <Properties> + <Property name="text" type="java.lang.String" value="Status:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel21"> + <Properties> + <Property name="text" type="java.lang.String" value="Multa:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel22"> + <Properties> + <Property name="text" type="java.lang.String" value="Observações:"/> + </Properties> + </Component> + <Component class="javax.swing.JRadioButton" name="radbtnAddObs"> + <Properties> + <Property name="text" type="java.lang.String" value="Add Observações como permanente para o Livro"/> + </Properties> + </Component> + <Component class="javax.swing.JRadioButton" name="radioLista"> + <Properties> + <Property name="text" type="java.lang.String" value="Mostrar Devolvidos"/> + </Properties> + <Events> + <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="radioListaItemStateChanged"/> + </Events> + </Component> + </SubComponents> + </Container> + </SubComponents> + </Container> + </SubComponents> +</Form> diff --git a/build/classes/br/com/projeto/view/FormFornecedores$15.class b/build/classes/br/com/projeto/view/FormFornecedores$15.class index b975f15..8532d90 100644 Binary files a/build/classes/br/com/projeto/view/FormFornecedores$15.class and b/build/classes/br/com/projeto/view/FormFornecedores$15.class differ diff --git a/build/classes/br/com/projeto/view/FormFornecedores.class b/build/classes/br/com/projeto/view/FormFornecedores.class index 82baee4..bdde80c 100644 Binary files a/build/classes/br/com/projeto/view/FormFornecedores.class and b/build/classes/br/com/projeto/view/FormFornecedores.class differ diff --git a/build/classes/br/com/projeto/view/FormFornecedores.form b/build/classes/br/com/projeto/view/FormFornecedores.form new file mode 100644 index 0000000..5dea4af --- /dev/null +++ b/build/classes/br/com/projeto/view/FormFornecedores.form @@ -0,0 +1,707 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<Form version="1.5" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> + <Properties> + <Property name="defaultCloseOperation" type="int" value="2"/> + </Properties> + <SyntheticProperties> + <SyntheticProperty name="formSizePolicy" type="int" value="1"/> + <SyntheticProperty name="generateCenter" type="boolean" value="false"/> + </SyntheticProperties> + <Events> + <EventHandler event="windowActivated" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowActivated"/> + </Events> + <AuxValues> + <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> + <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> + <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> + </AuxValues> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jPanel1" max="32767" attributes="0"/> + <Component id="tabbedFrameF" alignment="0" max="32767" attributes="0"/> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace max="32767" attributes="0"/> + <Component id="btnImprimir" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="29" max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="jPanel1" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="tabbedFrameF" max="32767" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="btnImprimir" max="32767" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Container class="javax.swing.JPanel" name="jPanel1"> + <Properties> + <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="33" green="33" red="33" type="rgb"/> + </Property> + </Properties> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="jLabel1" max="32767" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jLabel1" alignment="1" pref="72" max="32767" attributes="0"/> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel1"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="24" style="0"/> + </Property> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="ff" green="ff" red="ff" type="rgb"/> + </Property> + <Property name="horizontalAlignment" type="int" value="0"/> + <Property name="text" type="java.lang.String" value="Cadastro de Fornecedores"/> + </Properties> + </Component> + </SubComponents> + </Container> + <Container class="javax.swing.JTabbedPane" name="tabbedFrameF"> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/> + <SubComponents> + <Container class="javax.swing.JPanel" name="tabConsultaUsuarios"> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> + <JTabbedPaneConstraints tabName="Consulta de Fornecedores"> + <Property name="tabTitle" type="java.lang.String" value="Consulta de Fornecedores"/> + </JTabbedPaneConstraints> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="25" max="-2" attributes="0"/> + <Component id="jLabel14" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtPesquisaFornecedor" min="-2" pref="282" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="btnPesquisar" min="-2" max="-2" attributes="0"/> + <EmptySpace pref="428" max="32767" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="jScrollPane1" max="32767" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="10" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel14" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtPesquisaFornecedor" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnPesquisar" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Component id="jScrollPane1" min="-2" pref="208" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel14"> + <Properties> + <Property name="text" type="java.lang.String" value="Nome:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtPesquisaFornecedor"> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtPesquisaFornecedorActionPerformed"/> + <EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="txtPesquisaFornecedorKeyReleased"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnPesquisar"> + <Properties> + <Property name="text" type="java.lang.String" value="Pesquisar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnPesquisarActionPerformed"/> + <EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="btnPesquisarKeyReleased"/> + </Events> + </Component> + <Container class="javax.swing.JScrollPane" name="jScrollPane1"> + <AuxValues> + <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> + </AuxValues> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> + <SubComponents> + <Component class="javax.swing.JTable" name="tabelaFornecedor"> + <Properties> + <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor"> + <Table columnCount="13" rowCount="0"> + <Column editable="false" title="cod" type="java.lang.Object"/> + <Column editable="false" title="nome" type="java.lang.Object"/> + <Column editable="false" title="cnpj" type="java.lang.Object"/> + <Column editable="false" title="email" type="java.lang.Object"/> + <Column editable="false" title="telefone" type="java.lang.Object"/> + <Column editable="false" title="celular" type="java.lang.Object"/> + <Column editable="false" title="cep" type="java.lang.Object"/> + <Column editable="false" title="endereco" type="java.lang.Object"/> + <Column editable="false" title="numero" type="java.lang.Object"/> + <Column editable="false" title="complemento" type="java.lang.Object"/> + <Column editable="false" title="bairro" type="java.lang.Object"/> + <Column editable="false" title="cidade" type="java.lang.Object"/> + <Column editable="false" title="estado" type="java.lang.Object"/> + </Table> + </Property> + <Property name="autoResizeMode" type="int" value="4"/> + <Property name="autoscrolls" type="boolean" value="false"/> + <Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor"> + <TableColumnModel selectionModel="0"> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + </TableColumnModel> + </Property> + <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor"> + <TableHeader reorderingAllowed="false" resizingAllowed="true"/> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="tabelaFornecedorMouseClicked"/> + </Events> + </Component> + </SubComponents> + </Container> + </SubComponents> + </Container> + <Container class="javax.swing.JPanel" name="tabCadastro"> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> + <JTabbedPaneConstraints tabName="Cadastro de Fornecedores"> + <Property name="tabTitle" type="java.lang.String" value="Cadastro de Fornecedores"/> + </JTabbedPaneConstraints> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace min="-2" pref="312" max="-2" attributes="0"/> + <Component id="jLabel18" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="33" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="1" attributes="0"> + <Component id="jLabel2" alignment="1" min="-2" max="-2" attributes="0"/> + <Component id="jLabel10" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="txtCnpj" min="-2" pref="165" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="jLabel12" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtCelular" min="-2" pref="109" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel9" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtTelefone" min="-2" pref="125" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <Component id="txtId" min="-2" pref="59" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel3" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtNome" min="-2" pref="247" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel4" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtEmail" min="-2" pref="280" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="11" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel19" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtCep" min="-2" pref="111" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="jButton1" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="46" max="-2" attributes="0"/> + <Component id="jLabel5" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtEndereco" min="-2" pref="258" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel7" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtNum" min="-2" pref="45" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel13" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtComplemento" min="-2" pref="204" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="jLabel8" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtBairro" min="-2" pref="189" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel16" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtCidade" min="-2" pref="171" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel6" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="boxUf" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel21" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="53" max="-2" attributes="0"/> + <Component id="btnNovo" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="btnSalvar" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="btnExcluir" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + </Group> + </Group> + <EmptySpace pref="64" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace max="32767" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtId" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtNome" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtEmail" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="32767" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel12" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel9" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtCelular" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtTelefone" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel10" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtCnpj" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace pref="47" max="32767" attributes="0"/> + <Component id="jLabel18" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="159" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel19" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtEndereco" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel7" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtNum" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtCep" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jButton1" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel13" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtComplemento" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel8" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtBairro" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel16" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtCidade" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="boxUf" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jLabel21" min="-2" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" max="-2" attributes="0"> + <Component id="btnNovo" alignment="3" max="32767" attributes="0"/> + <Component id="btnSalvar" alignment="3" max="32767" attributes="0"/> + <Component id="btnExcluir" alignment="3" max="32767" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel2"> + <Properties> + <Property name="text" type="java.lang.String" value="ID:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel3"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*Nome:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel4"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Email:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel5"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Logradouro:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel6"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="UF:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel7"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="N:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel8"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Bairro:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel9"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*Telefone:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel10"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*CNPJ:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel12"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Celular:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel13"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Complemento:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel16"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*Cidade:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtNome"> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtNomeActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JTextField" name="txtEmail"> + </Component> + <Component class="javax.swing.JTextField" name="txtEndereco"> + </Component> + <Component class="javax.swing.JTextField" name="txtNum"> + </Component> + <Component class="javax.swing.JTextField" name="txtComplemento"> + </Component> + <Component class="javax.swing.JTextField" name="txtBairro"> + </Component> + <Component class="javax.swing.JTextField" name="txtCidade"> + </Component> + <Component class="javax.swing.JTextField" name="txtId"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtIdActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel18"> + </Component> + <Component class="javax.swing.JLabel" name="jLabel19"> + <Properties> + <Property name="text" type="java.lang.String" value="CEP:"/> + </Properties> + </Component> + <Component class="javax.swing.JComboBox" name="boxUf"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="27"> + <StringItem index="0" value="AC"/> + <StringItem index="1" value="AL"/> + <StringItem index="2" value="AP"/> + <StringItem index="3" value="AM"/> + <StringItem index="4" value="BA"/> + <StringItem index="5" value="CE"/> + <StringItem index="6" value="DF"/> + <StringItem index="7" value="ES"/> + <StringItem index="8" value="GO"/> + <StringItem index="9" value="MA"/> + <StringItem index="10" value="MT"/> + <StringItem index="11" value="MS"/> + <StringItem index="12" value="MG"/> + <StringItem index="13" value="PA"/> + <StringItem index="14" value="PB"/> + <StringItem index="15" value="PR"/> + <StringItem index="16" value="PE"/> + <StringItem index="17" value="PI"/> + <StringItem index="18" value="RJ"/> + <StringItem index="19" value="RN"/> + <StringItem index="20" value="RS"/> + <StringItem index="21" value="RO"/> + <StringItem index="22" value="RR"/> + <StringItem index="23" value="SC"/> + <StringItem index="24" value="SP"/> + <StringItem index="25" value="SE"/> + <StringItem index="26" value="TO"/> + </StringArray> + </Property> + </Properties> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> + </AuxValues> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtCep"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="#####-###" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtCelular"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="(##)#####-####" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtTelefone"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="(##)####-####" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtCnpj"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="##.###.###/####-##" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="btnNovo"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/new_file_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="NOVO"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnNovoActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnSalvar"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/save_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="SALVAR"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSalvarActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnExcluir"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/delete_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="EXCLUIR"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnExcluirActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel21"> + <Properties> + <Property name="text" type="java.lang.String" value="Campos marcados com * são de preenchimento obrigátório!"/> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="jButton1"> + <Properties> + <Property name="text" type="java.lang.String" value="Buscar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/> + </Events> + </Component> + </SubComponents> + </Container> + </SubComponents> + </Container> + <Component class="javax.swing.JButton" name="btnImprimir"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/iconfinder_Door_enter_entrance_exit_leave_logout_out_quit_4831032.png"/> + </Property> + <Property name="text" type="java.lang.String" value="FECHAR"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnImprimirActionPerformed"/> + </Events> + </Component> + </SubComponents> +</Form> diff --git a/build/classes/br/com/projeto/view/FormFuncionarios$16.class b/build/classes/br/com/projeto/view/FormFuncionarios$16.class index 71e4d45..49875b9 100644 Binary files a/build/classes/br/com/projeto/view/FormFuncionarios$16.class and b/build/classes/br/com/projeto/view/FormFuncionarios$16.class differ diff --git a/build/classes/br/com/projeto/view/FormFuncionarios.class b/build/classes/br/com/projeto/view/FormFuncionarios.class index 2317afe..484f061 100644 Binary files a/build/classes/br/com/projeto/view/FormFuncionarios.class and b/build/classes/br/com/projeto/view/FormFuncionarios.class differ diff --git a/build/classes/br/com/projeto/view/FormFuncionarios.form b/build/classes/br/com/projeto/view/FormFuncionarios.form new file mode 100644 index 0000000..dd413ea --- /dev/null +++ b/build/classes/br/com/projeto/view/FormFuncionarios.form @@ -0,0 +1,840 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<Form version="1.5" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> + <Properties> + <Property name="defaultCloseOperation" type="int" value="2"/> + </Properties> + <SyntheticProperties> + <SyntheticProperty name="formSizePolicy" type="int" value="1"/> + <SyntheticProperty name="generateCenter" type="boolean" value="false"/> + </SyntheticProperties> + <Events> + <EventHandler event="windowActivated" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowActivated"/> + </Events> + <AuxValues> + <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> + <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> + <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> + </AuxValues> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jPanel1" max="32767" attributes="0"/> + <Component id="tabbedFrameF" alignment="0" max="32767" attributes="0"/> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace max="32767" attributes="0"/> + <Component id="btnFechar" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="19" max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="jPanel1" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="tabbedFrameF" min="-2" pref="266" max="-2" attributes="0"/> + <EmptySpace type="unrelated" min="-2" max="-2" attributes="0"/> + <Component id="btnFechar" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Container class="javax.swing.JPanel" name="jPanel1"> + <Properties> + <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="33" green="33" red="33" type="rgb"/> + </Property> + </Properties> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="jLabel1" max="32767" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jLabel1" alignment="1" pref="72" max="32767" attributes="0"/> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel1"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="24" style="0"/> + </Property> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="ff" green="ff" red="ff" type="rgb"/> + </Property> + <Property name="horizontalAlignment" type="int" value="0"/> + <Property name="text" type="java.lang.String" value="Cadastro de Funcionários"/> + </Properties> + </Component> + </SubComponents> + </Container> + <Container class="javax.swing.JTabbedPane" name="tabbedFrameF"> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/> + <SubComponents> + <Container class="javax.swing.JPanel" name="tabConsultaUsuarios"> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> + <JTabbedPaneConstraints tabName="Consulta de Funcionários"> + <Property name="tabTitle" type="java.lang.String" value="Consulta de Funcionários"/> + </JTabbedPaneConstraints> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="25" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <Component id="jScrollPane1" max="32767" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel14" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtPesquisaFuncionario" pref="307" max="32767" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="btnPesquisar" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="618" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="10" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel14" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtPesquisaFuncionario" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnPesquisar" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="38" max="-2" attributes="0"/> + <Component id="jScrollPane1" min="-2" pref="176" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel14"> + <Properties> + <Property name="text" type="java.lang.String" value="Nome:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtPesquisaFuncionario"> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtPesquisaFuncionarioActionPerformed"/> + <EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="txtPesquisaFuncionarioKeyReleased"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnPesquisar"> + <Properties> + <Property name="text" type="java.lang.String" value="Pesquisar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnPesquisarActionPerformed"/> + <EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="btnPesquisarKeyReleased"/> + </Events> + </Component> + <Container class="javax.swing.JScrollPane" name="jScrollPane1"> + <AuxValues> + <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> + </AuxValues> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> + <SubComponents> + <Component class="javax.swing.JTable" name="tabelaFuncionario"> + <Properties> + <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor"> + <Table columnCount="17" rowCount="0"> + <Column editable="false" title="cod" type="java.lang.Object"/> + <Column editable="false" title="nome" type="java.lang.Object"/> + <Column editable="false" title="rg" type="java.lang.Object"/> + <Column editable="false" title="cpf" type="java.lang.Object"/> + <Column editable="false" title="email" type="java.lang.Object"/> + <Column editable="false" title="senha" type="java.lang.Object"/> + <Column editable="false" title="cargo" type="java.lang.Object"/> + <Column editable="false" title="nivel_acesso" type="java.lang.Object"/> + <Column editable="false" title="telefone" type="java.lang.Object"/> + <Column editable="false" title="celular" type="java.lang.Object"/> + <Column editable="false" title="cep" type="java.lang.Object"/> + <Column editable="false" title="endereco" type="java.lang.Object"/> + <Column editable="false" title="numero" type="java.lang.Object"/> + <Column editable="false" title="complemento" type="java.lang.Object"/> + <Column editable="false" title="bairro" type="java.lang.Object"/> + <Column editable="false" title="cidade" type="java.lang.Object"/> + <Column editable="false" title="estado" type="java.lang.Object"/> + </Table> + </Property> + <Property name="autoResizeMode" type="int" value="4"/> + <Property name="autoscrolls" type="boolean" value="false"/> + <Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor"> + <TableColumnModel selectionModel="0"> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="false"> + <Title/> + <Editor/> + <Renderer/> + </Column> + </TableColumnModel> + </Property> + <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor"> + <TableHeader reorderingAllowed="false" resizingAllowed="true"/> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="tabelaFuncionarioMouseClicked"/> + </Events> + </Component> + </SubComponents> + </Container> + </SubComponents> + </Container> + <Container class="javax.swing.JPanel" name="tabCadastro"> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> + <JTabbedPaneConstraints tabName="Cadastro deFuncionários"> + <Property name="tabTitle" type="java.lang.String" value="Cadastro deFuncionários"/> + </JTabbedPaneConstraints> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="1" attributes="0"> + <Component id="jLabel19" min="-2" max="-2" attributes="0"/> + <Component id="jLabel8" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="txtCep" min="-2" pref="111" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="jButton1" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="26" max="-2" attributes="0"/> + <Component id="jLabel5" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtEndereco" min="-2" pref="258" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel7" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtNum" min="-2" pref="45" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <Component id="txtBairro" min="-2" pref="189" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel16" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtCidade" min="-2" pref="171" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <EmptySpace min="6" pref="6" max="-2" attributes="0"/> + <Component id="jLabel21" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace min="-2" pref="25" max="-2" attributes="0"/> + <Component id="jLabel6" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="boxUf" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <Component id="jLabel13" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtComplemento" max="32767" attributes="0"/> + <EmptySpace min="-2" pref="307" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <Component id="btnNovo" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="btnSalvar" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="btnExcluir" min="-2" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + </Group> + </Group> + </Group> + <Group type="102" attributes="0"> + <EmptySpace min="-2" pref="312" max="-2" attributes="0"/> + <Component id="jLabel18" min="-2" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="33" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace min="6" pref="6" max="-2" attributes="0"/> + <Component id="jLabel4" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtEmail" min="-2" pref="280" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel10" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtCpf" min="-2" pref="165" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="jLabel11" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtRg" min="-2" pref="156" max="-2" attributes="0"/> + <EmptySpace min="0" pref="0" max="32767" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="1" attributes="0"> + <Component id="jLabel2" alignment="1" min="-2" max="-2" attributes="0"/> + <Component id="jLabel17" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <Component id="txtCargo" max="32767" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="jLabel12" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtCelular" min="-2" pref="109" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel9" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtTelefone" min="-2" pref="125" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="348" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jTextField17" alignment="0" min="-2" pref="86" max="-2" attributes="0"/> + <Group type="102" alignment="0" attributes="0"> + <Component id="txtId" min="-2" pref="59" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel3" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtNome" min="-2" pref="247" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel15" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtSenha" min="-2" pref="206" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel20" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="boxNivelAcesso" min="-2" pref="241" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace max="32767" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace max="32767" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtId" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtNome" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel15" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel20" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="boxNivelAcesso" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtSenha" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="32767" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel12" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel9" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtCelular" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtTelefone" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel17" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtCargo" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="11" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="txtEmail" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel10" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel11" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtCpf" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtRg" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel19" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtEndereco" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel7" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtNum" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel13" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtComplemento" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtCep" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jButton1" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel8" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtBairro" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel16" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtCidade" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="boxUf" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel21" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="31" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" max="-2" attributes="0"> + <Component id="btnNovo" alignment="3" max="32767" attributes="0"/> + <Component id="btnSalvar" alignment="3" max="32767" attributes="0"/> + <Component id="btnExcluir" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <EmptySpace min="-2" pref="63" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel18" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="159" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace min="-2" pref="181" max="-2" attributes="0"/> + <Component id="jTextField17" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel2"> + <Properties> + <Property name="text" type="java.lang.String" value="ID:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel3"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*Nome:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel4"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*Email:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel5"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Endereço:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel6"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="UF:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel7"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="N:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel8"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Bairro:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel9"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Telefone:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel10"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="CPF:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel11"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*RG:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel12"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*Celular:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel13"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Complemento:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel16"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Cidade:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtNome"> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtNomeActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JTextField" name="txtEmail"> + </Component> + <Component class="javax.swing.JTextField" name="txtEndereco"> + </Component> + <Component class="javax.swing.JTextField" name="txtNum"> + </Component> + <Component class="javax.swing.JTextField" name="txtComplemento"> + </Component> + <Component class="javax.swing.JTextField" name="txtBairro"> + </Component> + <Component class="javax.swing.JTextField" name="txtCidade"> + </Component> + <Component class="javax.swing.JTextField" name="txtId"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtIdActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel15"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*Senha"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtCargo"> + </Component> + <Component class="javax.swing.JLabel" name="jLabel17"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*Cargo"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="jTextField17"> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jTextField17ActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel18"> + </Component> + <Component class="javax.swing.JLabel" name="jLabel19"> + <Properties> + <Property name="text" type="java.lang.String" value="CEP:"/> + </Properties> + </Component> + <Component class="javax.swing.JComboBox" name="boxUf"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="27"> + <StringItem index="0" value="AC"/> + <StringItem index="1" value="AL"/> + <StringItem index="2" value="AP"/> + <StringItem index="3" value="AM"/> + <StringItem index="4" value="BA"/> + <StringItem index="5" value="CE"/> + <StringItem index="6" value="DF"/> + <StringItem index="7" value="ES"/> + <StringItem index="8" value="GO"/> + <StringItem index="9" value="MA"/> + <StringItem index="10" value="MT"/> + <StringItem index="11" value="MS"/> + <StringItem index="12" value="MG"/> + <StringItem index="13" value="PA"/> + <StringItem index="14" value="PB"/> + <StringItem index="15" value="PR"/> + <StringItem index="16" value="PE"/> + <StringItem index="17" value="PI"/> + <StringItem index="18" value="RJ"/> + <StringItem index="19" value="RN"/> + <StringItem index="20" value="RS"/> + <StringItem index="21" value="RO"/> + <StringItem index="22" value="RR"/> + <StringItem index="23" value="SC"/> + <StringItem index="24" value="SP"/> + <StringItem index="25" value="SE"/> + <StringItem index="26" value="TO"/> + </StringArray> + </Property> + </Properties> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> + </AuxValues> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtCep"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="#####-###" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtCelular"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="(##)#####-####" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtTelefone"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="(##)####-####" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtCpf"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="###.###.###-##" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtRg"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="#.###.###-#" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel20"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*Nível de Acesso"/> + </Properties> + </Component> + <Component class="javax.swing.JComboBox" name="boxNivelAcesso"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="3"> + <StringItem index="0" value="Administrador"/> + <StringItem index="1" value="Atendente"/> + <StringItem index="2" value="Usuario"/> + </StringArray> + </Property> + </Properties> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> + </AuxValues> + </Component> + <Component class="javax.swing.JPasswordField" name="txtSenha"> + </Component> + <Component class="javax.swing.JButton" name="btnNovo"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/new_file_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="NOVO"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnNovoActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnSalvar"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/save_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="SALVAR"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSalvarActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnExcluir"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/delete_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="EXCLUIR"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnExcluirActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel21"> + <Properties> + <Property name="text" type="java.lang.String" value="Campos marcados com * são de preenchimento obrigátório!"/> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="jButton1"> + <Properties> + <Property name="text" type="java.lang.String" value="Buscar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/> + </Events> + </Component> + </SubComponents> + </Container> + </SubComponents> + </Container> + <Component class="javax.swing.JButton" name="btnFechar"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/iconfinder_Door_enter_entrance_exit_leave_logout_out_quit_4831032.png"/> + </Property> + <Property name="text" type="java.lang.String" value="FECHAR"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnFecharActionPerformed"/> + </Events> + </Component> + </SubComponents> +</Form> diff --git a/build/classes/br/com/projeto/view/FormLeitor$22.class b/build/classes/br/com/projeto/view/FormLeitor$22.class index 007bf27..9a57b80 100644 Binary files a/build/classes/br/com/projeto/view/FormLeitor$22.class and b/build/classes/br/com/projeto/view/FormLeitor$22.class differ diff --git a/build/classes/br/com/projeto/view/FormLeitor$23.class b/build/classes/br/com/projeto/view/FormLeitor$23.class index 0ffb848..e65a8ab 100644 Binary files a/build/classes/br/com/projeto/view/FormLeitor$23.class and b/build/classes/br/com/projeto/view/FormLeitor$23.class differ diff --git a/build/classes/br/com/projeto/view/FormLeitor.class b/build/classes/br/com/projeto/view/FormLeitor.class index b29172f..2a4ed95 100644 Binary files a/build/classes/br/com/projeto/view/FormLeitor.class and b/build/classes/br/com/projeto/view/FormLeitor.class differ diff --git a/build/classes/br/com/projeto/view/FormLeitor.form b/build/classes/br/com/projeto/view/FormLeitor.form new file mode 100644 index 0000000..6ed8ec9 --- /dev/null +++ b/build/classes/br/com/projeto/view/FormLeitor.form @@ -0,0 +1,1022 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<Form version="1.5" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> + <Properties> + <Property name="defaultCloseOperation" type="int" value="2"/> + <Property name="title" type="java.lang.String" value="Controle de Usuários"/> + </Properties> + <SyntheticProperties> + <SyntheticProperty name="formSizePolicy" type="int" value="1"/> + <SyntheticProperty name="generateCenter" type="boolean" value="false"/> + </SyntheticProperties> + <Events> + <EventHandler event="windowActivated" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowActivated"/> + </Events> + <AuxValues> + <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> + <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> + <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> + </AuxValues> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jPanel1" max="32767" attributes="0"/> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace max="32767" attributes="0"/> + <Component id="btnNovo1" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="14" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="tabbedFrame" min="-2" pref="826" max="-2" attributes="0"/> + <EmptySpace min="0" pref="24" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="jPanel1" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="tabbedFrame" min="-2" pref="417" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="btnNovo1" pref="43" max="32767" attributes="0"/> + <EmptySpace min="-2" pref="10" max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Container class="javax.swing.JPanel" name="jPanel1"> + <Properties> + <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="33" green="33" red="33" type="rgb"/> + </Property> + </Properties> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="jLabel1" max="32767" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel1" min="-2" pref="48" max="-2" attributes="0"/> + <EmptySpace min="0" pref="6" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel1"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="24" style="0"/> + </Property> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="ff" green="ff" red="ff" type="rgb"/> + </Property> + <Property name="horizontalAlignment" type="int" value="0"/> + <Property name="text" type="java.lang.String" value="Cadastro de Usuário"/> + </Properties> + </Component> + </SubComponents> + </Container> + <Container class="javax.swing.JTabbedPane" name="tabbedFrame"> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/> + <SubComponents> + <Container class="javax.swing.JPanel" name="tabConsultaUsuarios"> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> + <JTabbedPaneConstraints tabName="Consulta de Usuários"> + <Property name="tabTitle" type="java.lang.String" value="Consulta de Usuários"/> + </JTabbedPaneConstraints> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="32767" attributes="0"/> + <Component id="btnXlsExport" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="btnXlsImport" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="25" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <Component id="jScrollPane1" min="-2" pref="791" max="-2" attributes="0"/> + <EmptySpace pref="8" max="32767" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <Component id="jLabel14" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtPesquisaUsuario" max="32767" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="btnPesquisar" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="220" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="10" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel14" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtPesquisaUsuario" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnPesquisar" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Component id="jScrollPane1" min="-2" pref="274" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="btnXlsExport" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnXlsImport" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace pref="19" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel14"> + <Properties> + <Property name="text" type="java.lang.String" value="Nome:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtPesquisaUsuario"> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtPesquisaUsuarioActionPerformed"/> + <EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="txtPesquisaUsuarioKeyReleased"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnPesquisar"> + <Properties> + <Property name="text" type="java.lang.String" value="Pesquisar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnPesquisarActionPerformed"/> + <EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="btnPesquisarKeyReleased"/> + </Events> + </Component> + <Container class="javax.swing.JScrollPane" name="jScrollPane1"> + <AuxValues> + <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> + </AuxValues> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> + <SubComponents> + <Component class="javax.swing.JTable" name="tabelaUsuario"> + <Properties> + <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor"> + <Table columnCount="19" rowCount="0"> + <Column editable="false" title="cod" type="java.lang.Object"/> + <Column editable="false" title="nome" type="java.lang.Object"/> + <Column editable="false" title="rg" type="java.lang.Object"/> + <Column editable="false" title="cpf" type="java.lang.Object"/> + <Column editable="false" title="email" type="java.lang.Object"/> + <Column editable="false" title="telefone" type="java.lang.Object"/> + <Column editable="false" title="celular" type="java.lang.Object"/> + <Column editable="false" title="cep" type="java.lang.Object"/> + <Column editable="false" title="endereco" type="java.lang.Object"/> + <Column editable="false" title="numero" type="java.lang.Object"/> + <Column editable="false" title="complemento" type="java.lang.Object"/> + <Column editable="false" title="bairro" type="java.lang.Object"/> + <Column editable="false" title="cidade" type="java.lang.Object"/> + <Column editable="false" title="estado" type="java.lang.Object"/> + <Column editable="false" title="curso" type="java.lang.Object"/> + <Column editable="false" title="ano" type="java.lang.Object"/> + <Column editable="false" title="Máximo de Emprestimos" type="java.lang.Object"/> + <Column editable="false" title="Observações" type="java.lang.Object"/> + <Column editable="false" title="Tipo" type="java.lang.Object"/> + </Table> + </Property> + <Property name="autoResizeMode" type="int" value="0"/> + <Property name="autoscrolls" type="boolean" value="false"/> + <Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor" postCode="tabelaUsuario.getColumn(tabelaUsuario.getColumnName(0)).setPreferredWidth(30); tabelaUsuario.getColumn(tabelaUsuario.getColumnName(1)).setPreferredWidth(200);"> + <TableColumnModel selectionModel="0"> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="false"> + <Title/> + <Editor/> + <Renderer/> + </Column> + </TableColumnModel> + </Property> + <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor"> + <TableHeader reorderingAllowed="false" resizingAllowed="true"/> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="tabelaUsuarioMouseClicked"/> + </Events> + </Component> + </SubComponents> + </Container> + <Component class="javax.swing.JButton" name="btnXlsExport"> + <Properties> + <Property name="text" type="java.lang.String" value="Exportar para XLSX"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnXlsExportActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnXlsImport"> + <Properties> + <Property name="text" type="java.lang.String" value="Importar dados de arquivo XLSX"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnXlsImportActionPerformed"/> + </Events> + </Component> + </SubComponents> + </Container> + <Container class="javax.swing.JPanel" name="tabCadastro"> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> + <JTabbedPaneConstraints tabName="Cadastro de Usuário"> + <Property name="tabTitle" type="java.lang.String" value="Cadastro de Usuário"/> + </JTabbedPaneConstraints> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="22" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="1" max="-2" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel2" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="12" max="-2" attributes="0"/> + <Component id="txtId" min="-2" pref="59" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="jLabel22" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtMaxEmprestimos" max="32767" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel3" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtNome" max="32767" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel4" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtEmail" min="-2" pref="279" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace min="0" pref="0" max="32767" attributes="0"/> + <Component id="jLabel18" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <EmptySpace min="6" pref="6" max="-2" attributes="0"/> + <Component id="jLabel20" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="boxTipo" min="-2" pref="215" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="btnFoto" min="-2" max="-2" attributes="0"/> + <Component id="lblImagem" min="-2" pref="115" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="11" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jLabel12" alignment="0" min="-2" max="-2" attributes="0"/> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="6" max="-2" attributes="0"/> + <Component id="jLabel11" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <Component id="jLabel9" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtTelefone" min="-2" pref="142" max="-2" attributes="0"/> + </Group> + <Group type="103" alignment="0" groupAlignment="1" max="-2" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel10" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtCpf" max="32767" attributes="0"/> + </Group> + <Group type="103" alignment="0" groupAlignment="1" attributes="0"> + <Component id="txtRg" alignment="1" min="-2" pref="159" max="-2" attributes="0"/> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="56" max="-2" attributes="0"/> + <Component id="txtCelular" min="-2" pref="145" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <Component id="btnImprimir" alignment="0" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <EmptySpace min="-2" pref="2" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <Component id="btnNovo" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="btnSalvar" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="btnExcluir" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="49" max="-2" attributes="0"/> + </Group> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="1" attributes="0"> + <Component id="jLabel8" min="-2" max="-2" attributes="0"/> + <Component id="jLabel16" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <Component id="txtCidade" max="32767" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel6" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="boxUf" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="1" attributes="0"> + <Group type="103" groupAlignment="1" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace min="0" pref="0" max="32767" attributes="0"/> + <Component id="txtEndereco" min="-2" pref="266" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel7" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtNum" min="-2" pref="45" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <Component id="txtBairro" max="32767" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel13" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtComplemento" min="-2" pref="106" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace min="-2" pref="8" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace min="-2" pref="11" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <EmptySpace min="6" pref="6" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <Component id="jLabel19" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="37" max="-2" attributes="0"/> + <Component id="txtCep" min="-2" pref="111" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="jButton1" min="-2" max="-2" attributes="0"/> + </Group> + <Component id="jLabel5" alignment="0" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace pref="196" max="32767" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="375" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="6" pref="6" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jLabel21" min="-2" max="-2" attributes="0"/> + <Component id="jScrollPane2" alignment="0" min="-2" pref="407" max="-2" attributes="0"/> + </Group> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel15" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtCurso" min="-2" pref="212" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="jLabel17" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtSerie" min="-2" pref="31" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace min="0" pref="14" max="32767" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtId" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel22" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtCep" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel19" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jButton1" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtMaxEmprestimos" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel7" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtEndereco" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtNum" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel8" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtBairro" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtComplemento" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel13" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace max="32767" attributes="0"/> + <Component id="jLabel18" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="171" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="boxUf" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="103" alignment="0" groupAlignment="3" attributes="0"> + <Component id="txtCidade" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel16" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabel21" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="jScrollPane2" min="-2" pref="103" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel15" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtCurso" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel17" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtSerie" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" pref="30" max="32767" attributes="0"/> + <Group type="103" groupAlignment="3" max="-2" attributes="0"> + <Component id="btnNovo" alignment="3" max="32767" attributes="0"/> + <Component id="btnSalvar" alignment="3" max="32767" attributes="0"/> + <Component id="btnExcluir" alignment="3" max="32767" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtNome" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtEmail" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="lblImagem" min="-2" pref="158" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="btnFoto" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="txtTelefone" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel9" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="txtCelular" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel12" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="txtRg" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel11" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel10" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtCpf" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="btnImprimir" min="-2" pref="32" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="boxTipo" alignment="3" max="-2" attributes="0"/> + <Component id="jLabel20" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="0" pref="0" max="32767" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel2"> + <Properties> + <Property name="text" type="java.lang.String" value="ID:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel3"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="* Nome:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel4"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Email:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel5"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="* Logradouro"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel6"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*UF:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel7"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="N:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel8"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Bairro:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel9"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Telefone:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel10"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="CPF:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel11"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="* RG:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel12"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="* Celular:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel13"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Complemento:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel16"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Cidade:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtNome"> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtNomeActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JTextField" name="txtEmail"> + </Component> + <Component class="javax.swing.JTextField" name="txtEndereco"> + </Component> + <Component class="javax.swing.JTextField" name="txtComplemento"> + </Component> + <Component class="javax.swing.JTextField" name="txtBairro"> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtBairroActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JTextField" name="txtCidade"> + </Component> + <Component class="javax.swing.JTextField" name="txtId"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtIdActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel15"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Curso:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtCurso"> + </Component> + <Component class="javax.swing.JTextField" name="txtSerie"> + </Component> + <Component class="javax.swing.JLabel" name="jLabel17"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Série:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel18"> + </Component> + <Component class="javax.swing.JLabel" name="jLabel19"> + <Properties> + <Property name="text" type="java.lang.String" value="* CEP:"/> + </Properties> + </Component> + <Component class="javax.swing.JComboBox" name="boxUf"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="27"> + <StringItem index="0" value="AC"/> + <StringItem index="1" value="AL"/> + <StringItem index="2" value="AP"/> + <StringItem index="3" value="AM"/> + <StringItem index="4" value="BA"/> + <StringItem index="5" value="CE"/> + <StringItem index="6" value="DF"/> + <StringItem index="7" value="ES"/> + <StringItem index="8" value="GO"/> + <StringItem index="9" value="MA"/> + <StringItem index="10" value="MT"/> + <StringItem index="11" value="MS"/> + <StringItem index="12" value="MG"/> + <StringItem index="13" value="PA"/> + <StringItem index="14" value="PB"/> + <StringItem index="15" value="PR"/> + <StringItem index="16" value="PE"/> + <StringItem index="17" value="PI"/> + <StringItem index="18" value="RJ"/> + <StringItem index="19" value="RN"/> + <StringItem index="20" value="RS"/> + <StringItem index="21" value="RO"/> + <StringItem index="22" value="RR"/> + <StringItem index="23" value="SC"/> + <StringItem index="24" value="SP"/> + <StringItem index="25" value="SE"/> + <StringItem index="26" value="TO"/> + </StringArray> + </Property> + </Properties> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> + </AuxValues> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtCep"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="#####-###" subtype="-1" type="5"/> + </Property> + </Properties> + <AuxValues> + <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="new javax.swing.JFormattedTextField()"/> + </AuxValues> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtCelular"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="(##)#####-####" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtTelefone"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="(##)####-####" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtCpf"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="###.###.###-##" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtRg"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="#.###.###-#" subtype="-1" type="5"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtRgActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="lblImagem"> + <Properties> + <Property name="horizontalAlignment" type="int" value="0"/> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/iconfinder_student_309036 (1).png"/> + </Property> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="org.netbeans.modules.form.compat2.border.LineBorderInfo"> + <LineBorder/> + </Border> + </Property> + </Properties> + </Component> + <Container class="javax.swing.JScrollPane" name="jScrollPane2"> + <AuxValues> + <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> + </AuxValues> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> + <SubComponents> + <Component class="javax.swing.JTextArea" name="txtObservacoes"> + <Properties> + <Property name="columns" type="int" value="20"/> + <Property name="rows" type="int" value="5"/> + </Properties> + </Component> + </SubComponents> + </Container> + <Component class="javax.swing.JLabel" name="jLabel21"> + <Properties> + <Property name="text" type="java.lang.String" value="Observações:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel22"> + <Properties> + <Property name="text" type="java.lang.String" value="* No de Empréstimos Máximo:"/> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="btnFoto"> + <Properties> + <Property name="text" type="java.lang.String" value=" Escolher Foto"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnFotoActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnImprimir"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/print_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="Imprimir/Ver Cartão"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnImprimirActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JComboBox" name="boxTipo"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="0"/> + </Property> + <Property name="selectedItem" type="java.lang.Object" editor="org.netbeans.modules.form.RADConnectionPropertyEditor"> + <Connection component="boxTipo" type="bean"/> + </Property> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="org.netbeans.modules.form.compat2.border.MatteColorBorderInfo"> + <MatteColorBorder/> + </Border> + </Property> + <Property name="debugGraphicsOptions" type="int" value="-1"/> + <Property name="doubleBuffered" type="boolean" value="true"/> + <Property name="lightWeightPopupEnabled" type="boolean" value="false"/> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="boxTipoMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> + </AuxValues> + </Component> + <Component class="javax.swing.JLabel" name="jLabel20"> + <Properties> + <Property name="text" type="java.lang.String" value="Tipo de Usuário:"/> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="btnNovo"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/new_file_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="NOVO"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnNovoActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnSalvar"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/save_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="SALVAR"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSalvarActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnExcluir"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/delete_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="EXCLUIR"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnExcluirActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="jButton1"> + <Properties> + <Property name="text" type="java.lang.String" value="Buscar "/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtMaxEmprestimos"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="##" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtNum"> + </Component> + </SubComponents> + </Container> + </SubComponents> + </Container> + <Component class="javax.swing.JButton" name="btnNovo1"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/iconfinder_Door_enter_entrance_exit_leave_logout_out_quit_4831032.png"/> + </Property> + <Property name="text" type="java.lang.String" value="FECHAR"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnNovo1ActionPerformed"/> + </Events> + </Component> + </SubComponents> +</Form> diff --git a/build/classes/br/com/projeto/view/FormLivros$26.class b/build/classes/br/com/projeto/view/FormLivros$26.class index 4e44a2b..15d127c 100644 Binary files a/build/classes/br/com/projeto/view/FormLivros$26.class and b/build/classes/br/com/projeto/view/FormLivros$26.class differ diff --git a/build/classes/br/com/projeto/view/FormLivros$27.class b/build/classes/br/com/projeto/view/FormLivros$27.class index a67aafc..c1126c3 100644 Binary files a/build/classes/br/com/projeto/view/FormLivros$27.class and b/build/classes/br/com/projeto/view/FormLivros$27.class differ diff --git a/build/classes/br/com/projeto/view/FormLivros.class b/build/classes/br/com/projeto/view/FormLivros.class index 9ec4539..4a8ff72 100644 Binary files a/build/classes/br/com/projeto/view/FormLivros.class and b/build/classes/br/com/projeto/view/FormLivros.class differ diff --git a/build/classes/br/com/projeto/view/FormLivros.form b/build/classes/br/com/projeto/view/FormLivros.form new file mode 100644 index 0000000..bcb250e --- /dev/null +++ b/build/classes/br/com/projeto/view/FormLivros.form @@ -0,0 +1,971 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<Form version="1.5" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> + <NonVisualComponents> + <Container class="javax.swing.JMenu" name="jMenu1"> + <Properties> + <Property name="text" type="java.lang.String" value="jMenu1"/> + </Properties> + + <Layout class="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout"> + <Property name="useNullLayout" type="boolean" value="true"/> + </Layout> + </Container> + </NonVisualComponents> + <Properties> + <Property name="defaultCloseOperation" type="int" value="2"/> + </Properties> + <SyntheticProperties> + <SyntheticProperty name="formSizePolicy" type="int" value="1"/> + <SyntheticProperty name="generateCenter" type="boolean" value="false"/> + </SyntheticProperties> + <Events> + <EventHandler event="windowActivated" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowActivated"/> + </Events> + <AuxValues> + <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> + <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> + <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> + </AuxValues> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jPanel1" max="32767" attributes="0"/> + <Group type="102" alignment="0" attributes="0"> + <Component id="tabbedFrameF" min="-2" max="-2" attributes="0"/> + <EmptySpace min="0" pref="0" max="32767" attributes="0"/> + </Group> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace max="32767" attributes="0"/> + <Component id="jButton1" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="16" max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="jPanel1" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="tabbedFrameF" min="-2" pref="444" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="jButton1" max="32767" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Container class="javax.swing.JPanel" name="jPanel1"> + <Properties> + <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="33" green="33" red="33" type="rgb"/> + </Property> + </Properties> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <Component id="jLabel1" max="32767" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jLabel1" alignment="1" pref="72" max="32767" attributes="0"/> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel1"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="24" style="0"/> + </Property> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="ff" green="ff" red="ff" type="rgb"/> + </Property> + <Property name="horizontalAlignment" type="int" value="0"/> + <Property name="text" type="java.lang.String" value="Cadastro de Livros"/> + </Properties> + </Component> + </SubComponents> + </Container> + <Container class="javax.swing.JTabbedPane" name="tabbedFrameF"> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/> + <SubComponents> + <Container class="javax.swing.JPanel" name="tabConsultaUsuarios"> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="tabConsultaUsuariosMouseClicked"/> + </Events> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> + <JTabbedPaneConstraints tabName="Consulta de Livros"> + <Property name="tabTitle" type="java.lang.String" value="Consulta de Livros"/> + </JTabbedPaneConstraints> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="25" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <Component id="jScrollPane1" max="32767" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel14" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtPesquisaLivros" pref="362" max="32767" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="btnPesquisar" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="426" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="32767" attributes="0"/> + <Component id="btnXlsxExport" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jButton3" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="10" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel14" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtPesquisaLivros" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnPesquisar" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="jScrollPane1" min="-2" pref="278" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="btnXlsxExport" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jButton3" alignment="0" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace pref="42" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel14"> + <Properties> + <Property name="text" type="java.lang.String" value="Nome:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtPesquisaLivros"> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtPesquisaLivrosActionPerformed"/> + <EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="txtPesquisaLivrosKeyReleased"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnPesquisar"> + <Properties> + <Property name="text" type="java.lang.String" value="Pesquisar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnPesquisarActionPerformed"/> + <EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="btnPesquisarKeyReleased"/> + </Events> + </Component> + <Container class="javax.swing.JScrollPane" name="jScrollPane1"> + <AuxValues> + <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> + </AuxValues> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> + <SubComponents> + <Component class="javax.swing.JTable" name="tabelaLivros"> + <Properties> + <Property name="autoCreateRowSorter" type="boolean" value="true"/> + <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor"> + <Table columnCount="16" rowCount="0"> + <Column editable="false" title="cod" type="java.lang.Object"/> + <Column editable="false" title="Título" type="java.lang.Object"/> + <Column editable="false" title="Autor" type="java.lang.Object"/> + <Column editable="false" title="Editora" type="java.lang.Object"/> + <Column editable="false" title="ISBN" type="java.lang.Object"/> + <Column editable="false" title="Ano" type="java.lang.Object"/> + <Column editable="false" title="Serie" type="java.lang.Object"/> + <Column editable="false" title="Edição" type="java.lang.Object"/> + <Column editable="false" title="Idioma" type="java.lang.Object"/> + <Column editable="false" title="Fornecedor" type="java.lang.Object"/> + <Column editable="false" title="Piso" type="java.lang.Object"/> + <Column editable="false" title="Corredor" type="java.lang.Object"/> + <Column editable="false" title="Posição" type="java.lang.Object"/> + <Column editable="false" title="Seção" type="java.lang.Object"/> + <Column editable="false" title="Disponibilidade" type="java.lang.Object"/> + <Column editable="false" title="Observações" type="java.lang.Object"/> + </Table> + </Property> + <Property name="autoResizeMode" type="int" value="0"/> + <Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor" preCode="tabelaLivros.getColumn(tabelaLivros.getColumnName(0)).setPreferredWidth(30); tabelaLivros.getColumn(tabelaLivros.getColumnName(1)).setPreferredWidth(200);"> + <TableColumnModel selectionModel="0"> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> + <Title/> + <Editor/> + <Renderer/> + </Column> + </TableColumnModel> + </Property> + <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor"> + <TableHeader reorderingAllowed="false" resizingAllowed="true"/> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="tabelaLivrosMouseClicked"/> + </Events> + </Component> + </SubComponents> + </Container> + <Component class="javax.swing.JButton" name="btnXlsxExport"> + <Properties> + <Property name="text" type="java.lang.String" value="Exportar para XLSX"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnXlsxExportActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="jButton3"> + <Properties> + <Property name="text" type="java.lang.String" value="Importar de arquivo XLSX"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton3ActionPerformed"/> + </Events> + </Component> + </SubComponents> + </Container> + <Container class="javax.swing.JPanel" name="tabCadastro"> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> + <JTabbedPaneConstraints tabName="Cadastro de livros"> + <Property name="tabTitle" type="java.lang.String" value="Cadastro de livros"/> + </JTabbedPaneConstraints> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace min="-2" pref="23" max="-2" attributes="0"/> + <Group type="103" groupAlignment="1" attributes="0"> + <Component id="jLabel2" alignment="1" min="-2" max="-2" attributes="0"/> + <Component id="lblNome" min="-2" max="-2" attributes="0"/> + <Component id="lblAutor" min="-2" max="-2" attributes="0"/> + <Component id="lblEditora" min="-2" max="-2" attributes="0"/> + <Component id="lblIsbn" alignment="1" min="-2" max="-2" attributes="0"/> + <Component id="jLabel19" min="-2" max="-2" attributes="0"/> + <Component id="jLabel20" alignment="1" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="15" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="txtId" min="-2" pref="59" max="-2" attributes="0"/> + <Component id="txtIdioma" alignment="0" min="-2" pref="133" max="-2" attributes="0"/> + <Group type="103" alignment="0" groupAlignment="1" max="-2" attributes="0"> + <Component id="txtEditora" alignment="0" max="32767" attributes="0"/> + <Component id="txtAutor" alignment="0" max="32767" attributes="0"/> + <Component id="txtTitulo" alignment="0" max="32767" attributes="0"/> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="0" max="-2" attributes="0"> + <Group type="102" attributes="0"> + <Component id="txtIsbn" min="-2" pref="146" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="lblAno" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="1" attributes="0"> + <Component id="txtSerie" max="32767" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="lblEdicao" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="txtEdicao" min="-2" pref="45" max="-2" attributes="0"/> + <Component id="txtAno" min="-2" pref="43" max="-2" attributes="0"/> + </Group> + <EmptySpace min="0" pref="17" max="32767" attributes="0"/> + </Group> + </Group> + </Group> + <EmptySpace min="-2" pref="12" max="-2" attributes="0"/> + <Component id="jSeparator2" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="1" attributes="0"> + <Component id="jLabel6" min="-2" max="-2" attributes="0"/> + <Component id="jLabel8" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" max="-2" attributes="0"> + <Component id="boxFornecedor" max="32767" attributes="0"/> + <Component id="boxDisponibilidade" min="-2" pref="208" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <EmptySpace min="-2" pref="14" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="1" attributes="0"> + <Component id="jLabel9" min="-2" max="-2" attributes="0"/> + <Component id="jLabel12" min="-2" max="-2" attributes="0"/> + <Component id="jLabel7" min="-2" max="-2" attributes="0"/> + <Component id="jLabel13" alignment="1" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="1" attributes="0"> + <Component id="boxCorredor" alignment="1" max="32767" attributes="0"/> + <Component id="boxSecao" alignment="1" max="32767" attributes="0"/> + <Component id="boxPiso" pref="0" max="32767" attributes="0"/> + <Component id="boxPosicao" alignment="1" max="32767" attributes="0"/> + </Group> + </Group> + <Component id="jScrollPane2" alignment="0" max="32767" attributes="0"/> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="10" max="-2" attributes="0"/> + <Component id="jSeparator1" min="-2" pref="203" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="73" max="-2" attributes="0"/> + <Component id="jLabel5" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <EmptySpace min="-2" pref="160" max="-2" attributes="0"/> + <Component id="jLabel4" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace min="0" pref="67" max="32767" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <Component id="btnMapa" min="-2" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + <Component id="btnNovo" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="btnSalvar" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="btnExcluir" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="jLabel18" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="18" max="-2" attributes="0"/> + <Component id="btNavegar" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="btnbaixarCapa" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="27" max="-2" attributes="0"/> + <Component id="lblImagem" min="-2" pref="162" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel5" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" max="-2" attributes="0"/> + <Group type="103" groupAlignment="1" max="-2" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <Component id="jSeparator2" min="-2" pref="232" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="173" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="1" attributes="0"> + <Group type="103" groupAlignment="1" attributes="0"> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="boxFornecedor" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel8" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="boxDisponibilidade" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="1" attributes="0"> + <Group type="102" attributes="0"> + <Component id="jSeparator1" min="-2" pref="5" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="23" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel13" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="boxPiso" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="boxCorredor" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel12" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="boxSecao" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel9" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="boxPosicao" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel7" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" max="-2" attributes="0"/> + <Component id="jLabel4" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="jScrollPane2" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="1" attributes="0"> + <Component id="lblImagem" min="-2" pref="240" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="btNavegar" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnbaixarCapa" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <EmptySpace type="unrelated" min="-2" max="-2" attributes="0"/> + <Component id="btnMapa" min="-2" pref="40" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace min="-2" pref="48" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <Group type="102" alignment="1" attributes="0"> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtId" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="18" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="txtTitulo" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="lblNome" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="txtAutor" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="lblAutor" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="txtEditora" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="lblEditora" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="18" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="lblIsbn" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtIsbn" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="lblAno" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtAno" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel19" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="lblEdicao" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtSerie" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtEdicao" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel20" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtIdioma" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="32767" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="btnExcluir" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnSalvar" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnNovo" alignment="3" max="32767" attributes="0"/> + </Group> + <Component id="jLabel18" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="32" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel2"> + <Properties> + <Property name="text" type="java.lang.String" value="ID:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="lblNome"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*Título:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="lblAutor"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*Autor:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel5"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="1"/> + </Property> + <Property name="text" type="java.lang.String" value="LOCALIZAÇÃO"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="lblAno"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*Ano:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel7"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Posição:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="lblEditora"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*Editora:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel9"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*Seção:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="lblIsbn"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="*ISBN:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel12"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Corredor:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel13"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Piso:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="lblEdicao"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Edição:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtTitulo"> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtTituloActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JTextField" name="txtAutor"> + </Component> + <Component class="javax.swing.JTextField" name="txtEditora"> + </Component> + <Component class="javax.swing.JTextField" name="txtId"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtIdActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel18"> + </Component> + <Component class="javax.swing.JLabel" name="jLabel19"> + <Properties> + <Property name="text" type="java.lang.String" value="Série:"/> + </Properties> + </Component> + <Component class="javax.swing.JComboBox" name="boxSecao"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="0"/> + </Property> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="null"/> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="boxSecaoMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> + </AuxValues> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtIsbn"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="#############" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JSeparator" name="jSeparator2"> + <Properties> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="org.netbeans.modules.form.compat2.border.BevelBorderInfo"> + <BevelBorder/> + </Border> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JComboBox" name="boxCorredor"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="0"/> + </Property> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="null"/> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="boxCorredorMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> + </AuxValues> + </Component> + <Component class="javax.swing.JComboBox" name="boxPiso"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="0"/> + </Property> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="null"/> + </Property> + <Property name="lightWeightPopupEnabled" type="boolean" value="false"/> + <Property name="name" type="java.lang.String" value="" noResource="true"/> + <Property name="requestFocusEnabled" type="boolean" value="false"/> + <Property name="verifyInputWhenFocusTarget" type="boolean" value="false"/> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="boxPisoMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> + </AuxValues> + </Component> + <Component class="javax.swing.JComboBox" name="boxPosicao"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="0"/> + </Property> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="null"/> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="boxPosicaoMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> + </AuxValues> + </Component> + <Component class="javax.swing.JButton" name="btnMapa"> + <Properties> + <Property name="text" type="java.lang.String" value="mapa"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnMapaActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JSeparator" name="jSeparator1"> + <Properties> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="org.netbeans.modules.form.compat2.border.SoftBevelBorderInfo"> + <BevelBorder/> + </Border> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="btNavegar"> + <Properties> + <Property name="text" type="java.lang.String" value="Navegar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btNavegarActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnbaixarCapa"> + <Properties> + <Property name="text" type="java.lang.String" value="baixar capa"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel20"> + <Properties> + <Property name="text" type="java.lang.String" value="*Idioma:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtSerie"> + </Component> + <Component class="javax.swing.JTextField" name="txtIdioma"> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtIdiomaActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JTextField" name="txtEdicao"> + </Component> + <Component class="javax.swing.JComboBox" name="boxFornecedor"> + <Properties> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="null"/> + </Property> + <Property name="lightWeightPopupEnabled" type="boolean" value="false"/> + <Property name="opaque" type="boolean" value="false"/> + <Property name="verifyInputWhenFocusTarget" type="boolean" value="false"/> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="boxFornecedorMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_SerializeTo" type="java.lang.String" value="FormLivros_boxFornecedor"/> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value=""/> + </AuxValues> + </Component> + <Container class="javax.swing.JScrollPane" name="jScrollPane2"> + <AuxValues> + <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> + </AuxValues> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> + <SubComponents> + <Component class="javax.swing.JTextArea" name="txtAreaObservacoes"> + <Properties> + <Property name="columns" type="int" value="20"/> + <Property name="rows" type="int" value="5"/> + </Properties> + </Component> + </SubComponents> + </Container> + <Component class="javax.swing.JLabel" name="jLabel4"> + <Properties> + <Property name="text" type="java.lang.String" value="Observações:"/> + </Properties> + </Component> + <Component class="javax.swing.JComboBox" name="boxDisponibilidade"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="0"/> + </Property> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="null"/> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="boxDisponibilidadeMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value=""/> + </AuxValues> + </Component> + <Component class="javax.swing.JLabel" name="jLabel6"> + <Properties> + <Property name="text" type="java.lang.String" value="*Disponibilidade:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="lblImagem"> + <Properties> + <Property name="horizontalAlignment" type="int" value="0"/> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/book_cover.png"/> + </Property> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="org.netbeans.modules.form.compat2.border.LineBorderInfo"> + <LineBorder/> + </Border> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel8"> + <Properties> + <Property name="text" type="java.lang.String" value="Alterar Fornecedor:"/> + </Properties> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtAno"> + <Properties> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="####" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="btnSalvar"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/save_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="SALVAR"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSalvarActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnNovo"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/new_file_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="NOVO"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnNovoActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnExcluir"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/delete_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="EXCLUIR"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnExcluirActionPerformed"/> + </Events> + </Component> + </SubComponents> + </Container> + </SubComponents> + </Container> + <Component class="javax.swing.JButton" name="jButton1"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Dialog" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/iconfinder_Door_enter_entrance_exit_leave_logout_out_quit_4831032.png"/> + </Property> + <Property name="text" type="java.lang.String" value="FECHAR"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/> + </Events> + </Component> + </SubComponents> +</Form> diff --git a/build/classes/br/com/projeto/view/FormLogin$3.class b/build/classes/br/com/projeto/view/FormLogin$3.class index d942c63..5c90350 100644 Binary files a/build/classes/br/com/projeto/view/FormLogin$3.class and b/build/classes/br/com/projeto/view/FormLogin$3.class differ diff --git a/build/classes/br/com/projeto/view/FormLogin.class b/build/classes/br/com/projeto/view/FormLogin.class index b01a28a..062b880 100644 Binary files a/build/classes/br/com/projeto/view/FormLogin.class and b/build/classes/br/com/projeto/view/FormLogin.class differ diff --git a/build/classes/br/com/projeto/view/FormLogin.form b/build/classes/br/com/projeto/view/FormLogin.form new file mode 100644 index 0000000..262904f --- /dev/null +++ b/build/classes/br/com/projeto/view/FormLogin.form @@ -0,0 +1,172 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> + <Properties> + <Property name="defaultCloseOperation" type="int" value="2"/> + <Property name="resizable" type="boolean" value="false"/> + </Properties> + <SyntheticProperties> + <SyntheticProperty name="formSizePolicy" type="int" value="1"/> + <SyntheticProperty name="generateCenter" type="boolean" value="true"/> + </SyntheticProperties> + <AuxValues> + <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> + <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> + <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> + </AuxValues> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jPanel1" alignment="1" max="32767" attributes="0"/> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="121" max="-2" attributes="0"/> + <Component id="btnEntrarLogin" min="-2" pref="124" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="34" max="-2" attributes="0"/> + <Component id="btnCancelarLogin" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="58" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="1" attributes="0"> + <Component id="jLabel3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel2" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" max="-2" attributes="0"> + <Component id="txtNomeLogin" max="32767" attributes="0"/> + <Component id="txtSenhaLogin" min="-2" pref="272" max="-2" attributes="0"/> + </Group> + </Group> + <Component id="jLabel4" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <EmptySpace pref="68" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="jPanel1" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="28" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="txtNomeLogin" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="29" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtSenhaLogin" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="39" max="-2" attributes="0"/> + <Component id="jLabel4" min="-2" max="-2" attributes="0"/> + <EmptySpace pref="31" max="32767" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="btnCancelarLogin" alignment="3" min="-2" pref="42" max="-2" attributes="0"/> + <Component id="btnEntrarLogin" alignment="3" min="-2" pref="42" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="24" max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Container class="javax.swing.JPanel" name="jPanel1"> + <Properties> + <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="0" green="0" red="0" type="rgb"/> + </Property> + </Properties> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jLabel1" alignment="1" max="32767" attributes="0"/> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="22" max="-2" attributes="0"/> + <Component id="jLabel1" min="-2" pref="54" max="-2" attributes="0"/> + <EmptySpace pref="20" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel1"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="24" style="0"/> + </Property> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="ff" green="ff" red="ff" type="rgb"/> + </Property> + <Property name="horizontalAlignment" type="int" value="0"/> + <Property name="text" type="java.lang.String" value="Autenticação de Usuário"/> + </Properties> + </Component> + </SubComponents> + </Container> + <Component class="javax.swing.JLabel" name="jLabel2"> + <Properties> + <Property name="text" type="java.lang.String" value="Nome de Usuário:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel3"> + <Properties> + <Property name="text" type="java.lang.String" value="Senha:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtNomeLogin"> + </Component> + <Component class="javax.swing.JPasswordField" name="txtSenhaLogin"> + </Component> + <Component class="javax.swing.JButton" name="btnCancelarLogin"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/cancel_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="Cancelar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnCancelarLoginActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnEntrarLogin"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="14" style="1"/> + </Property> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/user_small.png"/> + </Property> + <Property name="text" type="java.lang.String" value="Entrar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnEntrarLoginActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel4"> + <Properties> + <Property name="text" type="java.lang.String" value="Dica: Credenciais iniciais padrão são: admin@admin e senha: admin"/> + </Properties> + </Component> + </SubComponents> +</Form> diff --git a/build/classes/br/com/projeto/view/FormMenu$10.class b/build/classes/br/com/projeto/view/FormMenu$10.class index da06d25..1fe9f0e 100644 Binary files a/build/classes/br/com/projeto/view/FormMenu$10.class and b/build/classes/br/com/projeto/view/FormMenu$10.class differ diff --git a/build/classes/br/com/projeto/view/FormMenu.class b/build/classes/br/com/projeto/view/FormMenu.class index cce8b11..b94516d 100644 Binary files a/build/classes/br/com/projeto/view/FormMenu.class and b/build/classes/br/com/projeto/view/FormMenu.class differ diff --git a/build/classes/br/com/projeto/view/FormMenu.form b/build/classes/br/com/projeto/view/FormMenu.form new file mode 100644 index 0000000..1fbf862 --- /dev/null +++ b/build/classes/br/com/projeto/view/FormMenu.form @@ -0,0 +1,296 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> + <NonVisualComponents> + <Component class="javax.swing.JTextField" name="txtlogado"> + </Component> + <Menu class="javax.swing.JMenuBar" name="jMenuBar1"> + <SubComponents> + <Menu class="javax.swing.JMenu" name="jMenu1"> + <Properties> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/leitor.png"/> + </Property> + <Property name="text" type="java.lang.String" value="Usuários"/> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Segoe UI" size="18" style="1"/> + </Property> + </Properties> + <SubComponents> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem9"> + <Properties> + <Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> + <KeyStroke key="Ctrl+U"/> + </Property> + <Property name="text" type="java.lang.String" value="Controle de usuários"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem9ActionPerformed"/> + </Events> + </MenuItem> + </SubComponents> + </Menu> + <Menu class="javax.swing.JMenu" name="jMenu2"> + <Properties> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/funcionario.png"/> + </Property> + <Property name="text" type="java.lang.String" value="Funcionários"/> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Segoe UI" size="18" style="1"/> + </Property> + </Properties> + <SubComponents> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem1"> + <Properties> + <Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> + <KeyStroke key="Ctrl+F"/> + </Property> + <Property name="text" type="java.lang.String" value="Controle de Funcionários"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem1ActionPerformed"/> + </Events> + </MenuItem> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem10"> + <Properties> + <Property name="text" type="java.lang.String" value="Alterar Funcionário"/> + </Properties> + </MenuItem> + </SubComponents> + </Menu> + <Menu class="javax.swing.JMenu" name="jMenu3"> + <Properties> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/provider.png"/> + </Property> + <Property name="text" type="java.lang.String" value="Fornecedores"/> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Segoe UI" size="18" style="1"/> + </Property> + </Properties> + <SubComponents> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem2"> + <Properties> + <Property name="text" type="java.lang.String" value="Controle de Forncedores"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem2ActionPerformed"/> + </Events> + </MenuItem> + </SubComponents> + </Menu> + <Menu class="javax.swing.JMenu" name="jMenu4"> + <Properties> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/boook.png"/> + </Property> + <Property name="text" type="java.lang.String" value="Livraria"/> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Segoe UI" size="18" style="1"/> + </Property> + </Properties> + <SubComponents> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem3"> + <Properties> + <Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> + <KeyStroke key="Ctrl+L"/> + </Property> + <Property name="text" type="java.lang.String" value="Controle de Livros"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem3ActionPerformed"/> + </Events> + </MenuItem> + </SubComponents> + </Menu> + <Menu class="javax.swing.JMenu" name="jMenu5"> + <Properties> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/bookloc.png"/> + </Property> + <Property name="text" type="java.lang.String" value="Empréstimos"/> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Segoe UI" size="18" style="1"/> + </Property> + </Properties> + <SubComponents> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem4"> + <Properties> + <Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> + <KeyStroke key="Ctrl+E"/> + </Property> + <Property name="text" type="java.lang.String" value="Controle de Empréstimos"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem4ActionPerformed"/> + </Events> + </MenuItem> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem5"> + <Properties> + <Property name="text" type="java.lang.String" value="Histórico de Empréstimos"/> + </Properties> + </MenuItem> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem6"> + <Properties> + <Property name="text" type="java.lang.String" value="Controle de Multas"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem6ActionPerformed"/> + </Events> + </MenuItem> + </SubComponents> + </Menu> + <Menu class="javax.swing.JMenu" name="jMenu6"> + <Properties> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/config.png"/> + </Property> + <Property name="text" type="java.lang.String" value="Configurações"/> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Segoe UI" size="18" style="1"/> + </Property> + </Properties> + <SubComponents> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem7"> + <Properties> + <Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> + <KeyStroke key="Ctrl+C"/> + </Property> + <Property name="text" type="java.lang.String" value="Configurarações"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem7ActionPerformed"/> + </Events> + </MenuItem> + </SubComponents> + </Menu> + <Menu class="javax.swing.JMenu" name="jMenu7"> + <Properties> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/iconfinder_Door_enter_entrance_exit_leave_logout_out_quit_4831032.png"/> + </Property> + <Property name="text" type="java.lang.String" value="Sair"/> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Segoe UI" size="18" style="1"/> + </Property> + </Properties> + <SubComponents> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem8"> + <Properties> + <Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> + <KeyStroke key="Ctrl+S"/> + </Property> + <Property name="text" type="java.lang.String" value="Sair"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem8ActionPerformed"/> + </Events> + </MenuItem> + </SubComponents> + </Menu> + </SubComponents> + </Menu> + </NonVisualComponents> + <Properties> + <Property name="defaultCloseOperation" type="int" value="2"/> + </Properties> + <SyntheticProperties> + <SyntheticProperty name="menuBar" type="java.lang.String" value="jMenuBar1"/> + <SyntheticProperty name="formSizePolicy" type="int" value="1"/> + <SyntheticProperty name="generateCenter" type="boolean" value="false"/> + </SyntheticProperties> + <Events> + <EventHandler event="windowActivated" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowActivated"/> + </Events> + <AuxValues> + <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> + <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> + <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> + </AuxValues> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jPanel1" alignment="0" max="32767" attributes="0"/> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace min="0" pref="357" max="32767" attributes="0"/> + <Component id="jPanel1" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Container class="javax.swing.JPanel" name="jPanel1"> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="jLabel1" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="lblLogado" min="-2" pref="143" max="-2" attributes="0"/> + <EmptySpace pref="569" max="32767" attributes="0"/> + <Component id="jLabel2" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtIdLogado" min="-2" pref="29" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="109" max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace pref="10" max="32767" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="txtIdLogado" alignment="0" min="-2" max="-2" attributes="0"/> + <Component id="lblLogado" alignment="1" min="-2" pref="20" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace min="-2" pref="10" max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel1"> + <Properties> + <Property name="text" type="java.lang.String" value="Logado como:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="lblLogado"> + </Component> + <Component class="javax.swing.JTextField" name="txtIdLogado"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="enabled" type="boolean" value="false"/> + <Property name="focusable" type="boolean" value="false"/> + <Property name="opaque" type="boolean" value="false"/> + </Properties> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value=""/> + </AuxValues> + </Component> + <Component class="javax.swing.JLabel" name="jLabel2"> + <Properties> + <Property name="text" type="java.lang.String" value="Id:"/> + </Properties> + </Component> + </SubComponents> + </Container> + </SubComponents> +</Form> diff --git a/build/classes/br/com/projeto/view/FormMenuAtendente$7.class b/build/classes/br/com/projeto/view/FormMenuAtendente$7.class index 63f175f..c0f53fb 100644 Binary files a/build/classes/br/com/projeto/view/FormMenuAtendente$7.class and b/build/classes/br/com/projeto/view/FormMenuAtendente$7.class differ diff --git a/build/classes/br/com/projeto/view/FormMenuAtendente.class b/build/classes/br/com/projeto/view/FormMenuAtendente.class index 2a38aa8..94e1c26 100644 Binary files a/build/classes/br/com/projeto/view/FormMenuAtendente.class and b/build/classes/br/com/projeto/view/FormMenuAtendente.class differ diff --git a/build/classes/br/com/projeto/view/FormMenuAtendente.form b/build/classes/br/com/projeto/view/FormMenuAtendente.form new file mode 100644 index 0000000..d1fd56f --- /dev/null +++ b/build/classes/br/com/projeto/view/FormMenuAtendente.form @@ -0,0 +1,222 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> + <NonVisualComponents> + <Component class="javax.swing.JTextField" name="txtlogado"> + </Component> + <Menu class="javax.swing.JMenuBar" name="jMenuBar1"> + <SubComponents> + <Menu class="javax.swing.JMenu" name="jMenu1"> + <Properties> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/leitor.png"/> + </Property> + <Property name="text" type="java.lang.String" value="Usuários"/> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Segoe UI" size="18" style="1"/> + </Property> + </Properties> + <SubComponents> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem9"> + <Properties> + <Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> + <KeyStroke key="Ctrl+U"/> + </Property> + <Property name="text" type="java.lang.String" value="Controle de usuários"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem9ActionPerformed"/> + </Events> + </MenuItem> + </SubComponents> + </Menu> + <Menu class="javax.swing.JMenu" name="jMenu4"> + <Properties> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/boook.png"/> + </Property> + <Property name="text" type="java.lang.String" value="Livraria"/> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Segoe UI" size="18" style="1"/> + </Property> + </Properties> + <SubComponents> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem3"> + <Properties> + <Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> + <KeyStroke key="Ctrl+L"/> + </Property> + <Property name="text" type="java.lang.String" value="Controle de Livros"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem3ActionPerformed"/> + </Events> + </MenuItem> + </SubComponents> + </Menu> + <Menu class="javax.swing.JMenu" name="jMenu5"> + <Properties> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/bookloc.png"/> + </Property> + <Property name="text" type="java.lang.String" value="Empréstimos"/> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Segoe UI" size="18" style="1"/> + </Property> + </Properties> + <SubComponents> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem4"> + <Properties> + <Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> + <KeyStroke key="Ctrl+E"/> + </Property> + <Property name="text" type="java.lang.String" value="Controle de Empréstimos"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem4ActionPerformed"/> + </Events> + </MenuItem> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem5"> + <Properties> + <Property name="text" type="java.lang.String" value="Histórico de Empréstimos"/> + </Properties> + </MenuItem> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem6"> + <Properties> + <Property name="text" type="java.lang.String" value="Controle de Multas"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem6ActionPerformed"/> + </Events> + </MenuItem> + </SubComponents> + </Menu> + <Menu class="javax.swing.JMenu" name="jMenu7"> + <Properties> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/iconfinder_Door_enter_entrance_exit_leave_logout_out_quit_4831032.png"/> + </Property> + <Property name="text" type="java.lang.String" value="Sair"/> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Segoe UI" size="18" style="1"/> + </Property> + </Properties> + <SubComponents> + <MenuItem class="javax.swing.JMenuItem" name="jMenuItem8"> + <Properties> + <Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> + <KeyStroke key="Ctrl+S"/> + </Property> + <Property name="text" type="java.lang.String" value="Sair"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem8ActionPerformed"/> + </Events> + </MenuItem> + </SubComponents> + </Menu> + </SubComponents> + </Menu> + </NonVisualComponents> + <Properties> + <Property name="defaultCloseOperation" type="int" value="2"/> + </Properties> + <SyntheticProperties> + <SyntheticProperty name="menuBar" type="java.lang.String" value="jMenuBar1"/> + <SyntheticProperty name="formSizePolicy" type="int" value="1"/> + <SyntheticProperty name="generateCenter" type="boolean" value="false"/> + </SyntheticProperties> + <Events> + <EventHandler event="windowActivated" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowActivated"/> + </Events> + <AuxValues> + <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> + <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> + <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> + </AuxValues> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jPanel1" alignment="0" max="32767" attributes="0"/> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace min="0" pref="357" max="32767" attributes="0"/> + <Component id="jPanel1" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Container class="javax.swing.JPanel" name="jPanel1"> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="jLabel1" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="lblLogado" min="-2" pref="143" max="-2" attributes="0"/> + <EmptySpace pref="569" max="32767" attributes="0"/> + <Component id="jLabel2" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtIdLogado" min="-2" pref="29" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="109" max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace pref="10" max="32767" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="txtIdLogado" alignment="0" min="-2" max="-2" attributes="0"/> + <Component id="lblLogado" alignment="1" min="-2" pref="20" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace min="-2" pref="10" max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel1"> + <Properties> + <Property name="text" type="java.lang.String" value="Logado como:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="lblLogado"> + </Component> + <Component class="javax.swing.JTextField" name="txtIdLogado"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="enabled" type="boolean" value="false"/> + <Property name="focusable" type="boolean" value="false"/> + <Property name="opaque" type="boolean" value="false"/> + </Properties> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value=""/> + </AuxValues> + </Component> + <Component class="javax.swing.JLabel" name="jLabel2"> + <Properties> + <Property name="text" type="java.lang.String" value="Id:"/> + </Properties> + </Component> + </SubComponents> + </Container> + </SubComponents> +</Form> diff --git a/build/classes/br/com/projeto/view/FormMenuUsuario$10.class b/build/classes/br/com/projeto/view/FormMenuUsuario$10.class index 42e6e40..e1ee878 100644 Binary files a/build/classes/br/com/projeto/view/FormMenuUsuario$10.class and b/build/classes/br/com/projeto/view/FormMenuUsuario$10.class differ diff --git a/build/classes/br/com/projeto/view/FormMenuUsuario.class b/build/classes/br/com/projeto/view/FormMenuUsuario.class index cc56ef5..331797b 100644 Binary files a/build/classes/br/com/projeto/view/FormMenuUsuario.class and b/build/classes/br/com/projeto/view/FormMenuUsuario.class differ diff --git a/build/classes/br/com/projeto/view/FormMenuUsuario.form b/build/classes/br/com/projeto/view/FormMenuUsuario.form new file mode 100644 index 0000000..f91b7cc --- /dev/null +++ b/build/classes/br/com/projeto/view/FormMenuUsuario.form @@ -0,0 +1,606 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<Form version="1.9" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> + <NonVisualComponents> + <Component class="javax.swing.JTextField" name="txtlogado"> + </Component> + <Menu class="javax.swing.JMenuBar" name="jMenuBar1"> + </Menu> + </NonVisualComponents> + <Properties> + <Property name="defaultCloseOperation" type="int" value="2"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="40" green="40" id="darkGray" palette="1" red="40" type="palette"/> + </Property> + <Property name="undecorated" type="boolean" value="true"/> + </Properties> + <SyntheticProperties> + <SyntheticProperty name="menuBar" type="java.lang.String" value="jMenuBar1"/> + <SyntheticProperty name="formSizePolicy" type="int" value="1"/> + <SyntheticProperty name="generateCenter" type="boolean" value="false"/> + </SyntheticProperties> + <Events> + <EventHandler event="windowActivated" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowActivated"/> + </Events> + <AuxValues> + <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> + <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> + <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> + <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,2,105,0,0,4,23"/> + </AuxValues> + + <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/> + <SubComponents> + <Container class="javax.swing.JPanel" name="jPanel1"> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> + <GridBagConstraints gridX="0" gridY="2" gridWidth="1" gridHeight="3" fill="0" ipadX="601" ipadY="8" insetsTop="6" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="jLabel1" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="lblLogado" min="-2" pref="143" max="-2" attributes="0"/> + <EmptySpace pref="607" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace pref="14" max="32767" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="lblLogado" alignment="1" min="-2" pref="20" max="-2" attributes="0"/> + <Component id="jLabel1" alignment="1" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="10" max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel1"> + <Properties> + <Property name="text" type="java.lang.String" value="Logado como:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="lblLogado"> + </Component> + </SubComponents> + </Container> + <Component class="javax.swing.JLabel" name="jLabel2"> + <Properties> + <Property name="text" type="java.lang.String" value="Id:"/> + </Properties> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> + <GridBagConstraints gridX="1" gridY="2" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="20" insetsLeft="61" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/> + </Constraint> + </Constraints> + </Component> + <Component class="javax.swing.JTextField" name="txtIdLogado"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="enabled" type="boolean" value="false"/> + <Property name="focusable" type="boolean" value="false"/> + <Property name="opaque" type="boolean" value="false"/> + </Properties> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value=""/> + </AuxValues> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> + <GridBagConstraints gridX="2" gridY="2" gridWidth="4" gridHeight="2" fill="0" ipadX="15" ipadY="0" insetsTop="20" insetsLeft="6" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/> + </Constraint> + </Constraints> + </Component> + <Container class="javax.swing.JPanel" name="jPanel2"> + <Properties> + <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="0" green="0" red="0" type="rgb"/> + </Property> + </Properties> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> + <GridBagConstraints gridX="0" gridY="0" gridWidth="6" gridHeight="1" fill="0" ipadX="721" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <Component id="jLabel3" pref="945" max="32767" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="jLabel3" min="-2" pref="54" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel3"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="24" style="0"/> + </Property> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="ff" green="ff" red="ff" type="rgb"/> + </Property> + <Property name="horizontalAlignment" type="int" value="0"/> + <Property name="text" type="java.lang.String" value="Terminal de Consulta"/> + </Properties> + </Component> + </SubComponents> + </Container> + <Container class="javax.swing.JPanel" name="jPanel3"> + <Properties> + <Property name="toolTipText" type="java.lang.String" value=""/> + </Properties> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> + <GridBagConstraints gridX="0" gridY="1" gridWidth="3" gridHeight="1" fill="0" ipadX="9" ipadY="12" insetsTop="10" insetsLeft="17" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="16" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jScrollPane5" min="-2" pref="366" max="-2" attributes="0"/> + <Group type="102" attributes="0"> + <Component id="jLabel5" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtBuscaLivro" min="-2" pref="242" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace min="-2" pref="25" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="1" attributes="0"> + <Component id="jLabel8" min="-2" max="-2" attributes="0"/> + <Component id="jScrollPane3" min="-2" pref="499" max="-2" attributes="0"/> + </Group> + <EmptySpace min="0" pref="0" max="32767" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel4" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="9" max="-2" attributes="0"/> + <Component id="txtPrazoEntrega" max="32767" attributes="0"/> + </Group> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace min="0" pref="9" max="32767" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <Component id="lblImagem" min="-2" pref="126" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel7" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtBookId" min="-2" pref="93" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="jLabel10" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtISBN" min="-2" pref="178" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="1" attributes="0"> + <Group type="103" groupAlignment="1" attributes="0"> + <Component id="jLabel11" min="-2" max="-2" attributes="0"/> + <Component id="jLabel23" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="txtTituloSelect" alignment="0" min="-2" pref="313" max="-2" attributes="0"/> + <Component id="txtStatus" alignment="1" min="-2" pref="313" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + <Group type="102" alignment="1" attributes="0"> + <Component id="jLabel20" min="-2" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" max="-2" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="103" alignment="0" groupAlignment="1" attributes="0"> + <Component id="lblAutor" alignment="1" min="-2" max="-2" attributes="0"/> + <Component id="lblEditora" alignment="1" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace min="-2" pref="11" max="-2" attributes="0"/> + <Component id="jLabel19" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="1" max="-2" attributes="0"> + <Component id="txtEditora" alignment="0" max="32767" attributes="0"/> + <Component id="txtAutor" alignment="0" max="32767" attributes="0"/> + <Component id="txtSerie" alignment="0" min="-2" pref="313" max="-2" attributes="0"/> + </Group> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="3" max="-2" attributes="0"/> + <Component id="txtIdioma" min="-2" pref="154" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + <Component id="lblAno" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtAno" min="-2" pref="43" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="lblEdicao" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="txtEdicao" min="-2" pref="45" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + </Group> + </Group> + <EmptySpace max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="1" attributes="0"> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="1" attributes="0"> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="txtTituloSelect" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel23" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel11" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtStatus" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="1" attributes="0"> + <Group type="103" alignment="1" groupAlignment="3" attributes="0"> + <Component id="txtBookId" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel7" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <Component id="jLabel10" alignment="1" min="-2" max="-2" attributes="0"/> + <Component id="txtISBN" alignment="1" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="txtAutor" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="lblAutor" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="txtEditora" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="lblEditora" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="20" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel19" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtSerie" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="11" max="-2" attributes="0"/> + <Component id="lblImagem" min="-2" pref="190" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="lblEdicao" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtEdicao" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel20" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtIdioma" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="lblAno" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtAno" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="8" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="txtPrazoEntrega" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Component id="jLabel8" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="jScrollPane3" min="-2" pref="106" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtBuscaLivro" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="jScrollPane5" min="-2" pref="398" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace pref="18" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JTextField" name="txtBuscaLivro"> + <Events> + <EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="txtBuscaLivroKeyReleased"/> + </Events> + </Component> + <Container class="javax.swing.JScrollPane" name="jScrollPane5"> + <AuxValues> + <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> + </AuxValues> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> + <SubComponents> + <Component class="javax.swing.JTable" name="tabelaLivrosFiltro"> + <Properties> + <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor"> + <Table columnCount="7" rowCount="0"> + <Column editable="false" title="Disponibilidade" type="java.lang.Object"/> + <Column editable="false" title="Título" type="java.lang.Object"/> + <Column editable="true" title="Observações" type="java.lang.Object"/> + <Column editable="false" title="Localização" type="java.lang.Object"/> + <Column editable="false" title="Cod" type="java.lang.Object"/> + <Column editable="false" title="ISBN" type="java.lang.Object"/> + <Column editable="false" title="Emprestado" type="java.lang.Object"/> + </Table> + </Property> + <Property name="autoResizeMode" type="int" value="0"/> + <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor"> + <TableHeader reorderingAllowed="true" resizingAllowed="true"/> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="tabelaLivrosFiltroMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_AddingCodePost" type="java.lang.String" value="tabelaLivrosFiltro.getColumn(tabelaLivrosFiltro.getColumnName(0)).setPreferredWidth(34); tabelaLivrosFiltro.getColumn(tabelaLivrosFiltro.getColumnName(1)).setPreferredWidth(170); tabelaLivrosFiltro.getColumn(tabelaLivrosFiltro.getColumnName(2)).setPreferredWidth(150); tabelaLivrosFiltro.getColumn(tabelaLivrosFiltro.getColumnName(3)).setPreferredWidth(140);"/> + <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="new javax.swing.JTable() /* { @Override public Component prepareRenderer (TableCellRenderer renderer, int rowIndex, int columnIndex){ Component componenet = super.prepareRenderer(renderer, rowIndex, columnIndex); Object value = getModel().getValueAt(rowIndex,columnIndex); System.out.println("value ===" +value); if(columnIndex == 6){ if(value.equals("true")) { componenet.setBackground(Color.RED); componenet.setForeground(Color.GREEN); } if(value.equals("false")){ componenet.setBackground(Color.GREEN); componenet.setForeground(Color.RED); } }else { componenet.setBackground(Color.WHITE); componenet.setForeground(Color.BLACK); } return componenet; } } */ "/> + </AuxValues> + </Component> + </SubComponents> + </Container> + <Component class="javax.swing.JLabel" name="lblImagem"> + <Properties> + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> + <Image iconType="3" name="/imagens/book_cover.png"/> + </Property> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="org.netbeans.modules.form.compat2.border.EtchedBorderInfo"> + <EtchetBorder bevelType="0"> + <Color PropertyName="highlight" blue="ff" green="ff" id="white" palette="1" red="ff" type="palette"/> + <Color PropertyName="shadow" blue="40" green="40" id="darkGray" palette="1" red="40" type="palette"/> + </EtchetBorder> + </Border> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel23"> + <Properties> + <Property name="text" type="java.lang.String" value="Título:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel11"> + <Properties> + <Property name="text" type="java.lang.String" value="Status:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtTituloSelect"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtTituloSelectActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JTextField" name="txtStatus"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtStatusActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JTextField" name="txtBookId"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel10"> + <Properties> + <Property name="text" type="java.lang.String" value="<html>ISBN/<br>ISSN: "/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtISBN"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtISBNActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JTextField" name="txtAutor"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="lblAutor"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Autor:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="lblEditora"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Editora:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtEditora"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtSerie"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel19"> + <Properties> + <Property name="text" type="java.lang.String" value="Série:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel20"> + <Properties> + <Property name="text" type="java.lang.String" value="Idioma:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtIdioma"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtIdiomaActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel4"> + <Properties> + <Property name="text" type="java.lang.String" value="Localização"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtPrazoEntrega"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtPrazoEntregaActionPerformed"/> + </Events> + </Component> + <Container class="javax.swing.JScrollPane" name="jScrollPane3"> + <AuxValues> + <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> + </AuxValues> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> + <SubComponents> + <Component class="javax.swing.JTextArea" name="txtObservacoes"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="columns" type="int" value="20"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + <Property name="rows" type="int" value="5"/> + </Properties> + </Component> + </SubComponents> + </Container> + <Component class="javax.swing.JLabel" name="jLabel8"> + <Properties> + <Property name="text" type="java.lang.String" value="Ficha Técnica:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtEdicao"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JFormattedTextField" name="txtAno"> + <Properties> + <Property name="editable" type="boolean" value="false"/> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="66" green="66" red="66" type="rgb"/> + </Property> + <Property name="formatterFactory" type="javax.swing.JFormattedTextField$AbstractFormatterFactory" editor="org.netbeans.modules.form.editors.AbstractFormatterFactoryEditor" preCode="try {" postCode="} catch (java.text.ParseException ex) { ex.printStackTrace(); }"> + <Format format="####" subtype="-1" type="5"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="lblAno"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Ano:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="lblEdicao"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Edição:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel7"> + <Properties> + <Property name="text" type="java.lang.String" value="Livro ID:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel5"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="12" style="0"/> + </Property> + <Property name="text" type="java.lang.String" value="Filtrar Livro:"/> + </Properties> + </Component> + </SubComponents> + </Container> + </SubComponents> +</Form> diff --git a/build/classes/br/com/projeto/view/FormMulta$5.class b/build/classes/br/com/projeto/view/FormMulta$5.class index 9c95ad9..f177b33 100644 Binary files a/build/classes/br/com/projeto/view/FormMulta$5.class and b/build/classes/br/com/projeto/view/FormMulta$5.class differ diff --git a/build/classes/br/com/projeto/view/FormMulta.class b/build/classes/br/com/projeto/view/FormMulta.class index 27209a7..9dda649 100644 Binary files a/build/classes/br/com/projeto/view/FormMulta.class and b/build/classes/br/com/projeto/view/FormMulta.class differ diff --git a/build/classes/br/com/projeto/view/FormMulta.form b/build/classes/br/com/projeto/view/FormMulta.form new file mode 100644 index 0000000..9cf0436 --- /dev/null +++ b/build/classes/br/com/projeto/view/FormMulta.form @@ -0,0 +1,280 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> + <Properties> + <Property name="defaultCloseOperation" type="int" value="2"/> + <Property name="focusable" type="boolean" value="false"/> + <Property name="focusableWindowState" type="boolean" value="false"/> + <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> + <Dimension value="[448, 175]"/> + </Property> + <Property name="undecorated" type="boolean" value="true"/> + <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> + <Dimension value="[448, 175]"/> + </Property> + <Property name="resizable" type="boolean" value="false"/> + </Properties> + <SyntheticProperties> + <SyntheticProperty name="formSizePolicy" type="int" value="1"/> + <SyntheticProperty name="generateCenter" type="boolean" value="true"/> + </SyntheticProperties> + <Events> + <EventHandler event="windowActivated" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowActivated"/> + </Events> + <AuxValues> + <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> + <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> + <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> + <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,0,-81,0,0,1,-63"/> + </AuxValues> + + <Layout class="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout"> + <Property name="useNullLayout" type="boolean" value="true"/> + </Layout> + <SubComponents> + <Container class="javax.swing.JPanel" name="jPanel2"> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout" value="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout$AbsoluteConstraintsDescription"> + <AbsoluteConstraints x="0" y="22" width="440" height="150"/> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace min="-2" pref="15" max="-2" attributes="0"/> + <Component id="jLabel2" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtNumMulta" min="-2" pref="84" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="33" max="-2" attributes="0"/> + <Component id="jLabel6" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtLeitorId" max="32767" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel7" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtEmprestimoId" max="32767" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="jLabel4" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="59" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace min="0" pref="0" max="32767" attributes="0"/> + <Component id="txtDiasAtraso" min="-2" pref="53" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="jLabel1" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtNomeLivro" max="32767" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="14" max="-2" attributes="0"/> + <Component id="jLabel5" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtValorMulta" min="-2" pref="79" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="txtImprimeMulta" min="-2" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + <Component id="btnReceberMulta" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="jButton2" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="12" max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtNumMulta" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtLeitorId" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtDiasAtraso" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel7" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtEmprestimoId" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtNomeLivro" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtValorMulta" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="103" alignment="0" groupAlignment="3" attributes="0"> + <Component id="txtImprimeMulta" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jButton2" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnReceberMulta" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace pref="10" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel2"> + <Properties> + <Property name="text" type="java.lang.String" value="Nº da Multa:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel1"> + <Properties> + <Property name="text" type="java.lang.String" value="Livro:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel4"> + <Properties> + <Property name="text" type="java.lang.String" value="Dias de Atraso:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel5"> + <Properties> + <Property name="text" type="java.lang.String" value="Valor da Multa:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel6"> + <Properties> + <Property name="text" type="java.lang.String" value="Id de Usuário:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel7"> + <Properties> + <Property name="text" type="java.lang.String" value="Referente Empréstimo nº:"/> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="txtImprimeMulta"> + <Properties> + <Property name="text" type="java.lang.String" value="Imprimir"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtImprimeMultaActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="jButton2"> + <Properties> + <Property name="text" type="java.lang.String" value="Fechar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JTextField" name="txtNumMulta"> + </Component> + <Component class="javax.swing.JTextField" name="txtEmprestimoId"> + </Component> + <Component class="javax.swing.JTextField" name="txtLeitorId"> + </Component> + <Component class="javax.swing.JTextField" name="txtDiasAtraso"> + </Component> + <Component class="javax.swing.JTextField" name="txtNomeLivro"> + </Component> + <Component class="javax.swing.JTextField" name="txtValorMulta"> + </Component> + <Component class="javax.swing.JButton" name="btnReceberMulta"> + <Properties> + <Property name="text" type="java.lang.String" value="Receber"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnReceberMultaActionPerformed"/> + </Events> + </Component> + </SubComponents> + </Container> + <Container class="javax.swing.JPanel" name="jPanel1"> + <Properties> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="0" green="0" red="0" type="rgb"/> + </Property> + <Property name="opaque" type="boolean" value="false"/> + </Properties> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout" value="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout$AbsoluteConstraintsDescription"> + <AbsoluteConstraints x="0" y="0" width="520" height="30"/> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="jPanel3" min="-2" max="-2" attributes="0"/> + <EmptySpace min="0" pref="3" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="jPanel3" min="-2" max="-2" attributes="0"/> + <EmptySpace pref="9" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Container class="javax.swing.JPanel" name="jPanel3"> + <Properties> + <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="ff" green="cc" red="66" type="rgb"/> + </Property> + </Properties> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="70" max="-2" attributes="0"/> + <Component id="jLabel3" min="-2" pref="306" max="-2" attributes="0"/> + <EmptySpace pref="141" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jLabel3" alignment="0" pref="21" max="32767" attributes="0"/> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel3"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="24" style="0"/> + </Property> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="ff" green="ff" red="ff" type="rgb"/> + </Property> + <Property name="horizontalAlignment" type="int" value="0"/> + <Property name="text" type="java.lang.String" value="MULTA"/> + </Properties> + </Component> + </SubComponents> + </Container> + </SubComponents> + </Container> + </SubComponents> +</Form> diff --git a/build/classes/br/com/projeto/view/FormOptions$33.class b/build/classes/br/com/projeto/view/FormOptions$33.class index 77586f9..d67e75d 100644 Binary files a/build/classes/br/com/projeto/view/FormOptions$33.class and b/build/classes/br/com/projeto/view/FormOptions$33.class differ diff --git a/build/classes/br/com/projeto/view/FormOptions.class b/build/classes/br/com/projeto/view/FormOptions.class index 4f06add..b72b747 100644 Binary files a/build/classes/br/com/projeto/view/FormOptions.class and b/build/classes/br/com/projeto/view/FormOptions.class differ diff --git a/build/classes/br/com/projeto/view/FormOptions.form b/build/classes/br/com/projeto/view/FormOptions.form new file mode 100644 index 0000000..9a6ce92 --- /dev/null +++ b/build/classes/br/com/projeto/view/FormOptions.form @@ -0,0 +1,873 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> + <Properties> + <Property name="defaultCloseOperation" type="int" value="2"/> + <Property name="resizable" type="boolean" value="false"/> + </Properties> + <SyntheticProperties> + <SyntheticProperty name="formSizePolicy" type="int" value="1"/> + <SyntheticProperty name="generateCenter" type="boolean" value="true"/> + </SyntheticProperties> + <Events> + <EventHandler event="windowActivated" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowActivated"/> + </Events> + <AuxValues> + <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> + <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> + <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> + <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> + <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> + </AuxValues> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jPanel1" max="32767" attributes="0"/> + <Component id="jTabbedPane2" max="32767" attributes="0"/> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="jPanel1" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jTabbedPane2" max="32767" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Container class="javax.swing.JPanel" name="jPanel1"> + <Properties> + <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="0" green="0" red="0" type="rgb"/> + </Property> + </Properties> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jLabel1" alignment="1" max="32767" attributes="0"/> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="jLabel1" min="-2" pref="54" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel1"> + <Properties> + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> + <Font name="Tahoma" size="24" style="0"/> + </Property> + <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> + <Color blue="ff" green="ff" red="ff" type="rgb"/> + </Property> + <Property name="horizontalAlignment" type="int" value="0"/> + <Property name="text" type="java.lang.String" value="Opções"/> + </Properties> + </Component> + </SubComponents> + </Container> + <Container class="javax.swing.JTabbedPane" name="jTabbedPane2"> + + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/> + <SubComponents> + <Container class="javax.swing.JPanel" name="jPanel2"> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> + <JTabbedPaneConstraints tabName="Geral"> + <Property name="tabTitle" type="java.lang.String" value="Geral"/> + </JTabbedPaneConstraints> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace min="-2" pref="20" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="1" attributes="0"> + <Group type="102" attributes="0"> + <Component id="jLabel6" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="txtIp" min="-2" pref="251" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="btnSaveIp" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <Component id="jLabel12" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="txtUserDB" min="-2" pref="251" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="btnSaveUserDB" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <Component id="jLabel15" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="txtPassDB" min="-2" pref="251" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="btnSavePassDB" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <Component id="jLabel16" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="txtmsgRecibo" min="-2" pref="245" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="24" max="-2" attributes="0"/> + <Component id="btnSaveMsgRecibo" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace min="-2" pref="101" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jLabel13" alignment="0" min="-2" pref="146" max="-2" attributes="0"/> + <Component id="lblLibraryLogo" alignment="0" min="-2" pref="143" max="-2" attributes="0"/> + </Group> + </Group> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="22" max="-2" attributes="0"/> + <Component id="jLabel9" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="boxPrinter" min="-2" pref="251" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="btnSavePrinter" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jLabel11" alignment="0" min="-2" pref="144" max="-2" attributes="0"/> + <Component id="jLabel10" alignment="0" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="txtLibraryName" min="-2" pref="320" max="-2" attributes="0"/> + <Component id="txtLibraryAddress" min="-2" pref="317" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace min="0" pref="0" max="32767" attributes="0"/> + <Component id="btnSetLibraryLogo" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="btnLibraryName" alignment="0" min="-2" max="-2" attributes="0"/> + <Component id="btnLibraryAddress" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="0" pref="0" max="32767" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + <EmptySpace max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" attributes="0"> + <EmptySpace min="-2" pref="12" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtIp" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnSaveIp" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel12" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtUserDB" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnSaveUserDB" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel15" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnSavePassDB" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <Component id="txtPassDB" alignment="0" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="btnSaveMsgRecibo" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel16" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtmsgRecibo" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel13" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="lblLibraryLogo" min="-2" pref="146" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="btnSetLibraryLogo" min="-2" max="-2" attributes="0"/> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel9" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="boxPrinter" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnSavePrinter" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" min="-2" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel10" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtLibraryName" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnLibraryName" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="-2" pref="23" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel11" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtLibraryAddress" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnLibraryAddress" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <EmptySpace pref="59" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JButton" name="btnSaveIp"> + <Properties> + <Property name="text" type="java.lang.String" value="Salvar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSaveIpActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel6"> + <Properties> + <Property name="text" type="java.lang.String" value="IP ou Url do Servidor"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtIp"> + </Component> + <Component class="javax.swing.JLabel" name="jLabel9"> + <Properties> + <Property name="text" type="java.lang.String" value="Impressora Padrão:"/> + </Properties> + </Component> + <Component class="javax.swing.JComboBox" name="boxPrinter"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="1"> + <StringItem index="0" value="<Selecione>"/> + </StringArray> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="boxPrinterMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> + </AuxValues> + </Component> + <Component class="javax.swing.JButton" name="btnSavePrinter"> + <Properties> + <Property name="text" type="java.lang.String" value="Salvar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSavePrinterActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel10"> + <Properties> + <Property name="text" type="java.lang.String" value="Nome da Instituição:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel11"> + <Properties> + <Property name="text" type="java.lang.String" value="Endereço da Instituição:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtLibraryName"> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtLibraryNameActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnLibraryAddress"> + <Properties> + <Property name="text" type="java.lang.String" value="Salvar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnLibraryAddressActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JTextField" name="txtLibraryAddress"> + </Component> + <Component class="javax.swing.JButton" name="btnLibraryName"> + <Properties> + <Property name="text" type="java.lang.String" value="Salvar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnLibraryNameActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="lblLibraryLogo"> + <Properties> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="org.netbeans.modules.form.compat2.border.EtchedBorderInfo"> + <EtchetBorder bevelType="0"> + <Color PropertyName="highlight" blue="ff" green="ff" id="white" palette="1" red="ff" type="palette"/> + <Color PropertyName="shadow" blue="40" green="40" id="darkGray" palette="1" red="40" type="palette"/> + </EtchetBorder> + </Border> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="btnSetLibraryLogo"> + <Properties> + <Property name="text" type="java.lang.String" value="Selecione"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSetLibraryLogoActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel13"> + <Properties> + <Property name="text" type="java.lang.String" value="Logotipo da Instituição"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel12"> + <Properties> + <Property name="text" type="java.lang.String" value="Usuario banco de Dados:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtUserDB"> + </Component> + <Component class="javax.swing.JButton" name="btnSaveUserDB"> + <Properties> + <Property name="text" type="java.lang.String" value="Salvar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSaveUserDBActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel15"> + <Properties> + <Property name="text" type="java.lang.String" value="Senha Banco de Dados:"/> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="btnSavePassDB"> + <Properties> + <Property name="text" type="java.lang.String" value="Salvar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSavePassDBActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JPasswordField" name="txtPassDB"> + </Component> + <Component class="javax.swing.JButton" name="btnSaveMsgRecibo"> + <Properties> + <Property name="text" type="java.lang.String" value="Salvar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSaveMsgReciboActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel16"> + <Properties> + <Property name="text" type="java.lang.String" value="Mensagem Recibo:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtmsgRecibo"> + </Component> + </SubComponents> + </Container> + <Container class="javax.swing.JPanel" name="jPanel3"> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> + <JTabbedPaneConstraints tabName="Biblioteca"> + <Property name="tabTitle" type="java.lang.String" value="Biblioteca"/> + </JTabbedPaneConstraints> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="136" max="-2" attributes="0"/> + <Component id="jLabel8" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="21" max="-2" attributes="0"/> + <Group type="103" groupAlignment="1" attributes="0"> + <Component id="jLabel5" min="-2" max="-2" attributes="0"/> + <Component id="jLabel4" min="-2" max="-2" attributes="0"/> + <Component id="jLabel3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel2" min="-2" max="-2" attributes="0"/> + <Component id="jLabel7" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" max="-2" attributes="0"> + <Component id="txtPiso" alignment="0" max="32767" attributes="0"/> + <Component id="txtCorredor" alignment="0" max="32767" attributes="0"/> + <Component id="txtPosicao" alignment="0" max="32767" attributes="0"/> + <Component id="txtSecao" max="32767" attributes="0"/> + <Component id="txtDisponibilidade" min="-2" pref="195" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="btnAddPosicao" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="boxPosicao" min="-2" pref="225" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="btnApagarPosicao" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="btnAddCorredor" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="boxCorredor" min="-2" pref="225" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="btnApagarCorredor" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="btnAddPiso" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="boxPiso" min="-2" pref="225" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="btnExcluirPiso" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="1" max="-2" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <Component id="btnAddDsiponibilidade" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="boxDisponibilidade" max="32767" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="btnAddSecao" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="boxSecao" min="-2" pref="225" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="btnApagarSecao" min="-2" max="-2" attributes="0"/> + <Component id="btnApagarDisponibilidade" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + </Group> + </Group> + <EmptySpace pref="54" max="32767" attributes="0"/> + </Group> + <Group type="102" alignment="1" attributes="0"> + <EmptySpace min="0" pref="0" max="32767" attributes="0"/> + <Component id="jLabel14" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="txtTipos" min="-2" pref="195" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="btnAddtipos" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="boxTipos" min="-2" pref="225" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="btnExcluirTipos" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="48" max="-2" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="37" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="103" alignment="0" groupAlignment="3" attributes="0"> + <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnAddPiso" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="boxPiso" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnExcluirPiso" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <Component id="txtPiso" alignment="1" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="btnAddCorredor" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="boxCorredor" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnApagarCorredor" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtCorredor" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="txtPosicao" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnAddPosicao" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="boxPosicao" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnApagarPosicao" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="103" alignment="0" groupAlignment="3" attributes="0"> + <Component id="btnAddSecao" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtSecao" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="103" alignment="0" groupAlignment="3" attributes="0"> + <Component id="boxSecao" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnApagarSecao" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="103" alignment="0" groupAlignment="3" attributes="0"> + <Component id="btnAddDsiponibilidade" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="boxDisponibilidade" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnApagarDisponibilidade" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="103" alignment="0" groupAlignment="3" attributes="0"> + <Component id="jLabel7" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtDisponibilidade" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Component id="jLabel8" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="14" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="btnAddtipos" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="boxTipos" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="btnExcluirTipos" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="txtTipos" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel14" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace pref="57" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel2"> + <Properties> + <Property name="text" type="java.lang.String" value="Piso:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel3"> + <Properties> + <Property name="text" type="java.lang.String" value="Corredor:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel4"> + <Properties> + <Property name="text" type="java.lang.String" value="Posição:"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel5"> + <Properties> + <Property name="text" type="java.lang.String" value="Seção:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtPiso"> + </Component> + <Component class="javax.swing.JTextField" name="txtCorredor"> + </Component> + <Component class="javax.swing.JTextField" name="txtPosicao"> + </Component> + <Component class="javax.swing.JTextField" name="txtSecao"> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtSecaoActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnAddPiso"> + <Properties> + <Property name="text" type="java.lang.String" value="Add"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnAddPisoActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnAddCorredor"> + <Properties> + <Property name="text" type="java.lang.String" value="Add"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnAddCorredorActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnAddPosicao"> + <Properties> + <Property name="text" type="java.lang.String" value="Add"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnAddPosicaoActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnAddSecao"> + <Properties> + <Property name="text" type="java.lang.String" value="Add"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnAddSecaoActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JComboBox" name="boxCorredor"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="1"> + <StringItem index="0" value="<Lista de Corredores>"/> + </StringArray> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="boxCorredorMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> + </AuxValues> + </Component> + <Component class="javax.swing.JComboBox" name="boxPiso"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="1"> + <StringItem index="0" value="<Lista de Pisos>"/> + </StringArray> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="boxPisoMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value=""/> + </AuxValues> + </Component> + <Component class="javax.swing.JComboBox" name="boxPosicao"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="1"> + <StringItem index="0" value="<Lista de Posições>"/> + </StringArray> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="boxPosicaoMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> + </AuxValues> + </Component> + <Component class="javax.swing.JComboBox" name="boxSecao"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="1"> + <StringItem index="0" value="<Lista de Seções>"/> + </StringArray> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="boxSecaoMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> + </AuxValues> + </Component> + <Component class="javax.swing.JButton" name="btnExcluirPiso"> + <Properties> + <Property name="text" type="java.lang.String" value="Apagar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnExcluirPisoActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnApagarCorredor"> + <Properties> + <Property name="text" type="java.lang.String" value="Apagar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnApagarCorredorActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnApagarPosicao"> + <Properties> + <Property name="text" type="java.lang.String" value="Apagar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnApagarPosicaoActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnApagarSecao"> + <Properties> + <Property name="text" type="java.lang.String" value="Apagar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnApagarSecaoActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="btnAddDsiponibilidade"> + <Properties> + <Property name="text" type="java.lang.String" value="Add"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnAddDsiponibilidadeActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel7"> + <Properties> + <Property name="text" type="java.lang.String" value="Disponibilidade:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtDisponibilidade"> + </Component> + <Component class="javax.swing.JComboBox" name="boxDisponibilidade"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="1"> + <StringItem index="0" value="Quantos dias pode ser locado"/> + </StringArray> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="boxDisponibilidadeMouseClicked"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> + </AuxValues> + </Component> + <Component class="javax.swing.JButton" name="btnApagarDisponibilidade"> + <Properties> + <Property name="text" type="java.lang.String" value="Apagar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnApagarDisponibilidadeActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JLabel" name="jLabel8"> + <Properties> + <Property name="text" type="java.lang.String" value="Configura para qtos dias o livro pode ser locado ( Zero para Apenas Leitura Interna)"/> + </Properties> + </Component> + <Component class="javax.swing.JLabel" name="jLabel14"> + <Properties> + <Property name="text" type="java.lang.String" value="Tipo de Usuários:"/> + </Properties> + </Component> + <Component class="javax.swing.JTextField" name="txtTipos"> + </Component> + <Component class="javax.swing.JButton" name="btnAddtipos"> + <Properties> + <Property name="text" type="java.lang.String" value="Add"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnAddtiposActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JComboBox" name="boxTipos"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="1"> + <StringItem index="0" value="<Lista de Tipos de Usuários>"/> + </StringArray> + </Property> + </Properties> + <Events> + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="boxTiposMouseClicked"/> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="boxTiposActionPerformed"/> + </Events> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value=""/> + </AuxValues> + </Component> + <Component class="javax.swing.JButton" name="btnExcluirTipos"> + <Properties> + <Property name="text" type="java.lang.String" value="Apagar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnExcluirTiposActionPerformed"/> + </Events> + </Component> + </SubComponents> + </Container> + <Container class="javax.swing.JPanel" name="jPanel4"> + <Constraints> + <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> + <JTabbedPaneConstraints tabName="Aparência"> + <Property name="tabTitle" type="java.lang.String" value="Aparência"/> + </JTabbedPaneConstraints> + </Constraint> + </Constraints> + + <Layout> + <DimensionLayout dim="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="39" max="-2" attributes="0"/> + <Component id="jLabel17" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="cboxTema" min="-2" pref="280" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="jButton1" min="-2" max="-2" attributes="0"/> + <EmptySpace pref="279" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + <DimensionLayout dim="1"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="38" max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jLabel17" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jButton1" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="cboxTema" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace pref="324" max="32767" attributes="0"/> + </Group> + </Group> + </DimensionLayout> + </Layout> + <SubComponents> + <Component class="javax.swing.JLabel" name="jLabel17"> + <Properties> + <Property name="text" type="java.lang.String" value="Tema Padrão:"/> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="jButton1"> + <Properties> + <Property name="text" type="java.lang.String" value="Salvar"/> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JComboBox" name="cboxTema"> + <Properties> + <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> + <StringArray count="2"> + <StringItem index="0" value="Tema Claro"/> + <StringItem index="1" value="Tema Escuro"/> + </StringArray> + </Property> + <Property name="selectedIndex" type="int" value="-1"/> + </Properties> + <AuxValues> + <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> + </AuxValues> + </Component> + </SubComponents> + </Container> + </SubComponents> + </Container> + </SubComponents> +</Form> diff --git a/excel files/Livros.xlsx b/excel files/Livros.xlsx new file mode 100644 index 0000000..4846dc3 Binary files /dev/null and b/excel files/Livros.xlsx differ diff --git a/excel files/Usuarios.xlsx b/excel files/Usuarios.xlsx new file mode 100644 index 0000000..6b4cdf4 Binary files /dev/null and b/excel files/Usuarios.xlsx differ diff --git a/myql scripts/goldOwlDB.mwb b/myql scripts/goldOwlDB.mwb new file mode 100644 index 0000000..178d385 Binary files /dev/null and b/myql scripts/goldOwlDB.mwb differ diff --git a/myql scripts/goldOwlDB.mwb.bak b/myql scripts/goldOwlDB.mwb.bak new file mode 100644 index 0000000..343afef Binary files /dev/null and b/myql scripts/goldOwlDB.mwb.bak differ diff --git a/myql scripts/gowl.sql b/myql scripts/gowl.sql new file mode 100644 index 0000000..481da08 --- /dev/null +++ b/myql scripts/gowl.sql @@ -0,0 +1,420 @@ +-- phpMyAdmin SQL Dump +-- version 4.5.1 +-- http://www.phpmyadmin.net +-- +-- Host: 127.0.0.1 +-- Generation Time: 16-Jun-2021 às 22:52 +-- Versão do servidor: 10.1.13-MariaDB +-- PHP Version: 5.6.20 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `gowl` +-- + +-- -------------------------------------------------------- + +-- +-- Estrutura da tabela `tb_emprestimos` +-- + +CREATE TABLE `tb_emprestimos` ( + `id` int(11) NOT NULL, + `data_emprestimo` datetime DEFAULT NULL, + `data_devolucao` datetime DEFAULT NULL, + `observacoes` text, + `tb_funcionarios_id` int(11) DEFAULT NULL, + `tb_livros_id` int(11) DEFAULT NULL, + `tb_livros_tb_fornecedores_id` int(11) DEFAULT NULL, + `tb_leitores_id` int(11) DEFAULT NULL, + `data_entrega_agendada` datetime DEFAULT NULL, + `tb_funcionarios_iddevol` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Extraindo dados da tabela `tb_emprestimos` +-- + +INSERT INTO `tb_emprestimos` (`id`, `data_emprestimo`, `data_devolucao`, `observacoes`, `tb_funcionarios_id`, `tb_livros_id`, `tb_livros_tb_fornecedores_id`, `tb_leitores_id`, `data_entrega_agendada`, `tb_funcionarios_iddevol`) VALUES +(1, '2021-06-13 22:56:51', '2021-06-13 22:57:04', 'ok', 1, 2, NULL, 1, '2021-06-16 22:56:51', 1), +(2, '2021-06-13 23:38:09', '2021-06-13 23:38:23', 'ok', 1, 2, NULL, 1, '2021-06-16 23:38:09', 1), +(3, '2021-06-13 23:38:16', '2021-06-13 23:38:20', 'ok', 1, 1, NULL, 1, '2021-06-14 23:38:16', 1), +(4, '2021-06-14 00:19:44', '2021-06-14 00:45:42', 'ok', 1, 2, NULL, 1, '2021-06-17 00:19:44', 1), +(5, '2021-06-14 00:19:55', '2021-06-14 00:45:52', 'ok', 1, 1, NULL, 1, '2021-06-15 00:19:55', 1), +(6, '2021-06-14 00:46:09', '2021-06-14 00:58:42', 'ok', 1, 2, NULL, 1, '2021-06-17 00:46:09', 1), +(7, '2021-06-14 00:47:46', '2021-06-14 00:58:48', 'ok', 1, 1, NULL, 1, '2021-06-15 00:47:46', 1), +(8, '2021-06-14 00:59:00', '2021-06-14 00:59:10', 'ok', 1, 2, NULL, 1, '2021-06-17 00:59:00', 1), +(9, '2021-06-14 00:59:02', '2021-06-14 00:59:12', 'ok', 1, 1, NULL, 1, '2021-06-15 00:59:02', 1), +(10, '2021-06-14 00:59:20', '2021-06-14 01:02:50', 'ok', 1, 1, NULL, 1, '2021-06-15 00:59:20', 1), +(11, '2021-06-14 01:02:35', '2021-06-14 01:02:52', 'ok', 1, 2, NULL, 1, '2021-06-17 01:02:35', 1), +(12, '2021-06-14 01:02:58', '2021-06-14 01:03:03', 'ok', 1, 2, NULL, 1, '2021-06-17 01:02:58', 1), +(13, '2021-06-14 01:03:10', '2021-06-14 01:03:17', 'ok', 1, 1, NULL, 1, '2021-06-15 01:03:10', 1), +(14, '2021-06-14 01:03:12', '2021-06-14 01:03:23', 'ok', 1, 2, NULL, 1, '2021-06-17 01:03:12', 1), +(15, '2021-06-14 01:03:33', '2021-06-14 01:20:34', 'ok', 1, 2, NULL, 1, '2021-06-17 01:03:33', 1), +(16, '2021-06-14 01:03:34', '2021-06-14 01:20:32', 'ok', 1, 1, NULL, 1, '2021-06-15 01:03:34', 1), +(17, '2021-06-14 01:20:42', '2021-06-14 01:21:21', 'ok', 1, 2, NULL, 1, '2021-06-17 01:20:42', 1), +(18, '2021-06-14 01:21:06', '2021-06-14 01:21:23', 'ok', 1, 1, NULL, 1, '2021-06-15 01:21:06', 1), +(19, '2021-06-14 01:28:47', '2021-06-14 02:41:01', 'ok', 1, 2, NULL, 1, '2021-06-17 01:28:47', 1), +(20, '2021-06-14 02:40:58', '2021-06-14 02:41:04', 'ok', 1, 1, NULL, 1, '2021-06-15 02:40:58', 1), +(21, '2021-06-14 02:53:29', '2021-06-14 02:54:20', 'ok', 1, 2, NULL, 1, '2021-06-17 02:53:29', 1), +(22, '2021-06-14 02:53:55', '2021-06-14 02:54:15', 'ok', 1, 1, NULL, 1, '2021-06-15 02:53:55', 1), +(23, '2021-06-04 04:02:06', '2021-06-14 14:42:22', 'ok', 1, 1, NULL, 1, '2021-06-05 04:02:06', 1), +(24, '2021-06-14 13:56:24', '2021-06-14 14:37:27', 'ok', 1, 2, NULL, 1, '2021-06-17 13:56:24', 1), +(25, '2021-06-14 14:42:44', '2021-06-14 23:00:17', 'ok', 1, 1, NULL, 1, '2021-06-15 14:42:44', 1), +(26, '2021-06-14 19:23:36', '2021-06-14 19:23:49', 'ok', 1, 2, NULL, 1, '2021-06-17 19:23:36', 1), +(27, '2021-06-14 23:00:17', '2021-06-14 23:46:19', 'ok', 1, 1, NULL, 1, '2021-06-15 23:00:17', 1), +(28, '2021-06-14 23:02:11', '2021-06-14 23:02:22', 'ok', 1, 1, NULL, 1, '2021-06-15 23:02:11', 1), +(29, '2021-06-14 23:46:09', '2021-06-14 23:46:15', 'ok', 1, 1, NULL, 1, '2021-06-15 23:46:09', 1), +(30, '2021-06-14 23:46:30', '2021-06-14 23:46:56', 'ok', 1, 1, NULL, 1, '2021-06-15 23:46:30', 1), +(31, '2021-06-14 23:47:04', '2021-06-14 23:47:18', 'ok', 1, 1, NULL, 1, '2021-06-15 23:47:04', 1), +(32, '2021-06-14 23:47:26', '2021-06-14 23:47:36', 'ok', 1, 1, NULL, 1, '2021-06-15 23:47:26', 1), +(33, '2021-06-14 23:47:50', '2021-06-14 23:47:55', 'ok', 1, 1, NULL, 1, '2021-06-15 23:47:50', 1), +(34, '2021-06-14 23:47:55', '2021-06-14 23:48:59', 'ok', 1, 1, NULL, 1, '2021-06-15 23:47:55', 1), +(35, '2021-06-14 23:48:27', '2021-06-14 23:48:34', 'ok', 1, 2, NULL, 1, '2021-06-17 23:48:27', 1), +(36, '2021-06-14 23:48:34', '2021-06-14 23:49:02', 'ok', 1, 2, NULL, 1, '2021-06-17 23:48:34', 1), +(37, '2021-06-14 23:49:25', '2021-06-14 23:49:43', 'ok', 1, 1, NULL, 1, '2021-06-15 23:49:25', 1), +(38, '2021-06-14 23:49:43', '2021-06-15 00:33:07', 'ok reeemprestado', 1, 1, NULL, 1, '2021-06-15 23:49:43', 1), +(39, '2021-06-15 00:44:25', '2021-06-15 00:44:39', 'ok', 1, 1, NULL, 1, '2021-06-16 00:44:25', 1), +(40, '2021-06-16 16:42:23', NULL, 'ok teste add to obs', 1, 1, NULL, 1, '2021-06-16 16:42:23', NULL); + +-- -------------------------------------------------------- + +-- +-- Estrutura da tabela `tb_fornecedores` +-- + +CREATE TABLE `tb_fornecedores` ( + `id` int(11) NOT NULL, + `nome` varchar(100) DEFAULT NULL, + `cnpj` varchar(100) DEFAULT NULL, + `email` varchar(200) DEFAULT NULL, + `telefone` varchar(30) DEFAULT NULL, + `celular` varchar(30) DEFAULT NULL, + `cep` varchar(100) DEFAULT NULL, + `endereco` varchar(255) DEFAULT NULL, + `numero` varchar(50) DEFAULT NULL, + `complemento` varchar(200) DEFAULT NULL, + `bairro` varchar(100) DEFAULT NULL, + `cidade` varchar(100) DEFAULT NULL, + `estado` varchar(2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Extraindo dados da tabela `tb_fornecedores` +-- + +INSERT INTO `tb_fornecedores` (`id`, `nome`, `cnpj`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`) VALUES +(1, 'Fornecedor Teste', '231.231.231-23', 'teste@test', '(42)3232-1231', '(23)42342-3423', '21342-342', 'dfsdfsdfsdfsdf', '', 'asdasd', 'asdasdasd', 'asdasdasd', 'RR'), +(2, 'sdfsdfsdf', '234.234.234-23', 'sdfsdfsdfsdf', '(23)4234-2342', '(23)42342-3423', '21342-342', 'sdfsdf', '123', 'sdfsdf', 'sdfsdf', 'sdfsdfs', 'AP'); + +-- -------------------------------------------------------- + +-- +-- Estrutura da tabela `tb_funcionarios` +-- + +CREATE TABLE `tb_funcionarios` ( + `id` int(11) NOT NULL, + `nome` varchar(100) NOT NULL, + `rg` varchar(30) DEFAULT NULL, + `cpf` varchar(20) DEFAULT NULL, + `email` varchar(200) DEFAULT NULL, + `senha` varchar(10) NOT NULL, + `cargo` varchar(100) NOT NULL, + `nivel_acesso` varchar(50) NOT NULL, + `telefone` varchar(30) DEFAULT NULL, + `celular` varchar(30) DEFAULT NULL, + `cep` varchar(100) NOT NULL, + `endereco` varchar(255) DEFAULT NULL, + `numero` varchar(50) DEFAULT NULL, + `complemento` varchar(200) DEFAULT NULL, + `bairro` varchar(100) DEFAULT NULL, + `cidade` varchar(100) NOT NULL, + `estado` varchar(2) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Extraindo dados da tabela `tb_funcionarios` +-- + +INSERT INTO `tb_funcionarios` (`id`, `nome`, `rg`, `cpf`, `email`, `senha`, `cargo`, `nivel_acesso`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`) VALUES +(1, 'Administrador', '7.275.275-1', '033.330.003-13', 'admin@admin', 'admin', 'Administrador', 'Usuario', '( ) - ', '(12)31231-2312', '84570-000', 'rua Miguel Grenteski', '13', 'Casa', 'Eldorado', 'Mallet', 'PR'); + +-- -------------------------------------------------------- + +-- +-- Estrutura da tabela `tb_leitores` +-- + +CREATE TABLE `tb_leitores` ( + `id` int(11) NOT NULL, + `nome` varchar(100) NOT NULL, + `rg` varchar(30) DEFAULT NULL, + `cpf` varchar(20) DEFAULT NULL, + `email` varchar(200) DEFAULT NULL, + `telefone` varchar(30) DEFAULT NULL, + `celular` varchar(30) DEFAULT NULL, + `cep` varchar(100) DEFAULT NULL, + `endereco` varchar(255) DEFAULT NULL, + `numero` varchar(50) DEFAULT NULL, + `complemento` varchar(200) DEFAULT NULL, + `bairro` varchar(100) DEFAULT NULL, + `cidade` varchar(100) DEFAULT NULL, + `estado` varchar(2) DEFAULT NULL, + `tipo` varchar(15) DEFAULT NULL, + `is_locked` tinyint(4) DEFAULT NULL, + `curso` varchar(45) DEFAULT NULL, + `curso_ano` varchar(45) DEFAULT NULL, + `qtd_emprestimos` int(3) DEFAULT NULL, + `emprestmax` int(11) DEFAULT NULL, + `observacoes` varchar(225) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Extraindo dados da tabela `tb_leitores` +-- + +INSERT INTO `tb_leitores` (`id`, `nome`, `rg`, `cpf`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`, `tipo`, `is_locked`, `curso`, `curso_ano`, `qtd_emprestimos`, `emprestmax`, `observacoes`) VALUES +(1, 'Leitor 1', '111.111.111-1', '111.111.111-11', 'leitor@test.com', '(42)99999-9999', '(42)99999-9999', '84570-000', 'Rua Tal', '100', 'casa', 'Centro', 'Mallet', 'PR', 'Estudante', 0, 'Letras Ingles / Noturno', '4', 0, 3, 'leitor ok - primeiro cadastro - cadastro completo'), +(2, 'Leitor numero 2', ' . . - ', '123.123.123-23', 'leitor2@leitor2.com', '( ) - ', '(42)45355-6666', '84570-000', 'Rua 2', '1212', 'Casa', 'Centro', 'Mallet', 'PR', 'Professor', 0, 'Letras', '0', 0, 0, 'Professor - emprestimos ilimitados'); + +-- -------------------------------------------------------- + +-- +-- Estrutura da tabela `tb_livros` +-- + +CREATE TABLE `tb_livros` ( + `id` int(11) NOT NULL, + `titulo` varchar(100) NOT NULL, + `autor` varchar(45) NOT NULL, + `editora` varchar(45) NOT NULL, + `isbn` varchar(13) NOT NULL, + `ano` varchar(4) NOT NULL, + `serie` varchar(45) DEFAULT NULL, + `edicao` varchar(45) DEFAULT NULL, + `idioma` varchar(25) NOT NULL, + `tb_fornecedores_id` int(11) DEFAULT NULL, + `piso` varchar(45) DEFAULT NULL, + `corredor` varchar(45) DEFAULT NULL, + `posicao` varchar(45) DEFAULT NULL, + `secao` varchar(45) DEFAULT NULL, + `disponibilidade` varchar(15) NOT NULL, + `observacoes` varchar(225) DEFAULT NULL, + `is_emprestado` tinyint(4) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Extraindo dados da tabela `tb_livros` +-- + +INSERT INTO `tb_livros` (`id`, `titulo`, `autor`, `editora`, `isbn`, `ano`, `serie`, `edicao`, `idioma`, `tb_fornecedores_id`, `piso`, `corredor`, `posicao`, `secao`, `disponibilidade`, `observacoes`, `is_emprestado`) VALUES +(1, 'Alice no Pais das Maravilhas', 'Lewis Carrol', 'Dumi Edit', '1234567890123', '1894', 'Especial', '25', 'Portugues', 1, 'Piso 2', 'corredor 1', '1A', 'Literatura Universal', '0', 'ok teste add to obs', 1), +(2, 'A Revolução dos Bichos', 'George Orwell', 'Dumi Edit', '0987654321234', '1934', 'Must be Read Books', '2', 'Portugues', 1, 'Piso 2', 'corredor 1', '1A', 'Literatura Universal', '3', 'ok', 0); + +-- -------------------------------------------------------- + +-- +-- Estrutura da tabela `tb_multa` +-- + +CREATE TABLE `tb_multa` ( + `idmulta` int(11) NOT NULL, + `dias_atraso` int(6) NOT NULL, + `valor_multa` decimal(10,2) DEFAULT NULL, + `esta_pago` tinyint(4) DEFAULT NULL, + `tb_leitores_id` int(11) NOT NULL, + `tb_emprestimos_id` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- +-- Extraindo dados da tabela `tb_multa` +-- + +INSERT INTO `tb_multa` (`idmulta`, `dias_atraso`, `valor_multa`, `esta_pago`, `tb_leitores_id`, `tb_emprestimos_id`) VALUES +(1, -2, '-6.00', 0, 1, 6), +(2, 0, '0.00', 0, 1, 25); + +-- -------------------------------------------------------- + +-- +-- Estrutura da tabela `tb_opcoes` +-- + +CREATE TABLE `tb_opcoes` ( + `id` int(11) NOT NULL, + `data` varchar(45) NOT NULL, + `parentid` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- +-- Extraindo dados da tabela `tb_opcoes` +-- + +INSERT INTO `tb_opcoes` (`id`, `data`, `parentid`) VALUES +(1, 'piso', NULL), +(2, 'corredor', NULL), +(3, 'secao', NULL), +(4, 'posicao', NULL), +(5, 'disponibilidade', NULL), +(6, 'printerurl', NULL), +(7, 'instituicaonome', NULL), +(8, 'instiuicaoendereco', NULL), +(9, 'tiposdeusuarios', NULL), +(10, 'server url', NULL), +(11, 'libraryname', NULL), +(12, 'libraryAddress', NULL), +(13, '0', 5), +(14, '3', 5), +(15, 'Biblioteca de Hogwarts', 7), +(16, 'Rua Epsilon, 888, Cidade Imaginaria, LA ', 8), +(17, 'piso 1', 1), +(18, 'Estudante', 9), +(19, 'Professor', 9), +(20, 'corredor 1', 2), +(21, '1A', 3), +(22, 'Literatura Universal', 4), +(23, '127.0.0.1', 12), +(24, 'Nome da Biblioteca', NULL), +(25, 'valor_multa', NULL), +(26, '300', 25), +(27, 'Piso 2', 1), +(28, 'piso 3', 1), +(29, 'Piso 5', 1); + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `tb_emprestimos` +-- +ALTER TABLE `tb_emprestimos` + ADD PRIMARY KEY (`id`), + ADD KEY `fk_tb_emprestimos_tb_funcionarios1_idx` (`tb_funcionarios_id`), + ADD KEY `fk_tb_emprestimos_tb_livros1_idx` (`tb_livros_id`,`tb_livros_tb_fornecedores_id`), + ADD KEY `fk_tb_emprestimos_tb_leitores1_idx` (`tb_leitores_id`), + ADD KEY `fk_tb_emprestimos_tb_funcionarios2_idx` (`tb_funcionarios_iddevol`); + +-- +-- Indexes for table `tb_fornecedores` +-- +ALTER TABLE `tb_fornecedores` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `tb_funcionarios` +-- +ALTER TABLE `tb_funcionarios` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `tb_leitores` +-- +ALTER TABLE `tb_leitores` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `tb_livros` +-- +ALTER TABLE `tb_livros` + ADD PRIMARY KEY (`id`), + ADD KEY `fk_tb_livros_tb_fornecedores1_idx` (`tb_fornecedores_id`); + +-- +-- Indexes for table `tb_multa` +-- +ALTER TABLE `tb_multa` + ADD PRIMARY KEY (`idmulta`,`tb_emprestimos_id`), + ADD KEY `fk_multa_tb_leitores1_idx` (`tb_leitores_id`), + ADD KEY `fk_tb_multa_tb_emprestimos1_idx` (`tb_emprestimos_id`); + +-- +-- Indexes for table `tb_opcoes` +-- +ALTER TABLE `tb_opcoes` + ADD PRIMARY KEY (`id`), + ADD KEY `fk_Opcoes_Opcoes1_idx` (`parentid`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `tb_emprestimos` +-- +ALTER TABLE `tb_emprestimos` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41; +-- +-- AUTO_INCREMENT for table `tb_fornecedores` +-- +ALTER TABLE `tb_fornecedores` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; +-- +-- AUTO_INCREMENT for table `tb_funcionarios` +-- +ALTER TABLE `tb_funcionarios` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; +-- +-- AUTO_INCREMENT for table `tb_leitores` +-- +ALTER TABLE `tb_leitores` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; +-- +-- AUTO_INCREMENT for table `tb_livros` +-- +ALTER TABLE `tb_livros` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; +-- +-- AUTO_INCREMENT for table `tb_multa` +-- +ALTER TABLE `tb_multa` + MODIFY `idmulta` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; +-- +-- AUTO_INCREMENT for table `tb_opcoes` +-- +ALTER TABLE `tb_opcoes` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30; +-- +-- Constraints for dumped tables +-- + +-- +-- Limitadores para a tabela `tb_emprestimos` +-- +ALTER TABLE `tb_emprestimos` + ADD CONSTRAINT `fk_tb_emprestimos_tb_funcionarios1` FOREIGN KEY (`tb_funcionarios_id`) REFERENCES `tb_funcionarios` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, + ADD CONSTRAINT `fk_tb_emprestimos_tb_funcionarios2` FOREIGN KEY (`tb_funcionarios_iddevol`) REFERENCES `tb_funcionarios` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, + ADD CONSTRAINT `fk_tb_emprestimos_tb_leitores1` FOREIGN KEY (`tb_leitores_id`) REFERENCES `tb_leitores` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, + ADD CONSTRAINT `fk_tb_emprestimos_tb_livros1` FOREIGN KEY (`tb_livros_id`) REFERENCES `tb_livros` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; + +-- +-- Limitadores para a tabela `tb_livros` +-- +ALTER TABLE `tb_livros` + ADD CONSTRAINT `fk_tb_livros_tb_fornecedores1` FOREIGN KEY (`tb_fornecedores_id`) REFERENCES `tb_fornecedores` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; + +-- +-- Limitadores para a tabela `tb_multa` +-- +ALTER TABLE `tb_multa` + ADD CONSTRAINT `fk_multa_tb_leitores1` FOREIGN KEY (`tb_leitores_id`) REFERENCES `tb_leitores` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, + ADD CONSTRAINT `fk_tb_multa_tb_emprestimos1` FOREIGN KEY (`tb_emprestimos_id`) REFERENCES `tb_emprestimos` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; + +-- +-- Limitadores para a tabela `tb_opcoes` +-- +ALTER TABLE `tb_opcoes` + ADD CONSTRAINT `fk_Opcoes_Opcoes1` FOREIGN KEY (`parentid`) REFERENCES `tb_opcoes` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/myql scripts/naopreenchida.mwb b/myql scripts/naopreenchida.mwb new file mode 100644 index 0000000..83a3184 Binary files /dev/null and b/myql scripts/naopreenchida.mwb differ diff --git a/myql scripts/naopreenchida.mwb.bak b/myql scripts/naopreenchida.mwb.bak new file mode 100644 index 0000000..e213048 Binary files /dev/null and b/myql scripts/naopreenchida.mwb.bak differ diff --git a/myql scripts/scriptMySqlWorkB.sql b/myql scripts/scriptMySqlWorkB.sql new file mode 100644 index 0000000..9d8b04d --- /dev/null +++ b/myql scripts/scriptMySqlWorkB.sql @@ -0,0 +1,315 @@ +-- MySQL Script generated by MySQL Workbench +-- Thu Jun 17 00:28:49 2021 +-- Model: New Model Version: 1.0 +-- MySQL Workbench Forward Engineering + +SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; +SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; +SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'; + +-- ----------------------------------------------------- +-- Schema gowl +-- ----------------------------------------------------- + +-- ----------------------------------------------------- +-- Schema gowl +-- ----------------------------------------------------- +CREATE SCHEMA IF NOT EXISTS `gowl` DEFAULT CHARACTER SET utf8 ; +USE `gowl` ; + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_leitores` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_leitores` ( + `id` INT(11) NOT NULL AUTO_INCREMENT, + `nome` VARCHAR(100) NOT NULL, + `rg` VARCHAR(30) NULL DEFAULT NULL, + `cpf` VARCHAR(20) NULL DEFAULT NULL, + `email` VARCHAR(200) NULL DEFAULT NULL, + `telefone` VARCHAR(30) NULL DEFAULT NULL, + `celular` VARCHAR(30) NULL DEFAULT NULL, + `cep` VARCHAR(100) NULL DEFAULT NULL, + `endereco` VARCHAR(255) NULL DEFAULT NULL, + `numero` VARCHAR(50) NULL DEFAULT NULL, + `complemento` VARCHAR(200) NULL DEFAULT NULL, + `bairro` VARCHAR(100) NULL DEFAULT NULL, + `cidade` VARCHAR(100) NULL DEFAULT NULL, + `estado` VARCHAR(2) NULL DEFAULT NULL, + `tipo` VARCHAR(15) NULL, + `is_locked` TINYINT NULL, + `curso` VARCHAR(45) NULL, + `curso_ano` VARCHAR(45) NULL, + `qtd_emprestimos` INT(3) NULL, + `emprestmax` INT NULL, + `observacoes` VARCHAR(225) NULL, + PRIMARY KEY (`id`)) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_fornecedores` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_fornecedores` ( + `id` INT(11) NOT NULL AUTO_INCREMENT, + `nome` VARCHAR(100) NULL DEFAULT NULL, + `cnpj` VARCHAR(100) NULL DEFAULT NULL, + `email` VARCHAR(200) NULL DEFAULT NULL, + `telefone` VARCHAR(30) NULL DEFAULT NULL, + `celular` VARCHAR(30) NULL DEFAULT NULL, + `cep` VARCHAR(100) NULL DEFAULT NULL, + `endereco` VARCHAR(255) NULL DEFAULT NULL, + `numero` VARCHAR(50) NULL DEFAULT NULL, + `complemento` VARCHAR(200) NULL DEFAULT NULL, + `bairro` VARCHAR(100) NULL DEFAULT NULL, + `cidade` VARCHAR(100) NULL DEFAULT NULL, + `estado` VARCHAR(2) NULL DEFAULT NULL, + PRIMARY KEY (`id`)) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_funcionarios` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_funcionarios` ( + `id` INT(11) NOT NULL AUTO_INCREMENT, + `nome` VARCHAR(100) NOT NULL, + `rg` VARCHAR(30) NULL, + `cpf` VARCHAR(20) NULL, + `email` VARCHAR(200) NULL, + `senha` VARCHAR(10) NOT NULL, + `cargo` VARCHAR(100) NOT NULL, + `nivel_acesso` VARCHAR(50) NOT NULL, + `telefone` VARCHAR(30) NULL, + `celular` VARCHAR(30) NULL, + `cep` VARCHAR(100) NOT NULL, + `endereco` VARCHAR(255) NULL, + `numero` VARCHAR(50) NULL, + `complemento` VARCHAR(200) NULL, + `bairro` VARCHAR(100) NULL, + `cidade` VARCHAR(100) NOT NULL, + `estado` VARCHAR(2) NOT NULL, + PRIMARY KEY (`id`)) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_livros` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_livros` ( + `id` INT(11) NOT NULL AUTO_INCREMENT, + `titulo` VARCHAR(100) NOT NULL, + `autor` VARCHAR(45) NOT NULL, + `editora` VARCHAR(45) NOT NULL, + `isbn` VARCHAR(13) NOT NULL, + `ano` VARCHAR(4) NOT NULL, + `serie` VARCHAR(45) NULL, + `edicao` VARCHAR(45) NULL, + `idioma` VARCHAR(25) NOT NULL, + `tb_fornecedores_id` INT(11) NULL, + `piso` VARCHAR(45) NULL, + `corredor` VARCHAR(45) NULL, + `posicao` VARCHAR(45) NULL, + `secao` VARCHAR(45) NULL, + `disponibilidade` VARCHAR(15) NOT NULL, + `observacoes` VARCHAR(225) NULL, + `is_emprestado` TINYINT NULL, + PRIMARY KEY (`id`), + INDEX `fk_tb_livros_tb_fornecedores1_idx` (`tb_fornecedores_id` ASC), + CONSTRAINT `fk_tb_livros_tb_fornecedores1` + FOREIGN KEY (`tb_fornecedores_id`) + REFERENCES `gowl`.`tb_fornecedores` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_emprestimos` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_emprestimos` ( + `id` INT(11) NOT NULL AUTO_INCREMENT, + `data_emprestimo` DATETIME NULL, + `data_devolucao` DATETIME NULL DEFAULT NULL, + `observacoes` TEXT NULL DEFAULT NULL, + `tb_funcionarios_id` INT(11) NULL, + `tb_livros_id` INT(11) NULL, + `tb_livros_tb_fornecedores_id` INT(11) NULL, + `tb_leitores_id` INT(11) NULL, + `data_entrega_agendada` DATETIME NULL, + `tb_funcionarios_iddevol` INT(11) NULL, + `static_id_emprestimo` INT NULL, + PRIMARY KEY (`id`), + INDEX `fk_tb_emprestimos_tb_funcionarios1_idx` (`tb_funcionarios_id` ASC), + INDEX `fk_tb_emprestimos_tb_livros1_idx` (`tb_livros_id` ASC, `tb_livros_tb_fornecedores_id` ASC), + INDEX `fk_tb_emprestimos_tb_leitores1_idx` (`tb_leitores_id` ASC), + INDEX `fk_tb_emprestimos_tb_funcionarios2_idx` (`tb_funcionarios_iddevol` ASC), + CONSTRAINT `fk_tb_emprestimos_tb_funcionarios1` + FOREIGN KEY (`tb_funcionarios_id`) + REFERENCES `gowl`.`tb_funcionarios` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_emprestimos_tb_livros1` + FOREIGN KEY (`tb_livros_id`) + REFERENCES `gowl`.`tb_livros` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_emprestimos_tb_leitores1` + FOREIGN KEY (`tb_leitores_id`) + REFERENCES `gowl`.`tb_leitores` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_emprestimos_tb_funcionarios2` + FOREIGN KEY (`tb_funcionarios_iddevol`) + REFERENCES `gowl`.`tb_funcionarios` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_multa` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_multa` ( + `idmulta` INT NOT NULL AUTO_INCREMENT, + `dias_atraso` INT(6) NOT NULL, + `valor_multa` DECIMAL(10,2) NULL, + `esta_pago` TINYINT NULL, + `tb_leitores_id` INT(11) NOT NULL, + `tb_emprestimos_id` INT(11) NOT NULL, + PRIMARY KEY (`idmulta`, `tb_emprestimos_id`), + INDEX `fk_multa_tb_leitores1_idx` (`tb_leitores_id` ASC), + INDEX `fk_tb_multa_tb_emprestimos1_idx` (`tb_emprestimos_id` ASC), + CONSTRAINT `fk_multa_tb_leitores1` + FOREIGN KEY (`tb_leitores_id`) + REFERENCES `gowl`.`tb_leitores` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_multa_tb_emprestimos1` + FOREIGN KEY (`tb_emprestimos_id`) + REFERENCES `gowl`.`tb_emprestimos` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_opcoes` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_opcoes` ( + `id` INT NOT NULL AUTO_INCREMENT, + `data` VARCHAR(45) NOT NULL, + `parentid` INT NULL, + PRIMARY KEY (`id`), + INDEX `fk_Opcoes_Opcoes1_idx` (`parentid` ASC), + CONSTRAINT `fk_Opcoes_Opcoes1` + FOREIGN KEY (`parentid`) + REFERENCES `gowl`.`tb_opcoes` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_recibos` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_recibos` ( + `id` INT NOT NULL AUTO_INCREMENT, + `emprestimo_id` INT NULL, + `data_emprestimo` VARCHAR(45) NULL, + `data_devolucao_agendada` VARCHAR(45) NULL, + `data_entrega` VARCHAR(45) NULL, + `livro` VARCHAR(45) NULL, + `usuario` VARCHAR(45) NULL, + `tipo` VARCHAR(45) NULL, + `multa` VARCHAR(45) NULL, + `status` VARCHAR(45) NULL, + `funcionario` VARCHAR(45) NULL, + PRIMARY KEY (`id`)) +ENGINE = InnoDB; + + +SET SQL_MODE=@OLD_SQL_MODE; +SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS; +SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS; + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_leitores` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_leitores` (`id`, `nome`, `rg`, `cpf`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`, `tipo`, `is_locked`, `curso`, `curso_ano`, `qtd_emprestimos`, `emprestmax`, `observacoes`) VALUES (1, 'Leitor 1', '111.111.111-1', '111.111.111-11', 'leitor@test.com', '(42)99999-9999', '(42)99999-9999', '84570-000', 'Rua Tal', '100', 'casa', 'Centro', 'Mallet', 'PR', 'Estudante', 0, 'Letras Ingles / Noturno', '4', 0, 3, 'leitor ok - primeiro cadastro - cadastro completo'); +INSERT INTO `gowl`.`tb_leitores` (`id`, `nome`, `rg`, `cpf`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`, `tipo`, `is_locked`, `curso`, `curso_ano`, `qtd_emprestimos`, `emprestmax`, `observacoes`) VALUES (2, 'Leitor numero 2', '123.123.123-3', '123.123.123-23', 'leitor2@leitor2.com', '(42)98988-8989', '(42)45355-6666', '84570-000', 'Rua 2', '1212', 'Casa', 'Centro', 'Mallet', 'PR', 'Professor', 0, 'Letras', '0', 0, 0, 'Professor - emprestimos ilimitados'); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_fornecedores` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_fornecedores` (`id`, `nome`, `cnpj`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`) VALUES (1, 'Fornecedor Teste', '111.111.111/0001-11', 'teste@test', '423232123123', NULL, '84570-000', 'Rua Fccinal', '00', 'Predio', NULL, 'Mallet', 'PR'); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_funcionarios` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_funcionarios` (`id`, `nome`, `rg`, `cpf`, `email`, `senha`, `cargo`, `nivel_acesso`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`) VALUES (1, 'Administrador', '7.275.275-1', '033.330.003-13', 'admin@admin', 'admin', 'Administrador', 'Administrador', '(42)99987-6543', '123123123123', '84570-000', 'rua Miguel Grenteski', '13', 'Casa', 'Eldorado', 'Mallet', 'PR'); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_livros` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_livros` (`id`, `titulo`, `autor`, `editora`, `isbn`, `ano`, `serie`, `edicao`, `idioma`, `tb_fornecedores_id`, `piso`, `corredor`, `posicao`, `secao`, `disponibilidade`, `observacoes`, `is_emprestado`) VALUES (1, 'Alice no Pais das Maravilhas', 'Lewis Carrol', 'Dumi Edit', '1234567890123', '1894', 'Especial', '25', 'Portugues', 1, '1', 'b', 'a3', 'Literatura Universal', '1', 'ok', 0); +INSERT INTO `gowl`.`tb_livros` (`id`, `titulo`, `autor`, `editora`, `isbn`, `ano`, `serie`, `edicao`, `idioma`, `tb_fornecedores_id`, `piso`, `corredor`, `posicao`, `secao`, `disponibilidade`, `observacoes`, `is_emprestado`) VALUES (2, 'A Revolução dos Bichos', 'George Orwell', 'Dumi Edit', '0987654321234', '1934', 'Must be Read Books', '2', 'Portugues', 1, '1', 'b', 'a3', 'Literatura Universal', '3', 'ok', 0); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_opcoes` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (1, 'piso', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (2, 'corredor', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (3, 'secao', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (4, 'posicao', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (5, 'disponibilidade', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (6, 'printerurl', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (7, 'instituicaonome', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (8, 'instiuicaoendereco', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (17, 'piso 1', 1); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (20, 'corredor 1', 2); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (21, '1A', 3); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (22, 'Literatura Universal', 4); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (13, '0', 5); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (14, '3', 5); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (15, 'Biblioteca de Hogwarts', 7); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (16, 'Rua Epsilon, 888, Cidade Imaginaria, LA ', 8); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (9, 'tiposdeusuarios', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (18, 'Estudante', 9); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (19, 'Professor', 9); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (10, 'server url', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (11, 'libraryname', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (12, 'libraryAddress', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (23, '127.0.0.1', 12); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (24, 'Nome da Biblioteca', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (25, 'valor_multa', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (26, '300', 25); + +COMMIT; + diff --git a/myql scripts/scriptMySqlWorkBZeroFill.sql b/myql scripts/scriptMySqlWorkBZeroFill.sql new file mode 100644 index 0000000..494d60c --- /dev/null +++ b/myql scripts/scriptMySqlWorkBZeroFill.sql @@ -0,0 +1,317 @@ +-- MySQL Script generated by MySQL Workbench +-- Sat Jun 19 03:31:39 2021 +-- Model: New Model Version: 1.0 +-- MySQL Workbench Forward Engineering + +SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; +SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; +SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'; + +-- ----------------------------------------------------- +-- Schema gowl +-- ----------------------------------------------------- + +-- ----------------------------------------------------- +-- Schema gowl +-- ----------------------------------------------------- +CREATE SCHEMA IF NOT EXISTS `gowl` DEFAULT CHARACTER SET utf8 ; +USE `gowl` ; + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_leitores` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_leitores` ( + `id` INT(8) ZEROFILL NOT NULL AUTO_INCREMENT, + `nome` VARCHAR(100) NULL, + `rg` VARCHAR(30) NULL DEFAULT NULL, + `cpf` VARCHAR(20) NULL DEFAULT NULL, + `email` VARCHAR(200) NULL DEFAULT NULL, + `telefone` VARCHAR(30) NULL DEFAULT NULL, + `celular` VARCHAR(30) NULL DEFAULT NULL, + `cep` VARCHAR(100) NULL DEFAULT NULL, + `endereco` VARCHAR(255) NULL DEFAULT NULL, + `numero` VARCHAR(50) NULL DEFAULT NULL, + `complemento` VARCHAR(200) NULL DEFAULT NULL, + `bairro` VARCHAR(100) NULL DEFAULT NULL, + `cidade` VARCHAR(100) NULL DEFAULT NULL, + `estado` VARCHAR(2) NULL DEFAULT NULL, + `tipo` VARCHAR(15) NULL, + `is_locked` TINYINT NULL, + `curso` VARCHAR(45) NULL, + `curso_ano` VARCHAR(45) NULL, + `qtd_emprestimos` INT(3) NULL, + `emprestmax` INT NULL, + `observacoes` VARCHAR(225) NULL, + PRIMARY KEY (`id`), + UNIQUE INDEX `id_UNIQUE` (`id` ASC)) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_fornecedores` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_fornecedores` ( + `id` INT(8) NOT NULL, + `nome` VARCHAR(100) NULL DEFAULT NULL, + `cnpj` VARCHAR(100) NULL DEFAULT NULL, + `email` VARCHAR(200) NULL DEFAULT NULL, + `telefone` VARCHAR(30) NULL DEFAULT NULL, + `celular` VARCHAR(30) NULL DEFAULT NULL, + `cep` VARCHAR(100) NULL DEFAULT NULL, + `endereco` VARCHAR(255) NULL DEFAULT NULL, + `numero` VARCHAR(50) NULL DEFAULT NULL, + `complemento` VARCHAR(200) NULL DEFAULT NULL, + `bairro` VARCHAR(100) NULL DEFAULT NULL, + `cidade` VARCHAR(100) NULL DEFAULT NULL, + `estado` VARCHAR(2) NULL DEFAULT NULL, + PRIMARY KEY (`id`)) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_funcionarios` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_funcionarios` ( + `id` INT(8) NOT NULL, + `nome` VARCHAR(100) NOT NULL, + `rg` VARCHAR(30) NULL, + `cpf` VARCHAR(20) NULL, + `email` VARCHAR(200) NULL, + `senha` VARCHAR(10) NOT NULL, + `cargo` VARCHAR(100) NOT NULL, + `nivel_acesso` VARCHAR(50) NOT NULL, + `telefone` VARCHAR(30) NULL, + `celular` VARCHAR(30) NULL, + `cep` VARCHAR(100) NOT NULL, + `endereco` VARCHAR(255) NULL, + `numero` VARCHAR(50) NULL, + `complemento` VARCHAR(200) NULL, + `bairro` VARCHAR(100) NULL, + `cidade` VARCHAR(100) NOT NULL, + `estado` VARCHAR(2) NOT NULL, + PRIMARY KEY (`id`)) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_livros` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_livros` ( + `id` INT(8) NOT NULL, + `titulo` VARCHAR(100) NOT NULL, + `autor` VARCHAR(45) NOT NULL, + `editora` VARCHAR(45) NOT NULL, + `isbn` VARCHAR(13) NOT NULL, + `ano` VARCHAR(4) NOT NULL, + `serie` VARCHAR(45) NULL, + `edicao` VARCHAR(45) NULL, + `idioma` VARCHAR(25) NOT NULL, + `tb_fornecedores_id` INT(11) NULL, + `piso` VARCHAR(45) NULL, + `corredor` VARCHAR(45) NULL, + `posicao` VARCHAR(45) NULL, + `secao` VARCHAR(45) NULL, + `disponibilidade` VARCHAR(15) NOT NULL, + `observacoes` VARCHAR(225) NULL, + `is_emprestado` TINYINT NULL, + PRIMARY KEY (`id`), + INDEX `fk_tb_livros_tb_fornecedores1_idx` (`tb_fornecedores_id` ASC), + CONSTRAINT `fk_tb_livros_tb_fornecedores1` + FOREIGN KEY (`tb_fornecedores_id`) + REFERENCES `gowl`.`tb_fornecedores` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_emprestimos` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_emprestimos` ( + `id` INT(8) ZEROFILL NOT NULL AUTO_INCREMENT, + `data_emprestimo` DATETIME NULL, + `data_devolucao` DATETIME NULL DEFAULT NULL, + `observacoes` TEXT NULL DEFAULT NULL, + `tb_funcionarios_id` INT(11) NULL, + `tb_livros_id` INT(11) NULL, + `tb_livros_tb_fornecedores_id` INT(11) NULL, + `tb_leitores_id` INT(11) NULL, + `data_entrega_agendada` DATETIME NULL, + `tb_funcionarios_iddevol` INT(11) NULL, + `static_id_emprestimo` INT NULL, + PRIMARY KEY (`id`), + INDEX `fk_tb_emprestimos_tb_funcionarios1_idx` (`tb_funcionarios_id` ASC), + INDEX `fk_tb_emprestimos_tb_livros1_idx` (`tb_livros_id` ASC, `tb_livros_tb_fornecedores_id` ASC), + INDEX `fk_tb_emprestimos_tb_leitores1_idx` (`tb_leitores_id` ASC), + INDEX `fk_tb_emprestimos_tb_funcionarios2_idx` (`tb_funcionarios_iddevol` ASC), + UNIQUE INDEX `id_UNIQUE` (`id` ASC), + CONSTRAINT `fk_tb_emprestimos_tb_funcionarios1` + FOREIGN KEY (`tb_funcionarios_id`) + REFERENCES `gowl`.`tb_funcionarios` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_emprestimos_tb_livros1` + FOREIGN KEY (`tb_livros_id`) + REFERENCES `gowl`.`tb_livros` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_emprestimos_tb_leitores1` + FOREIGN KEY (`tb_leitores_id`) + REFERENCES `gowl`.`tb_leitores` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_emprestimos_tb_funcionarios2` + FOREIGN KEY (`tb_funcionarios_iddevol`) + REFERENCES `gowl`.`tb_funcionarios` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_multa` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_multa` ( + `idmulta` INT(8) NOT NULL, + `dias_atraso` INT(6) NOT NULL, + `valor_multa` DECIMAL(10,2) NULL, + `esta_pago` TINYINT NULL, + `tb_leitores_id` INT(11) NOT NULL, + `tb_emprestimos_id` INT(11) NOT NULL, + PRIMARY KEY (`idmulta`, `tb_emprestimos_id`), + INDEX `fk_multa_tb_leitores1_idx` (`tb_leitores_id` ASC), + INDEX `fk_tb_multa_tb_emprestimos1_idx` (`tb_emprestimos_id` ASC), + CONSTRAINT `fk_multa_tb_leitores1` + FOREIGN KEY (`tb_leitores_id`) + REFERENCES `gowl`.`tb_leitores` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_multa_tb_emprestimos1` + FOREIGN KEY (`tb_emprestimos_id`) + REFERENCES `gowl`.`tb_emprestimos` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_opcoes` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_opcoes` ( + `id` INT NOT NULL AUTO_INCREMENT, + `data` VARCHAR(45) NOT NULL, + `parentid` INT NULL, + PRIMARY KEY (`id`), + INDEX `fk_Opcoes_Opcoes1_idx` (`parentid` ASC), + CONSTRAINT `fk_Opcoes_Opcoes1` + FOREIGN KEY (`parentid`) + REFERENCES `gowl`.`tb_opcoes` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_recibos` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_recibos` ( + `id` INT(8) NOT NULL, + `emprestimo_id` INT NULL, + `data_emprestimo` VARCHAR(45) NULL, + `data_devolucao_agendada` VARCHAR(45) NULL, + `data_entrega` VARCHAR(45) NULL, + `livro` VARCHAR(45) NULL, + `usuario` VARCHAR(45) NULL, + `tipo` VARCHAR(45) NULL, + `multa` VARCHAR(45) NULL, + `status` VARCHAR(45) NULL, + `funcionario` VARCHAR(45) NULL, + PRIMARY KEY (`id`)) +ENGINE = InnoDB; + + +SET SQL_MODE=@OLD_SQL_MODE; +SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS; +SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS; + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_leitores` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_leitores` (`id`, `nome`, `rg`, `cpf`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`, `tipo`, `is_locked`, `curso`, `curso_ano`, `qtd_emprestimos`, `emprestmax`, `observacoes`) VALUES (1, 'Leitor 1', '111.111.111-1', '111.111.111-11', 'leitor@test.com', '(42)99999-9999', '(42)99999-9999', '84570-000', 'Rua Tal', '100', 'casa', 'Centro', 'Mallet', 'PR', 'Estudante', 0, 'Letras Ingles / Noturno', '4', 0, 3, 'leitor ok - primeiro cadastro - cadastro completo'); +INSERT INTO `gowl`.`tb_leitores` (`id`, `nome`, `rg`, `cpf`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`, `tipo`, `is_locked`, `curso`, `curso_ano`, `qtd_emprestimos`, `emprestmax`, `observacoes`) VALUES (2, 'Leitor numero 2', '123.123.123-3', '123.123.123-23', 'leitor2@leitor2.com', '(42)98988-8989', '(42)45355-6666', '84570-000', 'Rua 2', '1212', 'Casa', 'Centro', 'Mallet', 'PR', 'Professor', 0, 'Letras', '0', 0, 0, 'Professor - emprestimos ilimitados'); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_fornecedores` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_fornecedores` (`id`, `nome`, `cnpj`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`) VALUES (1, 'Fornecedor Teste', '111.111.111/0001-11', 'teste@test', '423232123123', NULL, '84570-000', 'Rua Fccinal', '00', 'Predio', NULL, 'Mallet', 'PR'); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_funcionarios` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_funcionarios` (`id`, `nome`, `rg`, `cpf`, `email`, `senha`, `cargo`, `nivel_acesso`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`) VALUES (1, 'Administrador', '7.275.275-1', '033.330.003-13', 'admin@admin', 'admin', 'Administrador', 'Administrador', '(42)99987-6543', '123123123123', '84570-000', 'rua Miguel Grenteski', '13', 'Casa', 'Eldorado', 'Mallet', 'PR'); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_livros` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_livros` (`id`, `titulo`, `autor`, `editora`, `isbn`, `ano`, `serie`, `edicao`, `idioma`, `tb_fornecedores_id`, `piso`, `corredor`, `posicao`, `secao`, `disponibilidade`, `observacoes`, `is_emprestado`) VALUES (1, 'Alice no Pais das Maravilhas', 'Lewis Carrol', 'Dumi Edit', '1234567890123', '1894', 'Especial', '25', 'Portugues', 1, '1', 'b', 'a3', 'Literatura Universal', '1', 'ok', 0); +INSERT INTO `gowl`.`tb_livros` (`id`, `titulo`, `autor`, `editora`, `isbn`, `ano`, `serie`, `edicao`, `idioma`, `tb_fornecedores_id`, `piso`, `corredor`, `posicao`, `secao`, `disponibilidade`, `observacoes`, `is_emprestado`) VALUES (2, 'A Revolução dos Bichos', 'George Orwell', 'Dumi Edit', '0987654321234', '1934', 'Must be Read Books', '2', 'Portugues', 1, '1', 'b', 'a3', 'Literatura Universal', '3', 'ok', 0); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_opcoes` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (1, 'piso', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (2, 'corredor', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (3, 'secao', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (4, 'posicao', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (5, 'disponibilidade', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (6, 'printerurl', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (7, 'instituicaonome', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (8, 'instiuicaoendereco', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (17, 'piso 1', 1); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (20, 'corredor 1', 2); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (21, '1A', 3); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (22, 'Literatura Universal', 4); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (13, '0', 5); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (14, '3', 5); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (15, 'Biblioteca de Hogwarts', 7); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (16, 'Rua Epsilon, 888, Cidade Imaginaria, LA ', 8); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (9, 'tiposdeusuarios', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (18, 'Estudante', 9); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (19, 'Professor', 9); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (10, 'server url', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (11, 'libraryname', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (12, 'libraryAddress', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (23, '127.0.0.1', 12); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (24, 'Nome da Biblioteca', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (25, 'valor_multa', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (26, '300', 25); + +COMMIT; + diff --git a/myql scripts/scriptMySqlWorkBZeroFillnull.sql b/myql scripts/scriptMySqlWorkBZeroFillnull.sql new file mode 100644 index 0000000..b52d3c4 --- /dev/null +++ b/myql scripts/scriptMySqlWorkBZeroFillnull.sql @@ -0,0 +1,317 @@ +-- MySQL Script generated by MySQL Workbench +-- Sat Jun 19 23:20:52 2021 +-- Model: New Model Version: 1.0 +-- MySQL Workbench Forward Engineering + +SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; +SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; +SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'; + +-- ----------------------------------------------------- +-- Schema gowl +-- ----------------------------------------------------- + +-- ----------------------------------------------------- +-- Schema gowl +-- ----------------------------------------------------- +CREATE SCHEMA IF NOT EXISTS `gowl` DEFAULT CHARACTER SET utf8 ; +USE `gowl` ; + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_leitores` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_leitores` ( + `id` INT(8) ZEROFILL NOT NULL AUTO_INCREMENT, + `nome` VARCHAR(100) NULL, + `rg` VARCHAR(30) NULL DEFAULT NULL, + `cpf` VARCHAR(20) NULL DEFAULT NULL, + `email` VARCHAR(200) NULL DEFAULT NULL, + `telefone` VARCHAR(30) NULL DEFAULT NULL, + `celular` VARCHAR(30) NULL DEFAULT NULL, + `cep` VARCHAR(100) NULL DEFAULT NULL, + `endereco` VARCHAR(255) NULL DEFAULT NULL, + `numero` VARCHAR(50) NULL DEFAULT NULL, + `complemento` VARCHAR(200) NULL DEFAULT NULL, + `bairro` VARCHAR(100) NULL DEFAULT NULL, + `cidade` VARCHAR(100) NULL DEFAULT NULL, + `estado` VARCHAR(2) NULL DEFAULT NULL, + `tipo` VARCHAR(15) NULL, + `is_locked` TINYINT NULL, + `curso` VARCHAR(45) NULL, + `curso_ano` VARCHAR(45) NULL, + `qtd_emprestimos` INT(3) NULL, + `emprestmax` INT NULL, + `observacoes` VARCHAR(225) NULL, + PRIMARY KEY (`id`)) +ENGINE = InnoDB +AUTO_INCREMENT = 00000100 +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_fornecedores` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_fornecedores` ( + `id` INT(8) NOT NULL AUTO_INCREMENT, + `nome` VARCHAR(100) NULL DEFAULT NULL, + `cnpj` VARCHAR(100) NULL DEFAULT NULL, + `email` VARCHAR(200) NULL DEFAULT NULL, + `telefone` VARCHAR(30) NULL DEFAULT NULL, + `celular` VARCHAR(30) NULL DEFAULT NULL, + `cep` VARCHAR(100) NULL DEFAULT NULL, + `endereco` VARCHAR(255) NULL DEFAULT NULL, + `numero` VARCHAR(50) NULL DEFAULT NULL, + `complemento` VARCHAR(200) NULL DEFAULT NULL, + `bairro` VARCHAR(100) NULL DEFAULT NULL, + `cidade` VARCHAR(100) NULL DEFAULT NULL, + `estado` VARCHAR(2) NULL DEFAULT NULL, + PRIMARY KEY (`id`)) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_funcionarios` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_funcionarios` ( + `id` INT(8) NOT NULL AUTO_INCREMENT, + `nome` VARCHAR(100) NOT NULL, + `rg` VARCHAR(30) NULL, + `cpf` VARCHAR(20) NULL, + `email` VARCHAR(200) NULL, + `senha` VARCHAR(10) NOT NULL, + `cargo` VARCHAR(100) NOT NULL, + `nivel_acesso` VARCHAR(50) NOT NULL, + `telefone` VARCHAR(30) NULL, + `celular` VARCHAR(30) NULL, + `cep` VARCHAR(100) NOT NULL, + `endereco` VARCHAR(255) NULL, + `numero` VARCHAR(50) NULL, + `complemento` VARCHAR(200) NULL, + `bairro` VARCHAR(100) NULL, + `cidade` VARCHAR(100) NOT NULL, + `estado` VARCHAR(2) NOT NULL, + PRIMARY KEY (`id`)) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_livros` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_livros` ( + `id` INT(8) NOT NULL AUTO_INCREMENT, + `titulo` VARCHAR(100) NOT NULL, + `autor` VARCHAR(45) NOT NULL, + `editora` VARCHAR(45) NOT NULL, + `isbn` VARCHAR(13) NOT NULL, + `ano` VARCHAR(4) NOT NULL, + `serie` VARCHAR(45) NULL, + `edicao` VARCHAR(45) NULL, + `idioma` VARCHAR(25) NOT NULL, + `tb_fornecedores_id` INT(8) NULL, + `piso` VARCHAR(45) NULL, + `corredor` VARCHAR(45) NULL, + `posicao` VARCHAR(45) NULL, + `secao` VARCHAR(45) NULL, + `disponibilidade` VARCHAR(15) NOT NULL, + `observacoes` VARCHAR(225) NULL, + `is_emprestado` TINYINT NULL, + PRIMARY KEY (`id`), + INDEX `fk_tb_livros_tb_fornecedores1_idx` (`tb_fornecedores_id` ASC), + CONSTRAINT `fk_tb_livros_tb_fornecedores1` + FOREIGN KEY (`tb_fornecedores_id`) + REFERENCES `gowl`.`tb_fornecedores` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_emprestimos` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_emprestimos` ( + `id` INT(8) ZEROFILL NOT NULL AUTO_INCREMENT, + `data_emprestimo` DATETIME NULL, + `data_devolucao` DATETIME NULL DEFAULT NULL, + `observacoes` TEXT NULL DEFAULT NULL, + `tb_funcionarios_id` INT(8) NULL, + `tb_livros_id` INT(8) NULL, + `tb_livros_tb_fornecedores_id` INT(8) NULL, + `tb_leitores_id` INT(8) ZEROFILL NULL, + `data_entrega_agendada` DATETIME NULL, + `tb_funcionarios_iddevol` INT(8) NULL, + `static_id_emprestimo` INT(8) NULL, + PRIMARY KEY (`id`), + INDEX `fk_tb_emprestimos_tb_funcionarios1_idx` (`tb_funcionarios_id` ASC), + INDEX `fk_tb_emprestimos_tb_livros1_idx` (`tb_livros_id` ASC, `tb_livros_tb_fornecedores_id` ASC), + INDEX `fk_tb_emprestimos_tb_leitores1_idx` (`tb_leitores_id` ASC), + INDEX `fk_tb_emprestimos_tb_funcionarios2_idx` (`tb_funcionarios_iddevol` ASC), + CONSTRAINT `fk_tb_emprestimos_tb_funcionarios1` + FOREIGN KEY (`tb_funcionarios_id`) + REFERENCES `gowl`.`tb_funcionarios` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_emprestimos_tb_livros1` + FOREIGN KEY (`tb_livros_id`) + REFERENCES `gowl`.`tb_livros` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_emprestimos_tb_leitores1` + FOREIGN KEY (`tb_leitores_id`) + REFERENCES `gowl`.`tb_leitores` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_emprestimos_tb_funcionarios2` + FOREIGN KEY (`tb_funcionarios_iddevol`) + REFERENCES `gowl`.`tb_funcionarios` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB +AUTO_INCREMENT = 10000000 +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_multa` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_multa` ( + `idmulta` INT(8) NOT NULL AUTO_INCREMENT, + `dias_atraso` INT(6) NOT NULL, + `valor_multa` DECIMAL(10,2) NULL, + `esta_pago` TINYINT NULL, + `tb_leitores_id` INT(8) ZEROFILL NOT NULL, + `tb_emprestimos_id` INT(8) ZEROFILL NOT NULL, + PRIMARY KEY (`idmulta`, `tb_emprestimos_id`), + INDEX `fk_multa_tb_leitores1_idx` (`tb_leitores_id` ASC), + INDEX `fk_tb_multa_tb_emprestimos1_idx` (`tb_emprestimos_id` ASC), + CONSTRAINT `fk_multa_tb_leitores1` + FOREIGN KEY (`tb_leitores_id`) + REFERENCES `gowl`.`tb_leitores` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_multa_tb_emprestimos1` + FOREIGN KEY (`tb_emprestimos_id`) + REFERENCES `gowl`.`tb_emprestimos` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_opcoes` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_opcoes` ( + `id` INT NOT NULL AUTO_INCREMENT, + `data` VARCHAR(45) NOT NULL, + `parentid` INT NULL, + PRIMARY KEY (`id`), + INDEX `fk_Opcoes_Opcoes1_idx` (`parentid` ASC), + CONSTRAINT `fk_Opcoes_Opcoes1` + FOREIGN KEY (`parentid`) + REFERENCES `gowl`.`tb_opcoes` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_recibos` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_recibos` ( + `id` INT(8) NOT NULL AUTO_INCREMENT, + `emprestimo_id` INT(8) NULL, + `data_emprestimo` VARCHAR(45) NULL, + `data_devolucao_agendada` VARCHAR(45) NULL, + `data_entrega` VARCHAR(45) NULL, + `livro` VARCHAR(45) NULL, + `usuario` VARCHAR(45) NULL, + `tipo` VARCHAR(45) NULL, + `multa` VARCHAR(45) NULL, + `status` VARCHAR(45) NULL, + `funcionario` VARCHAR(45) NULL, + PRIMARY KEY (`id`)) +ENGINE = InnoDB; + + +SET SQL_MODE=@OLD_SQL_MODE; +SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS; +SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS; + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_leitores` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_leitores` (`id`, `nome`, `rg`, `cpf`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`, `tipo`, `is_locked`, `curso`, `curso_ano`, `qtd_emprestimos`, `emprestmax`, `observacoes`) VALUES (00000101, 'Leitor Teste', '5.432.234-1', '099.999.345-23', 'leitor@mail.com', '(42)98877-2299', '(42)98877-2299', '854670-000', 'Rua 1 de abril', '13', 'casa', 'Centro', 'Mallet', 'PR', 'Estudante', 0, 'Letras', '1', 0, 123, 'Ok'); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_fornecedores` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_fornecedores` (`id`, `nome`, `cnpj`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`) VALUES (1, 'Fornecedor Teste', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_funcionarios` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_funcionarios` (`id`, `nome`, `rg`, `cpf`, `email`, `senha`, `cargo`, `nivel_acesso`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`) VALUES (1, 'Administrador', NULL, NULL, 'admin@admin', 'admin', 'Administrador', 'Administrador', NULL, NULL, DEFAULT, NULL, NULL, NULL, NULL, DEFAULT, DEFAULT); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_livros` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_livros` (`id`, `titulo`, `autor`, `editora`, `isbn`, `ano`, `serie`, `edicao`, `idioma`, `tb_fornecedores_id`, `piso`, `corredor`, `posicao`, `secao`, `disponibilidade`, `observacoes`, `is_emprestado`) VALUES (1, 'Alice no Pis das maravilhas', 'Lewis Carrol', 'Nope', '1231231231231', '1894', '1', '1', 'Portugues', 1, NULL, NULL, NULL, 'Literatura Universal', '5', 'ok', 0); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_opcoes` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (1, 'piso', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (2, 'corredor', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (3, 'secao', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (4, 'posicao', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (5, 'disponibilidade', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (6, 'printerurl', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (7, 'instituicaonome', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (8, 'instiuicaoendereco', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (17, 'piso 1', 1); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (20, 'corredor 1', 2); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (21, '1A', 3); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (22, 'Literatura Universal', 4); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (13, '0', 5); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (14, '3', 5); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (15, 'Biblioteca de Hogwarts', 7); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (16, 'Rua Epsilon, 888, Cidade Imaginaria, LA ', 8); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (9, 'tiposdeusuarios', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (18, 'Estudante', 9); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (19, 'Professor', 9); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (10, 'server url', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (11, 'libraryname', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (12, 'libraryAddress', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (23, '127.0.0.1', 12); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (24, 'Nome da Biblioteca', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (25, 'valor_multa', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (26, '300', 25); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (27, 'MsgReceipt', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (28, 'message', 27); + +COMMIT; + diff --git a/myql scripts/t901MySqlWorkBenchGoldenOwl.sql b/myql scripts/t901MySqlWorkBenchGoldenOwl.sql new file mode 100644 index 0000000..1e8e7b5 --- /dev/null +++ b/myql scripts/t901MySqlWorkBenchGoldenOwl.sql @@ -0,0 +1,319 @@ +-- MySQL Script generated by MySQL Workbench +-- Tue Jun 22 00:03:36 2021 +-- Model: New Model Version: 1.0 +-- MySQL Workbench Forward Engineering + +SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; +SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; +SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'; + +-- ----------------------------------------------------- +-- Schema gowl +-- ----------------------------------------------------- + +-- ----------------------------------------------------- +-- Schema gowl +-- ----------------------------------------------------- +CREATE SCHEMA IF NOT EXISTS `gowl` DEFAULT CHARACTER SET utf8 ; +USE `gowl` ; + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_leitores` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_leitores` ( + `id` INT(8) ZEROFILL NOT NULL AUTO_INCREMENT, + `nome` VARCHAR(100) NULL, + `rg` VARCHAR(30) NULL DEFAULT NULL, + `cpf` VARCHAR(20) NULL DEFAULT NULL, + `email` VARCHAR(200) NULL DEFAULT NULL, + `telefone` VARCHAR(30) NULL DEFAULT NULL, + `celular` VARCHAR(30) NULL DEFAULT NULL, + `cep` VARCHAR(100) NULL DEFAULT NULL, + `endereco` VARCHAR(255) NULL DEFAULT NULL, + `numero` VARCHAR(50) NULL DEFAULT NULL, + `complemento` VARCHAR(200) NULL DEFAULT NULL, + `bairro` VARCHAR(100) NULL DEFAULT NULL, + `cidade` VARCHAR(100) NULL DEFAULT NULL, + `estado` VARCHAR(2) NULL DEFAULT NULL, + `tipo` VARCHAR(15) NULL, + `is_locked` TINYINT NULL, + `curso` VARCHAR(45) NULL, + `curso_ano` VARCHAR(45) NULL, + `qtd_emprestimos` INT(3) NULL, + `emprestmax` INT NULL, + `observacoes` VARCHAR(225) NULL, + PRIMARY KEY (`id`)) +ENGINE = InnoDB +AUTO_INCREMENT = 00000100 +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_fornecedores` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_fornecedores` ( + `id` INT(8) NOT NULL AUTO_INCREMENT, + `nome` VARCHAR(100) NULL DEFAULT NULL, + `cnpj` VARCHAR(100) NULL DEFAULT NULL, + `email` VARCHAR(200) NULL DEFAULT NULL, + `telefone` VARCHAR(30) NULL DEFAULT NULL, + `celular` VARCHAR(30) NULL DEFAULT NULL, + `cep` VARCHAR(100) NULL DEFAULT NULL, + `endereco` VARCHAR(255) NULL DEFAULT NULL, + `numero` VARCHAR(50) NULL DEFAULT NULL, + `complemento` VARCHAR(200) NULL DEFAULT NULL, + `bairro` VARCHAR(100) NULL DEFAULT NULL, + `cidade` VARCHAR(100) NULL DEFAULT NULL, + `estado` VARCHAR(2) NULL DEFAULT NULL, + PRIMARY KEY (`id`)) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_funcionarios` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_funcionarios` ( + `id` INT(8) NOT NULL AUTO_INCREMENT, + `nome` VARCHAR(100) NOT NULL, + `rg` VARCHAR(30) NULL, + `cpf` VARCHAR(20) NULL, + `email` VARCHAR(200) NULL, + `senha` VARCHAR(10) NOT NULL, + `cargo` VARCHAR(100) NOT NULL, + `nivel_acesso` VARCHAR(50) NOT NULL, + `telefone` VARCHAR(30) NULL, + `celular` VARCHAR(30) NULL, + `cep` VARCHAR(100) NOT NULL, + `endereco` VARCHAR(255) NULL, + `numero` VARCHAR(50) NULL, + `complemento` VARCHAR(200) NULL, + `bairro` VARCHAR(100) NULL, + `cidade` VARCHAR(100) NOT NULL, + `estado` VARCHAR(2) NOT NULL, + PRIMARY KEY (`id`)) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_livros` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_livros` ( + `id` INT(8) NOT NULL AUTO_INCREMENT, + `titulo` VARCHAR(100) NOT NULL, + `autor` VARCHAR(45) NOT NULL, + `editora` VARCHAR(45) NOT NULL, + `isbn` VARCHAR(13) NOT NULL, + `ano` VARCHAR(4) NOT NULL, + `serie` VARCHAR(45) NULL, + `edicao` VARCHAR(45) NULL, + `idioma` VARCHAR(25) NOT NULL, + `tb_fornecedores_id` INT(8) NULL, + `piso` VARCHAR(45) NULL, + `corredor` VARCHAR(45) NULL, + `posicao` VARCHAR(45) NULL, + `secao` VARCHAR(45) NULL, + `disponibilidade` VARCHAR(15) NOT NULL, + `observacoes` VARCHAR(225) NULL, + `is_emprestado` TINYINT NULL, + PRIMARY KEY (`id`), + INDEX `fk_tb_livros_tb_fornecedores1_idx` (`tb_fornecedores_id` ASC), + CONSTRAINT `fk_tb_livros_tb_fornecedores1` + FOREIGN KEY (`tb_fornecedores_id`) + REFERENCES `gowl`.`tb_fornecedores` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_emprestimos` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_emprestimos` ( + `id` INT(8) ZEROFILL NOT NULL AUTO_INCREMENT, + `data_emprestimo` DATETIME NULL, + `data_devolucao` DATETIME NULL DEFAULT NULL, + `observacoes` TEXT NULL DEFAULT NULL, + `tb_funcionarios_id` INT(8) NULL, + `tb_livros_id` INT(8) NULL, + `tb_livros_tb_fornecedores_id` INT(8) NULL, + `tb_leitores_id` INT(8) ZEROFILL NULL, + `data_entrega_agendada` DATETIME NULL, + `tb_funcionarios_iddevol` INT(8) NULL, + `static_id_emprestimo` INT(8) NULL, + PRIMARY KEY (`id`), + INDEX `fk_tb_emprestimos_tb_funcionarios1_idx` (`tb_funcionarios_id` ASC), + INDEX `fk_tb_emprestimos_tb_livros1_idx` (`tb_livros_id` ASC, `tb_livros_tb_fornecedores_id` ASC), + INDEX `fk_tb_emprestimos_tb_leitores1_idx` (`tb_leitores_id` ASC), + INDEX `fk_tb_emprestimos_tb_funcionarios2_idx` (`tb_funcionarios_iddevol` ASC), + CONSTRAINT `fk_tb_emprestimos_tb_funcionarios1` + FOREIGN KEY (`tb_funcionarios_id`) + REFERENCES `gowl`.`tb_funcionarios` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_emprestimos_tb_livros1` + FOREIGN KEY (`tb_livros_id`) + REFERENCES `gowl`.`tb_livros` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_emprestimos_tb_leitores1` + FOREIGN KEY (`tb_leitores_id`) + REFERENCES `gowl`.`tb_leitores` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_emprestimos_tb_funcionarios2` + FOREIGN KEY (`tb_funcionarios_iddevol`) + REFERENCES `gowl`.`tb_funcionarios` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB +AUTO_INCREMENT = 10000000 +DEFAULT CHARACTER SET = utf8; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_multa` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_multa` ( + `idmulta` INT(8) NOT NULL AUTO_INCREMENT, + `dias_atraso` INT(6) NOT NULL, + `valor_multa` DECIMAL(10,2) NULL, + `esta_pago` TINYINT NULL, + `tb_leitores_id` INT(8) ZEROFILL NOT NULL, + `tb_emprestimos_id` INT(8) ZEROFILL NOT NULL, + PRIMARY KEY (`idmulta`, `tb_emprestimos_id`), + INDEX `fk_multa_tb_leitores1_idx` (`tb_leitores_id` ASC), + INDEX `fk_tb_multa_tb_emprestimos1_idx` (`tb_emprestimos_id` ASC), + CONSTRAINT `fk_multa_tb_leitores1` + FOREIGN KEY (`tb_leitores_id`) + REFERENCES `gowl`.`tb_leitores` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION, + CONSTRAINT `fk_tb_multa_tb_emprestimos1` + FOREIGN KEY (`tb_emprestimos_id`) + REFERENCES `gowl`.`tb_emprestimos` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_opcoes` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_opcoes` ( + `id` INT NOT NULL AUTO_INCREMENT, + `data` VARCHAR(45) NOT NULL, + `parentid` INT NULL, + PRIMARY KEY (`id`), + INDEX `fk_Opcoes_Opcoes1_idx` (`parentid` ASC), + CONSTRAINT `fk_Opcoes_Opcoes1` + FOREIGN KEY (`parentid`) + REFERENCES `gowl`.`tb_opcoes` (`id`) + ON DELETE NO ACTION + ON UPDATE NO ACTION) +ENGINE = InnoDB; + + +-- ----------------------------------------------------- +-- Table `gowl`.`tb_recibos` +-- ----------------------------------------------------- +CREATE TABLE IF NOT EXISTS `gowl`.`tb_recibos` ( + `id` INT(8) NOT NULL AUTO_INCREMENT, + `emprestimo_id` INT(8) NULL, + `data_emprestimo` VARCHAR(45) NULL, + `data_devolucao_agendada` VARCHAR(45) NULL, + `data_entrega` VARCHAR(45) NULL, + `livro` VARCHAR(45) NULL, + `usuario` VARCHAR(45) NULL, + `tipo` VARCHAR(45) NULL, + `multa` VARCHAR(45) NULL, + `status` VARCHAR(45) NULL, + `funcionario` VARCHAR(45) NULL, + PRIMARY KEY (`id`)) +ENGINE = InnoDB; + + +SET SQL_MODE=@OLD_SQL_MODE; +SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS; +SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS; + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_leitores` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_leitores` (`id`, `nome`, `rg`, `cpf`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`, `tipo`, `is_locked`, `curso`, `curso_ano`, `qtd_emprestimos`, `emprestmax`, `observacoes`) VALUES (00000101, 'Leitor Teste', '5.432.234-1', '099.999.345-23', 'leitor@mail.com', '(42)98877-2299', '(42)98877-2299', '854670-000', 'Rua 1 de abril', '13', 'casa', 'Centro', 'Mallet', 'PR', 'Estudante', 0, 'Letras', '1', 0, 123, 'Ok'); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_fornecedores` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_fornecedores` (`id`, `nome`, `cnpj`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`) VALUES (1, 'Fornecedor Teste', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_funcionarios` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_funcionarios` (`id`, `nome`, `rg`, `cpf`, `email`, `senha`, `cargo`, `nivel_acesso`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`) VALUES (1, 'Administrador', NULL, NULL, 'admin@admin', 'admin', 'Administrador', 'Administrador', NULL, NULL, DEFAULT, NULL, NULL, NULL, NULL, DEFAULT, DEFAULT); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_livros` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_livros` (`id`, `titulo`, `autor`, `editora`, `isbn`, `ano`, `serie`, `edicao`, `idioma`, `tb_fornecedores_id`, `piso`, `corredor`, `posicao`, `secao`, `disponibilidade`, `observacoes`, `is_emprestado`) VALUES (1, 'Alice no Pis das maravilhas', 'Lewis Carrol', 'Nope', '1231231231231', '1894', '1', '1', 'Portugues', 1, NULL, NULL, NULL, 'Literatura Universal', '5', 'ok', 0); + +COMMIT; + + +-- ----------------------------------------------------- +-- Data for table `gowl`.`tb_opcoes` +-- ----------------------------------------------------- +START TRANSACTION; +USE `gowl`; +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (1, 'piso', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (2, 'corredor', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (3, 'secao', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (4, 'posicao', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (5, 'disponibilidade', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (6, 'printerurl', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (7, 'instituicaonome', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (8, 'instiuicaoendereco', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (17, 'piso 1', 1); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (20, 'corredor 1', 2); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (21, '1A', 3); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (22, 'Literatura Universal', 4); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (13, '0', 5); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (14, '3', 5); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (15, 'Biblioteca de Hogwarts', 7); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (16, 'Rua Epsilon, 888, Cidade Imaginaria, LA ', 8); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (9, 'tiposdeusuarios', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (18, 'Estudante', 9); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (19, 'Professor', 9); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (10, 'server url', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (11, 'libraryname', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (12, 'libraryAddress', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (23, '127.0.0.1', 12); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (24, 'Nome da Biblioteca', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (25, 'valor_multa', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (26, '300', 25); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (27, 'MsgReceipt', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (28, 'Obrigado!!', 27); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (29, 'theme', NULL); +INSERT INTO `gowl`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (30, 'dark', 29); + +COMMIT; + diff --git a/ticket.txt b/ticket.txt new file mode 100644 index 0000000..e69de29 diff --git a/windows pasta C/DBPass b/windows pasta C/DBPass new file mode 100644 index 0000000..568e37d --- /dev/null +++ b/windows pasta C/DBPass @@ -0,0 +1 @@ +goldenowl \ No newline at end of file diff --git a/windows pasta C/DBUser b/windows pasta C/DBUser new file mode 100644 index 0000000..93ca142 --- /dev/null +++ b/windows pasta C/DBUser @@ -0,0 +1 @@ +root \ No newline at end of file diff --git a/windows pasta C/DefaultPrinter b/windows pasta C/DefaultPrinter new file mode 100644 index 0000000..3d127c1 --- /dev/null +++ b/windows pasta C/DefaultPrinter @@ -0,0 +1 @@ +Dialogo diff --git a/windows pasta C/Librography.exe b/windows pasta C/Librography.exe new file mode 100644 index 0000000..561489d Binary files /dev/null and b/windows pasta C/Librography.exe differ diff --git a/windows pasta C/LoggedIn b/windows pasta C/LoggedIn new file mode 100644 index 0000000..56a6051 --- /dev/null +++ b/windows pasta C/LoggedIn @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/windows pasta C/images/BarCodes/00000101 b/windows pasta C/images/BarCodes/00000101 new file mode 100644 index 0000000..f473694 Binary files /dev/null and b/windows pasta C/images/BarCodes/00000101 differ diff --git a/windows pasta C/images/Cards/1.png b/windows pasta C/images/Cards/1.png new file mode 100644 index 0000000..7db8dcb Binary files /dev/null and b/windows pasta C/images/Cards/1.png differ diff --git a/windows pasta C/images/Cards/2.png b/windows pasta C/images/Cards/2.png new file mode 100644 index 0000000..ca1d160 Binary files /dev/null and b/windows pasta C/images/Cards/2.png differ diff --git a/windows pasta C/images/Cards/XXXXXXX.png b/windows pasta C/images/Cards/XXXXXXX.png new file mode 100644 index 0000000..0e0f20f Binary files /dev/null and b/windows pasta C/images/Cards/XXXXXXX.png differ diff --git a/windows pasta C/images/Devolucao/BarCode/10000000 b/windows pasta C/images/Devolucao/BarCode/10000000 new file mode 100644 index 0000000..65544aa Binary files /dev/null and b/windows pasta C/images/Devolucao/BarCode/10000000 differ diff --git a/windows pasta C/images/Devolucao/QrCode/10000000 b/windows pasta C/images/Devolucao/QrCode/10000000 new file mode 100644 index 0000000..1060d8f Binary files /dev/null and b/windows pasta C/images/Devolucao/QrCode/10000000 differ diff --git a/windows pasta C/images/Emprestimos/BarCode/10000000 b/windows pasta C/images/Emprestimos/BarCode/10000000 new file mode 100644 index 0000000..4e7010d Binary files /dev/null and b/windows pasta C/images/Emprestimos/BarCode/10000000 differ diff --git a/windows pasta C/images/Emprestimos/QrCode/10000000 b/windows pasta C/images/Emprestimos/QrCode/10000000 new file mode 100644 index 0000000..fb0a1f3 Binary files /dev/null and b/windows pasta C/images/Emprestimos/QrCode/10000000 differ diff --git a/windows pasta C/images/QrCodes/00000101 b/windows pasta C/images/QrCodes/00000101 new file mode 100644 index 0000000..c859cf6 Binary files /dev/null and b/windows pasta C/images/QrCodes/00000101 differ diff --git a/windows pasta C/images/cardBackground.jpg b/windows pasta C/images/cardBackground.jpg new file mode 100644 index 0000000..ebfbb45 Binary files /dev/null and b/windows pasta C/images/cardBackground.jpg differ diff --git a/windows pasta C/images/libraryLogo.png b/windows pasta C/images/libraryLogo.png new file mode 100644 index 0000000..2e8534f Binary files /dev/null and b/windows pasta C/images/libraryLogo.png differ diff --git a/windows pasta C/ipserver b/windows pasta C/ipserver new file mode 100644 index 0000000..d18580b --- /dev/null +++ b/windows pasta C/ipserver @@ -0,0 +1 @@ +localhost \ No newline at end of file diff --git a/windows pasta C/lib/AbsoluteLayout.jar b/windows pasta C/lib/AbsoluteLayout.jar new file mode 100644 index 0000000..ee023b6 Binary files /dev/null and b/windows pasta C/lib/AbsoluteLayout.jar differ diff --git a/windows pasta C/lib/caelum-stella-core-2.1.2.jar b/windows pasta C/lib/caelum-stella-core-2.1.2.jar new file mode 100644 index 0000000..1cba33f Binary files /dev/null and b/windows pasta C/lib/caelum-stella-core-2.1.2.jar differ diff --git a/windows pasta C/lib/commons-collections4-4.4.jar b/windows pasta C/lib/commons-collections4-4.4.jar new file mode 100644 index 0000000..da06c3e Binary files /dev/null and b/windows pasta C/lib/commons-collections4-4.4.jar differ diff --git a/windows pasta C/lib/commons-compress-1.19.jar b/windows pasta C/lib/commons-compress-1.19.jar new file mode 100644 index 0000000..5c9f52a Binary files /dev/null and b/windows pasta C/lib/commons-compress-1.19.jar differ diff --git a/windows pasta C/lib/commons-math3-3.6.1.jar b/windows pasta C/lib/commons-math3-3.6.1.jar new file mode 100644 index 0000000..0ff582c Binary files /dev/null and b/windows pasta C/lib/commons-math3-3.6.1.jar differ diff --git a/windows pasta C/lib/core-3.3.0.jar b/windows pasta C/lib/core-3.3.0.jar new file mode 100644 index 0000000..94f7406 Binary files /dev/null and b/windows pasta C/lib/core-3.3.0.jar differ diff --git a/windows pasta C/lib/darcula-1.0.0.jar b/windows pasta C/lib/darcula-1.0.0.jar new file mode 100644 index 0000000..b7ed095 Binary files /dev/null and b/windows pasta C/lib/darcula-1.0.0.jar differ diff --git a/windows pasta C/lib/dom4j-2.1.3.jar b/windows pasta C/lib/dom4j-2.1.3.jar new file mode 100644 index 0000000..9a4f5d2 Binary files /dev/null and b/windows pasta C/lib/dom4j-2.1.3.jar differ diff --git a/windows pasta C/lib/java-json.jar b/windows pasta C/lib/java-json.jar new file mode 100644 index 0000000..2f211e3 Binary files /dev/null and b/windows pasta C/lib/java-json.jar differ diff --git a/windows pasta C/lib/javase-3.3.0.jar b/windows pasta C/lib/javase-3.3.0.jar new file mode 100644 index 0000000..359ca5f Binary files /dev/null and b/windows pasta C/lib/javase-3.3.0.jar differ diff --git a/windows pasta C/lib/log4j-1.2-api-2.14.1.jar b/windows pasta C/lib/log4j-1.2-api-2.14.1.jar new file mode 100644 index 0000000..167b2f9 Binary files /dev/null and b/windows pasta C/lib/log4j-1.2-api-2.14.1.jar differ diff --git a/windows pasta C/lib/log4j-api-2.14.1.jar b/windows pasta C/lib/log4j-api-2.14.1.jar new file mode 100644 index 0000000..dd7a3c0 Binary files /dev/null and b/windows pasta C/lib/log4j-api-2.14.1.jar differ diff --git a/windows pasta C/lib/log4j-core-2.14.1.jar b/windows pasta C/lib/log4j-core-2.14.1.jar new file mode 100644 index 0000000..3964149 Binary files /dev/null and b/windows pasta C/lib/log4j-core-2.14.1.jar differ diff --git a/windows pasta C/lib/mysql-connector-java-5.1.23-bin.jar b/windows pasta C/lib/mysql-connector-java-5.1.23-bin.jar new file mode 100644 index 0000000..1f90414 Binary files /dev/null and b/windows pasta C/lib/mysql-connector-java-5.1.23-bin.jar differ diff --git a/windows pasta C/lib/poi-5.0.0.jar b/windows pasta C/lib/poi-5.0.0.jar new file mode 100644 index 0000000..d239022 Binary files /dev/null and b/windows pasta C/lib/poi-5.0.0.jar differ diff --git a/windows pasta C/lib/poi-ooxml-5.0.0.jar b/windows pasta C/lib/poi-ooxml-5.0.0.jar new file mode 100644 index 0000000..574e6c1 Binary files /dev/null and b/windows pasta C/lib/poi-ooxml-5.0.0.jar differ diff --git a/windows pasta C/lib/poi-ooxml-lite-5.0.0.jar b/windows pasta C/lib/poi-ooxml-lite-5.0.0.jar new file mode 100644 index 0000000..5d0e244 Binary files /dev/null and b/windows pasta C/lib/poi-ooxml-lite-5.0.0.jar differ diff --git a/windows pasta C/lib/xmlbeans-5.0.0.jar b/windows pasta C/lib/xmlbeans-5.0.0.jar new file mode 100644 index 0000000..5b8d7e2 Binary files /dev/null and b/windows pasta C/lib/xmlbeans-5.0.0.jar differ diff --git a/windows pasta C/ticket.txt b/windows pasta C/ticket.txt new file mode 100644 index 0000000..e69de29 diff --git a/windows pasta C/tmp/REDME.txt b/windows pasta C/tmp/REDME.txt new file mode 100644 index 0000000..557983a --- /dev/null +++ b/windows pasta C/tmp/REDME.txt @@ -0,0 +1 @@ +temporary files diff --git a/windows pasta C/unins000.dat b/windows pasta C/unins000.dat new file mode 100644 index 0000000..0c73202 Binary files /dev/null and b/windows pasta C/unins000.dat differ diff --git a/windows pasta C/unins000.exe b/windows pasta C/unins000.exe new file mode 100644 index 0000000..fd5328d Binary files /dev/null and b/windows pasta C/unins000.exe differ