mappanel.java
来自「openmap java写的开源数字地图程序. 用applet实现,可以像g」· Java 代码 · 共 63 行
JAVA
63 行
// **********************************************************************// // <copyright>// // BBN Technologies// 10 Moulton Street// Cambridge, MA 02138// (617) 873-8000// // Copyright (C) BBNT Solutions LLC. All rights reserved.// // </copyright>// **********************************************************************// // $Source: /cvs/distapps/openmap/src/openmap/com/bbn/openmap/gui/MapPanel.java,v $// $RCSfile: MapPanel.java,v $// $Revision: 1.3.2.1 $// $Date: 2004/10/14 18:26:53 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.gui;import javax.swing.JMenu;import javax.swing.JMenuBar;import com.bbn.openmap.MapBean;import com.bbn.openmap.MapHandler;/** * The MapPanel is a interface describing a component that contains a * MapBean, MapHandler, menu widgets and all the other components * connected to make an OpenMap map widget. A MapPanel is a * self-contained OpenMap Swing component. It is expected that the * MapPanel will extend from java.awt.Container. If it doesn't, it * might not be automatically added to the OpenMapFrame or * OpenMapApplet if it is found in the MapHandler. */public interface MapPanel { /** * Get the MapBean used for the MapPanel. */ public MapBean getMapBean(); /** * Get the MapHandler used for the MapPanel. You should be able to * use the MapHandler to get to any component used in the * MapPanel. */ public MapHandler getMapHandler(); /** * Get a JMenuBar containing menus to control the map. */ public JMenuBar getMapMenuBar(); /** * Get a JMenu containing sub-menus to control the map. */ public JMenu getMapMenu();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?