This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Shell 3.3.3!spring-doc.cn

MenuView

MenuView is a base implementation providing functionality to draw a menu. Inherits BoxView.spring-doc.cn

Default Bindings

Default key bindigs are:spring-doc.cn

Table 1. Key
Command Description

CursorUpspring-doc.cn

Move selection upspring-doc.cn

CursorDownspring-doc.cn

Move selection downspring-doc.cn

Enterspring-doc.cn

Choose active item.spring-doc.cn

Default mouse bindigs are:spring-doc.cn

Table 2. Mouse
Command Description

Wheel | WheelUpspring-doc.cn

Move selection upspring-doc.cn

Wheel | WheelDownspring-doc.cn

Move selection downspring-doc.cn

Released | Button1spring-doc.cn

Choose itemspring-doc.cn

Events

Events are sent depending on a used list type.spring-doc.cn

Table 3. ListView Events
Event Description

MenuViewOpenSelectedItemEventspring-doc.cn

Active item is requested to get opened.spring-doc.cn

MenuViewSelectedItemChangedEventspring-doc.cn

Active item is changed.spring-doc.cn