*/
public void setChecked(boolean checked) {
if (style == ToolButtonStyle.RADIO) {
final Widget parent = ToolButton.this.getParent();
if (parent instanceof IndexedPanel) {
final IndexedPanel panel = (IndexedPanel) parent;
for (int i = 0, n = panel.getWidgetCount(); i < n; i++) {
final Widget widget = panel.getWidget(i);
if (widget instanceof ToolButton) {
final ToolButton toolButton = (ToolButton) widget;
final String name = toolButton.getName();
if (toolButton.getStyle() == ToolButtonStyle.RADIO
&& toolButton.isChecked() && name != null