Class PostponedAction
java.lang.Object
org.htmlunit.javascript.PostponedAction
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
owningPageRef_
-
description_
-
-
Constructor Details
-
PostponedAction
-
-
Method Details
-
getOwningPage
Gets the owning page.- Returns:
- the page that initiated this action or
nullif it has already been GCed
-
execute
-
isStillAlive
public boolean isStillAlive()Indicates if the action still needs to be executed.- Returns:
trueif the action needs to be executed
-
toString
-