ITPub博客

首页 > 应用开发 > Java > AWT

AWT

原创 Java 作者:fanfan6621 时间:2007-04-03 22:17:25 0 删除 编辑

一.Window监听器适配器抽象类
1.声明的方法

package java.awt.event;

public abstract class WindowAdapter implements WindowListener, WindowStateListener, WindowFocusListener {

// Constructors
public WindowAdapter() { }

// Methods
public void windowOpened(WindowEvent windowEvent) { }
public void windowClosing(WindowEvent windowEvent) { }
public void windowClosed(WindowEvent windowEvent) { }
public void windowIconified(WindowEvent windowEvent) { }
public void windowDeiconified(WindowEvent windowEvent) { }
public void windowActivated(WindowEvent windowEvent) { }
public void windowDeactivated(WindowEvent windowEvent) { }
public void windowStateChanged(WindowEvent windowEvent) { }
public void windowGainedFocus(WindowEvent windowEvent) { }
public void windowLostFocus(WindowEvent windowEvent) { }
}

2.使用者Window

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/195547/viewspace-908617/,如需转载,请注明出处,否则将追究法律责任。

上一篇: 没有了~
请登录后发表评论 登录
全部评论
  • 博文量
    2
  • 访问量
    428494