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

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

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

revision 1.3 by mark, Sat Jul 2 20:32:50 2005 UTC revision 1.4 by trebligd, Wed Aug 31 15:23:10 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package javax.swing.plaf.metal;  package javax.swing.plaf.metal;
40    
41    import javax.swing.JCheckBox;
42  import javax.swing.JComponent;  import javax.swing.JComponent;
43    import javax.swing.UIDefaults;
44  import javax.swing.plaf.ComponentUI;  import javax.swing.plaf.ComponentUI;
 import javax.swing.plaf.basic.BasicCheckBoxUI;  
45    
46    /**
47     * A UI delegate for the {@link JCheckBox} component under the
48     * {@link MetalLookAndFeel}.
49     */
50  public class MetalCheckBoxUI  public class MetalCheckBoxUI
51    extends BasicCheckBoxUI    extends MetalRadioButtonUI
52  {  {
53    
54    // FIXME: maybe replace by a Map of instances when this becomes stateful    // FIXME: maybe replace by a Map of instances when this becomes stateful
# Line 71  public class MetalCheckBoxUI Line 76  public class MetalCheckBoxUI
76        instance = new MetalCheckBoxUI();        instance = new MetalCheckBoxUI();
77      return instance;      return instance;
78    }    }
79      
80      /**
81       * Returns the prefix for properties defined in the {@link UIDefaults} table.
82       *
83       * @return The property prefix (<code>"CheckBox."</code>).
84       */
85      public String getPropertyPrefix()
86      {
87        return "CheckBox.";
88      }
89  }  }
90    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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