Browse Source

SonarQube

master
hzzz 7 years ago
parent
commit
6dd864e181
  1. 11
      designer_form/src/com/fr/design/mainframe/MobileParaWidgetTable.java

11
designer_form/src/com/fr/design/mainframe/MobileParaWidgetTable.java

@ -50,14 +50,9 @@ class MobileParaWidgetTable extends JTable {
private void init(FormDesigner designer) {
this.designer = designer;
this.cellData = getData();
}
MobileParaWidgetTable(FormDesigner designer) {
init(designer);
this.setTableProperties();
this.setDefaultEditor(Object.class, new MobileCellEditor());
TableModel defaultModel = new BeanTableModel();
this.setModel(defaultModel);
this.setModel(new BeanTableModel());
this.setAutoResizeMode(JTable.AUTO_RESIZE_LAST_COLUMN);
TableColumn tc = this.getColumn(this.getColumnName(0));
tc.setMinWidth(UITEXTFIELD_WIDTH);
@ -68,6 +63,10 @@ class MobileParaWidgetTable extends JTable {
refreshData();
this.addMouseListener(mouseAdapter);
this.addMouseMotionListener(mouseAdapter);
}
MobileParaWidgetTable(FormDesigner designer) {
init(designer);
add(moveComponent);
}

Loading…
Cancel
Save