本文整理了Java中javax.swing.table.TableCellEditor.getCellEditorValue()
方法的一些代码示例,展示了TableCellEditor.getCellEditorValue()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TableCellEditor.getCellEditorValue()
方法的具体详情如下:
包路径:javax.swing.table.TableCellEditor
类名称:TableCellEditor
方法名:getCellEditorValue
暂无
代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime
@Override
public Object getCellEditorValue() {
return editorDelegate.getCellEditorValue();
}
}
代码示例来源:origin: elki-project/elki
@Override
public Object getCellEditorValue() {
if(activeEditor == null) {
return null;
}
return activeEditor.getCellEditorValue();
}
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-runtime
@Override
public Object getCellEditorValue() {
return editorDelegate.getCellEditorValue();
}
}
代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java16
/** @inheritDoc */
@Override
public Object getCellEditorValue() {
return delegate.getCellEditorValue();
}
代码示例来源:origin: de.lmu.ifi.dbs.elki/elki-gui-minigui
@Override
public Object getCellEditorValue() {
if(activeEditor == null) {
return null;
}
return activeEditor.getCellEditorValue();
}
代码示例来源:origin: org.jspresso/jspresso-ulc-components-client
/**
* {@inheritDoc}
*/
public Object getCellEditorValue() {
return delegate.getCellEditorValue();
}
代码示例来源:origin: de.lmu.ifi.dbs.elki/elki
@Override
public Object getCellEditorValue() {
if(activeEditor == null) {
return null;
}
return activeEditor.getCellEditorValue();
}
代码示例来源:origin: com.eas.platypus/platypus-js-grid
/**
* {@inheritDoc}
*/
@Override
public Object getCellEditorValue() {
return delegate.getCellEditorValue();
}
代码示例来源:origin: org.jspresso.framework/jspresso-ulc-components-client
/**
* {@inheritDoc}
*/
public Object getCellEditorValue() {
return delegate.getCellEditorValue();
}
代码示例来源:origin: neueda/jetbrains-plugin-graph-database-support
@Override
public Object getCellEditorValue() {
return current.getCellEditorValue();
}
}
代码示例来源:origin: com.haulmont.thirdparty/glazedlists
/** @inheritDoc */
public Object getCellEditorValue() {
return delegate.getCellEditorValue();
}
代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java15
/** @inheritDoc */
public Object getCellEditorValue() {
return delegate.getCellEditorValue();
}
代码示例来源:origin: stackoverflow.com
editor.addCellEditorListener(new CellEditorListener() {
@Override
public void editingStopped(ChangeEvent e) {
System.out.println("Editing stopped");
TableCellEditor editor = (TableCellEditor) e.getSource();
Object value = editor.getCellEditorValue();
System.out.println("Selected value = " + value);
}
@Override
public void editingCanceled(ChangeEvent e) {
}
});
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-config
@Override
public Object getCellEditorValue() {
return !hasDelegate() ? null : delegate.getCellEditorValue();
}
代码示例来源:origin: org.nuiton.jaxx/jaxx-config
@Override
public Object getCellEditorValue() {
return !hasDelegate() ? null : delegate.getCellEditorValue();
}
代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets-config
@Override
public Object getCellEditorValue() {
return !hasDelegate() ? null : delegate.getCellEditorValue();
}
代码示例来源:origin: org.appdapter/org.appdapter.lib.gui
@Override public Object getCellEditorValue() {
return getCellEditor().getCellEditorValue();
}
代码示例来源:origin: senbox-org/snap-desktop
@Override
public Object getCellEditorValue() {
//return lastEditor != null ? lastEditor.getCellEditorValue() : delButton; //delButton;
return lastEditor != null ?
((DefaultCellEditor)lastEditor).getComponent() instanceof JTextField ?
((JTextField)((DefaultCellEditor)lastEditor).getComponent()).getText() :
lastEditor.getCellEditorValue() :
delButton;
}
}
代码示例来源:origin: mucommander/mucommander
public void editingStopped(ChangeEvent e) {
TableCellEditor editor = getCellEditor();
if (editor != null) {
Object value = editor.getCellEditorValue();
int index = getEditingColumn();
columnModel.getColumn(index).setHeaderValue(value);
removeEditor();
}
}
代码示例来源:origin: tulskiy/musique
@Override
protected void fireEditingStopped() {
TableModel tableModel = table.getModel();
if (tableModel instanceof MultiTagFieldModel) {
String value = (String) table.getCellEditor().getCellEditorValue();
if (Util.isEmpty(value) && ((MultiTagFieldModel) tableModel).getTrackInfoItems().get(table.getEditingRow()).isMultiple()) {
super.fireEditingCanceled();
return;
}
}
super.fireEditingStopped();
}
});
内容来源于网络,如有侵权,请联系作者删除!