📄 modeltablecellvalueconverter.java
字号:
package org.uispec4j;
import java.awt.*;
/** Converter that returns the object managed by the underlying JTable's model. This is to be used sparingly since
* it can disclose the application's internals, and you probably want the tests to be as independent as possible
* from the implementation.
*/
public class ModelTableCellValueConverter implements TableCellValueConverter {
public static final TableCellValueConverter INSTANCE = new ModelTableCellValueConverter();
public Object getValue(int row, int column, Component renderedComponent, Object modelObject) {
return modelObject;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -