упраздение лишних енумов в оформлении таблиц и деревьев.
This commit is contained in:
11
src/Common/Visual/Tables/RendererDBObject.java
Normal file
11
src/Common/Visual/Tables/RendererDBObject.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package Common.Visual.Tables;
|
||||
import Common.Database.Objects.DBObject;
|
||||
import Common.Visual.DataControl;
|
||||
|
||||
import javax.swing.*;
|
||||
public abstract class RendererDBObject 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