Class Nodes in the Explorer

For each of your source files, the Explorer displays all class and inner class objects as class nodes (Class node icon). Each class node expands to reveal subnodes for each of its member elements, such as methods, fields, and bean patterns.

You can add member elements to a class by right-clicking its node and choosing from the Add submenu. A property editor appears in which you can specify basic information for the new member, such as modifiers, parameters, or initial values.

The class node's contextual menu also contains commands for cutting, copying, and pasting the class. If you paste the class into a source file or form node, the class is inserted at the end of the file. If you paste the class into a class node, the class is inserted as an inner class. You can also paste the class into a package as a new source file. If you paste a class into a different package, the IDE adjusts the class's package declaration accordingly.

You can view a class's property sheet by right-clicking its node and choosing Properties. You can edit the class's properties in the property sheet itself, or you can right-click the class node and choose Customize.

The node's contextual menu 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.

See also
Source File Nodes in the Explorer
Form Object Nodes in the Explorer
Serialized Prototype Nodes in the Explorer
Interface Nodes in the Explorer
Field Nodes in the Explorer
Constructor 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