net.sf.j2s.ajax
Class ARunnable

java.lang.Object
  extended bynet.sf.j2s.ajax.ARunnable
All Implemented Interfaces:
java.lang.Runnable

public abstract class ARunnable
extends java.lang.Object
implements java.lang.Runnable

This abstract class provides a wrapper of interface Runnable to give convenience for AClass or ASWTClass to set and to get the class that is loaded.

Author:
josson smith 2006-8-4

Constructor Summary
ARunnable()
           
 
Method Summary
 java.lang.Class getClazz()
          Return the loaded class.
 void setClazz(java.lang.Class clazz)
          Set the loaded class
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Runnable
run
 

Constructor Detail

ARunnable

public ARunnable()
Method Detail

getClazz

public java.lang.Class getClazz()
Return the loaded class.

Returns:
Class loaded class.

setClazz

public void setClazz(java.lang.Class clazz)
Set the loaded class

Parameters:
clazz - Class class that is already loaded.