Browse Source

class重命名

master
Lee 9 years ago
parent
commit
48110e51de
  1. 4
      designer_form/src/com/fr/design/designer/creator/XWFitLayout.java
  2. 8
      designer_form/src/com/fr/design/designer/properties/BodyAppRelayoutTable.java
  3. 8
      designer_form/src/com/fr/design/designer/properties/mobile/BodyMobilePropertyUI.java

4
designer_form/src/com/fr/design/designer/creator/XWFitLayout.java

@ -13,7 +13,7 @@ import com.fr.design.designer.beans.LayoutAdapter;
import com.fr.design.designer.beans.adapters.layout.FRFitLayoutAdapter;
import com.fr.design.designer.beans.location.Direction;
import com.fr.design.designer.creator.cardlayout.XWTabFitLayout;
import com.fr.design.designer.properties.mobile.BodyElementCasePropertyUI;
import com.fr.design.designer.properties.mobile.BodyMobilePropertyUI;
import com.fr.design.form.layout.FRFitLayout;
import com.fr.design.fun.WidgetPropertyUIProvider;
import com.fr.design.mainframe.FormArea;
@ -1160,7 +1160,7 @@ public class XWFitLayout extends XLayoutContainer {
@Override
public WidgetPropertyUIProvider[] getWidgetPropertyUIProviders() {
return new WidgetPropertyUIProvider[]{ new BodyElementCasePropertyUI(new XWBodyFitLayout())};
return new WidgetPropertyUIProvider[]{ new BodyMobilePropertyUI(new XWBodyFitLayout())};
}
}

8
designer_form/src/com/fr/design/designer/properties/WidgetLayoutTable.java → designer_form/src/com/fr/design/designer/properties/BodyAppRelayoutTable.java

@ -14,11 +14,11 @@ import com.fr.design.gui.itable.PropertyGroup;
import com.fr.design.designer.beans.LayoutAdapter;
public class WidgetLayoutTable extends AbstractPropertyTable {
public class BodyAppRelayoutTable extends AbstractPropertyTable {
private XWBodyFitLayout xwBodyFitLayout;
public WidgetLayoutTable(XWBodyFitLayout xwBodyFitLayout) {
public BodyAppRelayoutTable(XWBodyFitLayout xwBodyFitLayout) {
super();
setDesigner(xwBodyFitLayout);
}
@ -66,8 +66,8 @@ public class WidgetLayoutTable extends AbstractPropertyTable {
* @return 单元格tooltip
*/
public String getToolTipText(MouseEvent event) {
int row = WidgetLayoutTable.super.rowAtPoint(event.getPoint());
int column = WidgetLayoutTable.super.columnAtPoint(event.getPoint());
int row = BodyAppRelayoutTable.super.rowAtPoint(event.getPoint());
int column = BodyAppRelayoutTable.super.columnAtPoint(event.getPoint());
if(row != -1 && column == 0){
return String.valueOf(this.getValueAt(row, column));
}

8
designer_form/src/com/fr/design/designer/properties/mobile/BodyElementCasePropertyUI.java → designer_form/src/com/fr/design/designer/properties/mobile/BodyMobilePropertyUI.java

@ -2,7 +2,7 @@ package com.fr.design.designer.properties.mobile;
import com.fr.design.designer.creator.XCreator;
import com.fr.design.designer.creator.XWBodyFitLayout;
import com.fr.design.designer.properties.WidgetLayoutTable;
import com.fr.design.designer.properties.BodyAppRelayoutTable;
import com.fr.design.fun.impl.AbstractWidgetPropertyUIProvider;
import com.fr.design.gui.itable.AbstractPropertyTable;
import com.fr.general.Inter;
@ -10,17 +10,17 @@ import com.fr.general.Inter;
/**
* Created by Administrator on 2016/5/16/0016.
*/
public class BodyElementCasePropertyUI extends AbstractWidgetPropertyUIProvider {
public class BodyMobilePropertyUI extends AbstractWidgetPropertyUIProvider {
private XCreator xCreator;
public BodyElementCasePropertyUI(XWBodyFitLayout xWBodyFitLayout) {
public BodyMobilePropertyUI(XWBodyFitLayout xWBodyFitLayout) {
this.xCreator = xWBodyFitLayout;
}
@Override
public AbstractPropertyTable createWidgetAttrTable() {
return new WidgetLayoutTable((XWBodyFitLayout) xCreator);
return new BodyAppRelayoutTable((XWBodyFitLayout) xCreator);
}
@Override
Loading…
Cancel
Save