1441 lines
96 KiB
XML
1441 lines
96 KiB
XML
<?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"/>
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<Component id="wdwEmprestimos" min="-2" pref="1037" max="-2" attributes="0"/>
|
|
<EmptySpace min="0" pref="0" 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="wdwEmprestimos" min="-2" pref="546" max="-2" attributes="0"/>
|
|
<EmptySpace 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="1" attributes="0">
|
|
<EmptySpace max="32767" attributes="0"/>
|
|
<Component id="jLabel1" min="-2" pref="1058" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
</DimensionLayout>
|
|
<DimensionLayout dim="1">
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Component id="jLabel1" min="-2" pref="44" max="-2" 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="Controle de Empréstimo"/>
|
|
</Properties>
|
|
</Component>
|
|
</SubComponents>
|
|
</Container>
|
|
<Container class="javax.swing.JTabbedPane" name="wdwEmprestimos">
|
|
<Events>
|
|
<EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="wdwEmprestimosMouseClicked"/>
|
|
<EventHandler event="componentShown" listener="java.awt.event.ComponentListener" parameters="java.awt.event.ComponentEvent" handler="wdwEmprestimosComponentShown"/>
|
|
</Events>
|
|
|
|
<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ário">
|
|
<Property name="tabTitle" type="java.lang.String" value="Consulta 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="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" attributes="0">
|
|
<Component id="jLabel14" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
|
<Component id="txtPesquisaUsuario" pref="238" 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="txtPesquisaUsuario" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="btnPesquisar" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace pref="100" max="32767" attributes="0"/>
|
|
<Component id="jScrollPane1" min="-2" pref="378" max="-2" 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="18" 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="Observações" type="java.lang.Object"/>
|
|
<Column editable="false" title="Tipo de Acesso" type="java.lang.Object"/>
|
|
</Table>
|
|
</Property>
|
|
<Property name="autoResizeMode" type="int" value="0"/>
|
|
<Property name="autoscrolls" type="boolean" value="false"/>
|
|
<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>
|
|
<AuxValues>
|
|
<AuxValue name="JavaCodeGenerator_AddingCodePost" type="java.lang.String" value="tabelaUsuario.getColumn(tabelaUsuario.getColumnName(0)).setPreferredWidth(40);
tabelaUsuario.getColumn(tabelaUsuario.getColumnName(1)).setPreferredWidth(200);"/>
|
|
</AuxValues>
|
|
</Component>
|
|
</SubComponents>
|
|
</Container>
|
|
</SubComponents>
|
|
</Container>
|
|
<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="Consulta de Livro">
|
|
<Property name="tabTitle" type="java.lang.String" value="Consulta de Livro"/>
|
|
</JTabbedPaneConstraints>
|
|
</Constraint>
|
|
</Constraints>
|
|
|
|
<Layout>
|
|
<DimensionLayout dim="0">
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" attributes="0">
|
|
<EmptySpace min="-2" pref="42" max="-2" attributes="0"/>
|
|
<Component id="txtPesquisaLivros" min="-2" pref="550" max="-2" attributes="0"/>
|
|
<EmptySpace type="separate" max="-2" attributes="0"/>
|
|
<Component id="btnPesquisar1" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace pref="337" max="32767" attributes="0"/>
|
|
</Group>
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="jScrollPane2" 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="11" max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="txtPesquisaLivros" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="btnPesquisar1" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace type="separate" max="-2" attributes="0"/>
|
|
<Component id="jScrollPane2" min="-2" pref="440" max="-2" attributes="0"/>
|
|
<EmptySpace max="32767" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
</DimensionLayout>
|
|
</Layout>
|
|
<SubComponents>
|
|
<Component class="javax.swing.JButton" name="btnPesquisar1">
|
|
<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="btnPesquisar1ActionPerformed"/>
|
|
<EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="btnPesquisar1KeyReleased"/>
|
|
</Events>
|
|
</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>
|
|
<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.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="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>
|
|
<AuxValues>
|
|
<AuxValue name="JavaCodeGenerator_AddingCodePost" type="java.lang.String" value="tabelaLivros.getColumn(tabelaLivros.getColumnName(0)).setPreferredWidth(40);
tabelaLivros.getColumn(tabelaLivros.getColumnName(1)).setPreferredWidth(200);"/>
|
|
</AuxValues>
|
|
</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 Empréstimo">
|
|
<Property name="tabTitle" type="java.lang.String" value="Cadastro de Empréstimo"/>
|
|
</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="18" 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 max="-2" attributes="0"/>
|
|
<Component id="txtBuscaLivro" min="-2" pref="242" max="-2" attributes="0"/>
|
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
|
<Component id="cbOcultarEmprestados" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<Component id="jScrollPane5" alignment="0" min="-2" pref="490" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
|
|
</Group>
|
|
<Group type="102" alignment="1" attributes="0">
|
|
<EmptySpace max="32767" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" alignment="1" attributes="0">
|
|
<Component id="jLabel11" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace min="-2" pref="332" max="-2" attributes="0"/>
|
|
</Group>
|
|
<Group type="102" alignment="1" attributes="0">
|
|
<Component id="jScrollPane3" min="-2" pref="349" max="-2" attributes="0"/>
|
|
<EmptySpace min="-2" pref="18" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
<Component id="lblImagem" min="-2" pref="126" max="-2" attributes="0"/>
|
|
<EmptySpace min="-2" pref="33" max="-2" attributes="0"/>
|
|
</Group>
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="103" alignment="0" groupAlignment="1" attributes="0">
|
|
<Group type="103" groupAlignment="0" max="-2" attributes="0">
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="jLabel7" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace min="-2" pref="29" max="-2" attributes="0"/>
|
|
<Component id="txtBookId" min="-2" pref="44" max="-2" attributes="0"/>
|
|
<EmptySpace min="-2" pref="12" max="-2" attributes="0"/>
|
|
<Component id="jLabel10" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="txtISBN" min="-2" pref="198" max="-2" attributes="0"/>
|
|
</Group>
|
|
<Group type="102" alignment="1" attributes="0">
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" attributes="0">
|
|
<EmptySpace min="-2" pref="13" max="-2" attributes="0"/>
|
|
<Component id="jLabel8" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace max="32767" attributes="0"/>
|
|
<Component id="jLabel6" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<Group type="102" attributes="0">
|
|
<EmptySpace max="32767" attributes="0"/>
|
|
<Component id="jLabel4" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" max="-2" attributes="0">
|
|
<Component id="txtPrazoEntrega" max="32767" attributes="0"/>
|
|
<Component id="txtAgora" pref="147" max="32767" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
</Group>
|
|
<Group type="102" attributes="0">
|
|
<Component id="btnDetalhes" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="btnBuscarLivrosAdvanced" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="jButton5" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="jButton13" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<EmptySpace min="24" pref="24" max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" attributes="0">
|
|
<EmptySpace min="-2" pref="8" max="-2" attributes="0"/>
|
|
<Component id="txtDisponibilidade" min="-2" pref="0" max="-2" attributes="0"/>
|
|
</Group>
|
|
<Component id="jLabel23" alignment="0" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace min="-2" pref="15" max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" max="-2" attributes="0">
|
|
<Component id="txtStatus" pref="297" max="32767" attributes="0"/>
|
|
<Component id="txtTituloSelect" max="32767" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="brnAddLivro" min="-2" pref="121" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<EmptySpace min="-2" pref="6" max="-2" attributes="0"/>
|
|
<Component id="lblimagemUser" min="-2" pref="91" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" max="-2" attributes="0">
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" attributes="0">
|
|
<Component id="btnBuscaUser" min="-2" pref="118" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="btnCartao" min="-2" pref="145" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="jButton1" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<Group type="102" alignment="1" attributes="0">
|
|
<Component id="jLabel3" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="txtNome" min="-2" pref="233" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
<Group type="102" attributes="0">
|
|
<Component id="jLabel2" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="txtId" max="32767" attributes="0"/>
|
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
|
<Component id="jLabel9" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="txtEmprestimosRestantes" min="-2" pref="47" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
</Group>
|
|
<Group type="102" alignment="1" attributes="0">
|
|
<Component id="jScrollPane4" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace min="-2" pref="7" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<EmptySpace min="-2" pref="18" max="-2" attributes="0"/>
|
|
<Component id="btnNovo" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
|
<Component id="btnSalvar" min="-2" pref="131" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="btnRemoveBook" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
<EmptySpace min="-2" pref="28" max="-2" attributes="0"/>
|
|
<Component id="jLabel18" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace min="-2" pref="22" 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 max="32767" attributes="0"/>
|
|
<Component id="jLabel18" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace min="-2" pref="415" max="-2" attributes="0"/>
|
|
</Group>
|
|
<Group type="102" attributes="0">
|
|
<EmptySpace max="-2" attributes="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">
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="txtNome" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="txtId" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel9" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="txtEmprestimosRestantes" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel2" 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="btnBuscaUser" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="btnCartao" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jButton1" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
<Component id="lblimagemUser" alignment="0" min="-2" pref="119" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="jScrollPane4" min="-2" pref="153" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="btnNovo" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="btnSalvar" alignment="3" max="32767" attributes="0"/>
|
|
<Component id="btnRemoveBook" alignment="3" min="-2" pref="48" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace min="-2" pref="393" 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"/>
|
|
<Component id="cbOcultarEmprestados" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="jScrollPane5" min="-2" pref="161" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" max="-2" attributes="0">
|
|
<Group type="102" attributes="0">
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="btnDetalhes" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="btnBuscarLivrosAdvanced" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jButton5" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jButton13" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" 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>
|
|
</Group>
|
|
<Component id="brnAddLivro" max="32767" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Component id="lblImagem" alignment="0" min="-2" pref="190" max="-2" attributes="0"/>
|
|
<Group type="102" alignment="0" 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" min="-2" max="-2" attributes="0"/>
|
|
<Component id="txtISBN" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="jScrollPane3" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Component id="jLabel8" min="-2" max="-2" attributes="0"/>
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="txtAgora" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace 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>
|
|
</Group>
|
|
</Group>
|
|
</Group>
|
|
</Group>
|
|
<EmptySpace min="-2" pref="226" max="-2" attributes="0"/>
|
|
<Component id="txtDisponibilidade" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
</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="12" style="0"/>
|
|
</Property>
|
|
<Property name="text" type="java.lang.String" value="Nome de Usuário:"/>
|
|
</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>
|
|
<Component class="javax.swing.JTextField" name="txtNome">
|
|
<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="txtNomeActionPerformed"/>
|
|
</Events>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel18">
|
|
</Component>
|
|
<Container class="javax.swing.JScrollPane" name="jScrollPane4">
|
|
<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="tabelaEmprestimos">
|
|
<Properties>
|
|
<Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor">
|
|
<Table columnCount="5" rowCount="0">
|
|
<Column editable="false" title="Titulo" type="java.lang.Object"/>
|
|
<Column editable="false" title="Data Empréstimo" type="java.lang.Object"/>
|
|
<Column editable="false" title="Data para Devolução" type="java.lang.Object"/>
|
|
<Column editable="false" title="Observações" type="java.lang.Object"/>
|
|
<Column editable="false" title="Id" type="java.lang.Object"/>
|
|
</Table>
|
|
</Property>
|
|
<Property name="autoResizeMode" type="int" value="0"/>
|
|
</Properties>
|
|
<AuxValues>
|
|
<AuxValue name="JavaCodeGenerator_AddingCodePost" type="java.lang.String" value="tabelaEmprestimos.getColumn(tabelaEmprestimos.getColumnName(4)).setPreferredWidth(38);
tabelaEmprestimos.getColumn(tabelaEmprestimos.getColumnName(0)).setPreferredWidth(130);
tabelaEmprestimos.getColumn(tabelaEmprestimos.getColumnName(1)).setPreferredWidth(120);
tabelaEmprestimos.getColumn(tabelaEmprestimos.getColumnName(2)).setPreferredWidth(120);
tabelaEmprestimos.getColumn(tabelaEmprestimos.getColumnName(3)).setPreferredWidth(150);"/>
|
|
</AuxValues>
|
|
</Component>
|
|
</SubComponents>
|
|
</Container>
|
|
<Component class="javax.swing.JButton" name="btnBuscaUser">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Buscar Usuário"/>
|
|
</Properties>
|
|
<Events>
|
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnBuscaUserActionPerformed"/>
|
|
</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="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>
|
|
</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>
|