Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

netscape.javascript
Class JSRunnable  view JSRunnable download JSRunnable.java

java.lang.Object
  extended bynetscape.javascript.JSRunnable
All Implemented Interfaces:
java.lang.Runnable

public class JSRunnable
extends java.lang.Object
implements java.lang.Runnable

Runs a JavaScript object with a run() method in a separate thread.


Field Summary
private  JSObject runnable
           
 
Constructor Summary
JSRunnable(JSObject runnable)
           
 
Method Summary
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

runnable

private JSObject runnable
Constructor Detail

JSRunnable

public JSRunnable(JSObject runnable)
Method Detail

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.

Specified by:
run in interface java.lang.Runnable