/[classpath]/classpath/javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java

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

revision 1.6.2.3 by gnu_andrew, Sat Sep 10 15:31:51 2005 UTC revision 1.6.2.4 by gnu_andrew, Wed Nov 2 00:43:52 2005 UTC
# Line 53  import javax.swing.plaf.ComponentUI; Line 53  import javax.swing.plaf.ComponentUI;
53   */   */
54  public class BasicCheckBoxMenuItemUI extends BasicMenuItemUI  public class BasicCheckBoxMenuItemUI extends BasicMenuItemUI
55  {  {
56      
57      /**
58       * Creates a new BasicCheckBoxMenuItemUI object.
59       */
60      public BasicCheckBoxMenuItemUI()
61      {
62        super();
63      }
64      
65    /**    /**
66     * Factory method to create a BasicCheckBoxMenuItemUI for the given {@link     * Factory method to create a BasicCheckBoxMenuItemUI for the given {@link
67     * JComponent}, which should be a JCheckBoxMenuItem     * JComponent}, which should be a JCheckBoxMenuItem
# Line 77  public class BasicCheckBoxMenuItemUI ext Line 86  public class BasicCheckBoxMenuItemUI ext
86    }    }
87    
88    /**    /**
    * This method installs the defaults that are defined in  the Basic look and  
    * feel for this JRadioButtonMenuItem  
    */  
   protected void installDefaults()  
   {  
     super.installDefaults();  
   
     UIDefaults defaults = UIManager.getLookAndFeelDefaults();  
     checkIcon = defaults.getIcon("CheckBoxMenuItem.checkIcon");  
   }  
   
   /**  
89     * DOCUMENT ME!     * DOCUMENT ME!
90     *     *
91     * @param item DOCUMENT ME!     * @param item DOCUMENT ME!
# Line 100  public class BasicCheckBoxMenuItemUI ext Line 97  public class BasicCheckBoxMenuItemUI ext
97                                  MenuElement[] path,                                  MenuElement[] path,
98                                  MenuSelectionManager manager)                                  MenuSelectionManager manager)
99    {    {
100        // TODO: May not be implemented properly.
101        item.processMouseEvent(e, path, manager);
102    }    }
103  }  }

Legend:
Removed from v.1.6.2.3  
changed lines
  Added in v.1.6.2.4

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