All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scudata.ide.common.swing.JComboBoxExEditor Maven / Gradle / Ivy

Go to download

SPL(Structured Process Language) A programming language specially for structured data computing.

There is a newer version: 20240823
Show newest version
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