com.primix.tapestry.callback
Class DirectCallback

java.lang.Object
  |
  +--com.primix.tapestry.callback.DirectCallback
All Implemented Interfaces:
ICallback, java.io.Serializable

public class DirectCallback
extends java.lang.Object
implements ICallback

Simple callback for re-invoking a IDirect component trigger..

Since:
0.2.9
Version:
$Id: DirectCallback.java,v 1.4 2001/05/02 14:15:15 hship Exp $
Author:
Howard Ship
See Also:
Serialized Form

Constructor Summary
DirectCallback(IDirect component, java.lang.String[] context)
          Creates a new DirectCallback for the component.
 
Method Summary
 void peformCallback(IRequestCycle cycle)
          Locates the IDirect component that was previously identified (and whose page and id path were stored), and invokes IDirect.trigger(IRequestCycle, String[]) upon it.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DirectCallback

public DirectCallback(IDirect component,
                      java.lang.String[] context)
Creates a new DirectCallback for the component. The context (which may be null) is retained, not copied.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

peformCallback

public void peformCallback(IRequestCycle cycle)
                    throws RequestCycleException
Locates the IDirect component that was previously identified (and whose page and id path were stored), and invokes IDirect.trigger(IRequestCycle, String[]) upon it.
Specified by:
peformCallback in interface ICallback