перенос метода получающего поле объекта для отображения

This commit is contained in:
2024-10-20 13:34:38 +03:00
parent dc53ecd6c8
commit f13a9cda2e
76 changed files with 721 additions and 612 deletions

View File

@@ -36,4 +36,17 @@ public class Subscriber extends DBObject {
public Object getEmptyFK() {
return "";
}
@Override
public Object getFieldAt(int columnIndex) {
switch (columnIndex) {
case 2:
return name;
case 3:
return role.getDescription();
case 4:
return (mailOn == 0) ? "выключена" : "включена";
}
return name;
}
}