📄 forwardevent.java
字号:
/* ForwardEvent.java{{IS_NOTE Purpose: Description: History: Sun Aug 19 13:38:09 2007, Created by tomyeh}}IS_NOTECopyright (C) 2007 Potix Corporation. All Rights Reserved.{{IS_RIGHT This program is distributed under GPL Version 2.0 in the hope that it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.zk.ui.event;import org.zkoss.zk.ui.Component;/** * Represents the event forwarded by the forward condition. * The forward condition is added by use of {@link Component#addForward}. * * @author tomyeh * @since 3.0.0 */public class ForwardEvent extends Event { private final Event _origin; /** Constructs a foward event. * * @param origin the original event that causes this forward event. */ public ForwardEvent(String name, Component target, Event origin) { super(name, target); _origin = origin; } /** Returns the original Event. */ public Event getOrigin() { return _origin; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -