⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 popupmenufigureselection.java

📁 开源(Open Source)项目JHotDraw的文档和源程序
💻 JAVA
字号:
/*
 * @(#)PopupMenuFigureSelection.java 5.2
 *
 */
 
package CH.ifa.draw.contrib;

import CH.ifa.draw.framework.*;

/**
 * An interface which allows a popup menu to interact with its Figure to
 * which it is associated.
 *
 * @author      Wolfram Kaiser
 * @version     JHotDraw 5.2        31.08.1999
 */
public interface PopupMenuFigureSelection {

	/**
	 * Set the figure which was selected when the popup menu was invoked.
	 *
	 * @param   newSelectedFigure   figure which is selected (typically be a SelectionTool)
	 */
	public void setSelectedFigure(Figure newSelectedFigure);

	/**
	 * Get the figure which was selected when the popup menu was invoked.
	 *
	 * @return  figure which is selected (typically be a SelectionTool)
	 */
	public Figure getSelectedFigure();
}

⌨️ 快捷键说明

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