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.10 2013/03/27 06:56:36 vincentb1 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. If no
Element
was found under the cursor, use createPopupMenu(PECanvas board, PEMouseEvent e)
.
createPopupMenu
JPopupMenu createPopupMenu(PECanvas board,
PEMouseEvent e)
- Méthode à appeler lorsque aucun élément ou aucune zone convexe ne sont touchés.
- Parameters:
board
- la planche ayant invoqué la création du menu contextuele
- l'événement souris correspondant au clic.- Since:
- jPicEdt 1.6
createPopupMenu
JPopupMenu createPopupMenu(PECanvas board,
ConvexZoneHitInfo hi)
Submit a bug : syd@jpicedt.org