<commit_before>package to.etc.domui.component.layout;

import to.etc.domui.component.buttons.*;
import to.etc.domui.dom.html.*;
import to.etc.domui.state.*;

public class ButtonBar extends Table {
	private final TD m_center;

	public ButtonBar() {
		setCssClass("ui-buttonbar");
		setCellSpacing("0");
		setCellPadding("0");
		setTableWidth("100%");
		TBody b = new TBody();
		add(b);
		b.addRow();
		TD td = b.addCell();
		//		td.setWidth("15px");
		//		td.setHeight("26px");
		td.setCssClass("ui-bb-left");

		m_center = b.addCell();
		m_center.setCssClass("ui-bb-middle");

		td = b.addCell();
		td.setCssClass("ui-bb-right");
	}

	public DefaultButton addButton(final String txt, final String icon, final IClicked<DefaultButton> click) {
		DefaultButton b = new DefaultButton(txt, icon, click);
		m_center.add(b);
		return b;
	}

	public DefaultButton addButton(final String txt, final IClicked<DefaultButton> click) {
		DefaultButton b = new DefaultButton(txt, click);
		m_center.add(b);
		return b;
	}

	public DefaultButton addBackButton(final String txt, final String icon) {
		DefaultButton b = new DefaultButton(txt, icon, new IClicked<DefaultButton>() {
			public void clicked(final DefaultButton bxx) throws Exception {
				UIGoto.back();
			}
		});
		m_center.add(b);
		return b;
	}

	public DefaultButton addBackButton() {
		return addBackButton("Terug", "/img/btnCancel.png");
	}

	public NodeContainer getContent() {
		return m_center;
	}
}<commit_msg>Fix bad image URL in ButtonBar<commit_after>package to.etc.domui.component.layout;

import to.etc.domui.component.buttons.*;
import to.etc.domui.dom.html.*;
import to.etc.domui.state.*;

public class ButtonBar extends Table {
	private final TD m_center;

	public ButtonBar() {
		setCssClass("ui-buttonbar");
		setCellSpacing("0");
		setCellPadding("0");
		setTableWidth("100%");
		TBody b = new TBody();
		add(b);
		b.addRow();
		TD td = b.addCell();
		//		td.setWidth("15px");
		//		td.setHeight("26px");
		td.setCssClass("ui-bb-left");

		m_center = b.addCell();
		m_center.setCssClass("ui-bb-middle");

		td = b.addCell();
		td.setCssClass("ui-bb-right");
	}

	public DefaultButton addButton(final String txt, final String icon, final IClicked<DefaultButton> click) {
		DefaultButton b = new DefaultButton(txt, icon, click);
		m_center.add(b);
		return b;
	}

	public DefaultButton addButton(final String txt, final IClicked<DefaultButton> click) {
		DefaultButton b = new DefaultButton(txt, click);
		m_center.add(b);
		return b;
	}

	public DefaultButton addBackButton(final String txt, final String icon) {
		DefaultButton b = new DefaultButton(txt, icon, new IClicked<DefaultButton>() {
			public void clicked(final DefaultButton bxx) throws Exception {
				UIGoto.back();
			}
		});
		m_center.add(b);
		return b;
	}

	public DefaultButton addBackButton() {
		return addBackButton("Terug", "THEME/btnCancel.png");
	}

	public NodeContainer getContent() {
		return m_center;
	}
}
{'fraction_non_alphanumeric': 0.14116452268111035, 'fraction_numerical': 0.006093432633716994, 'mean_word_length': 4.343580470162749, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5627660', 'n_tokens_mistral': 1114, 'n_tokens_neox': 1018, 'n_words': 233}