Skip to content

Commit

Permalink
ajustes no botão salvar e implementação de funcionalidade de salvar r…
Browse files Browse the repository at this point in the history
…egião de imagem
  • Loading branch information
davidbuzatto committed Aug 10, 2022
1 parent ccec019 commit 454c481
Show file tree
Hide file tree
Showing 11 changed files with 591 additions and 16 deletions.
2 changes: 1 addition & 1 deletion nbproject/private/private.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ do.jlink=true
javac.debug=false
javadoc.preview=true
jlink.strip=true
user.properties.file=C:\\Users\\David\\AppData\\Roaming\\NetBeans\\14\\build.properties
user.properties.file=C:\\Users\\david\\AppData\\Roaming\\NetBeans\\14\\build.properties
8 changes: 7 additions & 1 deletion nbproject/private/private.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
</file>
</editor-bookmarks>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group/>
<group>
<file>file:/D:/Google%20Drive/Projetos%20e%20Códigos/AuroraLogo/implementação/AuroraLogo/gramatica/AuroraLogo.g4</file>
<file>file:/D:/Google%20Drive/Projetos%20e%20Códigos/AuroraLogo/implementação/AuroraLogo/src/br/com/davidbuzatto/auroralogo/gui/JanelaPrincipal.java</file>
<file>file:/D:/Google%20Drive/Projetos%20e%20Códigos/AuroraLogo/implementação/AuroraLogo/src/br/com/davidbuzatto/auroralogo/parser/impl/AuroraLogoDesenhistaVisitor.java</file>
<file>file:/D:/Google%20Drive/Projetos%20e%20Códigos/AuroraLogo/implementação/AuroraLogo/src/br/com/davidbuzatto/auroralogo/TODO.txt</file>
<file>file:/D:/Google%20Drive/Projetos%20e%20Códigos/AuroraLogo/implementação/AuroraLogo/src/br/com/davidbuzatto/auroralogo/parser/impl/Valor.java</file>
</group>
</open-files>
</project-private>
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
<?xml version="1.0" encoding="UTF-8" ?>

<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JDialogFormInfo">
<Properties>
<Property name="defaultCloseOperation" type="int" value="2"/>
<Property name="title" type="java.lang.String" value="Salvar Regi&#xe3;o Como Imagem"/>
<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="componentShown" listener="java.awt.event.ComponentListener" parameters="java.awt.event.ComponentEvent" handler="formComponentShown"/>
</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">
<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">
<Component id="lblX" alignment="1" min="-2" max="-2" attributes="0"/>
<Component id="lblY" alignment="1" min="-2" max="-2" attributes="0"/>
<Component id="lblLargura" alignment="1" min="-2" max="-2" attributes="0"/>
<Component id="lblAltura" alignment="1" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="spiAltura" alignment="0" pref="79" max="32767" attributes="0"/>
<Component id="spiLargura" alignment="0" max="32767" attributes="0"/>
<Component id="spiY" alignment="0" max="32767" attributes="0"/>
<Component id="spiX" alignment="0" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="lblMaxX" alignment="1" pref="61" max="32767" attributes="0"/>
<Component id="lblMaxY" alignment="1" max="32767" attributes="0"/>
<Component id="lblMaxLargura" max="32767" attributes="0"/>
<Component id="lblMaxAltura" alignment="1" max="32767" attributes="0"/>
</Group>
</Group>
<Component id="painelBotoes" alignment="0" max="32767" attributes="0"/>
</Group>
<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"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="lblX" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="lblMaxX" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="spiX" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="lblY" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="lblMaxY" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="spiY" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="lblLargura" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="lblMaxLargura" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="spiLargura" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="lblMaxAltura" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="spiAltura" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="lblAltura" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Component id="painelBotoes" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
</Layout>
<SubComponents>
<Component class="javax.swing.JLabel" name="lblX">
<Properties>
<Property name="text" type="java.lang.String" value="x:"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="lblY">
<Properties>
<Property name="text" type="java.lang.String" value="y:"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="lblLargura">
<Properties>
<Property name="text" type="java.lang.String" value="Largura:"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="lblAltura">
<Properties>
<Property name="text" type="java.lang.String" value="Altura:"/>
</Properties>
</Component>
<Component class="javax.swing.JSpinner" name="spiX">
<AuxValues>
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value=""/>
</AuxValues>
</Component>
<Component class="javax.swing.JSpinner" name="spiY">
</Component>
<Component class="javax.swing.JSpinner" name="spiLargura">
</Component>
<Component class="javax.swing.JSpinner" name="spiAltura">
</Component>
<Component class="javax.swing.JLabel" name="lblMaxX">
<Properties>
<Property name="text" type="java.lang.String" value="0 a "/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="lblMaxY">
<Properties>
<Property name="text" type="java.lang.String" value="0 a "/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="lblMaxLargura">
<Properties>
<Property name="text" type="java.lang.String" value="1 a "/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="lblMaxAltura">
<Properties>
<Property name="text" type="java.lang.String" value="1 a "/>
</Properties>
</Component>
<Container class="javax.swing.JPanel" name="painelBotoes">

<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="btnSalvar" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="btnCancelar" 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" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="btnCancelar" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="btnSalvar" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
</Layout>
<SubComponents>
<Component class="javax.swing.JButton" name="btnSalvar">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/br/com/davidbuzatto/auroralogo/gui/icones/accept.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="btnCancelar">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/br/com/davidbuzatto/auroralogo/gui/icones/cancel.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="btnCancelarActionPerformed"/>
</Events>
</Component>
</SubComponents>
</Container>
</SubComponents>
</Form>
Loading

0 comments on commit 454c481

Please sign in to comment.