📄 salejdialog.form.svn-base
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" type="org.netbeans.modules.form.forminfo.JDialogFormInfo"> <NonVisualComponents> <Component class="javax.persistence.EntityManager" name="em"> <Properties> <Property name="persistenceUnit" type="java.lang.String" value="storePU"/> </Properties> <AuxValues> <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="StoreApp.getEntityManagerFactory().createEntityManager();"/> </AuxValues> </Component> <Component class="com.studio009.store.entity.Operator" name="operator"> <AuxValues> <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="operator"/> </AuxValues> </Component> <Component class="javax.persistence.Query" name="storeQuery"> <Properties> <Property name="query" type="java.lang.String" value="select s from Store s"/> <Property name="entityManager" type="java.lang.Object" editor="org.netbeans.modules.form.j2ee.J2EEPropertyModifier$EMProperty$EntityManagerEditor"> <ComponentRef name="em"/> </Property> </Properties> </Component> <Component class="java.util.List" name="storeList"> <Properties> <Property name="query" type="java.lang.Object" editor="org.netbeans.modules.form.j2ee.J2EEPropertyModifier$QueryBeanProperty$QueryEditor"> <ComponentRef name="storeQuery"/> </Property> </Properties> <AuxValues> <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<Store>"/> </AuxValues> </Component> <Component class="com.studio009.store.entity.Store" name="store"> <AuxValues> <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="storeList.get(0)"/> </AuxValues> </Component> <Component class="javax.persistence.Query" name="customerQuery"> <Properties> <Property name="query" type="java.lang.String" value="select c from Customer c"/> <Property name="entityManager" type="java.lang.Object" editor="org.netbeans.modules.form.j2ee.J2EEPropertyModifier$EMProperty$EntityManagerEditor"> <ComponentRef name="em"/> </Property> </Properties> </Component> <Component class="java.util.List" name="customerList"> <Properties> <Property name="query" type="java.lang.Object" editor="org.netbeans.modules.form.j2ee.J2EEPropertyModifier$QueryBeanProperty$QueryEditor"> <ComponentRef name="customerQuery"/> </Property> </Properties> <AuxValues> <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<Customer>"/> </AuxValues> </Component> <Component class="com.studio009.store.entity.Customer" name="customer"> <AuxValues> <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="customerList.get(0)"/> </AuxValues> </Component> <Component class="java.util.List" name="saleItemList"> <AuxValues> <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="new Vector<SaleItem>()"/> <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<SaleItem>"/> </AuxValues> </Component> <Component class="com.studio009.store.entity.Sale" name="sale"> <Properties> <Property name="customerName" type="com.studio009.store.entity.Customer" editor="org.netbeans.modules.form.RADConnectionPropertyEditor"> <Connection component="customer" type="bean"/> </Property> <Property name="operatorName" type="com.studio009.store.entity.Operator" editor="org.netbeans.modules.form.RADConnectionPropertyEditor"> <Connection component="operator" type="bean"/> </Property> <Property name="saleItemCollection" type="java.util.Collection" editor="org.netbeans.modules.form.RADConnectionPropertyEditor"> <Connection code="saleItemList" type="code"/> </Property> <Property name="saleTime" type="java.util.Date" editor="org.netbeans.modules.form.RADConnectionPropertyEditor"> <Connection code="new Date()" type="code"/> </Property> </Properties> </Component> </NonVisualComponents> <Properties> <Property name="defaultCloseOperation" type="int" value="0"/> <Property name="title" type="java.lang.String" value="销售"/> <Property name="locationByPlatform" type="boolean" value="true"/> </Properties> <SyntheticProperties> <SyntheticProperty name="formSizePolicy" type="int" value="1"/> </SyntheticProperties> <Events> <EventHandler event="windowClosing" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowClosing"/> </Events> <AuxValues> <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> <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"> <Component id="jPanel2" max="32767" attributes="0"/> <Component id="jPanel3" alignment="0" max="32767" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Component id="jPanel1" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" 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="0" attributes="0"> <Component id="jPanel1" alignment="1" max="32767" attributes="0"/> <Group type="102" alignment="0" attributes="0"> <Component id="jPanel3" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="jPanel2" max="32767" attributes="0"/> </Group> </Group> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Container class="javax.swing.JPanel" name="jPanel1"> <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/> </Border> </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"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jButton1" alignment="0" min="-2" pref="119" max="-2" attributes="0"/> <Component id="jLabel1" alignment="0" pref="155" max="32767" attributes="0"/> <Component id="jButton2" alignment="0" min="-2" pref="119" max="-2" attributes="0"/> <Component id="jButton3" alignment="0" min="-2" pref="119" max="-2" 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"/> <Component id="jLabel1" min="-2" pref="270" max="-2" attributes="0"/> <EmptySpace min="-2" pref="35" max="-2" attributes="0"/> <Component id="jButton1" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="35" max="-2" attributes="0"/> <Component id="jButton2" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="35" max="-2" attributes="0"/> <Component id="jButton3" min="-2" max="-2" attributes="0"/> <EmptySpace pref="97" 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="Dialog" size="18" style="1"/> </Property> <Property name="text" type="java.lang.String" value="<html> 
<body> 
<h2>快捷键设置</h2>
<pre>
付款: / (小键盘)
数量: + (小键盘)
删除: Backspace
废除: Delete
退出: Esc
 </pre> 
</body> 
</html>"/> <Property name="verticalAlignment" type="int" value="1"/> </Properties> </Component> <Component class="javax.swing.JButton" name="jButton1"> <Properties> <Property name="text" type="java.lang.String" value="付款"/> </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="jButton2"> <Properties> <Property name="text" type="java.lang.String" value="废除"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/> </Events> </Component> <Component class="javax.swing.JButton" name="jButton3"> <Properties> <Property name="text" type="java.lang.String" value="退出"/> </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="jPanel2"> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jPanel4" alignment="0" max="32767" attributes="0"/> <Component id="jScrollPane1" alignment="0" pref="826" max="32767" attributes="0"/> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="1" attributes="0"> <Component id="jScrollPane1" pref="445" max="32767" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="jPanel4" min="-2" max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Container class="javax.swing.JScrollPane" name="jScrollPane1"> <Properties> <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> <Border info="null"/> </Property> </Properties> <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> <SubComponents> <Component class="javax.swing.JTable" name="jTable1"> <Properties> <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.RADConnectionPropertyEditor"> <Connection code="getSaleItemTableModel()" type="code"/> </Property> <Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor"> <TableColumnModel selectionModel="0"/> </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="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="KeyPressed"/> </Events> </Component> </SubComponents> </Container> <Container class="javax.swing.JPanel" name="jPanel4"> <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/> </Border> </Property> </Properties>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -