| 1 | /* |
|---|
| 2 | * To change this template, choose Tools | Templates |
|---|
| 3 | * and open the template in the editor. |
|---|
| 4 | */ |
|---|
| 5 | package tmcsim.client.cadclientgui.screens; |
|---|
| 6 | |
|---|
| 7 | import javax.swing.JComponent; |
|---|
| 8 | |
|---|
| 9 | /** |
|---|
| 10 | * CURRENTLY NOT IN USE. |
|---|
| 11 | * @author Stuart |
|---|
| 12 | */ |
|---|
| 13 | public class ActivityLogViewer extends javax.swing.JFrame { |
|---|
| 14 | |
|---|
| 15 | /** |
|---|
| 16 | * Creates new form ActivityLogViewer |
|---|
| 17 | */ |
|---|
| 18 | public ActivityLogViewer() { |
|---|
| 19 | declareComponents(); |
|---|
| 20 | initComponents(); |
|---|
| 21 | initLayout(); |
|---|
| 22 | } |
|---|
| 23 | |
|---|
| 24 | /** |
|---|
| 25 | * This method is called from within the constructor to initialize the form. |
|---|
| 26 | * WARNING: Do NOT modify this code. The content of this method is always |
|---|
| 27 | * regenerated by the Form Editor. |
|---|
| 28 | */ |
|---|
| 29 | @SuppressWarnings("unchecked") |
|---|
| 30 | // <editor-fold defaultstate="collapsed" desc="Generated Code"> |
|---|
| 31 | private void declareComponents() { |
|---|
| 32 | |
|---|
| 33 | dateTimePeriodLabel = new javax.swing.JLabel(); |
|---|
| 34 | dateTimePeriodCombo = new javax.swing.JComboBox(); |
|---|
| 35 | toLabel = new javax.swing.JLabel(); |
|---|
| 36 | toCombo = new javax.swing.JComboBox(); |
|---|
| 37 | showUnitsByAbbreviatedNameCheckBox = new javax.swing.JCheckBox(); |
|---|
| 38 | selectAllButton = new javax.swing.JButton(); |
|---|
| 39 | unselectAllButton = new javax.swing.JButton(); |
|---|
| 40 | jPanel1 = new javax.swing.JPanel(); |
|---|
| 41 | agencyLabel = new javax.swing.JLabel(); |
|---|
| 42 | agencyCombo = new javax.swing.JComboBox(); |
|---|
| 43 | jurisdictionsLabel = new javax.swing.JLabel(); |
|---|
| 44 | jurisdictionsScroll = new javax.swing.JScrollPane(); |
|---|
| 45 | jurisdictionsTable = new javax.swing.JTable(); |
|---|
| 46 | jurisdictionsSelectAllButton = new javax.swing.JButton(); |
|---|
| 47 | jurisdictionUnselectAllButton = new javax.swing.JButton(); |
|---|
| 48 | showAVLData = new javax.swing.JCheckBox(); |
|---|
| 49 | divisionsScroll = new javax.swing.JScrollPane(); |
|---|
| 50 | divisionsTable = new javax.swing.JTable(); |
|---|
| 51 | divisionsLabel = new javax.swing.JLabel(); |
|---|
| 52 | divisionsSelectAllButton = new javax.swing.JButton(); |
|---|
| 53 | divisionsUnselectAllButton = new javax.swing.JButton(); |
|---|
| 54 | batallionsLabel = new javax.swing.JLabel(); |
|---|
| 55 | batallionsScroll = new javax.swing.JScrollPane(); |
|---|
| 56 | batallionsTable = new javax.swing.JTable(); |
|---|
| 57 | batallionsSelectAllButton = new javax.swing.JButton(); |
|---|
| 58 | batallionsUnselectAllButton = new javax.swing.JButton(); |
|---|
| 59 | showRadioLogDataCheckBox = new javax.swing.JCheckBox(); |
|---|
| 60 | stationsScroll = new javax.swing.JScrollPane(); |
|---|
| 61 | stationsTable = new javax.swing.JTable(); |
|---|
| 62 | stationsLabel = new javax.swing.JLabel(); |
|---|
| 63 | stationsSelectAllButton = new javax.swing.JButton(); |
|---|
| 64 | stationsUnselectAllButton = new javax.swing.JButton(); |
|---|
| 65 | unitsScroll = new javax.swing.JScrollPane(); |
|---|
| 66 | unitsTable = new javax.swing.JTable(); |
|---|
| 67 | unitsLabel = new javax.swing.JLabel(); |
|---|
| 68 | unitsSelectAllButton = new javax.swing.JButton(); |
|---|
| 69 | unitsUnselectButton = new javax.swing.JButton(); |
|---|
| 70 | logScroll = new javax.swing.JScrollPane(); |
|---|
| 71 | logTable = new javax.swing.JTable(); |
|---|
| 72 | refreshButton = new javax.swing.JButton(); |
|---|
| 73 | printButton = new javax.swing.JButton(); |
|---|
| 74 | exitButton = new javax.swing.JButton(); |
|---|
| 75 | |
|---|
| 76 | } |
|---|
| 77 | |
|---|
| 78 | private void initComponents(){ |
|---|
| 79 | setDefaultCloseOperation(javax.swing.WindowConstants.HIDE_ON_CLOSE); |
|---|
| 80 | setPreferredSize(new java.awt.Dimension(842, 600)); |
|---|
| 81 | |
|---|
| 82 | dateTimePeriodLabel.setText("Date-Time Period:"); |
|---|
| 83 | |
|---|
| 84 | dateTimePeriodCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); |
|---|
| 85 | |
|---|
| 86 | toLabel.setText("to:"); |
|---|
| 87 | |
|---|
| 88 | toCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); |
|---|
| 89 | |
|---|
| 90 | showUnitsByAbbreviatedNameCheckBox.setText("Show Units by Abbreviated Name"); |
|---|
| 91 | |
|---|
| 92 | selectAllButton.setText("Select All"); |
|---|
| 93 | selectAllButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 94 | |
|---|
| 95 | unselectAllButton.setText("Unselect All"); |
|---|
| 96 | unselectAllButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 97 | |
|---|
| 98 | agencyLabel.setText("Agency:"); |
|---|
| 99 | |
|---|
| 100 | agencyCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); |
|---|
| 101 | |
|---|
| 102 | jurisdictionsLabel.setText("Jurisdictions:"); |
|---|
| 103 | |
|---|
| 104 | jurisdictionsTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 105 | new Object [][] { |
|---|
| 106 | {null}, |
|---|
| 107 | {null}, |
|---|
| 108 | {null}, |
|---|
| 109 | {null} |
|---|
| 110 | }, |
|---|
| 111 | new String [] { |
|---|
| 112 | "Title 1" |
|---|
| 113 | } |
|---|
| 114 | )); |
|---|
| 115 | jurisdictionsScroll.setViewportView(jurisdictionsTable); |
|---|
| 116 | |
|---|
| 117 | jurisdictionsSelectAllButton.setText("Select All"); |
|---|
| 118 | |
|---|
| 119 | jurisdictionUnselectAllButton.setText("Unselect All"); |
|---|
| 120 | jurisdictionUnselectAllButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 121 | |
|---|
| 122 | showAVLData.setText("Show AVL Data"); |
|---|
| 123 | |
|---|
| 124 | divisionsTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 125 | new Object [][] { |
|---|
| 126 | {null}, |
|---|
| 127 | {null}, |
|---|
| 128 | {null}, |
|---|
| 129 | {null} |
|---|
| 130 | }, |
|---|
| 131 | new String [] { |
|---|
| 132 | "Title 1" |
|---|
| 133 | } |
|---|
| 134 | )); |
|---|
| 135 | divisionsTable.setTableHeader(null); |
|---|
| 136 | divisionsScroll.setViewportView(divisionsTable); |
|---|
| 137 | |
|---|
| 138 | divisionsLabel.setText("Divisions:"); |
|---|
| 139 | |
|---|
| 140 | divisionsSelectAllButton.setText("Select All"); |
|---|
| 141 | divisionsSelectAllButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 142 | |
|---|
| 143 | divisionsUnselectAllButton.setText("Unselect All"); |
|---|
| 144 | divisionsUnselectAllButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 145 | |
|---|
| 146 | batallionsLabel.setText("Batallions:"); |
|---|
| 147 | |
|---|
| 148 | batallionsTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 149 | new Object [][] { |
|---|
| 150 | {null}, |
|---|
| 151 | {null}, |
|---|
| 152 | {null}, |
|---|
| 153 | {null} |
|---|
| 154 | }, |
|---|
| 155 | new String [] { |
|---|
| 156 | "Title 1" |
|---|
| 157 | } |
|---|
| 158 | )); |
|---|
| 159 | batallionsTable.setTableHeader(null); |
|---|
| 160 | batallionsScroll.setViewportView(batallionsTable); |
|---|
| 161 | |
|---|
| 162 | batallionsSelectAllButton.setText("Select All"); |
|---|
| 163 | batallionsSelectAllButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 164 | |
|---|
| 165 | batallionsUnselectAllButton.setText("Unselect All"); |
|---|
| 166 | batallionsUnselectAllButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 167 | |
|---|
| 168 | showRadioLogDataCheckBox.setText("Show Radio Log Data"); |
|---|
| 169 | |
|---|
| 170 | stationsTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 171 | new Object [][] { |
|---|
| 172 | {null}, |
|---|
| 173 | {null}, |
|---|
| 174 | {null}, |
|---|
| 175 | {null} |
|---|
| 176 | }, |
|---|
| 177 | new String [] { |
|---|
| 178 | "Title 1" |
|---|
| 179 | } |
|---|
| 180 | )); |
|---|
| 181 | stationsTable.setTableHeader(null); |
|---|
| 182 | stationsScroll.setViewportView(stationsTable); |
|---|
| 183 | |
|---|
| 184 | stationsLabel.setText("Stations:"); |
|---|
| 185 | |
|---|
| 186 | stationsSelectAllButton.setText("Select All"); |
|---|
| 187 | stationsSelectAllButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 188 | |
|---|
| 189 | stationsUnselectAllButton.setText("Unselect All"); |
|---|
| 190 | stationsUnselectAllButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 191 | |
|---|
| 192 | unitsTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 193 | new Object [][] { |
|---|
| 194 | {null}, |
|---|
| 195 | {null}, |
|---|
| 196 | {null}, |
|---|
| 197 | {null} |
|---|
| 198 | }, |
|---|
| 199 | new String [] { |
|---|
| 200 | "Title 1" |
|---|
| 201 | } |
|---|
| 202 | )); |
|---|
| 203 | unitsTable.setTableHeader(null); |
|---|
| 204 | unitsScroll.setViewportView(unitsTable); |
|---|
| 205 | |
|---|
| 206 | unitsLabel.setText("Units:"); |
|---|
| 207 | |
|---|
| 208 | unitsSelectAllButton.setText("Select All"); |
|---|
| 209 | unitsSelectAllButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 210 | |
|---|
| 211 | unitsUnselectButton.setText("Unselect All"); |
|---|
| 212 | unitsUnselectButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 213 | |
|---|
| 214 | |
|---|
| 215 | logTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 216 | new Object [][] { |
|---|
| 217 | {null, null, null, null, null, null}, |
|---|
| 218 | {null, null, null, null, null, null}, |
|---|
| 219 | {null, null, null, null, null, null}, |
|---|
| 220 | {null, null, null, null, null, null} |
|---|
| 221 | }, |
|---|
| 222 | new String [] { |
|---|
| 223 | "Date/Time", "Incident", "Unit (Vehicle)", "Activity", "Location", "Comment" |
|---|
| 224 | } |
|---|
| 225 | )); |
|---|
| 226 | logScroll.setViewportView(logTable); |
|---|
| 227 | |
|---|
| 228 | refreshButton.setText("Refresh"); |
|---|
| 229 | |
|---|
| 230 | printButton.setText("Print"); |
|---|
| 231 | |
|---|
| 232 | exitButton.setText("Exit"); |
|---|
| 233 | } |
|---|
| 234 | |
|---|
| 235 | private void initLayout(){ |
|---|
| 236 | javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); |
|---|
| 237 | jPanel1.setLayout(jPanel1Layout); |
|---|
| 238 | jPanel1Layout.setHorizontalGroup( |
|---|
| 239 | jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 240 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 241 | .addContainerGap() |
|---|
| 242 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 243 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 244 | .addComponent(agencyLabel) |
|---|
| 245 | .addComponent(jurisdictionsLabel) |
|---|
| 246 | .addComponent(agencyCombo, 0, 190, Short.MAX_VALUE) |
|---|
| 247 | .addComponent(jurisdictionsScroll, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)) |
|---|
| 248 | .addComponent(showAVLData) |
|---|
| 249 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 250 | .addGap(15, 15, 15) |
|---|
| 251 | .addComponent(jurisdictionsSelectAllButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 252 | .addGap(0, 0, 0) |
|---|
| 253 | .addComponent(jurisdictionUnselectAllButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE))) |
|---|
| 254 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 255 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 256 | .addComponent(divisionsLabel) |
|---|
| 257 | .addComponent(divisionsScroll, javax.swing.GroupLayout.PREFERRED_SIZE, 190, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 258 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 259 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 260 | .addComponent(batallionsLabel) |
|---|
| 261 | .addComponent(batallionsScroll, javax.swing.GroupLayout.PREFERRED_SIZE, 190, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 262 | .addComponent(showRadioLogDataCheckBox) |
|---|
| 263 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 264 | .addGap(15, 15, 15) |
|---|
| 265 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 266 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 267 | .addComponent(divisionsSelectAllButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 268 | .addGap(0, 0, 0) |
|---|
| 269 | .addComponent(divisionsUnselectAllButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 270 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 271 | .addComponent(batallionsSelectAllButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 272 | .addGap(0, 0, 0) |
|---|
| 273 | .addComponent(batallionsUnselectAllButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE))))) |
|---|
| 274 | .addGap(10, 10, 10) |
|---|
| 275 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 276 | .addComponent(stationsScroll, javax.swing.GroupLayout.PREFERRED_SIZE, 190, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 277 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 278 | .addGap(15, 15, 15) |
|---|
| 279 | .addComponent(stationsSelectAllButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 280 | .addGap(0, 0, 0) |
|---|
| 281 | .addComponent(stationsUnselectAllButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 282 | .addComponent(stationsLabel)) |
|---|
| 283 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 284 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 285 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 286 | .addGap(15, 15, 15) |
|---|
| 287 | .addComponent(unitsSelectAllButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 288 | .addGap(0, 0, 0) |
|---|
| 289 | .addComponent(unitsUnselectButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 290 | .addComponent(unitsLabel) |
|---|
| 291 | .addComponent(unitsScroll, javax.swing.GroupLayout.PREFERRED_SIZE, 190, javax.swing.GroupLayout.PREFERRED_SIZE)))) |
|---|
| 292 | .addGap(0, 6, Short.MAX_VALUE)) |
|---|
| 293 | ); |
|---|
| 294 | jPanel1Layout.setVerticalGroup( |
|---|
| 295 | jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 296 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 297 | .addContainerGap() |
|---|
| 298 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 299 | .addComponent(agencyLabel) |
|---|
| 300 | .addComponent(divisionsLabel) |
|---|
| 301 | .addComponent(stationsLabel) |
|---|
| 302 | .addComponent(unitsLabel)) |
|---|
| 303 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 304 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 305 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 306 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 307 | .addComponent(batallionsSelectAllButton) |
|---|
| 308 | .addComponent(batallionsUnselectAllButton) |
|---|
| 309 | .addComponent(stationsSelectAllButton) |
|---|
| 310 | .addComponent(stationsUnselectAllButton) |
|---|
| 311 | .addComponent(unitsSelectAllButton) |
|---|
| 312 | .addComponent(unitsUnselectButton)) |
|---|
| 313 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 314 | .addComponent(showRadioLogDataCheckBox)) |
|---|
| 315 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 316 | .addComponent(agencyCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 317 | .addGap(17, 17, 17) |
|---|
| 318 | .addComponent(jurisdictionsLabel) |
|---|
| 319 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 320 | .addComponent(jurisdictionsScroll, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 321 | .addGap(0, 0, 0) |
|---|
| 322 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 323 | .addComponent(jurisdictionsSelectAllButton) |
|---|
| 324 | .addComponent(jurisdictionUnselectAllButton)) |
|---|
| 325 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 326 | .addComponent(showAVLData))) |
|---|
| 327 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) |
|---|
| 328 | .addComponent(unitsScroll, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE) |
|---|
| 329 | .addComponent(stationsScroll, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE) |
|---|
| 330 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 331 | .addComponent(divisionsScroll, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 332 | .addGap(0, 0, 0) |
|---|
| 333 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 334 | .addComponent(divisionsSelectAllButton) |
|---|
| 335 | .addComponent(divisionsUnselectAllButton)) |
|---|
| 336 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 337 | .addComponent(batallionsLabel) |
|---|
| 338 | .addGap(0, 0, 0) |
|---|
| 339 | .addComponent(batallionsScroll, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)))) |
|---|
| 340 | .addGap(6, 6, 6)) |
|---|
| 341 | ); |
|---|
| 342 | |
|---|
| 343 | javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); |
|---|
| 344 | getContentPane().setLayout(layout); |
|---|
| 345 | layout.setHorizontalGroup( |
|---|
| 346 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 347 | .addGroup(layout.createSequentialGroup() |
|---|
| 348 | .addContainerGap() |
|---|
| 349 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 350 | .addGroup(layout.createSequentialGroup() |
|---|
| 351 | .addGap(10, 10, 10) |
|---|
| 352 | .addComponent(dateTimePeriodLabel) |
|---|
| 353 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 354 | .addComponent(dateTimePeriodCombo, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 355 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 356 | .addComponent(toLabel) |
|---|
| 357 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 358 | .addComponent(toCombo, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 359 | .addGap(25, 25, 25) |
|---|
| 360 | .addComponent(showUnitsByAbbreviatedNameCheckBox) |
|---|
| 361 | .addGap(30, 30, 30) |
|---|
| 362 | .addComponent(selectAllButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 363 | .addGap(0, 0, 0) |
|---|
| 364 | .addComponent(unselectAllButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 365 | .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 366 | .addComponent(logScroll, javax.swing.GroupLayout.DEFAULT_SIZE, 822, Short.MAX_VALUE) |
|---|
| 367 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() |
|---|
| 368 | .addGap(596, 596, 596) |
|---|
| 369 | .addComponent(refreshButton, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 370 | .addGap(0, 0, 0) |
|---|
| 371 | .addComponent(printButton, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 372 | .addGap(0, 0, 0) |
|---|
| 373 | .addComponent(exitButton, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE))) |
|---|
| 374 | .addContainerGap()) |
|---|
| 375 | ); |
|---|
| 376 | layout.setVerticalGroup( |
|---|
| 377 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 378 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() |
|---|
| 379 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 380 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 381 | .addComponent(dateTimePeriodLabel) |
|---|
| 382 | .addComponent(dateTimePeriodCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 383 | .addComponent(toLabel) |
|---|
| 384 | .addComponent(toCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 385 | .addComponent(showUnitsByAbbreviatedNameCheckBox) |
|---|
| 386 | .addComponent(selectAllButton) |
|---|
| 387 | .addComponent(unselectAllButton)) |
|---|
| 388 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 389 | .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 390 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 391 | .addComponent(logScroll, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 392 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 393 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 394 | .addComponent(exitButton) |
|---|
| 395 | .addComponent(printButton) |
|---|
| 396 | .addComponent(refreshButton))) |
|---|
| 397 | ); |
|---|
| 398 | |
|---|
| 399 | pack(); |
|---|
| 400 | }// </editor-fold> |
|---|
| 401 | |
|---|
| 402 | /* |
|---|
| 403 | * Makes screen visible. |
|---|
| 404 | */ |
|---|
| 405 | public void open(){ |
|---|
| 406 | setVisible(true); |
|---|
| 407 | } |
|---|
| 408 | |
|---|
| 409 | /* |
|---|
| 410 | * Hides screen. |
|---|
| 411 | */ |
|---|
| 412 | public void close(){ |
|---|
| 413 | setVisible(false); |
|---|
| 414 | } |
|---|
| 415 | |
|---|
| 416 | // Variables declaration - do not modify |
|---|
| 417 | private javax.swing.JComboBox agencyCombo; |
|---|
| 418 | private javax.swing.JLabel agencyLabel; |
|---|
| 419 | private javax.swing.JLabel batallionsLabel; |
|---|
| 420 | private javax.swing.JScrollPane batallionsScroll; |
|---|
| 421 | private javax.swing.JButton batallionsSelectAllButton; |
|---|
| 422 | private javax.swing.JTable batallionsTable; |
|---|
| 423 | private javax.swing.JButton batallionsUnselectAllButton; |
|---|
| 424 | private javax.swing.JComboBox dateTimePeriodCombo; |
|---|
| 425 | private javax.swing.JLabel dateTimePeriodLabel; |
|---|
| 426 | private javax.swing.JLabel divisionsLabel; |
|---|
| 427 | private javax.swing.JScrollPane divisionsScroll; |
|---|
| 428 | private javax.swing.JButton divisionsSelectAllButton; |
|---|
| 429 | private javax.swing.JTable divisionsTable; |
|---|
| 430 | private javax.swing.JButton divisionsUnselectAllButton; |
|---|
| 431 | private javax.swing.JButton exitButton; |
|---|
| 432 | private javax.swing.JPanel jPanel1; |
|---|
| 433 | private javax.swing.JButton jurisdictionUnselectAllButton; |
|---|
| 434 | private javax.swing.JLabel jurisdictionsLabel; |
|---|
| 435 | private javax.swing.JScrollPane jurisdictionsScroll; |
|---|
| 436 | private javax.swing.JButton jurisdictionsSelectAllButton; |
|---|
| 437 | private javax.swing.JTable jurisdictionsTable; |
|---|
| 438 | private javax.swing.JScrollPane logScroll; |
|---|
| 439 | private javax.swing.JTable logTable; |
|---|
| 440 | private javax.swing.JButton printButton; |
|---|
| 441 | private javax.swing.JButton refreshButton; |
|---|
| 442 | private javax.swing.JButton selectAllButton; |
|---|
| 443 | private javax.swing.JCheckBox showAVLData; |
|---|
| 444 | private javax.swing.JCheckBox showRadioLogDataCheckBox; |
|---|
| 445 | private javax.swing.JCheckBox showUnitsByAbbreviatedNameCheckBox; |
|---|
| 446 | private javax.swing.JLabel stationsLabel; |
|---|
| 447 | private javax.swing.JScrollPane stationsScroll; |
|---|
| 448 | private javax.swing.JButton stationsSelectAllButton; |
|---|
| 449 | private javax.swing.JTable stationsTable; |
|---|
| 450 | private javax.swing.JButton stationsUnselectAllButton; |
|---|
| 451 | private javax.swing.JComboBox toCombo; |
|---|
| 452 | private javax.swing.JLabel toLabel; |
|---|
| 453 | private javax.swing.JLabel unitsLabel; |
|---|
| 454 | private javax.swing.JScrollPane unitsScroll; |
|---|
| 455 | private javax.swing.JButton unitsSelectAllButton; |
|---|
| 456 | private javax.swing.JTable unitsTable; |
|---|
| 457 | private javax.swing.JButton unitsUnselectButton; |
|---|
| 458 | private javax.swing.JButton unselectAllButton; |
|---|
| 459 | // End of variables declaration |
|---|
| 460 | } |
|---|