28 import java.awt.Color; 29 import java.awt.Dimension; 30 import java.awt.Insets; 31 import java.awt.Point; 32 33 34 /** 35 * This is a stubbed out placeholder class, intended to allow building 36 * WindowsLookAndFeel on Unix. This class is never actually called on 37 * Unix, and will be deleted when WindowsLookAndFeel is no longer built 38 * on Unix. 39 * 40 * @author Leif Samuelsson 41 */ 42 public final class ThemeReader { 43 44 public static boolean isThemed() { 45 return false; 46 } 47 48 public static void paintBackground(int[] buffer, String widget, 49 int part, int state, int x, int y, int w, int h, int stride) { 50 } 51 52 public static Insets getThemeMargins(String widget, int part, int state, int marginType) { 53 return null; 54 } 55 56 public static boolean isThemePartDefined(String widget, int part, int state) { 57 return false; 58 } 59 60 public static Color getColor(String widget, int part, int state, int property) { 61 return null; 62 } 63 64 public static int getInt(String widget, int part, int state, int property) { 65 return 0; 66 } 67 | 28 import java.awt.Color; 29 import java.awt.Dimension; 30 import java.awt.Insets; 31 import java.awt.Point; 32 33 34 /** 35 * This is a stubbed out placeholder class, intended to allow building 36 * WindowsLookAndFeel on Unix. This class is never actually called on 37 * Unix, and will be deleted when WindowsLookAndFeel is no longer built 38 * on Unix. 39 * 40 * @author Leif Samuelsson 41 */ 42 public final class ThemeReader { 43 44 public static boolean isThemed() { 45 return false; 46 } 47 48 public static boolean isXPStyleEnabled() { 49 return false; 50 } 51 52 public static void paintBackground(int[] buffer, String widget, 53 int part, int state, int x, int y, int w, int h, int stride) { 54 } 55 56 public static Insets getThemeMargins(String widget, int part, int state, int marginType) { 57 return null; 58 } 59 60 public static boolean isThemePartDefined(String widget, int part, int state) { 61 return false; 62 } 63 64 public static Color getColor(String widget, int part, int state, int property) { 65 return null; 66 } 67 68 public static int getInt(String widget, int part, int state, int property) { 69 return 0; 70 } 71 |