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