Documentation

(flutterui)

Buttongroup

We support a simple-to use button group:

Just add following code in your screen:

ButtonGroup butgrp = new ButtonGroup();
butgrp.setHorizontalAlignment(IAlignmentConstants.ALIGN_CENTER);
butgrp.setMode(ButtonGroupMode.MultiSelection);
 
butgrp.setLabels("Left", "Middle", "Right", null, null, "Five");
butgrp.setImages(
  UIImage.getImage(UIImage.OK_SMALL),
  null, null,
  UIImage.getImage(UIImage.TRASH_SMALL),
  UIFontAwesome.getImage(IFontAwesome.ADN_SMALL));
 
butgrp.eventAction().addListener(this::doButtonGroupChanged);
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information