The Method nodes (

) contain user-defined methods. There are three types of methods:
To add a new Method node, right-click the main
Methods node, for a global method, or the
Methods node under a
Form node, for a form method, and choose
New Method. You can also choose
Global Method or
Form Method from the
New Method button in the
Method toolbar (
Form Method is only active if there is an active Form Editor window). In the
New Method dialog box that opens, type a label for the method in the
Name field.
To edit the method, double-click the method node, or right-click it and choose Edit (

). An editor window opens, where you can edit the code for the method. Depending on the
View all code preference setting, you see just the method declarations or the full class. In the editor, you can highlight part of the code and right-click to cut, copy, paste, and delete it. You can also use the standard keyboard shortcuts such as Ctrl+C to copy, Ctrl+A to select all code in the editor window, and the Delete button. The code extends a Java class called
ApplicationMethod that only requires one method with the following signature:
See The Method Node for information about the inputs and outputs that you can add in the
Settings window for method nodes (not local methods).