jpicedt.graphic.toolkit
Interface PopupMenuFactory
- All Known Implementing Classes:
- PEPopupMenuFactory
public interface PopupMenuFactory
A 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
createPopupMenu
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.
Submit a bug : syd@jpicedt.org