visualiserpanelobserver.java
来自「无限传感器网络的模拟结果的图形查看环境」· Java 代码 · 共 30 行
JAVA
30 行
package iface;import java.awt.Graphics;import iface.VisualiserPanel;/** This defines an interface that class that wish to paint on a panel of the user-interface have to implement. @author Christian Nentwich @version 0.1*/public interface VisualiserPanelObserver { /** Attach a visualiser panel to this observer. @param panel the panel to attach */ public void attach(VisualiserPanel panel); /** This method must be overridden to draw the graphics. @param g the AWT graphics context */ public void paint(Graphics g);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?