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

📄 visualiserpanel.java

📁 无限传感器网络的模拟结果的图形查看环境
💻 JAVA
字号:
package iface;import iface.VisualiserPanelObserver;/**   VisualiserPanel specifies the minimum interface for a Panel that can be    used with the visualiser.   @author Christian Nentwich   @version 0.1*/public interface VisualiserPanel {    /**       Return the width of this panel.       @return width    */    public int getWidth();    /**       Return the height of this panel.       @return width    */    public int getHeight();    /**       Attach an observer that will paint on the panel. It is left to the       implementation whether multiple observers are allowed.       @param observer the observer to attach.    */    public void attach(VisualiserPanelObserver observer);    /**       Detach an observer from the panel.       @param observer the observer to remove.    */    public void detach(VisualiserPanelObserver observer);    /**       Tell this panel to repaint itself. The name had to be chosen to be       different from the AWT function repaint()!    */    public void re_paint();}

⌨️ 快捷键说明

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