Package jpicedt.graphic.toolkit
Interface PopupMenuFactory
-
- All Known Implementing Classes:
PEPopupMenuFactory
public interface PopupMenuFactoryA factory used to create a JPopupMenu for an EditorKit.- Since:
- jPicEdt 1.3.2
- Version:
- $Id: PopupMenuFactory.java,v 1.6.2.1 2007/09/02 11:56:28 reynal Exp $
- Author:
- Sylvain Reynal
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.swing.JPopupMenucreatePopupMenu(PECanvas board, HitInfo hi)
-
-
-
Method Detail
-
createPopupMenu
javax.swing.JPopupMenu createPopupMenu(PECanvas board, HitInfo hi)
- Parameters:
board- the popup-menu invoker componenthi- the HitInfo obtained from the mouse-event which triggered the popup-menu ; the general contract is to scan the whole drawing, that is, not the selection only. This may be null if no Element was found under the cursor.
-
-