Changeset 135 in tmcsimulator for trunk/src/tmcsim/client/ATMSBatchViewer.form


Ignore:
Timestamp:
10/17/2017 05:10:07 PM (9 years ago)
Author:
jdalbey
Message:

ATMSBatchDriver.java Implemented "clear incident" feature.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tmcsim/client/ATMSBatchViewer.form

    r128 r135  
    2828              <EmptySpace max="-2" attributes="0"/> 
    2929          </Group> 
     30          <Group type="102" alignment="0" attributes="0"> 
     31              <EmptySpace min="-2" pref="76" max="-2" attributes="0"/> 
     32              <Component id="pnlIncidents" min="-2" max="-2" attributes="0"/> 
     33              <EmptySpace max="32767" attributes="0"/> 
     34          </Group> 
    3035      </Group> 
    3136    </DimensionLayout> 
     
    3439          <Group type="102" alignment="0" attributes="0"> 
    3540              <Component id="pnlEvents" min="-2" max="-2" attributes="0"/> 
    36               <EmptySpace min="0" pref="129" max="32767" attributes="0"/> 
     41              <EmptySpace max="-2" attributes="0"/> 
     42              <Component id="pnlIncidents" max="32767" attributes="0"/> 
     43              <EmptySpace max="-2" attributes="0"/> 
    3744          </Group> 
    3845      </Group> 
     
    4653          <Group type="103" groupAlignment="0" attributes="0"> 
    4754              <Group type="102" alignment="1" attributes="0"> 
    48                   <EmptySpace pref="83" max="32767" attributes="0"/> 
     55                  <EmptySpace pref="74" max="32767" attributes="0"/> 
    4956                  <Component id="scrollEvents" min="-2" pref="354" max="-2" attributes="0"/> 
    5057                  <EmptySpace min="-2" pref="59" max="-2" attributes="0"/> 
     
    104111      </SubComponents> 
    105112    </Container> 
     113    <Container class="javax.swing.JPanel" name="pnlIncidents"> 
     114 
     115      <Layout> 
     116        <DimensionLayout dim="0"> 
     117          <Group type="103" groupAlignment="0" attributes="0"> 
     118              <Group type="102" attributes="0"> 
     119                  <Group type="103" groupAlignment="0" attributes="0"> 
     120                      <Component id="btnClear" min="-2" max="-2" attributes="0"/> 
     121                      <Component id="jScrollPane1" min="-2" pref="211" max="-2" attributes="0"/> 
     122                  </Group> 
     123                  <EmptySpace min="0" pref="173" max="32767" attributes="0"/> 
     124              </Group> 
     125          </Group> 
     126        </DimensionLayout> 
     127        <DimensionLayout dim="1"> 
     128          <Group type="103" groupAlignment="0" attributes="0"> 
     129              <Group type="102" alignment="1" attributes="0"> 
     130                  <Component id="jScrollPane1" min="-2" pref="179" max="-2" attributes="0"/> 
     131                  <EmptySpace max="-2" attributes="0"/> 
     132                  <Component id="btnClear" min="-2" max="-2" attributes="0"/> 
     133                  <EmptySpace max="32767" attributes="0"/> 
     134              </Group> 
     135          </Group> 
     136        </DimensionLayout> 
     137      </Layout> 
     138      <SubComponents> 
     139        <Component class="javax.swing.JButton" name="btnClear"> 
     140          <Properties> 
     141            <Property name="text" type="java.lang.String" value="Clear Incident"/> 
     142          </Properties> 
     143          <Events> 
     144            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnClearActionPerformed"/> 
     145          </Events> 
     146        </Component> 
     147        <Container class="javax.swing.JScrollPane" name="jScrollPane1"> 
     148          <AuxValues> 
     149            <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> 
     150          </AuxValues> 
     151 
     152          <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> 
     153          <SubComponents> 
     154            <Component class="javax.swing.JList" name="lstIncidents"> 
     155              <Properties> 
     156                <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 
     157                  <Font name="Noto Mono" size="15" style="0"/> 
     158                </Property> 
     159                <Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor"> 
     160                  <StringArray count="5"> 
     161                    <StringItem index="0" value="Item 1"/> 
     162                    <StringItem index="1" value="Item 2"/> 
     163                    <StringItem index="2" value="Item 3"/> 
     164                    <StringItem index="3" value="Item 4"/> 
     165                    <StringItem index="4" value="Item 5"/> 
     166                  </StringArray> 
     167                </Property> 
     168                <Property name="selectionMode" type="int" value="0"/> 
     169              </Properties> 
     170              <AuxValues> 
     171                <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="&lt;String&gt;"/> 
     172              </AuxValues> 
     173            </Component> 
     174          </SubComponents> 
     175        </Container> 
     176      </SubComponents> 
     177    </Container> 
    106178  </SubComponents> 
    107179</Form> 
Note: See TracChangeset for help on using the changeset viewer.