|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.module.YPackageMenu
Creates a menu for modules in a package.
If a module in the menu is selected, the appropiate
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(ActionEvent e)
Invokes moduleSelected in the
PackageMenuListener for the selected module. |
void |
addToMenu(JMenu menu)
Adds the content of the package to a menu |
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(JMenu menu)
public JMenu createMenu()
public void actionPerformed(ActionEvent e)
moduleSelected
in the
PackageMenuListener
for the selected module.
actionPerformed
in interface ActionListener
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |