Перенос.
This commit is contained in:
11
src/Common/UI/Tables/DBObjectRenderer.java
Normal file
11
src/Common/UI/Tables/DBObjectRenderer.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package Common.UI.Tables;
|
||||
import Common.Database.DBObject;
|
||||
import Common.UI.DataControl;
|
||||
|
||||
import javax.swing.*;
|
||||
public abstract class DBObjectRenderer extends RendererCell<DBObject> {
|
||||
@Override
|
||||
public DBObject Init(JTable table, Object value, int row, int column) {
|
||||
return ((DataControl) table).getRowObject(row);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user