aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/swing/plaf/metal/MetalLookAndFeel.java
blob: 55ccc1ea8f1fa0bbcd08034ccea2aabee29c2be7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package javax.swing.plaf.metal;

import javax.swing.*;
import javax.swing.plaf.*;
import javax.swing.plaf.basic.*;


public class MetalLookAndFeel extends LookAndFeel
 {	   
     public boolean isNativeLookAndFeel()        { return true; }
     public boolean isSupportedLookAndFeel()     { return true; }
     public String getDescription()              { return "Metal look and feel"; }
     public String getID()                       { return "MetalLookAndFeel"; }
     public String getName()                     { return "MetalLookAndFeel"; }
     
     
     UIDefaults LAF_defaults;
     
     public MetalLookAndFeel()
     {
     }

     public UIDefaults getDefaults()
	 {
	   if (LAF_defaults == null)
	     LAF_defaults = new BasicDefaults();
	     
	     //      Returns the default values for this look and feel. 
	     return LAF_defaults;
	 }
 };