public interface PopupMenuFactory
Modifier and Type | Method and 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.
|
JPopupMenu createPopupMenu(Component component)
PopupMenuHandler
registered on the given component.component
- the source componentPopupMenuFactory
,
PopupMenuHandler
JPopupMenu createPopupMenu(MouseEvent event)
PopupMenuHandler
registered on the event fired component.event
- the fired mouse eventPopupMenuFactory
,
PopupMenuHandler
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.