Constructor Nodes in the Explorer

For each of your source files, the Explorer displays nodes for all constructors and initializers under the Constructors (Constructors category node icon) category node. Property information about each constructor or initializer is presented in its Explorer icon and property sheet. Double-click any constructor or initializer node in the Explorer to jump to its location in the Source Editor.

If your class does not already contain a constructor, you can add one by right-clicking the Constructors category node and choosing Add and choosing Constructor. A property editor appears in which you can specify basic information for the constructor, such as modifiers and parameters. You can also add an empty initializer to your class by right-clicking the Constructors category node and choosing Add and choosing Initializer.

You can view a constructor's property sheet by right-clicking its node and choosing Properties. You can edit the constructor's properties in the property sheet itself, or you can right-click the constructor node and choose Customize. The node's contextual menu also contains commands for copying, cutting, pasting, and deleting the constructor.

The contextual menu for constructor nodes also contains a Tools submenu. The commands in the Tools submenu let you perform a variety of actions on the class, such as overriding inherited methods, synchronizing changes, and localizing your code. Any commands you choose from the the Tools submenu are executed on the entire class.

Constructor and Initializer Node Icons

Icon Description
Constructors category node icon Category node for constructors
Icon for constructors with default access Constructor with default access
Private constructor icon Private constructor
Public constructor icon Public constructor
Non-static initializer icon Non-static initializer
Static initializer icon Static initializer
See also
Source File Nodes in the Explorer
Form Object Nodes in the Explorer
Serialized Prototype Nodes in the Explorer
Class Nodes in the Explorer
Interface Nodes in the Explorer
Field Nodes in the Explorer
Method Nodes in the Explorer
Bean Pattern Nodes in the Explorer

Overriding Methods
Using the Import Management Tool
Synchronizing Source Code
Configuring Java Settings

Legal Notices