Events

The Events view lists all events that can be registered with the currently selected UI component. Events that already have code are underlined in blue and marked with the event icon. To add a new event, you have to click on the corresponding event. RapidClipse then automatically switches to the code view and generates the corresponding code.

Alternatively, an event can also be created by right-clicking on the UI component.

image not found

Example:

  • Generated code for itemClick event for a Grid

    /**
     * Event handler delegate method for the {@link Grid} {@link #grid}.
     *
     * @see ComponentEventListener#onComponentEvent(ComponentEvent)
     * @eventHandlerDelegate Do NOT delete, used by UI designer!
     */
    private void grid_onItemClick(ItemClickEvent<Person> event)
    {
    }