1 3 package org.objectweb.fractal.swing; 4 5 public interface JMenuItf extends JMenuItemItf { 6 javax.swing.JMenuItem add (javax.swing.JMenuItem arg0); 7 javax.swing.JMenuItem add (java.lang.String arg0); 8 javax.swing.JMenuItem add (javax.swing.Action arg0); 9 void remove (javax.swing.JMenuItem arg0); 10 void insert (java.lang.String arg0, int arg1); 11 javax.swing.JMenuItem insert (javax.swing.JMenuItem arg0, int arg1); 12 javax.swing.JMenuItem insert (javax.swing.Action arg0, int arg1); 13 void setDelay (int arg0); 14 javax.swing.JMenuItem getItem (int arg0); 15 int getItemCount (); 16 boolean isTearOff (); 17 void addSeparator (); 18 void insertSeparator (int arg0); 19 java.awt.Component [] getMenuComponents (); 20 boolean isPopupMenuVisible (); 21 void setPopupMenuVisible (boolean arg0); 22 int getDelay (); 23 void setMenuLocation (int arg0, int arg1); 24 int getMenuComponentCount (); 25 java.awt.Component getMenuComponent (int arg0); 26 boolean isTopLevelMenu (); 27 boolean isMenuComponent (java.awt.Component arg0); 28 javax.swing.JPopupMenu getPopupMenu (); 29 void addMenuListener (javax.swing.event.MenuListener arg0); 30 void removeMenuListener (javax.swing.event.MenuListener arg0); 31 } 32 | Popular Tags |