FileDocCategorySizeDatePackage
MotifMenuUI.javaAPI DocJava SE 6 API3694Tue Jun 10 00:21:56 BST 2008com.sun.java.swing.plaf.motif

MotifMenuUI

public class MotifMenuUI extends BasicMenuUI
A Motif L&F implementation of MenuUI.

version
1.34 11/17/05
author
Georges Saab
author
Rich Schiavi

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

        return new MotifChangeHandler((JMenu)c, this);
    
protected javax.swing.event.MouseInputListenercreateMouseInputListener(javax.swing.JComponent c)

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

	return new MotifMenuUI();
    
private booleanpopupIsOpen(javax.swing.JMenu m, javax.swing.MenuElement[] me)

        int i;
        JPopupMenu pm = m.getPopupMenu();

        for(i=me.length-1;i>=0;i--) {
            if(me[i].getComponent() == pm)
                return true;
        }
        return false;