/[classpath]/classpath/javax/swing/plaf/metal/MetalLookAndFeel.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/metal/MetalLookAndFeel.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by mkoch, Wed Dec 22 16:54:13 2004 UTC revision 1.9 by mkoch, Mon Jan 3 16:50:06 2005 UTC
# Line 40  package javax.swing.plaf.metal; Line 40  package javax.swing.plaf.metal;
40    
41  import javax.swing.UIDefaults;  import javax.swing.UIDefaults;
42  import javax.swing.plaf.ColorUIResource;  import javax.swing.plaf.ColorUIResource;
43    import javax.swing.plaf.FontUIResource;
44  import javax.swing.plaf.basic.BasicLookAndFeel;  import javax.swing.plaf.basic.BasicLookAndFeel;
45    
46  public class MetalLookAndFeel extends BasicLookAndFeel  public class MetalLookAndFeel extends BasicLookAndFeel
# Line 142  public class MetalLookAndFeel extends Ba Line 143  public class MetalLookAndFeel extends Ba
143      return theme.getControlTextColor();      return theme.getControlTextColor();
144    }    }
145    
146      public static FontUIResource getControlTextFont()
147      {
148        return theme.getControlTextFont();
149      }
150    
151    public static ColorUIResource getDesktopColor()    public static ColorUIResource getDesktopColor()
152    {    {
153      return theme.getDesktopColor();      return theme.getDesktopColor();
# Line 192  public class MetalLookAndFeel extends Ba Line 198  public class MetalLookAndFeel extends Ba
198      return theme.getMenuSelectedForeground();      return theme.getMenuSelectedForeground();
199    }    }
200    
201      public static FontUIResource getMenuTextFont()
202      {
203        return theme.getMenuTextFont();
204      }
205    
206    public static ColorUIResource getPrimaryControl()    public static ColorUIResource getPrimaryControl()
207    {    {
208      return theme.getPrimaryControl();      return theme.getPrimaryControl();
# Line 227  public class MetalLookAndFeel extends Ba Line 238  public class MetalLookAndFeel extends Ba
238      return theme.getSeparatorForeground();      return theme.getSeparatorForeground();
239    }    }
240    
241      public static FontUIResource getSubTextFont()
242      {
243        return theme.getSubTextFont();
244      }
245    
246    public static ColorUIResource getSystemTextColor()    public static ColorUIResource getSystemTextColor()
247    {    {
248      return theme.getSystemTextColor();      return theme.getSystemTextColor();
249    }    }
250    
251      public static FontUIResource getSystemTextFont()
252      {
253        return theme.getSystemTextFont();
254      }
255    
256    public static ColorUIResource getTextHighlightColor()    public static ColorUIResource getTextHighlightColor()
257    {    {
258      return theme.getTextHighlightColor();      return theme.getTextHighlightColor();
# Line 242  public class MetalLookAndFeel extends Ba Line 263  public class MetalLookAndFeel extends Ba
263      return theme.getUserTextColor();      return theme.getUserTextColor();
264    }    }
265    
266      public static FontUIResource getUserTextFont()
267      {
268        return theme.getUserTextFont();
269      }
270    
271    public static ColorUIResource getWhite()    public static ColorUIResource getWhite()
272    {    {
273      return theme.getWhite();      return theme.getWhite();
# Line 257  public class MetalLookAndFeel extends Ba Line 283  public class MetalLookAndFeel extends Ba
283      return theme.getWindowTitleBackground();      return theme.getWindowTitleBackground();
284    }    }
285    
286      public static FontUIResource getWindowTitleFont()
287      {
288        return theme.getWindowTitleFont();
289      }
290    
291    public static ColorUIResource getWindowTitleForeground()    public static ColorUIResource getWindowTitleForeground()
292    {    {
293      return theme.getWindowTitleForeground();      return theme.getWindowTitleForeground();

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26