Example usage for javax.swing AbstractCellEditor subclass-usage

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

Introduction

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

Usage

From source file components.ColorEditor.java

public class ColorEditor extends AbstractCellEditor implements TableCellEditor, ActionListener {
    Color currentColor;
    JButton button;
    JColorChooser colorChooser;
    JDialog dialog;
    protected static final String EDIT = "edit";

From source file org.apache.cayenne.modeler.util.PathChooserComboBoxCellEditor.java

/**
 * This class used as cell editor, when you need to
 * choose path in comboBox and use autocompletion.
 */
@SuppressWarnings("WeakerAccess")
public abstract class PathChooserComboBoxCellEditor extends AbstractCellEditor

From source file edu.harvard.mcz.imagecapture.ui.ButtonEditor.java

/** ButtonEditor A clickable button in a table cell that brings up a details view for the row 
 * containing the button.  Works with ButtonRenderer and a TableModel that implements isCellEditable().
 * <BR>
 * Note: This implementation is specific to a Specimen identified by its id.
 * <BR>
 * Example Usage (assuming that only the ID column is of type Long):

From source file org.nuclos.client.ui.collect.component.CollectableComponentTableCellEditor.java

/**
 * <code>TableCellEditor</code> for a <code>CollectableComponent</code>. This makes it possible to edit
 * any <code>CollectableField</code> in a <code>JTable</code>.
 * <br>
 * <br>Created by Novabit Informationssysteme GmbH
 * <br>Please visit <a href="http://www.novabit.de">www.novabit.de</a>

From source file Main.java

class CheckBoxNodeEditor extends AbstractCellEditor implements TreeCellEditor {
    DefaultTreeCellRenderer renderer = new DefaultTreeCellRenderer();
    JCheckBox check = new JCheckBox();
    JPanel p = new JPanel(new BorderLayout());
    String str = null;

From source file ChooserTableSample.java

class ColorChooserEditor extends AbstractCellEditor implements TableCellEditor {

    private JButton delegate = new JButton();

    Color savedColor;

From source file CheckBoxNodeTreeSample.java

class CheckBoxNodeEditor extends AbstractCellEditor implements TreeCellEditor {

    CheckBoxNodeRenderer renderer = new CheckBoxNodeRenderer();

    ChangeEvent changeEvent = null;

From source file Main.java

class CheckBoxNodeEditor extends AbstractCellEditor implements TreeCellEditor {

    CheckBoxNodeRenderer renderer = new CheckBoxNodeRenderer();

    ChangeEvent changeEvent = null;

From source file TableCellRenderTest.java

/**
 * This editor pops up a color dialog to edit a cell value
 */
class ColorTableCellEditor extends AbstractCellEditor implements TableCellEditor {
    public ColorTableCellEditor() {
        panel = new JPanel();

From source file com.sec.ose.osi.ui.frm.main.manage.FileBrowser.java

class FileBrowseCellEditor extends AbstractCellEditor implements TableCellEditor {
    private static final long serialVersionUID = -3198708589362237485L;

    public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row,
            int column) {
        return (FileBrowser) value;