org.eu.sk.zero.acd
Class Method

java.lang.Object
  |
  +--org.eu.sk.zero.acd.PropertyType
        |
        +--org.eu.sk.zero.acd.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.

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

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

Constructor Detail

Method

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

Method Detail

body

public abstract boolean body(org.eu.sk.zero.acd.Component component)
The method executed when the Method is called to execute. The method is always executed on a certain component