source: tmcsimulator/trunk/src/tmcsim/cadsimulator/managers/TrafficModelViewer.form @ 206

Revision 206, 9.5 KB checked in by jdalbey, 9 years ago (diff)

TrafficModelManager?.java Refactor to use Observable, along with the view. Add Reload button functionality.

Line 
1<?xml version="1.0" encoding="UTF-8" ?>
2
3<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
4  <Properties>
5    <Property name="defaultCloseOperation" type="int" value="3"/>
6    <Property name="title" type="java.lang.String" value="Traffic Modeler"/>
7  </Properties>
8  <SyntheticProperties>
9    <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
10    <SyntheticProperty name="generateCenter" type="boolean" value="false"/>
11  </SyntheticProperties>
12  <AuxValues>
13    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
14    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
15    <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
16    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
17    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
18    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
19    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
20    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
21    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
22  </AuxValues>
23
24  <Layout>
25    <DimensionLayout dim="0">
26      <Group type="103" groupAlignment="0" attributes="0">
27          <Group type="102" alignment="0" attributes="0">
28              <EmptySpace min="-2" pref="1" max="-2" attributes="0"/>
29              <Group type="103" groupAlignment="0" max="-2" attributes="0">
30                  <Group type="102" attributes="0">
31                      <EmptySpace min="12" pref="12" max="-2" attributes="0"/>
32                      <Component id="pnlIncidents" max="32767" attributes="0"/>
33                  </Group>
34                  <Component id="pnlEvents" min="-2" max="-2" attributes="0"/>
35              </Group>
36              <EmptySpace min="0" pref="26" max="32767" attributes="0"/>
37          </Group>
38      </Group>
39    </DimensionLayout>
40    <DimensionLayout dim="1">
41      <Group type="103" groupAlignment="0" attributes="0">
42          <Group type="102" alignment="0" attributes="0">
43              <Component id="pnlEvents" min="-2" max="-2" attributes="0"/>
44              <EmptySpace max="-2" attributes="0"/>
45              <Component id="pnlIncidents" max="32767" attributes="0"/>
46              <EmptySpace max="-2" attributes="0"/>
47          </Group>
48      </Group>
49    </DimensionLayout>
50  </Layout>
51  <SubComponents>
52    <Container class="javax.swing.JPanel" name="pnlEvents">
53
54      <Layout>
55        <DimensionLayout dim="0">
56          <Group type="103" groupAlignment="0" attributes="0">
57              <Group type="102" attributes="0">
58                  <EmptySpace max="-2" attributes="0"/>
59                  <Component id="scrollEvents" min="-2" pref="430" max="-2" attributes="0"/>
60                  <EmptySpace pref="20" max="32767" attributes="0"/>
61              </Group>
62              <Group type="102" alignment="0" attributes="0">
63                  <EmptySpace min="-2" pref="112" max="-2" attributes="0"/>
64                  <Component id="txtClockTime" min="-2" pref="225" max="-2" attributes="0"/>
65                  <EmptySpace max="32767" attributes="0"/>
66                  <Component id="btnReload" min="-2" max="-2" attributes="0"/>
67                  <EmptySpace min="-2" pref="32" max="-2" attributes="0"/>
68              </Group>
69          </Group>
70        </DimensionLayout>
71        <DimensionLayout dim="1">
72          <Group type="103" groupAlignment="0" attributes="0">
73              <Group type="102" alignment="1" attributes="0">
74                  <Group type="103" groupAlignment="3" attributes="0">
75                      <Component id="txtClockTime" alignment="3" min="-2" pref="28" max="-2" attributes="0"/>
76                      <Component id="btnReload" alignment="3" min="-2" max="-2" attributes="0"/>
77                  </Group>
78                  <EmptySpace max="-2" attributes="0"/>
79                  <Component id="scrollEvents" pref="172" max="32767" attributes="0"/>
80                  <EmptySpace max="-2" attributes="0"/>
81              </Group>
82          </Group>
83        </DimensionLayout>
84      </Layout>
85      <SubComponents>
86        <Container class="javax.swing.JScrollPane" name="scrollEvents">
87          <AuxValues>
88            <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
89          </AuxValues>
90
91          <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
92          <SubComponents>
93            <Component class="javax.swing.JList" name="lstEvents">
94              <Properties>
95                <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
96                  <Font name="Noto Mono" size="12" style="0"/>
97                </Property>
98                <Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor">
99                  <StringArray count="2">
100                    <StringItem index="0" value="item 1"/>
101                    <StringItem index="1" value="item 2"/>
102                  </StringArray>
103                </Property>
104              </Properties>
105              <AuxValues>
106                <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="&lt;String&gt;"/>
107              </AuxValues>
108            </Component>
109          </SubComponents>
110        </Container>
111        <Component class="javax.swing.JLabel" name="txtClockTime">
112          <Properties>
113            <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
114              <Font name="Noto Sans" size="14" style="1"/>
115            </Property>
116            <Property name="text" type="java.lang.String" value="0:00:00"/>
117          </Properties>
118        </Component>
119        <Component class="javax.swing.JButton" name="btnReload">
120          <Properties>
121            <Property name="text" type="java.lang.String" value="Reload"/>
122          </Properties>
123          <Events>
124            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnReloadActionPerformed"/>
125          </Events>
126        </Component>
127      </SubComponents>
128    </Container>
129    <Container class="javax.swing.JPanel" name="pnlIncidents">
130
131      <Layout>
132        <DimensionLayout dim="0">
133          <Group type="103" groupAlignment="0" attributes="0">
134              <Group type="102" attributes="0">
135                  <Group type="103" groupAlignment="0" attributes="0">
136                      <Component id="btnClear" min="-2" max="-2" attributes="0"/>
137                      <Component id="jScrollPane1" min="-2" pref="211" max="-2" attributes="0"/>
138                  </Group>
139                  <EmptySpace min="0" pref="0" max="32767" attributes="0"/>
140              </Group>
141          </Group>
142        </DimensionLayout>
143        <DimensionLayout dim="1">
144          <Group type="103" groupAlignment="0" attributes="0">
145              <Group type="102" alignment="1" attributes="0">
146                  <EmptySpace max="-2" attributes="0"/>
147                  <Component id="jScrollPane1" min="-2" pref="179" max="-2" attributes="0"/>
148                  <EmptySpace max="-2" attributes="0"/>
149                  <Component id="btnClear" min="-2" max="-2" attributes="0"/>
150                  <EmptySpace max="32767" attributes="0"/>
151              </Group>
152          </Group>
153        </DimensionLayout>
154      </Layout>
155      <SubComponents>
156        <Container class="javax.swing.JScrollPane" name="jScrollPane1">
157          <AuxValues>
158            <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
159          </AuxValues>
160
161          <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
162          <SubComponents>
163            <Component class="javax.swing.JList" name="lstIncidents">
164              <Properties>
165                <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
166                  <Font name="Noto Mono" size="15" style="0"/>
167                </Property>
168                <Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor">
169                  <StringArray count="5">
170                    <StringItem index="0" value="Item 1"/>
171                    <StringItem index="1" value="Item 2"/>
172                    <StringItem index="2" value="Item 3"/>
173                    <StringItem index="3" value="Item 4"/>
174                    <StringItem index="4" value="Item 5"/>
175                  </StringArray>
176                </Property>
177                <Property name="selectionMode" type="int" value="0"/>
178              </Properties>
179              <AuxValues>
180                <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="&lt;String&gt;"/>
181              </AuxValues>
182            </Component>
183          </SubComponents>
184        </Container>
185        <Component class="javax.swing.JButton" name="btnClear">
186          <Properties>
187            <Property name="text" type="java.lang.String" value="Clear Incident"/>
188          </Properties>
189          <Events>
190            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnClearActionPerformed"/>
191          </Events>
192        </Component>
193      </SubComponents>
194    </Container>
195  </SubComponents>
196</Form>
Note: See TracBrowser for help on using the repository browser.