This window allows you to create or remove events associated with components.
The events manager is in charge of proposing the Events list supported by each bean. It should give directives to the generator of source code, such as using an adapter or creating a class to implement a listener. It is also in charge of sharing the source code with developers, respecting user modifications, user preferences, and inserting methods that should process events.
The Control Panel shows the hierarchy of the application's components. Clicking an icon will cause the component associated to this icon to be displayed with selected-state emphasis. The Event Chooser as well as the Settings Area will be updated immediately according to the selected component.For further information about the Control Panel, see the "Control Panel" chapter.
The Event Chooser contains a list of events that may occur for the selected component. Choosing an event will cause the Settings Area to be updated according to the selected event, allowing you to use the Settings Area as needed.Already implemented methods are checked. This way you may see at a glance events handled by this component.
The Event Chooser will be expanded or collapsed according to your preferences. See the Interface Builder Preferences Options (EventPane Expanding options) paragraph.
The Settings Area is updated according to the selected component/bean and the event chosen from the Event Chooser. If the method for a selected event has not been implemented yet, you may click the Create button, otherwise you may click on the Update or Remove button.
Details
This displays a short description of the event or method selected from the Event Chooser.
Create
Clicking this button will cause VisualMust to generate anything required in Abstract classes to support this event. Moreover, it will create an empty method to be filled, according to how you want this event to be processed. VisualMust will show this empty method, in agreement with your preferences. See the Interface Builder Preferences Options (ShowMethod When Creating) paragraph. Part of the source code of this method will be set in read-only, if you have chosen this option. See the Editor Preferences Options (Enabled ProtectedLine).
Update
Clicking this button will cause the source code associated to the event to be shown.
Remove
Clicking this event will remove the method, and update your source code as well as the Abstract class. This is the only acceptable way to remove any event handling. As stated in the Architecture chapter, the event handling is split between the two generated files and both parts must be updated accordingly.
Show Documentation
When clicking on the Show Bean's Documentation button, VisualMust will try to show you the documentation associated to this bean, if one is available. If not, it will try to show the documentation of an inherited class.Note that the documentation is provided by the Class author. VisualMust offers you a facility to visualize it but this documentation does belong to its authors.