public class PEPopupMenuFactory extends java.lang.Object implements PopupMenuFactory
Modifier and Type | Class and Description |
---|---|
class |
PEPopupMenuFactory.PopupMenu
This class implements a popup-menu activable from a right-click on the associated PECanvas.
|
Constructor and Description |
---|
PEPopupMenuFactory()
Create a new PEPopupMenuFactory using the given action-map to retrieve actions.
|
Modifier and Type | Method and Description |
---|---|
javax.swing.JPopupMenu |
createPopupMenu(PECanvas board,
HitInfo hi) |
public PEPopupMenuFactory()
public javax.swing.JPopupMenu createPopupMenu(PECanvas board, HitInfo hi)
createPopupMenu
in interface PopupMenuFactory
board
- the popup-menu invoker componentelement
- if non-null, the graphic element on which the click occured.Submit a bug : syd@jpicedt.org