contextmenulistener.java

来自「JPowerGraph is a Java library for creati」· Java 代码 · 共 25 行

JAVA
25
字号
package net.sourceforge.jpowergraph.manipulator.contextandtooltip;

import javax.swing.JPopupMenu;

import net.sourceforge.jpowergraph.Edge;
import net.sourceforge.jpowergraph.Legend;
import net.sourceforge.jpowergraph.Node;

/**
 * @author Mick Kerrigan
 *
 * Created on 02-Aug-2005
 * Committed by $Author: morcen $
 *
 * $Source: /cvsroot/jpowergraph/swing/src/net/sourceforge/jpowergraph/manipulator/contextandtooltip/ContextMenuListener.java,v $,
 * @version $Revision: 1.1 $ $Date: 2005/08/09 12:43:23 $
 */
public interface ContextMenuListener {

    public void fillNodeContextMenu(Node theNode, JPopupMenu theMenu);
    public void fillEdgeContextMenu(Edge theEdge, JPopupMenu theMenu);
    public void fillLegendContextMenu(Legend theLegend, JPopupMenu theMenu);
    public void fillBackgroundContextMenu(JPopupMenu theMenu);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?