minuit

RadialComponent

A wheel of choices around the cursor.

Java

Inside a PanelComponent constructor. The same call draws in every family and chroma.

Java
RadialComponent<String> quick = RadialComponent.<String>builder(screenBox, 76)
        .slot(40, 20)
        .page("Actions", List.of("Delete", "Lock", "Back", "Reload"))
        .page("Links", List.of("Download", "Web"))
        .page("Look", List.of("Colours", "Light", "Dark"))
        .label(s -> s)
        .icon(s -> ICONS.get(s).glyph())
        .centerLabel(() -> "Cancel")
        .onPick(this::run)
        .build();

Wheel

Scroll to change page.

RadialComponent, wheel: Scroll to change page.