pipe.gui
Class ModuleMethod
java.lang.Object
|
+--pipe.gui.ModuleMethod
- public class ModuleMethod
- extends java.lang.Object
ModuleMethod encapsulates information about a module method and is designed to be used as a userobject in nodes in a JTree.
In this case for nodes representing module methods.
Field Summary |
private java.lang.Class |
modClass
|
private java.lang.reflect.Method |
modMeth
|
Constructor Summary |
ModuleMethod(java.lang.Class cl,
java.lang.reflect.Method m)
|
Method Summary |
protected void |
execute(DataLayer data)
Executes the Method that this class represents. |
java.lang.String |
toString()
Returns the name of the modMeth |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
modMeth
private java.lang.reflect.Method modMeth
modClass
private java.lang.Class modClass
ModuleMethod
public ModuleMethod(java.lang.Class cl,
java.lang.reflect.Method m)
toString
public java.lang.String toString()
- Returns the name of the modMeth
- Overrides:
toString
in class java.lang.Object
execute
protected void execute(DataLayer data)
- Executes the Method that this class represents.
- Parameters:
data
- The dataLayer object that will be passed as an argument to the method.