wyvern.lib.properties
Interface JythonBean


public interface JythonBean

If you want to create a Bean property in Jython, you have to have it implement this interface. Just return the name of the Java class that you're subclassing, as a fully-qualified class name.

Version:
1.0, Jun 18, 2003
Author:
Steve Yegge

Method Summary
 java.lang.String getJavaClass()
          Returns the name of the Java class that this bean is subclassing, if any.
 

Method Detail

getJavaClass

public java.lang.String getJavaClass()
Returns the name of the Java class that this bean is subclassing, if any. If it's not subclassing anything in particular, just return "java.lang.Object".

Returns:
the fully-qualified classname of whatever Java class your Jython class extends. For instance, if your Jython class is defined as "class MyJython extends GameObject", then you would return "wyvern.lib.GameObject" from this method.