com.gargoylesoftware.htmlunit.javascript
Class PostponedAction

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.javascript.PostponedAction

public abstract class PostponedAction
extends Object

An action triggered by a script execution but that should be executed first when the script is finished. Example: when a script sets the source of an (i)frame, the request to the specified page will be first triggered after the script execution.

Version:
$Revision: 5301 $
Author:
Marc Guillemot

Constructor Summary
PostponedAction(Page owningPage)
          C'tor.
 
Method Summary
abstract  void execute()
          Execute the action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostponedAction

public PostponedAction(Page owningPage)
C'tor.

Parameters:
owningPage - the page that initiates this action
Method Detail

execute

public abstract void execute()
                      throws Exception
Execute the action.

Throws:
Exception - if it fails


Copyright © 2002-2011 Gargoyle Software Inc.. All Rights Reserved.