промежуточный. частичный рефакторинг с прицелом на библиотечную часть
This commit is contained in:
11
src/Common_old/UI/Tables/DBObjectRenderer.java
Normal file
11
src/Common_old/UI/Tables/DBObjectRenderer.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package Common_old.UI.Tables;
|
||||
import Common.Database.Objects.DBObject;
|
||||
import Common_old.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