http://www.jpicedt.org

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

Method Summary
 JPopupMenu createPopupMenu(PECanvas board, ConvexZoneHitInfo hi)
           
 JPopupMenu createPopupMenu(PECanvas board, HitInfo hi)
           
 JPopupMenu createPopupMenu(PECanvas board, PEMouseEvent e)
          Méthode à appeler lorsque aucun élément ou aucune zone convexe ne sont touchés.
 

Method Detail

createPopupMenu

JPopupMenu createPopupMenu(PECanvas board,
                           HitInfo hi)
Parameters:
board - the popup-menu invoker component
hi - 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 contextuel
e - l'événement souris correspondant au clic.
Since:
jPicEdt 1.6

createPopupMenu

JPopupMenu createPopupMenu(PECanvas board,
                           ConvexZoneHitInfo hi)

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org