Extends Tab (Class Builder)

   

The Extends tab allows you to select a superclass and overloaded methods for your classes.

With the Extends tab you can:

Options

Superclass Name

A read-only text box that displays the superclass of the class you are currently modifying. You can change the superclass by clicking the Select Superclass button. This displays the Select Superclass dialog box which allows you to either type in a name or choose a valid name from the list provided.

Select Superclass

Displays the Select Superclass dialog box for selecting the superclass of the class you are modifying.

Inherited Methods

A list of all the inherited methods that are available for the currently selected superclass. When a method is moved from the Inherited Methods list to the Local Overrides list (by using the left and right arrows located between the lists), an override method is added to your class. If the current class's superclass is declared as final, the buttons for selecting methods to override are disabled.

Note   The Inherited Methods list is only populated with method names if the superclass specified is a valid superclass.

Local Overrides

A list of the methods that are currently overloaded for the selected superclass. When a method is moved from the Local Overrides list to the Inherited Methods list (by using the left and right arrows located between the lists), the override method is removed from the currently selected class.