| 1 32 package net.sf.retrotranslator.runtime.java.lang; 33 34 import java.lang.annotation.*; 35 import java.text.*; 36 37 40 @Retention(RetentionPolicy.RUNTIME) 41 public @interface MyFormatter { 42 43 boolean isPlain() default false; 44 45 String pattern() default ""; 46 47 String lang() default "en"; 48 49 Class <? extends Format> format() default MessageFormat.class; 50 51 MyColor backgroundColor() default MyColor.RED; 52 53 MyStyle backgroundStyle() default @MyStyle(""); 54 55 int[] tabPositions() default {1, 2}; 56 57 String [] keywords() default {}; 58 59 MyColor[] colors() default {}; 60 61 MyStyle[] styles() default {}; 62 63 int[] numbers() default {1, 2, 3}; 64 65 } 66 | Popular Tags |