jas.plot
Interface HasPopupItems
- All Known Implementing Classes:
- Axis, ColorMapAxis, DataArea, EditableLabel, Legend, ManagedAxis, MovableObject, StatisticsBlock, TextBlock, Title
public interface HasPopupItems
A component that implements this interface
may add menu items to a popup menu that is parented to itself or to one
of its child components. When a component receives a
mouse event which is a popup trigger, its parent
PlotPanel
builds a popup menu by asking
all of its parent components if they implement this
interface, and asks those that do to modify the menu. The
class PlotPopupItem
is designed to
provide a convenient reflection-based menu item.
- Author:
- Jonas Gifford
- See Also:
PlotPanel
,
PlotPopupItem
modifyPopupMenu
void modifyPopupMenu(JPopupMenu menu,
Component source)
- Modify the given menu object.
Copyright © 2000-2009 FreeHEP. All Rights Reserved.