
// Public Methods Overriding JComponent
public void updateUI();
// Protected Methods Overriding JComponent
protected void paintBorder(java.awt.Graphics g);
protected String paramString();
// Public Methods Overriding Container
public void remove(Component comp);
public void remove(int pos);
// Public Methods Overriding Component
public void setLocation(int x, int y);
// Protected Instance Methods
protected java.beans.PropertyChangeListener createActionChangeListener(JMenuItem b);
protected void firePopupMenuCanceled();
protected void firePopupMenuW illBecomeInvisible();
protected void firePopupMenuW illBecomeVisible();
}
Hierar chy: Object→ Component(java.awt.image.ImageObser ver, java.awt.MenuContainer, Serializable)→
Container→ JComponent(Serializable)→ JPopupMenu(Accessible, MenuElement)
Passed To: JMenu.createW inListener(), JMenu.W inListener.W inListener()
Retur ned By: JMenu.getPopupMenu()
JPopupMenu.Separator Ja va 1.2
javax.swing serializable accessible swing component
This inner class is a JSeparator component customized for use in JPopupMenu compo-
nents. The addSeparator() method of JPopupMenu retur ns an instance of this class. This
class is a trivial subclass of JSeparator that does nothing except to override the UI dele-
gate class name and ensure that the separator is never vertical. Application-level code
never needs to use this class.
public static class JPopupMenu.Separator extends JSeparator ...