| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.module.YPackageMenu
public class YPackageMenu
Creates a menu for modules in a package.
 If a module in the menu is selected, the appropriate 
 YPackageMenuListener
 is invoked.
 
 Note:This class is obsolete for yEd
| Constructor Summary | |
|---|---|
| YPackageMenu(YPackage ypackage,
             YPackageMenuListener listener)Creates a new menu for a package | |
| Method Summary | |
|---|---|
|  void | actionPerformed(java.awt.event.ActionEvent e)Invokes moduleSelectedin thePackageMenuListenerfor the selected module. | 
|  void | addToMenu(javax.swing.JMenu menu)Adds the content of the package to a menu | 
|  javax.swing.JMenu | createMenu()Creates a menu containing the content of the package | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public YPackageMenu(YPackage ypackage,
                    YPackageMenuListener listener)
| Method Detail | 
|---|
public void addToMenu(javax.swing.JMenu menu)
public javax.swing.JMenu createMenu()
public void actionPerformed(java.awt.event.ActionEvent e)
moduleSelected in the 
 PackageMenuListener for the selected module.
actionPerformed in interface java.awt.event.ActionListener| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||