elcontextevent.java
来自「java属性邦定的(JSR-295)的一个实现」· Java 代码 · 共 38 行
JAVA
38 行
/*
* Copyright (C) 2007 Sun Microsystems, Inc. All rights reserved. Use is
* subject to license terms.
*/
package org.jdesktop.el;
/**
* An event which indicates that an {@link ELContext} has been created.
* The source object is the ELContext that was created.
*
* @see ELContext
* @see ELContextListener
* @since JSP 2.1
*/
public class ELContextEvent extends java.util.EventObject {
/**
* Constructs an ELContextEvent object to indicate that an
* <code>ELContext</code> has been created.
*
* @param source the <code>ELContext</code> that was created.
*/
public ELContextEvent(ELContext source) {
super(source);
}
/**
* Returns the <code>ELContext</code> that was created.
* This is a type-safe equivalent of the {@link #getSource} method.
*
* @return the ELContext that was created.
*/
public ELContext getELContext() {
return (ELContext) getSource();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?