com.tensegrity.gui.swing
Interface JPopupMenuSource

All Known Subinterfaces:
JPopupMenuSourceWithUpdateUI
All Known Implementing Classes:
DefaultSwingAttributeTreePopupMenuSource, PanelMDIComponent, SwingAttributeTable, SwingGraphPanelPopupMenuSource, SwingObjectTreePanel, SwtGraphPanelPopupMenuSource, TabbedMDIComponent

public interface JPopupMenuSource

This interface defines a popup source. A popup source is a component that has a popup menu that can be queried from it. This interface is helpful if you plan to realize a switch between various LookAndFeel during runtime. Switching the LookAndFeel doesn't affect the popup menu's. This interface helps to add this functionality to a switch.

Version:
$Id: JPopupMenuSource.java,v 1.6 2004/07/27 11:49:41 GillesIachelini Exp $
Author:
Stepan Rutz

Method Summary
 PopupMenuMarkup getPopupMenu(java.lang.Object eventObject)
          Returns the current popup menu of the popup source.
 

Method Detail

getPopupMenu

public PopupMenuMarkup getPopupMenu(java.lang.Object eventObject)
Returns the current popup menu of the popup source.

Parameters:
eventObject - the mouse-event that triggered the request.
Returns:
the current popup menu of the popup source.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.