/bundles/plugins-trunk/LookAndFeel/lipstik-1.1/src/com/lipstikLF/delegate/LipstikCheckBoxMenuItemUI.java

# · Java · 25 lines · 14 code · 5 blank · 6 comment · 0 complexity · ce58d5af1169212890e79a3cc5fd8075 MD5 · raw file

  1. package com.lipstikLF.delegate;
  2. import javax.swing.JComponent;
  3. import javax.swing.plaf.ComponentUI;
  4. public class LipstikCheckBoxMenuItemUI extends LipstikRadioButtonMenuItemUI
  5. {
  6. protected String getPropertyPrefix()
  7. {
  8. return "CheckBoxMenuItem";
  9. }
  10. /**
  11. * Create the UI delegate for the given component
  12. *
  13. * @param c The component for which to create the ui delegate
  14. * @return The created ui delegate
  15. */
  16. public static ComponentUI createUI(JComponent c)
  17. {
  18. return new LipstikCheckBoxMenuItemUI();
  19. }
  20. }