actionlistener.java
来自「一个关于Spring框架的示例应用程序,简单使用,可以参考.」· Java 代码 · 共 26 行
JAVA
26 行
/*
* $Workfile: ActionListener.java$ Copyright (c) 2005 Freeborders. All rights
* reserved. Last Changed by: $Author:user$ On: $Date: 2005-6-6 15:24:59$
* $Revision: 1$
*/
package base;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;
/**
* Class description goes here.
*
* @version 1.0 2005-6-6
* @author user
*/
public class ActionListener implements ApplicationListener
{
public void onApplicationEvent(ApplicationEvent event)
{
if(event instanceof ActionEvent)
{
System.out.println("========="+event.toString());
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?