Ignore:
Timestamp:
2012-12-28T01:28:06+01:00 (12 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed2/src/symbols/Notices.java

    r29132 r29134  
    1212import java.awt.BasicStroke;
    1313import java.awt.Color;
     14import java.awt.Font;
    1415import java.awt.Rectangle;
    1516import java.awt.geom.*;
    1617import java.util.ArrayList;
    1718
     19import symbols.Symbols.Caption;
    1820import symbols.Symbols.Delta;
    1921import symbols.Symbols.Handle;
     
    5355        private static final ArrayList<Instr> Speedboat = new ArrayList<Instr>();
    5456        private static final ArrayList<Instr> Sport = new ArrayList<Instr>();
     57        static {
     58                Sport.add(new Instr(Prim.FONT, new Font("Arial", Font.BOLD, 15)));
     59                Sport.add(new Instr(Prim.TEXT, new Caption("SPORT", (float)-25.0, (float)5.0)));
     60        }
    5561        private static final ArrayList<Instr> Turn = new ArrayList<Instr>();
    5662        static {
     
    6470        }
    6571        private static final ArrayList<Instr> VHF = new ArrayList<Instr>();
     72        static {
     73                VHF.add(new Instr(Prim.FONT, new Font("Arial", Font.BOLD, 20)));
     74                VHF.add(new Instr(Prim.TEXT, new Caption("VHF", (float)-20.0, (float)-5.0)));
     75        }
    6676        private static final ArrayList<Instr> Waterbike = new ArrayList<Instr>();
    6777        private static final ArrayList<Instr> Waterski = new ArrayList<Instr>();
     
    204214                NoticeA10b.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.NoticeA10a, 1.0, 0, 0, new Delta(Handle.CC, AffineTransform.getRotateInstance(Math.toRadians(180.0))), null)));
    205215        }
    206         public static final ArrayList<Instr> NoticeA11= new ArrayList<Instr>();
    207         static {
    208                 NoticeA11.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
    209                 NoticeA11.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.Motor, 1.0, 0, 0, null, null)));
     216        public static final ArrayList<Instr> NoticeA12= new ArrayList<Instr>();
     217        static {
     218                NoticeA12.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
     219                NoticeA12.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.Motor, 1.0, 0, 0, null, null)));
     220        }
     221        public static final ArrayList<Instr> NoticeA13= new ArrayList<Instr>();
     222        static {
     223                NoticeA13.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
     224                NoticeA13.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.Sport, 1.0, 0, 0, null, null)));
     225        }
     226        public static final ArrayList<Instr> NoticeA14= new ArrayList<Instr>();
     227        static {
     228                NoticeA14.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
     229                NoticeA14.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.Waterski, 1.0, 0, 0, null, null)));
     230        }
     231        public static final ArrayList<Instr> NoticeA15= new ArrayList<Instr>();
     232        static {
     233                NoticeA15.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
     234                NoticeA15.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.Sailboat, 1.0, 0, 0, null, null)));
     235        }
     236        public static final ArrayList<Instr> NoticeA16= new ArrayList<Instr>();
     237        static {
     238                NoticeA16.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
     239                NoticeA16.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.Rowboat, 1.0, 0, 0, null, null)));
     240        }
     241        public static final ArrayList<Instr> NoticeA17= new ArrayList<Instr>();
     242        static {
     243                NoticeA17.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
     244                NoticeA17.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.Sailboard, 1.0, 0, 0, null, null)));
     245        }
     246        public static final ArrayList<Instr> NoticeA18= new ArrayList<Instr>();
     247        static {
     248                NoticeA18.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
     249                NoticeA18.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.Speedboat, 1.0, 0, 0, null, null)));
     250        }
     251        public static final ArrayList<Instr> NoticeA19= new ArrayList<Instr>();
     252        static {
     253                NoticeA19.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
     254                NoticeA19.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.Slipway, 1.0, 0, 0, null, null)));
     255        }
     256        public static final ArrayList<Instr> NoticeA20= new ArrayList<Instr>();
     257        static {
     258                NoticeA20.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
     259                NoticeA20.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.Waterbike, 1.0, 0, 0, null, null)));
    210260        }
    211261        public static final ArrayList<Instr> NoticeB2a = new ArrayList<Instr>();
     
    218268        public static final ArrayList<Instr> NoticeB7 = new ArrayList<Instr>();
    219269        public static final ArrayList<Instr> NoticeB8 = new ArrayList<Instr>();
     270        public static final ArrayList<Instr> NoticeB11a = new ArrayList<Instr>();
     271        static {
     272                NoticeB11a.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
     273                NoticeB11a.add(new Instr(Prim.SYMB, new Symbols.Symbol(Notices.VHF, 1.0, 0, 0, null, null)));
     274        }
    220275        public static final ArrayList<Instr> NoticeC1 = new ArrayList<Instr>();
    221276        public static final ArrayList<Instr> NoticeC2 = new ArrayList<Instr>();
Note: See TracChangeset for help on using the changeset viewer.