org.esa.beam.framework.ui
Interface PopupMenuFactory

All Known Implementing Classes:
BasicView, ProductMetadataView, ProductPlacemarkView, ProductSceneView, ProductTree

public interface PopupMenuFactory

A factory for pop-up menues.

Version:
$Revision$ $Date$
Author:
Norman Fomferra

Method Summary
 JPopupMenu createPopupMenu(Component component)
          Creates the popup menu for the given component.
 JPopupMenu createPopupMenu(MouseEvent event)
          Creates the popup menu for the given mouse event.
 

Method Detail

createPopupMenu

JPopupMenu createPopupMenu(Component component)
Creates the popup menu for the given component. This method is called by the PopupMenuHandler registered on the given component.

Parameters:
component - the source component
See Also:
PopupMenuFactory, PopupMenuHandler

createPopupMenu

JPopupMenu createPopupMenu(MouseEvent event)
Creates the popup menu for the given mouse event. This method is called by the PopupMenuHandler registered on the event fired component.

Parameters:
event - the fired mouse event
See Also:
PopupMenuFactory, PopupMenuHandler


Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.