Cambiado JButtons de ManagerView por JToggleButtons
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
<border type="none"/>
|
<border type="none"/>
|
||||||
<children/>
|
<children/>
|
||||||
</grid>
|
</grid>
|
||||||
<grid id="b2933" binding="controlsPanel" layout-manager="GridLayoutManager" row-count="1" column-count="4" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
<grid id="b2933" binding="controlsPanel" layout-manager="GridLayoutManager" row-count="1" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
||||||
<margin top="0" left="0" bottom="0" right="0"/>
|
<margin top="0" left="0" bottom="0" right="0"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
|
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
|
||||||
@@ -24,9 +24,9 @@
|
|||||||
<properties/>
|
<properties/>
|
||||||
<border type="none"/>
|
<border type="none"/>
|
||||||
<children>
|
<children>
|
||||||
<component id="2ed8e" class="javax.swing.JButton" binding="egresosButton">
|
<component id="a853b" class="javax.swing.JToggleButton" binding="egresosButton">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false">
|
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="0" indent="0" use-parent-layout="false">
|
||||||
<preferred-size width="200" height="-1"/>
|
<preferred-size width="200" height="-1"/>
|
||||||
</grid>
|
</grid>
|
||||||
</constraints>
|
</constraints>
|
||||||
@@ -34,19 +34,9 @@
|
|||||||
<text value="&Egresos"/>
|
<text value="&Egresos"/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="48887" class="javax.swing.JButton" binding="button4" default-binding="true">
|
<component id="a494c" class="javax.swing.JToggleButton" binding="ingresosButton">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="0" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false">
|
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="0" indent="0" use-parent-layout="false">
|
||||||
<preferred-size width="200" height="-1"/>
|
|
||||||
</grid>
|
|
||||||
</constraints>
|
|
||||||
<properties>
|
|
||||||
<text value="Button"/>
|
|
||||||
</properties>
|
|
||||||
</component>
|
|
||||||
<component id="f54ab" class="javax.swing.JButton" binding="ingresosButton">
|
|
||||||
<constraints>
|
|
||||||
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false">
|
|
||||||
<preferred-size width="200" height="-1"/>
|
<preferred-size width="200" height="-1"/>
|
||||||
</grid>
|
</grid>
|
||||||
</constraints>
|
</constraints>
|
||||||
@@ -54,20 +44,16 @@
|
|||||||
<text value="&Ingresos"/>
|
<text value="&Ingresos"/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="93758" class="javax.swing.JButton" binding="button3" default-binding="true">
|
|
||||||
<constraints>
|
|
||||||
<grid row="0" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false">
|
|
||||||
<preferred-size width="200" height="-1"/>
|
|
||||||
</grid>
|
|
||||||
</constraints>
|
|
||||||
<properties>
|
|
||||||
<text value="Button"/>
|
|
||||||
</properties>
|
|
||||||
</component>
|
|
||||||
</children>
|
</children>
|
||||||
</grid>
|
</grid>
|
||||||
</children>
|
</children>
|
||||||
</grid>
|
</grid>
|
||||||
|
<buttonGroups>
|
||||||
|
<group name="btnGroup">
|
||||||
|
<member id="a853b"/>
|
||||||
|
<member id="a494c"/>
|
||||||
|
</group>
|
||||||
|
</buttonGroups>
|
||||||
<inspectionSuppressions>
|
<inspectionSuppressions>
|
||||||
<suppress inspection="I18nForm"/>
|
<suppress inspection="I18nForm"/>
|
||||||
<suppress inspection="FormSpellChecking"/>
|
<suppress inspection="FormSpellChecking"/>
|
||||||
|
|||||||
@@ -27,19 +27,17 @@ package danielcortes.xyz.views;
|
|||||||
import javax.swing.*;
|
import javax.swing.*;
|
||||||
|
|
||||||
public class ManagerView {
|
public class ManagerView {
|
||||||
private JButton egresosButton;
|
private JToggleButton egresosButton;
|
||||||
private JButton ingresosButton;
|
private JToggleButton ingresosButton;
|
||||||
private JButton button3;
|
|
||||||
private JButton button4;
|
|
||||||
private JPanel contentPanel;
|
private JPanel contentPanel;
|
||||||
private JPanel cardPanel;
|
private JPanel cardPanel;
|
||||||
private JPanel controlsPanel;
|
private JPanel controlsPanel;
|
||||||
|
|
||||||
public JButton getEgresosButton() {
|
public JToggleButton getEgresosButton() {
|
||||||
return egresosButton;
|
return egresosButton;
|
||||||
}
|
}
|
||||||
|
|
||||||
public JButton getIngresosButton() {
|
public JToggleButton getIngresosButton() {
|
||||||
return ingresosButton;
|
return ingresosButton;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user