Class Nodes in the Explorer
See Also
For each of your source files, the Explorer displays all Java class and inner
class objects as class nodes (
).
Each class node expands to reveal subnodes for each of its member elements,
such as methods, fields, and bean patterns.
Contextual Menu Commands
You can right-click any class node to access a contextual menu containing the
following commands:
- Open. Opens the file and jumps to the class in the Source Editor.
- Cut, Copy, and Paste. Lets you cut, copy, and paste entire classes
into other form objects, source files, or classes.
- Add. Lets you add new Java elements such as methods and constructors
to your class.
- Override Methods. Lets you override any method inherited from the
class' superclasses.
- Tools. Contains commands for carrying out various actions on your
code, such as synchronizing changes, generating Javadoc documents, and managing
import statements.
Class Node Properties
Class nodes have the following properties:
- Extends. Specifies the superclass that a class extends. A class can
use any of the public and protected methods and variables in its superclass.
- Implements. Specifies the interfaces that the class implements. Interfaces
are sets of abstract methods that a class can implement to add functionality.
- Javadoc Comment. Adds or edits a Javadoc comment to the class. See
Javadoc Comment Property Editor
for more information.
- Modifiers. Defines standard Java language modifiers for the class.
Modifiers are standard keywords that alter the accessibility, behavior, or
semantics of the class. See Modifiers
Property Editor for more information.
- Name. Sets the name of the class.
Legal Notices