|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implemented by any component that wants to contribute to a popup menu. When an Application processes a popup trigger event it searches for the deepest component beneath event, then works up throught all the parents checking each component in turn to see if it implements HasPopupItems, and it so calling its modifyPopupMenu item.
Method Summary | |
JPopupMenu |
modifyPopupMenu(JPopupMenu menu,
Component source,
Point p)
Allows a component to create or modify a popup menu |
Method Detail |
public JPopupMenu modifyPopupMenu(JPopupMenu menu, Component source, Point p)
menu
- The menu created by the components descendentssource
- The deepest component
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |