Package jpicedt.ui.internal
Class PEPopupMenuFactory
- java.lang.Object
-
- jpicedt.ui.internal.PEPopupMenuFactory
-
- All Implemented Interfaces:
PopupMenuFactory
public class PEPopupMenuFactory extends java.lang.Object implements PopupMenuFactory
A factory to create a PEPopupMenu for an EditorKit.- Since:
- jPicEdt
- Version:
- $Id: PEPopupMenuFactory.java,v 1.22.2.1 2007/09/02 11:56:30 reynal Exp $
- Author:
- Sylvain Reynal
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classPEPopupMenuFactory.PopupMenuThis class implements a popup-menu activable from a right-click on the associated PECanvas.
-
Constructor Summary
Constructors Constructor Description PEPopupMenuFactory()Create a new PEPopupMenuFactory using the given action-map to retrieve actions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JPopupMenucreatePopupMenu(PECanvas board, HitInfo hi)
-
-
-
Method Detail
-
createPopupMenu
public javax.swing.JPopupMenu createPopupMenu(PECanvas board, HitInfo hi)
- Specified by:
createPopupMenuin interfacePopupMenuFactory- Parameters:
board- the popup-menu invoker componentelement- if non-null, the graphic element on which the click occured.
-
-