The Method Tree
When opening or creating new Non Visual or Server Side applications, the Application Builder switches the display to show the Method Tree, Method Explorer and Source and Definition Windows. These windows give you a complete visual representation of your Java source file.
Tree Display
The method tree shows all of the globals, constructors, accessors and methods that make up you Java source. They are grouped in the following categories:
- Globals - the global variables that are defined for this source.
- Constructors - the constructors that can be used to create an instance of this class.
- Accessors - the public set and get methods for accessing and modifying the globals.
- Public - methods that are for use by classes outside of this one.
- Methods - general purpose methods that are neither public nor private.
- Private - methods that are for internal use only and cannot be accessed from external classes
Tree Functions
By clicking twice on each of these groups or any of the items below a group a popup menu will be displayed. They are multi-level menus that provides a number of options for creating or removing entries as well as other functions depending on which group/item is clicked on.
When you create a new object, it appears in the proper location in the tree. It will move around the tree according to any changes you make to it's properties on the Definition screen. A new object's source skeleton is placed in the source window for you to begin filling in the source there. As soon as you reference another existing object in this class file these references will show up in the Method Explorer.
Possible actions are:
- Globals
- New - create a new global variable.
- Remove - remove the selected global variable.
- Copy - copy the selected global variable.
- Create Accessors - create set and get methods for the selected global variable.
- Layout - reorganize the positions of the Method Explorer, Source and Definition panels. The choices here will rearrange the panels in relation to the others in the conventional Java way of laying out panels - North, South, on it's own Tab or Hidden.
- Constructors
- New - create a new constructor.
- Remove - remove the selected constructor.
- Copy - copy the selected constructor.
- Layout - reorganize the positions of the Method Explorer, Source and Definition panels.
- Accessors
- New Set Method - create a new set method.
- New Get Method - create a new get method.
- Remove - remove the selected method
- Copy - copy the selected method.
- Layout - reorganize the positions of the Method Explorer, Source and Definition panels.
- Public, Methods, Private
- New - create a new method.
- Remove - remove the selected method.
- Copy - copy the selected method.
- SQL Wizard - invoke the SQL wizard to either insert the necessary code into the selected method or create a new method to perform a SQL on the Server.
- Layout - reorganize the positions of the Method Explorer, Source and Definition panels.