public interface PopupMenuFactory
Modifier and Type | Method and Description |
---|---|
javax.swing.JPopupMenu |
createPopupMenu(PECanvas board,
HitInfo hi) |
javax.swing.JPopupMenu createPopupMenu(PECanvas board, HitInfo hi)
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