org.zkoss.zk.ui.event
Class ForwardEvent

java.lang.Object
  extended by org.zkoss.zk.ui.event.Event
      extended by org.zkoss.zk.ui.event.ForwardEvent
All Implemented Interfaces:
java.io.Serializable

public class ForwardEvent
extends Event

Represents the event forwarded by the forward condition. The forward condition is added by use of Component.addForward(java.lang.String, org.zkoss.zk.ui.Component, java.lang.String).

Since:
3.0.0
Author:
tomyeh
See Also:
Serialized Form

Constructor Summary
ForwardEvent(java.lang.String name, Component target, Event origin)
          Constructs a forward event.
ForwardEvent(java.lang.String name, Component target, Event origin, java.lang.Object data)
          Constructs a forward event.
 
Method Summary
 Event getOrigin()
          Returns the original event.
 
Methods inherited from class org.zkoss.zk.ui.event.Event
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForwardEvent

public ForwardEvent(java.lang.String name,
                    Component target,
                    Event origin)
Constructs a forward event.

Parameters:
origin - the original event that causes this forward event.

ForwardEvent

public ForwardEvent(java.lang.String name,
                    Component target,
                    Event origin,
                    java.lang.Object data)
Constructs a forward event.

Parameters:
origin - the original event that causes this forward event.
data - the event data returned by Event.getData()
Since:
3.0.6
Method Detail

getOrigin

public Event getOrigin()
Returns the original event.



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo