Idea logo

IntelliJ IDEA

IntelliJ IDEA – the IDE for Professional Development in Java and Kotlin

Features

Generating Flex Methods

In Maia, you can easily generate Flex Constructor, Getter, Setter, Event Handler, and toString() methods, and some other stuff by just pressing Alt+Insert when cursor is in *.mxml or *.as file. Let’s have a look at some examples.

  • An option to create Event Handler is available when caret is anywhere inside of a class, but the action behaves in a smarter way when:
    • Caret is inside event attribute of an mxml file:
    • Caret is inside arguments of addEventListener() or removeEventListener() function:
  • Getter and setter can be made bindable if your class implements flash.events.IEventDispatcher (as all Flex components do):
image description

Discover more