samples/apifest1/infrastructure/testing-template/src/org/netbeans/apifest/testingtemplate/TestingTemplatePanelVisual.form
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:52:45 +0200
changeset 52 4257f4cf226b
permissions -rw-r--r--
Adding samples from API fest to the repository, including pieces of their code in the document, not just links
     1 <?xml version="1.0" encoding="UTF-8" ?>
     2 
     3 <Form version="1.3" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
     4   <AuxValues>
     5     <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
     6     <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
     7     <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
     8     <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
     9   </AuxValues>
    10 
    11   <Layout>
    12     <DimensionLayout dim="0">
    13       <Group type="103" groupAlignment="0" attributes="0">
    14           <Group type="102" attributes="0">
    15               <EmptySpace min="-2" max="-2" attributes="0"/>
    16               <Group type="103" groupAlignment="0" attributes="0">
    17                   <Component id="projectNameLabel" alignment="0" min="-2" max="-2" attributes="0"/>
    18                   <Component id="projectLocationLabel" alignment="0" min="-2" max="-2" attributes="0"/>
    19                   <Component id="createdFolderLabel" alignment="0" min="-2" max="-2" attributes="0"/>
    20               </Group>
    21               <EmptySpace min="-2" max="-2" attributes="0"/>
    22               <Group type="103" groupAlignment="0" attributes="0">
    23                   <Component id="projectNameTextField" alignment="1" pref="191" max="32767" attributes="0"/>
    24                   <Component id="projectLocationTextField" alignment="1" pref="191" max="32767" attributes="0"/>
    25                   <Component id="createdFolderTextField" alignment="1" pref="191" max="32767" attributes="0"/>
    26               </Group>
    27               <EmptySpace min="-2" max="-2" attributes="0"/>
    28               <Component id="browseButton" min="-2" max="-2" attributes="0"/>
    29               <EmptySpace min="-2" max="-2" attributes="0"/>
    30           </Group>
    31       </Group>
    32     </DimensionLayout>
    33     <DimensionLayout dim="1">
    34       <Group type="103" groupAlignment="0" attributes="0">
    35           <Group type="102" attributes="0">
    36               <EmptySpace max="-2" attributes="0"/>
    37               <Group type="103" groupAlignment="3" attributes="0">
    38                   <Component id="projectNameLabel" alignment="3" min="-2" max="-2" attributes="0"/>
    39                   <Component id="projectNameTextField" alignment="3" min="-2" max="-2" attributes="0"/>
    40               </Group>
    41               <EmptySpace max="-2" attributes="0"/>
    42               <Group type="103" groupAlignment="3" attributes="0">
    43                   <Component id="projectLocationLabel" alignment="3" min="-2" max="-2" attributes="0"/>
    44                   <Component id="projectLocationTextField" alignment="3" min="-2" max="-2" attributes="0"/>
    45                   <Component id="browseButton" alignment="3" min="-2" max="-2" attributes="0"/>
    46               </Group>
    47               <EmptySpace max="-2" attributes="0"/>
    48               <Group type="103" groupAlignment="3" attributes="0">
    49                   <Component id="createdFolderLabel" alignment="3" min="-2" max="-2" attributes="0"/>
    50                   <Component id="createdFolderTextField" alignment="3" min="-2" max="-2" attributes="0"/>
    51               </Group>
    52               <EmptySpace pref="213" max="32767" attributes="0"/>
    53           </Group>
    54       </Group>
    55     </DimensionLayout>
    56   </Layout>
    57   <SubComponents>
    58     <Component class="javax.swing.JLabel" name="projectNameLabel">
    59       <Properties>
    60         <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
    61           <ComponentRef name="projectNameTextField"/>
    62         </Property>
    63         <Property name="text" type="java.lang.String" value="Project &amp;Name:"/>
    64       </Properties>
    65       <AuxValues>
    66         <AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
    67       </AuxValues>
    68     </Component>
    69     <Component class="javax.swing.JTextField" name="projectNameTextField">
    70     </Component>
    71     <Component class="javax.swing.JLabel" name="projectLocationLabel">
    72       <Properties>
    73         <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
    74           <ComponentRef name="projectLocationTextField"/>
    75         </Property>
    76         <Property name="text" type="java.lang.String" value="Project &amp;Location:"/>
    77       </Properties>
    78       <AuxValues>
    79         <AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
    80       </AuxValues>
    81     </Component>
    82     <Component class="javax.swing.JTextField" name="projectLocationTextField">
    83     </Component>
    84     <Component class="javax.swing.JButton" name="browseButton">
    85       <Properties>
    86         <Property name="text" type="java.lang.String" value="Br&amp;owse..."/>
    87         <Property name="actionCommand" type="java.lang.String" value="BROWSE"/>
    88       </Properties>
    89       <Events>
    90         <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="browseButtonActionPerformed"/>
    91       </Events>
    92     </Component>
    93     <Component class="javax.swing.JLabel" name="createdFolderLabel">
    94       <Properties>
    95         <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
    96           <ComponentRef name="createdFolderTextField"/>
    97         </Property>
    98         <Property name="text" type="java.lang.String" value="Project &amp;Folder:"/>
    99       </Properties>
   100     </Component>
   101     <Component class="javax.swing.JTextField" name="createdFolderTextField">
   102       <Properties>
   103         <Property name="editable" type="boolean" value="false"/>
   104       </Properties>
   105     </Component>
   106   </SubComponents>
   107 </Form>