com.scudata.ide.common.swing.JComboBoxExEditor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esproc Show documentation
Show all versions of esproc Show documentation
SPL(Structured Process Language) A programming language specially for structured data computing.
package com.scudata.ide.common.swing;
import javax.swing.DefaultCellEditor;
/**
* JTable??Ԫ????????༭??
*
*/
public class JComboBoxExEditor extends DefaultCellEditor {
private static final long serialVersionUID = 1L;
/**
* ??????ؼ?
*/
JComboBoxEx combo;
/**
* ???캯??
*
* @param cbe
* ??????ؼ?
*/
public JComboBoxExEditor(JComboBoxEx cbe) {
super(cbe);
combo = cbe;
}
/**
* ȡ?༭ֵ
*/
public Object getCellEditorValue() {
return combo.x_getSelectedItem();
}
/**
* ȡ?ؼ?
*
* @return
*/
public JComboBoxEx getJComboBoxEx() {
return combo;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy