intellij-randomness / com.fwdekker.randomness.ui / javax.swing.ButtonGroup / forEach

forEach

fun ButtonGroup.forEach(consumer: (AbstractButton) -> Unit): Unit

Executes a consumer for each button in a group.

Parameters

consumer - the function to apply to each button