desktop/desktop-sample/src/main/java/cz/xelfi/quoridor/desktop/sample/KukTopComponent.form
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Mon, 13 Sep 2010 21:02:55 +0200
branchdesktop
changeset 261 cf7e6b8259e1
parent 257 03762a20a808
child 269 430ab68846fa
permissions -rw-r--r--
Adding images for black and white
     1 <?xml version="1.1" encoding="UTF-8" ?>
     2 
     3 <Form version="1.4" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
     4   <NonVisualComponents>
     5     <Component class="javax.swing.JLabel" name="jLabel1">
     6       <Properties>
     7         <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
     8           <ResourceString bundle="cz/xelfi/quoridor/desktop/sample/Bundle.properties" key="KukTopComponent.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
     9         </Property>
    10       </Properties>
    11     </Component>
    12   </NonVisualComponents>
    13   <AuxValues>
    14     <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
    15     <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
    16     <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
    17     <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
    18     <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="true"/>
    19     <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
    20     <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
    21     <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
    22     <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
    23   </AuxValues>
    24 
    25   <Layout>
    26     <DimensionLayout dim="0">
    27       <Group type="103" groupAlignment="0" attributes="0">
    28           <Group type="102" alignment="0" attributes="0">
    29               <Component id="jButton1" min="-2" max="-2" attributes="0"/>
    30               <EmptySpace pref="225" max="32767" attributes="0"/>
    31           </Group>
    32           <Group type="102" alignment="0" attributes="0">
    33               <Component id="jButton2" min="-2" max="-2" attributes="0"/>
    34               <EmptySpace max="-2" attributes="0"/>
    35           </Group>
    36           <Component id="boardPane1" alignment="1" pref="312" max="32767" attributes="0"/>
    37       </Group>
    38     </DimensionLayout>
    39     <DimensionLayout dim="1">
    40       <Group type="103" groupAlignment="0" attributes="0">
    41           <Group type="102" alignment="0" attributes="0">
    42               <Component id="jButton1" min="-2" max="-2" attributes="0"/>
    43               <EmptySpace max="-2" attributes="0"/>
    44               <Component id="boardPane1" pref="282" max="32767" attributes="0"/>
    45               <EmptySpace max="-2" attributes="0"/>
    46               <Component id="jButton2" min="-2" max="-2" attributes="0"/>
    47           </Group>
    48       </Group>
    49     </DimensionLayout>
    50   </Layout>
    51   <SubComponents>
    52     <Component class="cz.xelfi.quoridor.visidor.BoardPane" name="boardPane1">
    53     </Component>
    54     <Component class="javax.swing.JButton" name="jButton1">
    55       <Properties>
    56         <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
    57           <Image iconType="3" name="/cz/xelfi/quoridor/desktop/sample/black.png"/>
    58         </Property>
    59         <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
    60           <ResourceString bundle="cz/xelfi/quoridor/desktop/sample/Bundle.properties" key="KukTopComponent.jButton1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
    61         </Property>
    62       </Properties>
    63       <Events>
    64         <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>
    65       </Events>
    66     </Component>
    67     <Component class="javax.swing.JButton" name="jButton2">
    68       <Properties>
    69         <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
    70           <Image iconType="3" name="/cz/xelfi/quoridor/desktop/sample/white.png"/>
    71         </Property>
    72         <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
    73           <ResourceString bundle="cz/xelfi/quoridor/desktop/sample/Bundle.properties" key="KukTopComponent.jButton2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
    74         </Property>
    75       </Properties>
    76       <Events>
    77         <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/>
    78       </Events>
    79     </Component>
    80   </SubComponents>
    81 </Form>