Browse Source

找回处理冲突过程中丢失的代码

master
yaoh.wu 7 years ago
parent
commit
d3f9566a31
  1. 25
      designer_base/src/com/fr/design/layout/FRGUIPaneFactory.java

25
designer_base/src/com/fr/design/layout/FRGUIPaneFactory.java

@ -7,6 +7,7 @@ import javax.swing.*;
import java.awt.*;
public class FRGUIPaneFactory {
private FRGUIPaneFactory() {
}
@ -171,6 +172,18 @@ public class FRGUIPaneFactory {
return jp;
}
/**
* 创建一个靠左空边框面板间隔中等firsthgap 为0
*
* @return JPanel对象
*/
public static JPanel createMediumHGapFlowInnerContainer_M_Pane_First0() {
JPanel jp = new JPanel();
jp.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0));
jp.setLayout(new FRLeftFlowLayout(0, 20, 5));
return jp;
}
/**
* 创建一个靠左空边框面板间隔中等
*
@ -229,6 +242,17 @@ public class FRGUIPaneFactory {
return jp;
}
/**
* 创建一个靠左流式布局流式内嵌首元素距离左边0
*
* @return JPanel对象
*/
public static JPanel createBoxFlowInnerContainer_S_Pane_First0() {
JPanel jp = new JPanel();
jp.setLayout(new FRLeftFlowLayout(0, 0, 5));
return jp;
}
/**
* 创建一个靠右面板
*
@ -482,4 +506,5 @@ public class FRGUIPaneFactory {
h = ((int) x + 1) * HEIGHT_PARA;
return h;
}
}
Loading…
Cancel
Save