KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwtx > swing > LookAndFeel


1 /*
2    SwingWT
3    Copyright(c)2003-2004, R. Rawson-Tetley
4
5    For more information on distributing and using this program, please
6    see the accompanying "COPYING" file.
7
8    Contact me by electronic mail: bobintetley@users.sourceforge.net
9
10    $Log: LookAndFeel.java,v $
11    Revision 1.3 2003/12/14 09:13:38 bobintetley
12    Added CVS log to source headers
13
14 */

15
16 package swingwtx.swing;
17
18 /**
19  * Dumb skeleton of a look and feel class - should be enough for existing
20  * ones to compile, but not interfere with native looks
21  */

22 public abstract class LookAndFeel {
23     public LookAndFeel() {}
24     public static void installColors(JComponent c, String JavaDoc defaultBgName, String JavaDoc defaultFgName) {}
25     public static void installColorsAndFont(JComponent c, String JavaDoc defaultBgName, String JavaDoc defaultFgName, String JavaDoc defaultFontName) {}
26     public static void installBorder(JComponent c, String JavaDoc defaultBorderName) {}
27     public static void uninstallBorder(JComponent c) {}
28     public static Object JavaDoc makeIcon(final Class JavaDoc baseClass, final String JavaDoc gifFile) {return null;}
29     public void provideErrorFeedback(swingwt.awt.Component component) {}
30     public static Object JavaDoc getDesktopPropertyValue(String JavaDoc systemPropertyName, Object JavaDoc fallbackValue) {return null;}
31     public abstract String JavaDoc getName();
32     public abstract String JavaDoc getID();
33     public abstract String JavaDoc getDescription();
34     public boolean getSupportsWindowDecorations() {return true;}
35     public abstract boolean isNativeLookAndFeel();
36     public abstract boolean isSupportedLookAndFeel();
37     public void initialize() {}
38     public void uninitialize() {}
39 }
40
Popular Tags