FileDocCategorySizeDatePackage
MotifCheckBoxMenuItemUI.javaAPI DocJava SE 5 API2775Fri Aug 26 14:54:46 BST 2005com.sun.java.swing.plaf.motif

MotifCheckBoxMenuItemUI

public class MotifCheckBoxMenuItemUI extends BasicCheckBoxMenuItemUI
MotifCheckboxMenuItem implementation

version
1.44 12/19/03
author
Georges Saab
author
Rich Schiavi

Fields Summary
protected ChangeListener
changeListener
Constructors Summary
Methods Summary
protected javax.swing.event.ChangeListenercreateChangeListener(javax.swing.JComponent c)

	return new ChangeHandler();
    
protected javax.swing.event.MouseInputListenercreateMouseInputListener(javax.swing.JComponent c)

	return new MouseInputHandler();
    
public static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent b)

        return new MotifCheckBoxMenuItemUI();
    
protected voidinstallListeners()

	super.installListeners();
        changeListener = createChangeListener(menuItem);
        menuItem.addChangeListener(changeListener);	
    
public voidpaint(java.awt.Graphics g, javax.swing.JComponent c)

	MotifGraphicsUtils.paintMenuItem(g, c, checkIcon,arrowIcon,
					 selectionBackground, selectionForeground,
					 defaultTextIconGap);
    
protected voiduninstallListeners()

	super.uninstallListeners();
	menuItem.removeChangeListener(changeListener);