New ActionScript Class dialog
Use this dialog to specify the settings for an ActionScript class or interface to be created. You can also create a new package if you specify the package that doesn't yet exist.
Item | Description |
---|---|
Name | Specify the name of the class or interface. When the cursor is in this field, you can use the Up and Down arrow keys to browse the contents of the Template list. |
Package | Specify the fully qualified name of the package in which the class or interface should be created. To do that, you can:
This field may be left blank. In this case, the class or interface will be created in the default root package (usually corresponds to the If you type the name of a package that doesn't yet exist (the name in this case is shown red), the corresponding package will be created. You can create more than one package at once. For example, if you type |
Template | Select the file template to be used.
To edit an existing file template or to create a new one, click If the selected template contains variables whose values are undefined, the Next button appears in the dialog instead of the Create button. In such a case, if you click Next, an additional dialog opens in which you can set the variable values. (This may happen if a custom template that contains custom variables is used.) See also, Predefined file template variables for ActionScript and Flex and An example of creating a custom file template for an MXML component. |
Superclass | For the Class with Supers template: specify the class that the class you are creating should extend. To do that, you can:
|
Interfaces | For the Class with Supers template: specify the interface or interfaces that the class you are creating should implement. To add an interface to the list, point to >> and click To remove unnecessary interfaces from the list, select them and click |