Changeset 27035 in osm for applications/editors/josm/plugins/smed/plugs
- Timestamp:
- 2011-11-10T18:22:19+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/smed/plugs/oseam/src
- Files:
-
- 8 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/images/FogHornButton.svg
r27032 r27035 4736 4736 <dc:type 4737 4737 rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> 4738 <dc:title ></dc:title>4738 <dc:title /> 4739 4739 </cc:Work> 4740 4740 </rdf:RDF> … … 4758 4758 inkscape:export-xdpi="90" 4759 4759 inkscape:export-ydpi="90" /> 4760 <path 4761 sodipodi:type="arc" 4762 style="fill:none;stroke:#000000;stroke-width:1.34284258;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 4763 id="path8487" 4764 sodipodi:cx="-22.187502" 4765 sodipodi:cy="4.968749" 4766 sodipodi:rx="11.750001" 4767 sodipodi:ry="11.218751" 4768 d="m -10.437501,4.968749 a 11.750001,11.218751 0 0 1 -9.013957,10.910365" 4769 transform="matrix(0.72765951,0,0,0.76211692,27.685572,1026.2279)" 4770 sodipodi:start="0" 4771 sodipodi:end="1.3357842" 4772 sodipodi:open="true" /> 4773 <path 4774 sodipodi:open="true" 4775 sodipodi:end="1.3357842" 4776 sodipodi:start="0" 4777 transform="matrix(0.72765951,0,0,-0.76211692,27.685572,1053.4227)" 4778 d="m -10.437501,4.968749 a 11.750001,11.218751 0 0 1 -9.013957,10.910365" 4779 sodipodi:ry="11.218751" 4780 sodipodi:rx="11.750001" 4781 sodipodi:cy="4.968749" 4782 sodipodi:cx="-22.187502" 4783 id="path8489" 4784 style="fill:none;stroke:#000000;stroke-width:1.34284258;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 4785 sodipodi:type="arc" /> 4786 <path 4787 style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" 4788 d="m 20.090626,1030.296 0,18.8438" 4789 id="path8491" 4790 inkscape:connector-curvature="0" /> 4791 <path 4792 style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" 4793 d="m 13.565626,1038.3398 -7.0312503,1.5187" 4794 id="path8493" 4795 inkscape:connector-curvature="0" /> 4796 <path 4797 inkscape:connector-curvature="0" 4798 id="path8495" 4799 d="m 13.565626,1041.321 -7.0312503,-1.5187" 4800 style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" /> 4801 <path 4802 sodipodi:type="arc" 4803 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1.593822;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 4804 id="path8497" 4805 sodipodi:cx="-34.6875" 4806 sodipodi:cy="7.249999" 4807 sodipodi:rx="2.6875002" 4808 sodipodi:ry="3.0625002" 4809 d="m -32,7.249999 a 2.6875002,3.0625002 0 1 1 -5.375,0 2.6875002,3.0625002 0 1 1 5.375,0 z" 4810 transform="matrix(0.66976738,0,0,0.58775506,28.504433,1035.5973)" /> 4760 <g 4761 id="g9261"> 4762 <path 4763 sodipodi:open="true" 4764 sodipodi:end="1.3357842" 4765 sodipodi:start="0" 4766 transform="matrix(0.72765951,0,0,0.76211692,27.685572,1026.2279)" 4767 d="m -10.437501,4.968749 c 0,5.189643 -3.727976,9.701931 -9.013957,10.910365" 4768 sodipodi:ry="11.218751" 4769 sodipodi:rx="11.750001" 4770 sodipodi:cy="4.968749" 4771 sodipodi:cx="-22.187502" 4772 id="path8487" 4773 style="fill:none;stroke:#000000;stroke-width:1.34284258;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 4774 sodipodi:type="arc" /> 4775 <path 4776 sodipodi:type="arc" 4777 style="fill:none;stroke:#000000;stroke-width:1.34284258;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 4778 id="path8489" 4779 sodipodi:cx="-22.187502" 4780 sodipodi:cy="4.968749" 4781 sodipodi:rx="11.750001" 4782 sodipodi:ry="11.218751" 4783 d="m -10.437501,4.968749 c 0,5.189643 -3.727976,9.701931 -9.013957,10.910365" 4784 transform="matrix(0.72765951,0,0,-0.76211692,27.685572,1053.4227)" 4785 sodipodi:start="0" 4786 sodipodi:end="1.3357842" 4787 sodipodi:open="true" /> 4788 <path 4789 inkscape:connector-curvature="0" 4790 id="path8491" 4791 d="m 20.090626,1030.296 0,18.8438" 4792 style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" /> 4793 <path 4794 inkscape:connector-curvature="0" 4795 id="path8493" 4796 d="m 13.565626,1038.3398 -7.0312503,1.5187" 4797 style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" /> 4798 <path 4799 style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" 4800 d="m 13.565626,1041.321 -7.0312503,-1.5187" 4801 id="path8495" 4802 inkscape:connector-curvature="0" /> 4803 <path 4804 transform="matrix(0.66976738,0,0,0.58775506,28.504433,1035.5973)" 4805 d="m -32,7.249999 c 0,1.6913722 -1.203235,3.0625 -2.6875,3.0625 -1.484265,0 -2.6875,-1.3711278 -2.6875,-3.0625 0,-1.6913721 1.203235,-3.0625002 2.6875,-3.0625002 1.484265,0 2.6875,1.3711281 2.6875,3.0625002 z" 4806 sodipodi:ry="3.0625002" 4807 sodipodi:rx="2.6875002" 4808 sodipodi:cy="7.249999" 4809 sodipodi:cx="-34.6875" 4810 id="path8497" 4811 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1.593822;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 4812 sodipodi:type="arc" /> 4813 </g> 4811 4814 </g> 4812 4815 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/msg/messages.properties
r27032 r27035 100 100 PartiallyObscured=Partially obscured 101 101 Orientation=Orientation 102 Multiplicity=Multiplicity 102 103 Exhibition=Exhibition 103 104 24h=24h … … 105 106 Night=Night 106 107 Fog=Fog 108 109 VertDisp=Vertically Disposed 110 HorizDisp=Horizontally Disposed 111 Directional=Directional 112 Upper=Upper 113 Lower=Lower 114 Rear=Rear 115 Front=Front 116 Aero=Aero 117 AirObstruction=Air Obstruction 118 FogDetector=Fog Detector 119 Floodlight=Floodlight 120 Striplight=Striplight 121 Subsidiary=Subsidiary 122 Spotlight=Spotlight 123 MoireEffect=Moire Effect 124 Emergency=Emergency 125 Bearing=Bearing 107 126 108 127 RemColour=Remove colour … … 226 245 Siren=Siren 227 246 Diaphone=Diaphone 247 Gong=Gong 228 248 Bell=Bell 229 249 Whistle=Whistle -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/msg/messages_en.properties
r27032 r27035 100 100 PartiallyObscured=Partially obscured 101 101 Orientation=Orientation 102 Multiplicity=Multiplicity 102 103 Exhibition=Exhibition 103 104 24h=24h … … 105 106 Night=Night 106 107 Fog=Fog 108 109 VertDisp=Vertically Disposed 110 HorizDisp=Horizontally Disposed 111 Directional=Directional 112 Upper=Upper 113 Lower=Lower 114 Rear=Rear 115 Front=Front 116 Aero=Aero 117 AirObstruction=Air Obstruction 118 FogDetector=Fog Detector 119 Floodlight=Floodlight 120 Striplight=Striplight 121 Subsidiary=Subsidiary 122 Spotlight=Spotlight 123 MoireEffect=Moire Effect 124 Emergency=Emergency 125 Bearing=Bearing 107 126 108 127 RemColour=Remove colour … … 226 245 Siren=Siren 227 246 Diaphone=Diaphone 247 Gong=Gong 228 248 Bell=Bell 229 249 Whistle=Whistle -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelChan.java
r27023 r27035 174 174 panelSaw.setVisible(false); 175 175 } 176 topmarkButton.setBorderPainted(dlg.mark.hasTopmark()); 176 177 if (dlg.mark.isValid()) { 177 topmarkButton.setBorderPainted(dlg.mark.hasTopmark());178 178 topmarkButton.setVisible(true); 179 179 dlg.panelMain.moreButton.setVisible(true); -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelFog.java
r27032 r27035 20 20 public JRadioButton sirenButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/OffButton.png"))); 21 21 public JRadioButton diaButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/OffButton.png"))); 22 public JRadioButton bellButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/ OffButton.png")));23 public JRadioButton whisButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/ OffButton.png")));24 public JRadioButton gongButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/ OffButton.png")));25 public JRadioButton explosButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/ OffButton.png")));22 public JRadioButton bellButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/FogBellButton.png"))); 23 public JRadioButton whisButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/FogWhisButton.png"))); 24 public JRadioButton gongButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/FogGongButton.png"))); 25 public JRadioButton explosButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/FogExplosButton.png"))); 26 26 private EnumMap<Fog, JRadioButton> fogs = new EnumMap<Fog, JRadioButton>(Fog.class); 27 27 private ActionListener alFog = new ActionListener() { … … 73 73 dlg = dia; 74 74 this.setLayout(null); 75 this.add(getFogButton(noFogButton, 0, 5, 27, 27, "NoFog", Fog.NONE), null); 76 this.add(getFogButton(yesFogButton, 0, 35, 27, 27, "FogSignal", Fog.UNKNOWN), null); 77 this.add(getFogButton(hornButton, 0, 65, 27, 27, "Horn", Fog.HORN), null); 78 this.add(getFogButton(sirenButton, 0, 95, 27, 27, "Siren", Fog.SIREN), null); 79 this.add(getFogButton(diaButton, 30, 5, 27, 27, "Diaphone", Fog.DIA), null); 80 this.add(getFogButton(bellButton, 30, 35, 27, 27, "Bell", Fog.BELL), null); 81 this.add(getFogButton(whisButton, 30, 65, 27, 27, "Whistle", Fog.WHIS), null); 82 this.add(getFogButton(explosButton, 30, 95, 27, 27, "Explosion", Fog.EXPLOS), null); 75 this.add(getFogButton(noFogButton, 0, 2, 27, 27, "NoFog", Fog.NONE), null); 76 this.add(getFogButton(yesFogButton, 0, 32, 27, 27, "FogSignal", Fog.UNKNOWN), null); 77 this.add(getFogButton(hornButton, 0, 62, 27, 27, "Horn", Fog.HORN), null); 78 this.add(getFogButton(sirenButton, 0, 92, 27, 27, "Siren", Fog.SIREN), null); 79 this.add(getFogButton(gongButton, 0, 122, 27, 27, "Gong", Fog.SIREN), null); 80 this.add(getFogButton(diaButton, 30, 2, 27, 27, "Diaphone", Fog.DIA), null); 81 this.add(getFogButton(bellButton, 30, 32, 27, 27, "Bell", Fog.BELL), null); 82 this.add(getFogButton(whisButton, 30, 62, 27, 27, "Whistle", Fog.WHIS), null); 83 this.add(getFogButton(explosButton, 30, 92, 27, 27, "Explosion", Fog.EXPLOS), null); 83 84 84 85 groupLabel = new JLabel(Messages.getString("Group"), SwingConstants.CENTER); -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelLights.java
r26999 r27035 98 98 this.add(trafficCatBox, null); 99 99 trafficCatBox.addActionListener(alTrafficCatBox); 100 addTCItem( Messages.getString("UKCategory"), Cat.NONE);100 addTCItem("", Cat.NONE); 101 101 addTCItem(Messages.getString("Traffic"), Cat.SIS_TRFC); 102 102 addTCItem(Messages.getString("PortControl"), Cat.SIS_PTCL); … … 115 115 this.add(warningCatBox, null); 116 116 warningCatBox.addActionListener(alWarningCatBox); 117 addWCItem( Messages.getString("UKCategory"), Cat.NONE);117 addWCItem("", Cat.NONE); 118 118 addWCItem(Messages.getString("Danger"), Cat.SIS_DNGR); 119 119 addWCItem(Messages.getString("Storm"), Cat.SIS_STRM); … … 136 136 137 137 public void syncPanel() { 138 138 trafficCatBox.setSelectedIndex(0); 139 for (Cat cat : trafficCats.keySet()) { 140 int item = trafficCats.get(cat); 141 if (dlg.mark.getCategory() == cat) 142 trafficCatBox.setSelectedIndex(item); 143 } 144 warningCatBox.setSelectedIndex(0); 145 for (Cat cat : warningCats.keySet()) { 146 int item = warningCats.get(cat); 147 if (dlg.mark.getCategory() == cat) 148 warningCatBox.setSelectedIndex(item); 149 } 150 for (Obj obj : objects.keySet()) { 151 JRadioButton button = objects.get(obj); 152 button.setBorderPainted(dlg.mark.getObject() == obj); 153 } 139 154 } 140 155 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelLit.java
r27032 r27035 71 71 } 72 72 }; 73 public JLabel multipleLabel; 74 public JTextField multipleBox; 75 private ActionListener alMultiple = new ActionListener() { 76 public void actionPerformed(java.awt.event.ActionEvent e) { 77 dlg.mark.setLightMultiple(multipleBox.getText()); 78 } 79 }; 73 80 public JLabel categoryLabel; 74 81 public JComboBox categoryBox; … … 80 87 if (idx == categoryBox.getSelectedIndex()) 81 88 dlg.mark.setLightAtt(Att.LIT, 0, lit); 89 } 90 if (dlg.mark.getLightAtt(Att.LIT, 0) == Lit.DIR) { 91 orientationLabel.setVisible(true); 92 orientationBox.setVisible(true); 93 multipleLabel.setVisible(false); 94 multipleBox.setVisible(false); 95 } else if ((dlg.mark.getLightAtt(Att.LIT, 0) == Lit.VERT) || (dlg.mark.getLightAtt(Att.LIT, 0) == Lit.HORIZ)) { 96 orientationLabel.setVisible(false); 97 orientationBox.setVisible(false); 98 multipleLabel.setVisible(true); 99 multipleBox.setVisible(true); 100 } else { 101 orientationLabel.setVisible(false); 102 orientationBox.setVisible(false); 103 multipleLabel.setVisible(false); 104 multipleBox.setVisible(false); 82 105 } 83 106 } … … 185 208 this.add(categoryBox, null); 186 209 addCatItem("", Lit.UNKNOWN); 187 addCatItem(Messages.getString("VerticallyDisposedLights"), Lit.VERT); 188 addCatItem(Messages.getString("HorizontallyDisposedLights"), Lit.HORIZ); 210 addCatItem(Messages.getString("VertDisp"), Lit.VERT); 211 addCatItem(Messages.getString("HorizDisp"), Lit.HORIZ); 212 addCatItem(Messages.getString("Directional"), Lit.DIR); 189 213 addCatItem(Messages.getString("Upper"), Lit.UPPER); 190 214 addCatItem(Messages.getString("Lower"), Lit.LOWER); 191 215 addCatItem(Messages.getString("Rear"), Lit.REAR); 192 216 addCatItem(Messages.getString("Front"), Lit.FRONT); 193 addCatItem(Messages.getString("Aero Light"), Lit.AERO);194 addCatItem(Messages.getString("AirObstruction Light"), Lit.AIROBS);195 addCatItem(Messages.getString("FogDetector Light"), Lit.FOGDET);217 addCatItem(Messages.getString("Aero"), Lit.AERO); 218 addCatItem(Messages.getString("AirObstruction"), Lit.AIROBS); 219 addCatItem(Messages.getString("FogDetector"), Lit.FOGDET); 196 220 addCatItem(Messages.getString("Floodlight"), Lit.FLOOD); 197 221 addCatItem(Messages.getString("Striplight"), Lit.STRIP); 198 addCatItem(Messages.getString("Subsidiary Light"), Lit.SUBS);222 addCatItem(Messages.getString("Subsidiary"), Lit.SUBS); 199 223 addCatItem(Messages.getString("Spotlight"), Lit.SPOT); 200 addCatItem(Messages.getString("MoireEffect Light"), Lit.MOIRE);201 addCatItem(Messages.getString("Emergency Light"), Lit.EMERG);202 addCatItem(Messages.getString("Bearing Light"), Lit.BEAR);224 addCatItem(Messages.getString("MoireEffect"), Lit.MOIRE); 225 addCatItem(Messages.getString("Emergency"), Lit.EMERG); 226 addCatItem(Messages.getString("Bearing"), Lit.BEAR); 203 227 categoryBox.addActionListener(alCategory); 204 228 … … 230 254 orientationLabel = new JLabel(Messages.getString("Orientation"), SwingConstants.CENTER); 231 255 orientationLabel.setBounds(new Rectangle(188, 80, 80, 20)); 256 orientationLabel.setVisible(false); 232 257 this.add(orientationLabel, null); 233 258 orientationBox = new JTextField(); 234 259 orientationBox.setBounds(new Rectangle(208, 100, 40, 20)); 235 260 orientationBox.setHorizontalAlignment(SwingConstants.CENTER); 261 orientationBox.setVisible(false); 236 262 this.add(orientationBox, null); 237 263 orientationBox.addActionListener(alOrientation); 264 265 multipleLabel = new JLabel(Messages.getString("Multiplicity"), SwingConstants.CENTER); 266 multipleLabel.setBounds(new Rectangle(188, 80, 80, 20)); 267 multipleLabel.setVisible(false); 268 this.add(multipleLabel, null); 269 multipleBox = new JTextField(); 270 multipleBox.setBounds(new Rectangle(208, 100, 40, 20)); 271 multipleBox.setHorizontalAlignment(SwingConstants.CENTER); 272 multipleBox.setVisible(false); 273 this.add(multipleBox, null); 274 multipleBox.addActionListener(alMultiple); 238 275 } 239 276 240 277 public void syncPanel() { 278 orientationLabel.setVisible(false); 279 orientationBox.setVisible(false); 280 multipleLabel.setVisible(false); 281 multipleBox.setVisible(false); 241 282 } 242 283 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java
r27032 r27035 154 154 GrpMAP.put(Obj.BOYSAW, Grp.SAW); 155 155 GrpMAP.put(Obj.BOYSPP, Grp.SPP); 156 GrpMAP.put(Obj.LITMAJ, Grp.LIT);157 GrpMAP.put(Obj.LITMIN, Grp.LIT);158 GrpMAP.put(Obj.LITFLT, Grp.FLT);159 156 GrpMAP.put(Obj.FLTCAR, Grp.CAR); 160 157 GrpMAP.put(Obj.FLTLAT, Grp.LAT); … … 162 159 GrpMAP.put(Obj.FLTISD, Grp.ISD); 163 160 GrpMAP.put(Obj.FLTSPP, Grp.SPP); 161 GrpMAP.put(Obj.LITFLT, Grp.FLT); 162 GrpMAP.put(Obj.LITMAJ, Grp.LIT); 163 GrpMAP.put(Obj.LITMIN, Grp.LIT); 164 164 GrpMAP.put(Obj.LITVES, Grp.LIT); 165 165 GrpMAP.put(Obj.LNDMRK, Grp.LIT); … … 587 587 } 588 588 589 private String lightMultiple = ""; 590 591 public String getLightMiltiple() { 592 return lightMultiple; 593 } 594 595 public void setLightMultiple(String str) { 596 lightMultiple = str; 597 } 598 589 599 public enum Pat { 590 600 NONE, HORIZ, VERT, DIAG, SQUARE, BORDER … … 700 710 } 701 711 702 private String RaconGroup = "";712 private String raconGroup = ""; 703 713 704 714 public String getRaconGroup() { 705 return RaconGroup;715 return raconGroup; 706 716 } 707 717 708 718 public void setRaconGroup(String grp) { 709 RaconGroup = grp;710 } 711 712 private String RaconSequence = "";719 raconGroup = grp; 720 } 721 722 private String raconSequence = ""; 713 723 714 724 public String getRaconSequence() { 715 return RaconSequence;725 return raconSequence; 716 726 } 717 727 718 728 public void setRaconSequence(String seq) { 719 RaconSequence = seq;720 } 721 722 private String RaconPeriod = "";729 raconSequence = seq; 730 } 731 732 private String raconPeriod = ""; 723 733 724 734 public String getRaconPeriod() { 725 return RaconPeriod;735 return raconPeriod; 726 736 } 727 737 728 738 public void setRaconPeriod(String per) { 729 RaconPeriod = validDecimal(per);730 } 731 732 private String RaconRange = "";739 raconPeriod = validDecimal(per); 740 } 741 742 private String raconRange = ""; 733 743 734 744 public String getRaconRange() { 735 return RaconRange;745 return raconRange; 736 746 } 737 747 738 748 public void setRaconRange(String rng) { 739 RaconRange = validDecimal(rng);740 } 741 742 private String RaconSector1 = "";749 raconRange = validDecimal(rng); 750 } 751 752 private String raconSector1 = ""; 743 753 744 754 public String getRaconSector1() { 745 return RaconSector1;755 return raconSector1; 746 756 } 747 757 748 758 public void setRaconSector1(String sec) { 749 RaconSector1 = validDecimal(sec);750 } 751 752 private String RaconSector2 = "";759 raconSector1 = validDecimal(sec); 760 } 761 762 private String raconSector2 = ""; 753 763 754 764 public String getRaconSector2() { 755 return RaconSector2;765 return raconSector2; 756 766 } 757 767 758 768 public void setRaconSector2(String sec) { 759 RaconSector2 = validDecimal(sec);760 } 761 762 private boolean FogSignal = false;769 raconSector2 = validDecimal(sec); 770 } 771 772 private boolean fogSignal = false; 763 773 764 774 public boolean hasFog() { 765 return FogSignal;775 return fogSignal; 766 776 } 767 777 768 778 public void setFog(boolean fog) { 769 FogSignal = fog;779 fogSignal = fog; 770 780 } 771 781 … … 786 796 } 787 797 788 private Fog FogSound = Fog.NONE;798 private Fog fogSound = Fog.NONE; 789 799 790 800 public Fog getFogSound() { 791 return FogSound;801 return fogSound; 792 802 } 793 803 794 804 public void setFogSound(Fog sound) { 795 FogSound = sound;796 } 797 798 private String FogGroup = "";805 fogSound = sound; 806 } 807 808 private String fogGroup = ""; 799 809 800 810 public String getFogGroup() { 801 return FogGroup;811 return fogGroup; 802 812 } 803 813 804 814 public void setFogGroup(String grp) { 805 FogGroup = grp;806 } 807 808 private String FogSequence = "";815 fogGroup = grp; 816 } 817 818 private String fogSequence = ""; 809 819 810 820 public String getFogSequence() { 811 return FogSequence;821 return fogSequence; 812 822 } 813 823 814 824 public void setFogSequence(String seq) { 815 FogSequence = seq;816 } 817 818 private String FogRange = "";825 fogSequence = seq; 826 } 827 828 private String fogRange = ""; 819 829 820 830 public String getFogRange() { 821 return FogRange;831 return fogRange; 822 832 } 823 833 824 834 public void setFogRange(String rng) { 825 FogRange = validDecimal(rng);826 } 827 828 private String FogPeriod = "";835 fogRange = validDecimal(rng); 836 } 837 838 private String fogPeriod = ""; 829 839 830 840 public String getFogPeriod() { 831 return FogPeriod;841 return fogPeriod; 832 842 } 833 843 834 844 public void setFogPeriod(String per) { 835 FogPeriod = validDecimal(per);845 fogPeriod = validDecimal(per); 836 846 } 837 847 … … 1192 1202 setCategory(Cat.NONE); 1193 1203 } else if (getObjColour(1) == Col.YELLOW) { 1204 setObject(Obj.FLTCAR); 1194 1205 if (getObjColour(2) == Col.BLACK) { 1195 1206 setCategory(Cat.CAM_EAST);
Note:
See TracChangeset
for help on using the changeset viewer.