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

MotifMenuItemUI

public class MotifMenuItemUI extends BasicMenuItemUI
MotifMenuItem implementation

author
Rich Schiavi
author
Georges Saab

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 c)

	return new MotifMenuItemUI();
    
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);