Changeset 110 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui/IncidentEditorFrame.form


Ignore:
Timestamp:
09/05/2017 04:24:08 PM (9 years ago)
Author:
bmcguffin
Message:

Annotated this file. Refactored various swing objects to have usage-specific names instead of generic names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/gui/IncidentEditorFrame.form

    r104 r110  
    231231                  <EmptySpace pref="21" max="32767" attributes="0"/> 
    232232                  <Group type="103" groupAlignment="1" attributes="0"> 
    233                       <Component id="jTextArea1" alignment="0" max="32767" attributes="1"/> 
     233                      <Component id="labelNoiseDescription" alignment="0" max="32767" attributes="1"/> 
    234234                      <Group type="103" alignment="1" groupAlignment="1" max="-2" attributes="0"> 
    235235                          <Group type="102" alignment="0" attributes="1"> 
    236                               <Component id="jButton1" min="-2" max="-2" attributes="0"/> 
     236                              <Component id="btnCancelNoise" min="-2" max="-2" attributes="0"/> 
    237237                              <EmptySpace max="32767" attributes="0"/> 
    238                               <Component id="jButton2" min="-2" max="-2" attributes="0"/> 
     238                              <Component id="btnGenerateNoise" min="-2" max="-2" attributes="0"/> 
    239239                          </Group> 
    240240                          <Group type="102" alignment="0" attributes="0"> 
    241241                              <Group type="103" groupAlignment="0" attributes="0"> 
    242242                                  <Group type="103" alignment="0" groupAlignment="1" attributes="0"> 
    243                                       <Component id="jLabel16" alignment="1" min="-2" max="-2" attributes="0"/> 
    244                                       <Component id="jLabel14" alignment="1" min="-2" pref="105" max="-2" attributes="0"/> 
    245                                       <Component id="jLabel15" alignment="1" min="-2" pref="105" max="-2" attributes="0"/> 
    246                                       <Component id="jLabel13" alignment="1" min="-2" pref="105" max="-2" attributes="0"/> 
     243                                      <Component id="labelBackgroundNoise" alignment="1" min="-2" max="-2" attributes="0"/> 
     244                                      <Component id="labelLaneClosures" alignment="1" min="-2" pref="105" max="-2" attributes="0"/> 
     245                                      <Component id="labelTMCAL" alignment="1" min="-2" pref="105" max="-2" attributes="0"/> 
     246                                      <Component id="labelRadioChatter" alignment="1" min="-2" pref="105" max="-2" attributes="0"/> 
    247247                                  </Group> 
    248                                   <Component id="jLabel17" alignment="0" min="-2" pref="81" max="-2" attributes="0"/> 
     248                                  <Component id="labelMinorEvents" alignment="0" min="-2" pref="81" max="-2" attributes="0"/> 
    249249                              </Group> 
    250250                              <EmptySpace min="-2" pref="4" max="-2" attributes="0"/> 
    251251                              <Group type="103" groupAlignment="0" max="-2" attributes="0"> 
    252                                   <Component id="jSlider1" alignment="0" min="-2" pref="245" max="-2" attributes="0"/> 
    253                                   <Component id="jSlider2" alignment="0" min="-2" pref="245" max="-2" attributes="0"/> 
    254                                   <Component id="jSlider3" alignment="0" min="-2" pref="245" max="-2" attributes="0"/> 
    255                                   <Component id="jSlider5" alignment="0" min="-2" pref="245" max="-2" attributes="0"/> 
    256                                   <Component id="jSlider4" alignment="0" min="-2" pref="245" max="-2" attributes="0"/> 
     252                                  <Component id="sliderRadioChatter" alignment="0" min="-2" pref="245" max="-2" attributes="0"/> 
     253                                  <Component id="sliderLaneClosures" alignment="0" min="-2" pref="245" max="-2" attributes="0"/> 
     254                                  <Component id="sliderTMCAL" alignment="0" min="-2" pref="245" max="-2" attributes="0"/> 
     255                                  <Component id="sliderMinorEvents" alignment="0" min="-2" pref="245" max="-2" attributes="0"/> 
     256                                  <Component id="sliderBackgroundNoise" alignment="0" min="-2" pref="245" max="-2" attributes="0"/> 
    257257                                  <Group type="102" alignment="1" attributes="1"> 
    258                                       <Component id="jLabel20" min="-2" max="-2" attributes="0"/> 
     258                                      <Component id="labelLeastFreq" min="-2" max="-2" attributes="0"/> 
    259259                                      <EmptySpace max="32767" attributes="0"/> 
    260                                       <Component id="jLabel21" min="-2" max="-2" attributes="0"/> 
     260                                      <Component id="labelMostFreq" min="-2" max="-2" attributes="0"/> 
    261261                                  </Group> 
    262262                              </Group> 
     
    272272              <Group type="102" alignment="1" attributes="0"> 
    273273                  <EmptySpace max="-2" attributes="0"/> 
    274                   <Component id="jTextArea1" pref="39" max="32767" attributes="0"/> 
     274                  <Component id="labelNoiseDescription" pref="39" max="32767" attributes="0"/> 
    275275                  <EmptySpace max="-2" attributes="0"/> 
    276276                  <Group type="103" groupAlignment="1" attributes="0"> 
    277                       <Component id="jLabel21" min="-2" max="-2" attributes="0"/> 
    278                       <Component id="jLabel20" min="-2" max="-2" attributes="0"/> 
     277                      <Component id="labelMostFreq" min="-2" max="-2" attributes="0"/> 
     278                      <Component id="labelLeastFreq" min="-2" max="-2" attributes="0"/> 
    279279                  </Group> 
    280280                  <EmptySpace max="-2" attributes="0"/> 
    281281                  <Group type="103" groupAlignment="1" attributes="0"> 
    282                       <Component id="jLabel13" min="-2" pref="30" max="-2" attributes="1"/> 
    283                       <Component id="jSlider1" alignment="1" min="-2" pref="30" max="-2" attributes="1"/> 
     282                      <Component id="labelRadioChatter" min="-2" pref="30" max="-2" attributes="1"/> 
     283                      <Component id="sliderRadioChatter" alignment="1" min="-2" pref="30" max="-2" attributes="1"/> 
    284284                  </Group> 
    285285                  <EmptySpace max="-2" attributes="0"/> 
    286286                  <Group type="103" groupAlignment="1" attributes="0"> 
    287                       <Component id="jLabel14" min="-2" pref="28" max="-2" attributes="1"/> 
    288                       <Component id="jSlider2" alignment="1" min="-2" pref="28" max="-2" attributes="1"/> 
     287                      <Component id="labelLaneClosures" min="-2" pref="28" max="-2" attributes="1"/> 
     288                      <Component id="sliderLaneClosures" alignment="1" min="-2" pref="28" max="-2" attributes="1"/> 
    289289                  </Group> 
    290290                  <EmptySpace max="-2" attributes="0"/> 
    291291                  <Group type="103" groupAlignment="1" max="-2" attributes="0"> 
    292                       <Component id="jLabel15" min="-2" max="-2" attributes="1"/> 
    293                       <Component id="jSlider3" alignment="1" min="-2" max="-2" attributes="1"/> 
     292                      <Component id="labelTMCAL" min="-2" max="-2" attributes="1"/> 
     293                      <Component id="sliderTMCAL" alignment="1" min="-2" max="-2" attributes="1"/> 
    294294                  </Group> 
    295295                  <EmptySpace max="-2" attributes="0"/> 
    296296                  <Group type="103" groupAlignment="1" attributes="0"> 
    297                       <Component id="jSlider4" min="-2" pref="29" max="-2" attributes="1"/> 
    298                       <Component id="jLabel16" min="-2" pref="29" max="-2" attributes="1"/> 
     297                      <Component id="sliderBackgroundNoise" min="-2" pref="29" max="-2" attributes="1"/> 
     298                      <Component id="labelBackgroundNoise" min="-2" pref="29" max="-2" attributes="1"/> 
    299299                  </Group> 
    300300                  <EmptySpace max="-2" attributes="0"/> 
    301301                  <Group type="103" groupAlignment="0" attributes="0"> 
    302                       <Component id="jSlider5" min="-2" max="-2" attributes="1"/> 
    303                       <Component id="jLabel17" min="-2" max="-2" attributes="1"/> 
     302                      <Component id="sliderMinorEvents" min="-2" max="-2" attributes="1"/> 
     303                      <Component id="labelMinorEvents" min="-2" max="-2" attributes="1"/> 
    304304                  </Group> 
    305305                  <EmptySpace type="separate" max="-2" attributes="0"/> 
    306306                  <Group type="103" groupAlignment="0" attributes="0"> 
    307                       <Component id="jButton1" min="-2" max="-2" attributes="0"/> 
    308                       <Component id="jButton2" min="-2" max="-2" attributes="0"/> 
     307                      <Component id="btnCancelNoise" min="-2" max="-2" attributes="0"/> 
     308                      <Component id="btnGenerateNoise" min="-2" max="-2" attributes="0"/> 
    309309                  </Group> 
    310310                  <EmptySpace max="-2" attributes="0"/> 
     
    314314      </Layout> 
    315315      <SubComponents> 
    316         <Component class="javax.swing.JLabel" name="jLabel13"> 
     316        <Component class="javax.swing.JLabel" name="labelRadioChatter"> 
    317317          <Properties> 
    318318            <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 
     
    322322          </Properties> 
    323323        </Component> 
    324         <Component class="javax.swing.JSlider" name="jSlider1"> 
    325         </Component> 
    326         <Component class="javax.swing.JSlider" name="jSlider2"> 
    327         </Component> 
    328         <Component class="javax.swing.JLabel" name="jLabel14"> 
     324        <Component class="javax.swing.JSlider" name="sliderRadioChatter"> 
     325        </Component> 
     326        <Component class="javax.swing.JSlider" name="sliderLaneClosures"> 
     327        </Component> 
     328        <Component class="javax.swing.JLabel" name="labelLaneClosures"> 
    329329          <Properties> 
    330330            <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 
     
    334334          </Properties> 
    335335        </Component> 
    336         <Component class="javax.swing.JSlider" name="jSlider3"> 
    337         </Component> 
    338         <Component class="javax.swing.JLabel" name="jLabel15"> 
     336        <Component class="javax.swing.JSlider" name="sliderTMCAL"> 
     337        </Component> 
     338        <Component class="javax.swing.JLabel" name="labelTMCAL"> 
    339339          <Properties> 
    340340            <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 
     
    344344          </Properties> 
    345345        </Component> 
    346         <Component class="javax.swing.JTextArea" name="jTextArea1"> 
     346        <Component class="javax.swing.JTextArea" name="labelNoiseDescription"> 
    347347          <Properties> 
    348348            <Property name="editable" type="boolean" value="false"/> 
     
    366366          </Properties> 
    367367        </Component> 
    368         <Component class="javax.swing.JSlider" name="jSlider4"> 
    369         </Component> 
    370         <Component class="javax.swing.JLabel" name="jLabel16"> 
     368        <Component class="javax.swing.JSlider" name="sliderBackgroundNoise"> 
     369        </Component> 
     370        <Component class="javax.swing.JLabel" name="labelBackgroundNoise"> 
    371371          <Properties> 
    372372            <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 
     
    376376          </Properties> 
    377377        </Component> 
    378         <Component class="javax.swing.JSlider" name="jSlider5"> 
    379         </Component> 
    380         <Component class="javax.swing.JLabel" name="jLabel17"> 
     378        <Component class="javax.swing.JSlider" name="sliderMinorEvents"> 
     379        </Component> 
     380        <Component class="javax.swing.JLabel" name="labelMinorEvents"> 
    381381          <Properties> 
    382382            <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 
     
    386386          </Properties> 
    387387        </Component> 
    388         <Component class="javax.swing.JButton" name="jButton1"> 
     388        <Component class="javax.swing.JButton" name="btnCancelNoise"> 
    389389          <Properties> 
    390390            <Property name="text" type="java.lang.String" value="Cancel"/> 
    391391          </Properties> 
    392392          <Events> 
    393             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/> 
    394           </Events> 
    395         </Component> 
    396         <Component class="javax.swing.JButton" name="jButton2"> 
     393            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnCancelNoiseActionPerformed"/> 
     394          </Events> 
     395        </Component> 
     396        <Component class="javax.swing.JButton" name="btnGenerateNoise"> 
    397397          <Properties> 
    398398            <Property name="text" type="java.lang.String" value="Generate"/> 
    399399          </Properties> 
    400400          <Events> 
    401             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/> 
    402           </Events> 
    403         </Component> 
    404         <Component class="javax.swing.JLabel" name="jLabel20"> 
     401            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnGenerateNoiseActionPerformed"/> 
     402          </Events> 
     403        </Component> 
     404        <Component class="javax.swing.JLabel" name="labelLeastFreq"> 
    405405          <Properties> 
    406406            <Property name="text" type="java.lang.String" value="Least Frequent"/> 
    407407          </Properties> 
    408408        </Component> 
    409         <Component class="javax.swing.JLabel" name="jLabel21"> 
     409        <Component class="javax.swing.JLabel" name="labelMostFreq"> 
    410410          <Properties> 
    411411            <Property name="text" type="java.lang.String" value="Most Frequent"/> 
Note: See TracChangeset for help on using the changeset viewer.