org.jgraph.graph
public class DefaultRealEditor extends DefaultCellEditor implements GraphCellEditor
Constructor Summary | |
---|---|
DefaultRealEditor(JTextField textField)
Constructs a DefaultCellEditor that uses a text field.
| |
DefaultRealEditor(JCheckBox checkBox)
Constructs a DefaultCellEditor object that uses a check box.
| |
DefaultRealEditor(JComboBox comboBox)
Constructs a DefaultCellEditor object that uses a combo box.
|
Method Summary | |
---|---|
Component | getGraphCellEditorComponent(JGraph graph, Object value, boolean isSelected) |
Parameters: textField a JTextField object used as the editor
Parameters: checkBox a JCheckBox object
Parameters: comboBox a JComboBox object