Interface Nodes in the Explorer

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

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

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

You can view an interface's property sheet by right-clicking its node and choosing Properties. You can edit an interface's properties in the property sheet itself, or by right-clicking the interface node and choosing Customize.

The node's contextual menu also contains a Tools submenu. You can use these commands to perform a variety of actions on the interface file, 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
Class 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