desktop/desktop-sample/src/main/java/cz/xelfi/quoridor/desktop/sample/KukTopComponent.form
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 17 Sep 2010 05:52:39 -0700
branchdesktop
changeset 269 430ab68846fa
parent 261 cf7e6b8259e1
permissions -rw-r--r--
Make the boards editable and submit moves to the quoridor server
     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       <Events>
    54         <EventHandler event="boardChanged" listener="cz.xelfi.quoridor.visidor.BoardListener" parameters="cz.xelfi.quoridor.visidor.BoardEvent" handler="boardPane1BoardChanged"/>
    55       </Events>
    56     </Component>
    57     <Component class="javax.swing.JButton" name="jButton1">
    58       <Properties>
    59         <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
    60           <Image iconType="3" name="/cz/xelfi/quoridor/desktop/sample/black.png"/>
    61         </Property>
    62         <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
    63           <ResourceString bundle="cz/xelfi/quoridor/desktop/sample/Bundle.properties" key="KukTopComponent.jButton1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
    64         </Property>
    65       </Properties>
    66       <Events>
    67         <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>
    68       </Events>
    69     </Component>
    70     <Component class="javax.swing.JButton" name="jButton2">
    71       <Properties>
    72         <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
    73           <Image iconType="3" name="/cz/xelfi/quoridor/desktop/sample/white.png"/>
    74         </Property>
    75         <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
    76           <ResourceString bundle="cz/xelfi/quoridor/desktop/sample/Bundle.properties" key="KukTopComponent.jButton2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
    77         </Property>
    78       </Properties>
    79       <Events>
    80         <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/>
    81       </Events>
    82     </Component>
    83   </SubComponents>
    84 </Form>