Example usage for javax.swing JCheckBox subclass-usage

List of usage examples for javax.swing JCheckBox subclass-usage

Introduction

In this page you can find the example usage for javax.swing JCheckBox subclass-usage.

Usage

From source file edu.ku.brc.af.ui.forms.validation.ValCheckBox.java

/**
 * Wrapped JCheckBox that can accept Boolean, String, Short, Integer, Long values. String can be mixed case and
 * it checks against "true". For numeric values zero is false and anything else is true. This control cannot be in error.
 * 
 * @author rods
 *

From source file Main.java

class CheckListRenderer extends JCheckBox implements ListCellRenderer {
    public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected,
            boolean hasFocus) {
        setEnabled(list.isEnabled());
        setSelected(((CheckListItem) value).isSelected());
        setFont(list.getFont());

From source file ExpenseReport.java

class CheckCellRenderer extends JCheckBox implements TableCellRenderer {
    protected static Border m_noFocusBorder;

    public CheckCellRenderer() {
        super();
        m_noFocusBorder = new EmptyBorder(1, 2, 1, 2);

From source file CheckBoxList.java

/**
 * 
 * @author gtoffoli
 */
class CheckBoxListEntry extends JCheckBox {