Class Method


public abstract class Method
extends PropertyType

Method that can be executed on a component. When defining a component type in a module, subclass the Method class and override the body() method. Then add this method to a component type.

$Id:,v 1.1 2003/01/28 08:44:58 robo Exp $
See Also:
Component, ComponentType

Field Summary
Fields inherited from class
Constructor Summary
Method(String s)
          Don't construct Method directly.
Method Summary
abstract  boolean body( component)
          The method executed when the Method is called to execute.
Methods inherited from class
dump, getId, getName, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public Method(String s)
Don't construct Method directly. Subclass it and override the body() method

Method Detail


public abstract boolean body( component)
The method executed when the Method is called to execute. The method is always executed on a certain component