Package org.esa.snap.ui
Interface PopupMenuFactory
-
- All Known Implementing Classes:
BasicView,ProductPlacemarkView,ProductSceneView
public interface PopupMenuFactoryA factory for pop-up menues.- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JPopupMenucreatePopupMenu(Component component)Creates the popup menu for the given component.JPopupMenucreatePopupMenu(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 thePopupMenuHandlerregistered 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 thePopupMenuHandlerregistered on the event fired component.- Parameters:
event- the fired mouse event- See Also:
PopupMenuFactory,PopupMenuHandler
-
-