diva.gui.toolbox
Interface MenuFactory
public interface MenuFactory
A factory for popup menus. Use this class in conjuction with
a MenuCreator to implement context sensitive menus.
- Version:
- $Revision: 1.6 $
- Author:
- Steve Neuendorffer (neuendor@eecs.berkeley.edu)
create
JContextMenu create(Figure figure)
- Create an instance of the menu associated with this factory.
If no menu should be displayed, then return null.
- Parameters:
figure
- The figure for which to create the menu.
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.