Subversion Repository Public Repository

litesoft

Diff Revisions 886 vs 887 for /trunk/mobileGWT/mgwt/src/main/java/com/googlecode/mgwt/ui/client/MGWTStyle.java

Diff revisions: vs.
  @@ -11,18 +11,18 @@
11 11
12 12 /**
13 13 * The {@link MGWTStyle} class provides an easy access to the default theme of every gwt app.
14 - *
14 + *
15 15 * If widgets are created without a specific theme they ask MGWTStyle for the default theme.
16 - *
16 + *
17 17 * The default theme can be changed at start up time of an mgwt app <b>once</b>.
18 - *
18 + *
19 19 * After startup the bundle can not be changed. If no bundle is set, MGWTStyle creates the MGWT
20 20 * Default theme.
21 - *
21 + *
22 22 * If you like to create your own theme consult the docs at: <a
23 23 * href="http://code.google.com/p/mgwt/wiki/Styling" >http://code.google.com/p/mgwt/wiki/Styling</a>
24 - *
25 - *
24 + *
25 + *
26 26 * @author Daniel Kurka
27 27 */
28 28 public class MGWTStyle {
  @@ -31,10 +31,10 @@
31 31
32 32 /**
33 33 * get the default bundle of this mgwt app
34 - *
34 + *
35 35 * @return the default bundle
36 36 */
37 - @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "LI_LAZY_INIT_UPDATE_STATIC", justification = "no multithreading in gwt code")
37 + // @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "LI_LAZY_INIT_UPDATE_STATIC", justification = "no multithreading in gwt code")
38 38 public static final MGWTTheme getTheme() {
39 39 if (theme == null) {
40 40 theme = new MGWTThemeBaseThemeStandardImpl();
  @@ -46,12 +46,12 @@
46 46
47 47 /**
48 48 * Set the default bundle of this mgwt app
49 - *
49 + *
50 50 * <p>
51 51 * can only be called once at startup
52 52 * <p>
53 - *
54 - *
53 + *
54 + *
55 55 * @param newTheme the default bundle to use
56 56 */
57 57 public static final void setTheme(MGWTTheme newTheme) {
  @@ -64,7 +64,7 @@
64 64
65 65 /**
66 66 * Inject a given css file at the end of the head
67 - *
67 + *
68 68 * @param url the url of the css file
69 69 */
70 70 public static void injectStyleSheet(String url) {
  @@ -90,7 +90,7 @@
90 90
91 91 /**
92 92 * this routine provides access to match media from java
93 - *
93 + *
94 94 * @param mediaQuery the query to perform
95 95 * @return true if the query matches otherwise false
96 96 */