Element | Description |
---|---|
Available Superclass/Interface Methods | Displays all of the methods inherited from your class's superclasses and
implemented interfaces. The methods are grouped under class nodes (![]() ![]() |
Methods That Will Be Overridden | Lists all the methods you want to override in your class. When you select a method to be overridden in the New wizard, the IDE generates skeleton code for the method's implementation in the source file. The method is implemented using its default constructors and parameters. You can further customize the method's implementation in Step 6 of the New wizard. |
Show Inherited | If this checkbox is selected, the Available Superclass/Interface Methods window displays an unsorted list of all methods inherited from the class's superclass and implemented interfaces. |
Only Show Abstract | If this checkbox is selected, the Available Superclass/Interface Methods window lists only those inherited methods that are not implemented somewhere in the class's source hierarchy. These methods include methods from the class's interfaces and other abstract methods not implemented elsewhere. Some of the interface methods listed might already be implemented by a superclass. |
Generate Super Calls | If this checkbox is selected, each method implementation includes a temporary variable that holds the output of the corresponding superclass method. You can use this variable to quickly insert your own code for working with the method. |
![]() |
To quickly guarantee that your generated code implements all the methods necessary to fully implement the class, select both the Show Inherited and the Only Show Abstract checkboxes. Then click Add All. |
See also | |
---|---|
Creating a New File Creating a Group of Files New Wizard: Basic Class Definition Pane New Wizard: Create Fields Pane New Wizard: Create Methods Pane |