Package org.beryl.gui.widgets

Examples of org.beryl.gui.widgets.CheckBox


import org.beryl.gui.widgets.CheckBox;
import org.beryl.gui.widgets.Table;

public class BooleanEditor implements TableEditor {
  public Widget getEditor(Table table, Object value, TableRow row, String key) throws GUIException {
    CheckBox checkBox = new CheckBox(null, null);
    MapDataModel dataModel = new MapDataModel();
    dataModel.setValue("value", value);
    checkBox.setProperty("key", "value");
    checkBox.setDataModel(dataModel);
    checkBox.setProperty("horizontalAlignment", new Integer(JLabel.CENTER));
    return checkBox;
  }
View Full Code Here

TOP

Related Classes of org.beryl.gui.widgets.CheckBox

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.